/* XP Engine — site.css
   Mobile-first (designed at 390px); desktop layout from 900px (designed at 1440px). */

:root{
  --bg:#070E1A; --hero-start:#03070E; --oxblood:#1A0708;
  --text:#EAE9E3; --muted:#B8BCC4; --fine:#8A909A;
  --gold:#6C5317; --gold-text:#C29A3F; --panel:#0B1424;
  --hair:rgba(234,233,227,0.14); --hair-2:rgba(234,233,227,0.12); --outline:rgba(234,233,227,0.5);
  --f-head:'Saira',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --f-body:'IBM Plex Sans',-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;
  --f-mono:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;
  --pad-x:16px; --pad-y:72px;
}
@media (min-width:900px){
  :root{ --pad-x:clamp(32px,4.45vw,64px); --pad-y:120px; }
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--f-body);font-size:16px;line-height:1.5;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,h4{margin:0;font-family:var(--f-head)}
p{margin:0}
a{color:var(--text)}
a:hover{color:var(--gold-text)}
a.gold{color:var(--gold-text)}
a.gold:hover{color:var(--text)}
:focus-visible{outline:2px solid var(--gold-text);outline-offset:3px}

.skip{position:absolute;left:16px;top:-60px;z-index:100;padding:10px 16px;background:var(--gold);color:var(--text);font-family:var(--f-head);text-decoration:none;border-radius:2px}
.skip:focus{top:16px}
[hidden]{display:none!important}

.wrap{max-width:1440px;margin:0 auto;padding:0 var(--pad-x)}
.section{position:relative;padding:var(--pad-y) 0;background:var(--bg)}

/* Labels, headings, rules */
.label{font-family:var(--f-head);font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-text)}
.sec-head{display:flex;flex-direction:column;gap:8px}
.sec-head h2{font-size:28px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.rule{width:48px;height:3px;margin-top:4px;background:var(--gold)}
@media (min-width:900px){
  .label{font-size:13px}
  .sec-head{gap:12px}
  .sec-head h2{font-size:44px}
  .rule{width:64px;margin-top:8px}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 32px;border-radius:2px;font-family:var(--f-head);font-size:15px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;color:var(--text);cursor:pointer;border:0}
.btn-fill{background:var(--gold)}
.btn-fill:hover{color:var(--text);background:#7d6120}
.btn-outline{border:1px solid var(--outline);background:transparent}
.btn-outline:hover{color:var(--gold-text);border-color:var(--gold-text)}
.btn-sm{height:44px;padding:0 20px;font-size:13px;letter-spacing:.08em}

/* ---------- HERO ---------- */
.hero{position:relative;overflow:hidden;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:var(--hero-start)}
.hero-bg{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,var(--bg) 0%,var(--bg) 30%,var(--oxblood) 68%,var(--oxblood) 100%)}
.hero-tex{position:absolute;inset:0;opacity:.05;background:url(../assets/img/arena-texture.webp) 0% 50%/cover no-repeat;mix-blend-mode:screen;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 55%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 55%,transparent 100%)}
.hero-nav{position:relative;height:64px;padding:0 8px 0 16px;display:flex;align-items:center;justify-content:flex-end}
.nav-links{display:none;margin:0;padding:0;list-style:none}
.nav-links a{color:var(--muted);text-decoration:none;font-family:var(--f-head);font-size:14px;letter-spacing:.12em;text-transform:uppercase}
.nav-links a:hover{color:var(--gold-text)}
.menu-btn{width:44px;height:44px;padding:0;background:transparent;border:0;color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer}
.hero-body{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:0 24px 72px}
.hero-logo{width:min(342px,88vw);margin-bottom:40px}
.hero-hl{font-family:var(--f-mono);font-weight:500;font-size:13px;line-height:1.35;text-align:center;white-space:nowrap;position:relative}
.hero-type{display:inline-block}
.hero-ctas{width:100%;display:flex;flex-direction:column;gap:12px}
.hero-ctas .btn{width:100%}
@media (min-width:900px){
  .hero-tex{background-position:calc(50% + 23px) 40%}
  .hero-nav{height:80px;padding:0 var(--pad-x)}
  .nav-links{display:flex;gap:40px}
  .menu-btn{display:none}
  .hero-body{gap:36px;padding:0 64px 56px}
  .hero-logo{width:calc(min(880px,62vw,calc((100svh - 344px) * 1.776)) * 1.25);margin-bottom:32px}
  .hero-hl{font-size:21px;line-height:1.3}
  .hero-ctas{width:auto;flex-direction:row;gap:16px}
  .hero-ctas .btn{width:auto}
}

/* ---------- SERVICES ---------- */
.services .wrap{display:flex;flex-direction:column;gap:40px}
.svc-grid{display:flex;flex-direction:column;gap:48px}
.svc{display:flex;flex-direction:column;gap:12px}
.svc-num{font-family:var(--f-head);font-size:13px;letter-spacing:.16em;color:var(--gold-text)}
.svc h3{font-size:24px;font-weight:600}
.svc-copy{font-size:16px;line-height:1.6}
.svc-list{margin:4px 0 0;padding:0;list-style:none}
.svc-list li{padding:9px 0;border-top:1px solid var(--hair);font-size:14px;color:var(--muted)}
.how{display:flex;flex-direction:column;gap:40px}
.how-main{display:flex;flex-direction:column;gap:14px}
.steps{margin:0;padding:0;list-style:none;border-bottom:1px solid var(--hair)}
.steps li{display:flex;align-items:baseline;gap:16px;padding:14px 0;border-top:1px solid var(--hair)}
.steps li:first-child{border-top:2px solid var(--gold)}
.step-n{flex:none;width:24px;font-family:var(--f-head);font-size:13px;letter-spacing:.08em;color:var(--gold-text)}
.step-n .d{display:none}
.step-t{font-family:var(--f-head);font-size:17px;font-weight:600;line-height:1.35}
.encore{color:var(--gold-text)}
.how-btn{width:100%}
@media (min-width:900px){
  .services .wrap{gap:64px}
  .svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(32px,3.9vw,56px)}
  .svc{gap:16px}
  .svc-num{font-size:14px}
  .svc h3{font-size:28px}
  .svc-copy{font-size:17px}
  .svc-list{margin-top:8px}
  .svc-list li{padding:10px 0;font-size:15px}
  .how{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:64px}
  .how-main{flex:1;gap:16px}
  .steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;border-bottom:0}
  .steps li,.steps li:first-child{flex-direction:column;align-items:stretch;gap:6px;padding:14px 0 0;border-top:2px solid var(--gold)}
  .step-n{width:auto;letter-spacing:.16em;color:var(--muted)}
  .step-n .d{display:inline}
  .step-n .m{display:none}
  .step-t{display:flex;flex-direction:column;font-size:20px}
  .step-t .sep{display:none}
  .encore{color:inherit}
  .how-btn{width:auto;flex:none}
}

/* ---------- WORK ---------- */
.work{padding:48px 0}
.work .wrap{display:flex;flex-direction:column;gap:24px}
.work-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.work-grid img{width:100%;height:auto;object-fit:cover;object-position:center;border-radius:4px;grid-column:span 2}
/* mobile order + ratios (from 358px-wide artboard) */
.work-grid .w-lego{order:1;aspect-ratio:358/200}
.work-grid .w-arena{order:2;grid-column:span 1;aspect-ratio:1/1;object-position:center 40%}
.work-grid .w-halo{order:3;grid-column:span 1;aspect-ratio:1/1}
.work-grid .w-nikon{order:4;aspect-ratio:358/215}
.work-grid .w-fight{order:5;aspect-ratio:358/130}
.work-grid .w-forbes{order:6;aspect-ratio:358/164}
.work-grid .w-alliant{order:7;aspect-ratio:358/120}
.work-grid .w-mclaren{order:8;aspect-ratio:358/158}
@media (min-width:900px){
  .work{padding:96px 0}
  .work .wrap{gap:48px}
  .work-grid{grid-template-columns:repeat(12,1fr);gap:16px}
  .work-grid img{grid-column:span 12}
  .work-grid .w-lego{order:1;aspect-ratio:1312/600}
  .work-grid .w-arena,.work-grid .w-nikon,.work-grid .w-halo{grid-column:span 4;aspect-ratio:427/360}
  .work-grid .w-arena{order:2}.work-grid .w-nikon{order:3}.work-grid .w-halo{order:4}
  .work-grid .w-fight{order:5;aspect-ratio:1312/394}
  .work-grid .w-forbes,.work-grid .w-mclaren{grid-column:span 6;aspect-ratio:648/340}
  .work-grid .w-forbes{order:6}.work-grid .w-mclaren{order:7}
  .work-grid .w-alliant{order:8;aspect-ratio:1312/400}
}

/* ---------- KIT ---------- */
.kit .wrap{display:flex;flex-direction:column;gap:40px}
.kit-owned{display:flex;flex-direction:column;gap:16px}
.kit-grid{display:flex;flex-direction:column;gap:30px}
.kit-card{display:flex;flex-direction:column;gap:14px}
.kit-logo{height:201px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.kit-disguise{width:278px}
.kit-hive{width:180px}
.kit-text{display:flex;flex-direction:column;gap:14px}
.kit-text h3{font-size:22px;font-weight:600}
.kit-text p{font-size:16px;line-height:1.6}
.kit-text .btn{align-self:flex-start;margin-top:8px}
.platforms{display:flex;flex-direction:column;gap:16px}
.plat-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:28px 16px}
.plat{width:calc((100% - 16px)/2);display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:2px solid var(--gold)}
.plat h4{font-size:15px;font-weight:600}
.plat p{font-size:14px;line-height:1.7;color:var(--muted)}
@media (min-width:900px){
  .kit .wrap{gap:64px}
  .kit-owned{gap:20px;margin-top:-25px}
  .kit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
  .kit-card{gap:20px}
  .kit-logo{height:clamp(240px,24.4vw,351px);justify-content:flex-start}
  .kit-disguise{width:clamp(357px,34.3vw,494px)}
  .kit-hive{width:clamp(230px,22.2vw,320px)}
  .kit-text{gap:8px}
  .kit-text h3{font-size:28px}
  .kit-text p{font-size:17px}
  .platforms{gap:20px}
  .plat-grid{gap:40px 32px}
  .plat{width:calc((100% - 96px)/4);gap:10px;padding-top:14px}
  .plat h4{font-size:16px}
  .plat p{font-size:15px}
}

/* ---------- ABOUT ---------- */
.about{isolation:isolate;overflow:hidden}
.about-tex{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.05;background:url(../assets/img/arena-texture.webp) 0% 50%/cover no-repeat;mix-blend-mode:screen;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 20%,#000 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 20%,#000 70%,transparent 100%)}
.about .wrap{display:flex;flex-direction:column;gap:40px}
.about-head{display:flex;flex-direction:column;gap:16px}
.statement{font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.005em}
.about-cols{display:flex;flex-direction:column;gap:32px}
.about-cols>div,.names-block{display:flex;flex-direction:column;gap:14px}
.about-copy{font-size:16px;line-height:1.65}
.names{font-family:var(--f-head);font-size:14px;line-height:2;letter-spacing:.12em;text-transform:uppercase;font-weight:500;color:var(--muted)}
.names span{white-space:nowrap}
.names i{font-style:normal;margin:0 3px;color:var(--gold)}
@media (min-width:900px){
  .about-tex{background-position:calc(50% + 45px) 40%}
  .about .wrap{gap:72px}
  .about-head{max-width:1080px}
  .statement{font-size:clamp(28px,2.36vw,34px);line-height:1.35}
  .about-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
  .about-copy{font-size:18px}
  .names{font-size:clamp(13px,1.3vw,18px);line-height:1.9;letter-spacing:.14em}
  .names{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
  .names i{margin:0}
}

/* ---------- CONTACT ---------- */
.contact-grid{display:flex;flex-direction:column;gap:48px}
.contact-intro{display:flex;flex-direction:column;gap:20px}
.contact-lede{font-size:16px;line-height:1.6}
.contact-meta{margin:0;display:flex;flex-direction:column;gap:16px}
.contact-meta>div{display:flex;flex-direction:column;gap:4px}
.contact-meta dt{font-family:var(--f-head);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.contact-meta dd{margin:0;font-size:18px}
.contact-meta a{text-decoration:none}
.form{display:flex;flex-direction:column;gap:20px}
.form-grid{display:flex;flex-direction:column;gap:20px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px}
.opt{color:var(--muted)}
.field input,.field textarea{width:100%;height:52px;padding:0 16px;background:rgba(7,14,26,.45);border:1px solid var(--outline);border-radius:2px;color:var(--text);font:16px/1.5 var(--f-body)}
.field textarea{height:160px;padding:14px 16px;resize:vertical}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--gold-text)}
.form-foot{display:flex;flex-direction:column;gap:20px}
.fine{font-size:14px;line-height:1.5;color:var(--muted)}
.form-foot .btn{width:100%;padding:0 36px}
.form-foot .btn[disabled]{opacity:.65;cursor:progress}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.cf-turnstile{min-height:65px}
.form-demo .cf-turnstile:empty{display:flex;align-items:center;padding:0 16px;border:1px dashed var(--hair);border-radius:2px;font-size:13px;color:var(--fine)}
.form-demo .cf-turnstile:empty::before{content:'Security check (Cloudflare Turnstile) appears here'}
.form-status{margin:0;padding:2px 0 2px 16px;border-left:3px solid var(--gold);font-size:15px;line-height:1.55;color:var(--text)}
.form-status:focus{outline:none}
.form.is-sent>:not(.form-status){display:none}
.form.is-sent .form-status{padding:4px 0 4px 20px;font-family:var(--f-head);font-size:22px;font-weight:500;line-height:1.4}
@media (min-width:900px){
  .contact-grid{display:grid;grid-template-columns:minmax(0,440px) 1fr;gap:clamp(48px,8.3vw,120px);align-items:start}
  .contact-intro{gap:28px}
  .contact-lede{font-size:18px}
  .contact-meta{gap:20px;margin-top:12px}
  .contact-meta>div{gap:6px}
  .contact-meta dt{font-size:12px}
  .contact-meta dd{font-size:20px}
  .form{gap:24px}
  .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
  .form-foot{flex-direction:row;align-items:center;justify-content:space-between;gap:24px}
  .form-foot .btn{width:auto;flex:none}
}

/* ---------- FOOTER ---------- */
.footer{background:var(--bg);border-top:1px solid var(--hair-2);padding:56px 0 32px}
.footer .wrap{display:flex;flex-direction:column;gap:40px}
.foot-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 16px}
.foot-brand{grid-column:1/-1;display:flex;flex-direction:column;gap:16px}
.foot-brand img{width:150px}
.tagline{font-family:var(--f-head);font-size:18px;font-weight:500;line-height:1.3;margin-bottom:-4px}
.descr{font-size:14px;line-height:1.6;color:var(--muted)}
.foot-col{display:flex;flex-direction:column}
.foot-col h4{margin:0 0 4px;font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-text)}
.foot-col a{display:flex;align-items:center;min-height:44px;font-size:15px;text-decoration:none}
.foot-col a.gold{font-size:14px}
.foot-legal{display:flex;flex-direction:column;gap:10px;padding-top:20px;border-top:1px solid var(--hair-2)}
.legal-row{display:flex;flex-direction:column;gap:10px}
.legal-row p{font-size:12px;line-height:1.6;color:var(--muted)}
.legal-row .dot{display:none}
.legal-row a{display:flex;align-items:center;min-height:44px;font-size:13px;color:var(--muted)}
.legal-row a:hover{color:var(--gold-text)}
.tm{font-size:11px;line-height:1.6;color:var(--fine)}
@media (min-width:900px){
  .footer{padding:72px 0 40px}
  .footer .wrap{gap:72px}
  .foot-top{grid-template-columns:2fr 1fr 1fr;gap:48px;align-items:start}
  .foot-brand{grid-column:auto;gap:20px}
  .foot-brand img{width:180px}
  .tagline{font-size:20px}
  .descr{font-size:15px;max-width:340px}
  .foot-col{gap:12px}
  .foot-col h4{font-size:12px}
  .foot-col a,.foot-col a.gold{display:inline;min-height:0;font-size:15px}
  .foot-legal{padding-top:24px}
  .legal-row{flex-direction:row;justify-content:space-between;align-items:center;gap:24px}
  .legal-row p{font-size:13px}
  .legal-row .dot{display:inline}
  .legal-row br.m{display:none}
  .legal-row a{display:inline;min-height:0;flex:none}
  .tm{font-size:12px}
}

/* ---------- VIEWS (one section at a time; JS adds html.js) ---------- */
.site-header{display:none}
html.js .site-header{display:flex;position:sticky;top:0;z-index:40;height:64px;padding:0 8px 0 16px;align-items:center;justify-content:space-between;background:var(--bg);border-bottom:1px solid var(--hair-2)}
html.js[data-current="top"] .site-header,html.js[data-current="top"] .footer{display:none}
.sh-logo{display:block;width:72px}
.sh-logo img{width:100%}
.site-header .nav-links{display:none}
.nav-links a.is-active,.mm-links a.is-active{color:var(--gold-text)}
h2[tabindex="-1"]:focus{outline:none}
@media (min-width:900px){
  html.js .site-header{height:72px;padding:0 var(--pad-x)}
  .sh-logo{width:88px}
  .site-header .nav-links{display:flex;gap:40px}
  .site-header .menu-btn{display:none}
}

/* Next-section link */
.next{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:56px;padding-top:24px;border-top:1px solid var(--hair);font-family:var(--f-head);font-size:14px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:var(--text)}
.next .next-l{color:var(--muted);font-weight:500}
.next span[aria-hidden]{color:var(--gold-text);font-size:18px;letter-spacing:0;transition:transform .2s}
.next:hover span[aria-hidden]{transform:translateX(4px)}
.section>.wrap+.wrap{display:block}
html:not(.js) .next{display:none}
@media (min-width:900px){.next{margin-top:96px}}

/* Mobile menu */
.mmenu{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;padding:0 16px 32px;background:var(--bg);overflow-y:auto}
.mm-top{height:64px;margin-right:-8px;display:flex;align-items:center;justify-content:space-between}
.mm-close{width:44px;height:44px;padding:0;background:transparent;border:0;color:var(--text);display:flex;align-items:center;justify-content:center;cursor:pointer}
.mm-links{margin:32px 0 0;padding:0;list-style:none;border-top:1px solid var(--hair)}
.mm-links a{display:flex;align-items:center;min-height:64px;border-bottom:1px solid var(--hair);font-family:var(--f-head);font-size:26px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;color:var(--text)}
.mm-foot{margin-top:auto;padding-top:40px;display:flex;flex-direction:column;gap:20px;align-items:center}
.mm-foot .btn{width:100%}
.mm-foot a.gold{font-size:16px;text-decoration:none}
html.menu-open,html.menu-open body{overflow:hidden}

/* ---------- MOTION (step 2) ----------
   Only when JS adds html.motion (not set under prefers-reduced-motion).
   Hero plays when it first opens; Kit plays when it first opens. */
@keyframes xpRise16{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes xpRise12{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes xpWipe{from{-webkit-mask-position:0 100%;mask-position:0 100%}to{-webkit-mask-position:0 0;mask-position:0 0}}
@keyframes xpType{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes xpCaret{0%{left:0;visibility:visible}99.9%{left:100%;visibility:visible}100%{left:100%;visibility:hidden}}
@keyframes xpSlideL{from{opacity:0;transform:translateX(-32px)}to{opacity:1;transform:none}}
@keyframes xpFade{from{opacity:0}to{opacity:1}}
@keyframes xpGenie{from{opacity:0;transform:translateY(-18px) scaleX(.55) scaleY(.25);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}

html.motion .hero-bg{-webkit-mask-image:url(../assets/img/hero-mask-mobile.png);mask-image:url(../assets/img/hero-mask-mobile.png);-webkit-mask-size:100% 300%;mask-size:100% 300%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:0 0;mask-position:0 0}
@media (min-width:900px){html.motion .hero-bg{-webkit-mask-image:url(../assets/img/hero-mask-desktop.png);mask-image:url(../assets/img/hero-mask-desktop.png)}}
html.motion .hero:not(.play) .hero-bg,html.motion .hero:not(.play) .hero-nav,html.motion .hero:not(.play) .hero-body{visibility:hidden}
html.motion .hero.play .hero-bg{animation:xpWipe .9s cubic-bezier(.25,.6,.3,1) both}
html.motion .hero.play .hero-logo{animation:xpRise16 .7s cubic-bezier(.2,.7,.2,1) .5s both}
html.motion .hero.play .hero-type{animation:xpType .5s steps(16,end) .8s both}
html.motion .hero.play .hero-hl::after{content:'';position:absolute;top:.15em;bottom:.15em;width:.55ch;background:var(--gold-text);visibility:hidden;animation:xpCaret .5s steps(16,end) .8s forwards}
html.motion .hero.play .nav-links,html.motion .hero.play .menu-btn{animation:xpRise16 .7s cubic-bezier(.2,.7,.2,1) .9s both}
html.motion .hero.play .btn-fill{animation:xpRise12 .5s cubic-bezier(.16,1,.3,1) 1.5s both}
html.motion .hero.play .btn-outline{animation:xpRise12 .5s cubic-bezier(.16,1,.3,1) 1.65s both}

html.motion .kit.play .sec-head h2{animation:xpSlideL .7s cubic-bezier(.16,1,.3,1) .1s both}
html.motion .kit.play .sec-head .label,html.motion .kit.play .sec-head .rule{animation:xpSlideL .7s cubic-bezier(.16,1,.3,1) .25s both}
html.motion .kit.play .kit-owned>.label{animation:xpSlideL .7s cubic-bezier(.16,1,.3,1) .4s both}
html.motion .kit.play .kit-logo img{animation:xpFade .5s linear .8s both}
html.motion .kit.play .kit-text h3{transform-origin:top center;animation:xpGenie .6s cubic-bezier(.16,1,.3,1) 1.3s both}
html.motion .kit.play .kit-text p,html.motion .kit.play .kit-text .btn{transform-origin:top center;animation:xpGenie .6s cubic-bezier(.16,1,.3,1) 1.4s both}
html.motion .kit.play .platforms>.label{transform-origin:top center;animation:xpGenie .6s cubic-bezier(.16,1,.3,1) 1.5s both}
html.motion .kit.play .plat{transform-origin:top center;animation:xpGenie .6s cubic-bezier(.16,1,.3,1) both}
html.motion .kit.play .plat:nth-child(1){animation-delay:1.55s}
html.motion .kit.play .plat:nth-child(2){animation-delay:1.6s}
html.motion .kit.play .plat:nth-child(3){animation-delay:1.65s}
html.motion .kit.play .plat:nth-child(4){animation-delay:1.7s}
html.motion .kit.play .plat:nth-child(5){animation-delay:1.75s}
html.motion .kit.play .plat:nth-child(6){animation-delay:1.8s}
html.motion .kit.play .plat:nth-child(7){animation-delay:1.85s}

/* ---------- KIT ENQUIRY (step 3) ---------- */
.kmodal{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:var(--text);overflow-y:auto;overscroll-behavior:contain}
.kmodal::backdrop{background:rgba(3,7,14,.82)}
.km-panel{position:relative;min-height:100%;padding:64px 16px 40px;background:var(--panel);display:flex;flex-direction:column;gap:24px}
.km-close{position:absolute;top:10px;right:8px;width:44px;height:44px;padding:0;background:transparent;border:0;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}
.km-close:hover{color:var(--gold-text)}
.km-head{display:flex;flex-direction:column;gap:8px}
.km-head .label{font-size:11px}
.km-head h2{font-size:26px;font-weight:600;letter-spacing:-.01em}
.km-intro{font-size:15px;line-height:1.6;color:var(--muted)}
.km-form .field input,.km-form .field textarea{background:rgba(3,7,14,.6)}
.km-form .field textarea{height:140px}
.km-form .field textarea::placeholder{color:var(--fine)}
.pills{margin:0;padding:0;border:0;min-width:0}
.pills legend{padding:0;margin-bottom:10px;font-size:14px;font-weight:500}
.pill-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pill{position:relative;cursor:pointer}
.pill input{position:absolute;opacity:0;width:1px;height:1px}
.pill span{display:flex;align-items:center;justify-content:center;height:44px;padding:0 12px;border:1px solid rgba(234,233,227,.35);border-radius:2px;font-family:var(--f-head);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.pill:hover span{border-color:var(--outline)}
.pill input:checked+span{background:var(--gold);border-color:var(--gold)}
.pill input:focus-visible+span{outline:2px solid var(--gold-text);outline-offset:3px}
.form-status{font-size:15px;line-height:1.5;color:var(--gold-text)}
html.modal-open,html.modal-open body{overflow:hidden}
@media (min-width:900px){
  .kmodal{padding:48px 16px}
  .km-panel{width:760px;max-width:100%;min-height:0;margin:0 auto;padding:48px;gap:28px;border:1px solid var(--hair);border-radius:4px}
  .km-close{top:16px;right:16px}
  .km-head{gap:10px}
  .km-head .label{font-size:12px}
  .km-head h2{font-size:34px}
  .km-intro{font-size:16px}
  .km-form{gap:22px}
  .km-form .form-grid{gap:22px}
  .pill-row{display:flex;flex-wrap:wrap;gap:10px}
  .pill span{padding:0 18px;font-size:13px}
}

/* ---------- PRIVACY PAGE ---------- */
.legal .sec-head h1{font-size:28px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.legal-body{max-width:760px;margin-top:40px;font-size:16px;line-height:1.7}
.legal-body p,.legal-body ul{margin:0 0 16px}
.legal-body h2{margin:40px 0 12px;font-size:20px;font-weight:600}
.legal-body ul{padding-left:20px}
.legal-body li{margin-bottom:8px}
.legal-body li::marker{color:var(--gold)}
.legal-body strong{font-weight:600}
.legal-meta{font-size:14px;color:var(--muted)}
@media (min-width:900px){
  .legal .sec-head h1{font-size:44px}
  .legal-body{margin-top:56px;font-size:17px}
  .legal-body h2{font-size:22px}
}

/* ---------- Backgrounds (decided 11 Nov): desktop clean midnight; mobile keeps oxblood + texture ---------- */
@media (min-width:900px){
  .hero-bg{background:var(--bg)}
  .hero-tex,.about-tex{display:none}
}
