:root{color-scheme:dark;--lime:#c9ef63;--ink:#101913;--muted:#aebeb1;--border:#405247;font-family:system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{margin:0;background:#0c1611;color:#f2f7ef}button,a{font:inherit}button{cursor:pointer}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:3px}[hidden]{display:none!important}#game{height:100vh;height:100dvh;min-height:280px;width:100%;overflow:hidden;position:relative;isolation:isolate}#view,.shade{position:absolute;inset:0;width:100%;height:100%}#view{image-rendering:auto;touch-action:none}.shade{pointer-events:none;background:radial-gradient(ellipse at 50% 46%,transparent 35%,#060d09a3 100%)}header{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:center;padding:max(16px,env(safe-area-inset-top)) 24px 15px;background:linear-gradient(#09130deb,transparent);pointer-events:none}.brand{display:flex;align-items:center;gap:9px;font-size:10px;line-height:1.1;letter-spacing:.15em;font-weight:700}.brandmark{font-size:26px;line-height:1;letter-spacing:-.08em;color:var(--lime);border:1px solid #a6d15a;padding:5px 10px 6px 7px;font-weight:900}.siteid,.eyebrow,#phase,.keys,#mapPanel small{font:700 12px ui-monospace,monospace;letter-spacing:.095em}.siteid{color:#c4d2c7}.siteid b,.eyebrow,#phase{color:var(--lime)}#overlay{position:absolute;inset:0;display:grid;place-items:center;background:#07110bc0;z-index:8;padding:72px 16px 16px}#card{position:relative;width:min(100%,610px);max-height:100%;overflow:auto;border:1px solid #53675a;background:linear-gradient(135deg,#182920,#101a15 70%);box-shadow:0 24px 90px #000a}.stripe{position:sticky;top:0;z-index:2;height:4px;background:repeating-linear-gradient(120deg,var(--lime) 0 12px,#18291a 12px 23px)}#body{padding:clamp(20px,4vw,38px)}h1,h2{font-size:clamp(2.1rem,7vw,4.8rem);line-height:.94;letter-spacing:-.065em;margin:12px 0 15px}h2{font-size:clamp(1.65rem,5vw,2.6rem);letter-spacing:-.05em}p{font-size:1rem;line-height:1.5;color:#cfdbd0;margin:0 0 14px}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.button,button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;color:#f7faf5;background:#1e3026;border:1px solid #57705f;border-radius:5px;font-weight:700;text-decoration:none}.primary{background:var(--lime);color:#172111;border-color:var(--lime)}.button:hover,button:hover{filter:brightness(1.14)}.foot{display:block;margin-top:16px;color:#aebeb1;font-size:13px;line-height:1.4}.objective,.utilities,#mapPanel,#prompt,#toast,#controls,.keys,#crosshair{position:absolute}.objective{top:72px;left:20px;max-width:min(440px,61vw);padding:11px 14px;background:#101e17ec;border:1px solid #526756;border-left:3px solid var(--lime);box-shadow:0 4px 25px #0005}.objective strong,.objective small,#phase{display:block}.objective strong{margin:4px 0;line-height:1.2;font-size:clamp(15px,2.6vw,18px)}.objective small{font-size:13px;color:#d1ded2}.utilities{top:72px;right:20px;display:flex;gap:6px}.utilities button{background:#0e1d16ea}.keys{bottom:19px;right:24px;color:#d2e4d4;font-size:11px;text-shadow:0 1px 3px #000}.pad{display:grid;grid-template-columns:repeat(3,48px);gap:4px}.pad button{padding:0;background:#12261ce8;font-size:21px;touch-action:none;user-select:none}.pad button:nth-child(4){grid-column:2}.pad button.active{background:#668041}#controls{display:flex;align-items:end;justify-content:space-between;left:20px;right:20px;bottom:42px;pointer-events:none}#controls button{pointer-events:auto}#use{background:var(--lime);color:#122012;border-color:var(--lime);min-width:104px}#mapPanel{right:20px;top:125px;background:#111e17ec;border:1px solid #526756;padding:7px;z-index:3}#mapPanel small{display:block;color:#d3e5d0;text-align:center;letter-spacing:0}#map{max-width:44vw;height:auto}#crosshair{left:50%;top:50%;transform:translate(-50%,-50%);color:#e1ff98;font:24px monospace;text-shadow:0 1px 4px #000;pointer-events:none}#prompt,#toast{left:50%;transform:translateX(-50%);text-align:center;width:max-content;max-width:min(86vw,490px);background:#111e17ef;border:1px solid #526756;border-radius:4px;padding:6px 13px;pointer-events:none}#prompt{top:57%;color:#e9ffa9;font-weight:750}#toast{top:67%;color:#fff}#prompt:empty,#toast:empty{display:none}.choices{display:grid;gap:7px;margin-top:12px}.choices button{text-align:left;justify-content:start}.manifest,.metrics{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.manifest span,.metrics span{border:1px solid #566756;padding:8px 10px;background:#102017;font:700 13px ui-monospace,monospace;color:#e4f4df}.metrics b{color:var(--lime);font-size:20px;display:block;margin-bottom:4px}video{width:100%;max-height:min(48dvh,330px);background:#050805;display:block}.error{color:#ffcd89}.email{overflow-wrap:anywhere}#card:focus{outline:none}@media(pointer:fine){.pad{display:none}#controls{justify-content:flex-end}}@media(max-width:570px){header{padding-left:13px;padding-right:13px}.siteid{font-size:10px}.objective{left:9px;top:68px;max-width:59vw;padding:7px 8px}.objective small{font-size:12px}.utilities{right:9px;top:68px}.utilities button{font-size:13px;padding:6px 8px}#mapPanel{right:9px;top:118px}.keys{display:none}#controls{left:13px;right:13px;bottom:max(15px,env(safe-area-inset-bottom))}#prompt{top:56%}#toast{top:64%;font-size:14px}}@media(max-height:535px) and (pointer:coarse){header{padding-top:7px}.objective,.utilities{top:48px}#mapPanel{top:98px}#controls{bottom:10px}.pad{grid-template-columns:repeat(3,42px)}.pad button{min-height:38px}#overlay{padding:45px 12px 8px}#body{padding:14px 21px}}
.logo{display:block;width:76px;height:auto;object-fit:contain}.winmedia{position:relative;aspect-ratio:16/9;border:1px solid #618052;overflow:hidden;background:#0a1310 url(briefing-poster.jpg) center/cover}.winmedia video{height:100%;max-height:none;object-fit:contain;object-position:center}.portrait{height:96%;width:auto;max-width:42%;object-fit:cover;position:absolute;right:8%;bottom:0;border:1px solid #87a876;box-shadow:0 0 20px #0009;animation:enter .85s ease-out both}.winmedia.playing .portrait{display:none}.winsub{margin-top:12px}.brandkick{color:var(--lime)}@keyframes enter{from{transform:translateX(125%);opacity:0}to{transform:translateX(0);opacity:1}}@media(prefers-reduced-motion:reduce){.portrait{animation:none}}@media(max-width:570px){.logo{width:60px}}@media(max-height:535px) and (pointer:coarse){.logo{width:52px}}
/* The lighting palette and aisle image in the title come from the DMD briefing. */
:root{--lime:#c8e56c;--ink:#0e1920;--muted:#b2c2ca;--border:#4c5d65}
.shade{background:radial-gradient(ellipse at 50% 46%,transparent 40%,#030a116b 100%)}
#overlay{background:#071019b8}
#overlay[data-mode="intro"]{background:linear-gradient(90deg,#07131a96 0%,#07131a30 78%),url(aisle-hero.webp) center center/cover no-repeat;place-items:center start;padding-left:clamp(16px,7vw,105px)}
#overlay[data-mode="intro"] #card{width:min(100%,520px)}
#card{background:linear-gradient(135deg,#17282ff5,#0f1d24f7 75%);border-color:#5b707c}
.objective,.utilities button,#mapPanel,#prompt,#toast{background:#0d1c26ec;border-color:#425c67}
.objective{border-left-color:var(--lime)}
.brandmark,.eyebrow,#phase{color:var(--lime)}
.button,button{background:#1c2d36;border-color:#536b75}
.primary,#use{background:var(--lime);border-color:var(--lime);color:#14211b}
.pad button{background:#152832e8}
@media(max-width:570px){#overlay[data-mode="intro"]{padding-left:16px;background-position:57% center}}
.intro-brand{display:flex;align-items:center;gap:14px;margin-bottom:16px}.intro-brand img{width:85px;height:auto}.intro-brand .eyebrow{border-left:1px solid #6a805e;padding-left:14px}.intro-brand+h1{margin-top:0}
/* Keep held controls independent of page gestures and long-press selection. */
.pad button{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.pad button.active{background:#516b3e;box-shadow:0 0 0 2px #cee67c inset}
@media(pointer:fine){#game.show-touch .pad{display:grid}#game.show-touch #controls{justify-content:space-between}}
/* Pre-menu cinematic, built from the DMD briefing. */
#overlay[data-mode="promo"]{display:block;padding:0;background:#071019}
#overlay[data-mode="promo"] #card{width:100%;height:100%;max-height:none;overflow:hidden;background:#071019;border:0;box-shadow:none}
#overlay[data-mode="promo"] #body{width:100%;height:100%;padding:0}
#overlay[data-mode="promo"] .stripe{display:none}
.promo-screen,.promo-video,.promo-grade,.promo-frame{position:absolute;inset:0;width:100%;height:100%}
.promo-screen{background:#101920 url(aisle-hero.webp) 50% 45%/cover no-repeat;text-align:center}
.promo-video{object-fit:cover;object-position:50% 44%;animation:film-reveal 8.9s both}
.promo-grade{background:radial-gradient(ellipse,transparent 20%,#040b12ba 100%),linear-gradient(0deg,#04090dc2,transparent 52%);pointer-events:none}
.promo-frame{border:clamp(12px,3vw,45px) solid #03070b36;pointer-events:none}
.promo-brand,.promo-mission,.promo-title{position:absolute;left:50%;top:48%;width:min(92vw,760px);transform:translate(-50%,-50%);pointer-events:none;text-shadow:0 3px 26px #02070b}
.promo-brand{animation:promo-brand 8.9s both}
.promo-brand img{width:clamp(130px,20vw,245px);height:auto}
.promo-brand p,.promo-mission span,.promo-title span,.promo-title p{color:#d3e8b5;font:700 clamp(12px,1.6vw,17px) ui-monospace,monospace;letter-spacing:.25em}
.promo-mission{animation:promo-mission 8.9s both}
.promo-mission strong{display:block;color:#f3f8f5;font-size:clamp(28px,8vw,82px);letter-spacing:-.045em;line-height:.98;margin:8px 0 14px}
.promo-title{animation:promo-title 8.9s both}
.promo-title h1{font-size:clamp(54px,13vw,151px);font-weight:900;margin:7px 0 19px;letter-spacing:-.075em;line-height:.86}
.promo-title em{font-style:normal;color:var(--lime)}
.promo-controls{position:absolute;display:flex;gap:9px;right:max(15px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}
.promo-controls button:not(.primary){background:#14212cd9}
.no-motion .promo-brand,.no-motion .promo-mission{display:none}
.no-motion .promo-title{animation:none}
@keyframes film-reveal{0%{opacity:.15;transform:scale(1.04)}20%,75%{opacity:.62}100%{opacity:.36;transform:scale(1)}}
@keyframes promo-brand{0%{opacity:0;filter:blur(8px)}7%,23%{opacity:1;filter:blur(0)}33%,100%{opacity:0}}
@keyframes promo-mission{0%,27%{opacity:0}33%,56%{opacity:1}64%,100%{opacity:0}}
@keyframes promo-title{0%,56%{opacity:0;scale:.92;filter:blur(4px)}68%,100%{opacity:1;scale:1;filter:blur(0)}}
/* One-to-one introduction and real clickable contact card. */
#overlay[data-mode="win"]{display:block;padding:0;background:#071019}
#overlay[data-mode="win"] #card{width:100%;height:100%;max-height:none;overflow:hidden;background:#071019;border:0;box-shadow:none}
#overlay[data-mode="win"] #body{width:100%;height:100%;padding:0}
#overlay[data-mode="win"] .stripe{display:none}
.handoff-scene,.handoff-hall,.handoff-vignette{position:absolute;inset:0;width:100%;height:100%}
.handoff-hall{background:#101a21 url(aisle-hero.webp) center 52%/cover no-repeat;transform:scale(1.012);animation:handoff-hall 2s ease-out both}
.handoff-vignette{background:radial-gradient(ellipse at 48% 48%,#0b1c1500 10%,#05101ba1 100%),linear-gradient(0deg,#030b12c2 0%,transparent 40%);pointer-events:none}
.handoff-status{position:absolute;top:max(16px,env(safe-area-inset-top));left:clamp(14px,4vw,50px);z-index:2;padding:11px 15px;border-left:3px solid var(--lime);background:#0a1925e3;text-shadow:0 2px 10px #000}
.handoff-status h2{margin:5px 0;font-size:clamp(21px,4vw,38px);letter-spacing:-.046em}
.handoff-status span{font:650 12px ui-monospace,monospace;color:#cbdadf}
.handoff-actor{position:absolute;bottom:-33%;left:49%;height:115%;width:auto;max-width:none;transform:translateX(-50%) scale(1);transform-origin:50% 90%;filter:drop-shadow(0 0 16px #93adc132) drop-shadow(0 20px 28px #000a);animation:handoff-walk 1.9s cubic-bezier(.32,.17,.49,.95) both;transition:left .48s ease,bottom .48s ease,height .48s ease;pointer-events:none}
.handoff-scene[data-phase="card"] .handoff-actor{left:36%;bottom:-32%;height:114%}
.handoff-caption{position:absolute;z-index:3;bottom:17%;left:50%;width:max-content;max-width:min(81vw,600px);transform:translateX(-50%);padding:9px 15px;color:#fff;background:#06111af2;border:1px solid #3a5864;text-align:center;border-radius:4px;line-height:1.4;font-weight:650}
.handoff-caption:empty{display:none}
.handoff-scene[data-phase="card"] .handoff-caption{left:34%;bottom:16%;max-width:min(42vw,520px)}
.business-card{position:absolute;z-index:4;right:clamp(15px,5vw,85px);top:50%;width:min(435px,43vw);transform:translateY(-45%);padding:clamp(14px,2.2vw,26px);background:linear-gradient(135deg,#243730,#101e24 62%);border:1px solid #729477;border-top:4px solid var(--lime);box-shadow:0 16px 56px #02050aab;animation:card-handoff .55s ease-out both}
.business-mark{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.business-mark span,.business-card small{font:700 11px ui-monospace,monospace;letter-spacing:.08em;color:#b9d4bf}
.business-copy{display:flex;align-items:center;gap:13px}
.business-avatar{width:49px;height:56px;object-fit:cover;object-position:50% 32%;border-radius:4px;border:1px solid #829685}
.business-copy h3{margin:0 0 4px;font-size:clamp(20px,4vw,33px);letter-spacing:-.04em;line-height:1}
.business-copy p{margin:0;font-size:13px;line-height:1.24}
.business-contact,.business-actions{display:flex;gap:7px 12px;flex-wrap:wrap;margin:12px 0}
.business-contact a{color:#def5b0;overflow-wrap:anywhere;font-weight:650;font-size:14px}
.business-actions .button{font-size:14px}
.business-card small{display:block;line-height:1.38;letter-spacing:0;font-size:12px}
.handoff-controls{position:absolute;z-index:5;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;justify-content:center;gap:6px;width:max-content;max-width:96%;flex-wrap:wrap}
.handoff-controls button{min-height:42px;background:#102330e8;border-color:#53717d;font-size:14px}
@keyframes handoff-walk{from{transform:translate(-50%,-37%) scale(.34);opacity:.84}to{transform:translateX(-50%) scale(1);opacity:1}}
@keyframes handoff-hall{from{transform:scale(1.09)}to{transform:scale(1.012)}}
@keyframes card-handoff{from{transform:translate(-22%,-33%) scale(.62) rotate(-6deg);opacity:0}to{transform:translate(0,-45%) scale(1) rotate(0);opacity:1}}
@media(max-width:690px){
 .handoff-hall{background-position:47% 50%}
 .handoff-actor{left:50%;height:104%;bottom:-27%}
 .handoff-scene[data-phase="card"] .handoff-actor{left:50%;height:105%;bottom:-29%}
 .handoff-caption{bottom:19%;padding:7px 10px;font-size:15px}
 .handoff-scene[data-phase="card"] .handoff-caption{left:50%;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 45px);max-width:88vw;font-size:13px}
 .business-card{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 90px);top:auto;left:50%;right:auto;width:min(92%,390px);animation:card-handoff-phone .5s ease-out both;transform:translateX(-50%)}
 .business-mark{margin-bottom:7px}.business-mark img{width:48px;height:auto}.business-contact,.business-actions{margin:9px 0}.business-card small{font-size:11px}
 .handoff-controls button{font-size:13px;padding:7px 10px}
}
@media(max-height:500px){
 .handoff-status{top:9px;padding:5px 9px}.handoff-status h2{font-size:21px;margin:4px 0}
 .handoff-caption{bottom:18%;font-size:13px}.handoff-controls{bottom:8px}.handoff-controls button{min-height:33px}
 .business-card{padding:11px;top:43%;bottom:auto}.business-mark{margin-bottom:4px}.business-mark img{width:43px;height:auto}.business-contact,.business-actions{margin:7px 0}
}
@media(max-height:500px) and (max-width:690px){.business-card{top:auto;bottom:80px;max-height:calc(100% - 150px);overflow:auto}}
@keyframes card-handoff-phone{from{transform:translate(-50%,25%) scale(.7);opacity:0}to{transform:translate(-50%,0) scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.handoff-actor,.handoff-hall,.business-card{animation:none!important;transition:none!important}}
/* The official logo gets a clean, full-size opening beat. */
.promo-video{animation-duration:11s}
.promo-cover{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 43%,#233538,#101f2b 55%,#060d16 98%);animation:promo-cover 11s both;pointer-events:none}
.promo-brand{animation-duration:11s}
.promo-brand img{width:clamp(222px,42vw,510px);max-width:78vw;height:auto;filter:drop-shadow(0 0 32px #04090baf)}
.promo-brand p{margin-top:12px}
.promo-mission,.promo-title{animation-duration:11s}
@keyframes promo-cover{0%,24%{opacity:1}34%,100%{opacity:0}}
@keyframes film-reveal{0%,22%{opacity:.2;transform:scale(1.04)}36%,77%{opacity:.68}100%{opacity:.36;transform:scale(1)}}
@keyframes promo-brand{0%{opacity:.8;filter:blur(2px)}3%,25%{opacity:1;filter:blur(0)}32%,100%{opacity:0}}
@keyframes promo-mission{0%,31%{opacity:0}38%,55%{opacity:1}63%,100%{opacity:0}}
@keyframes promo-title{0%,56%{opacity:0;scale:.92;filter:blur(4px)}67%,100%{opacity:1;scale:1;filter:blur(0)}}
.no-motion .promo-cover{animation:none}
.no-motion .promo-brand{display:block;top:38%;animation:none;filter:none}
.no-motion .promo-brand p{display:none}
.no-motion .promo-title{top:72%;animation:none}
.no-motion .promo-title h1{font-size:clamp(32px,7vw,78px)}
.handoff-sound-status{position:absolute;z-index:6;left:50%;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 49px);transform:translateX(-50%);max-width:91%;width:max-content;padding:5px 9px;border-radius:4px;background:#06111aea;color:#fff;text-align:center;font-size:13px}
.handoff-sound-status:empty{display:none}
