@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@400;500;600&family=Libre+Franklin:wght@500;600;700&family=News+Cycle:wght@700&display=swap');
:root{color-scheme:dark;--gold:#d9ce83;--blue:#4388d6}*{box-sizing:border-box}html{min-height:100%;background:#030405}body{margin:0;color:#e4e4dd;font:18px/1.6 Barlow,Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:7px}button{border:0}a{color:var(--gold)}[hidden]{display:none!important}#stars,.vignette{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}.vignette{background:radial-gradient(ellipse at 50% 40%,transparent 30%,#0008 100%);z-index:1}main,footer{position:relative;z-index:2}#title-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 20px 90px;gap:28px}.game-logo{width:min(900px,83vw);filter:drop-shadow(0 5px 1px #000);user-select:none}.logo-top{display:flex;align-items:stretch;gap:14px}.brick-logo{width:24%;background:linear-gradient(130deg,#b92331,#941323 80%);border:3px solid #641322;box-shadow:inset 2px 2px 3px #ffffff2b;display:grid;place-items:center;aspect-ratio:1;align-self:center}.brick-logo span{font:italic 900 clamp(50px,8vw,125px)/1 'Barlow Condensed',Arial,sans-serif;color:#fff;letter-spacing:-8px;transform:rotate(-8deg);-webkit-text-stroke:2px #111;paint-order:stroke fill;text-shadow:4px 0 #e0d767,-4px 0 #e0d767,0 4px #e0d767,0 -4px #e0d767,6px 6px #111}.name{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0;filter:drop-shadow(2px 4px 0 #514d28)}.name span{display:block;text-align:center;font:900 clamp(42px,9.8vw,130px)/.88 'Barlow Condensed',Impact,sans-serif;letter-spacing:-.045em;background:linear-gradient(165deg,#98975b 0%,#e4e1a5 18%,#fffacb 29%,#b2ad62 40%,#eee8ad 48%,#7f7d43 51%,#d4d395 59%,#f6efbe 75%,#b3ae60 90%,#f4efbb 100%);color:transparent;background-clip:text;-webkit-background-clip:text;-webkit-text-stroke:1px #b7b374;paint-order:stroke fill}.name span:last-child{font-size:clamp(58px,13.9vw,183px);letter-spacing:.018em;line-height:.87}.subtitle{position:relative;text-align:center;color:#d9d59c;border-top:2px solid #a3a06a;margin-top:15px;padding-top:12px;text-shadow:2px 3px #34331a}.subtitle>span{position:absolute;top:-17px;left:50%;transform:translateX(-50%);font:700 20px/1.4 Georgia,serif;background:#060708;padding:0 15px;letter-spacing:4px}.subtitle strong{display:block;font:600 clamp(18px,3.7vw,49px)/1.1 Georgia,serif;letter-spacing:.07em}.game-menu{display:flex;flex-direction:column;align-items:center;gap:1px;text-align:center}.game-menu button{display:block;background:none;padding:0 24px;color:var(--blue);font:700 clamp(25px,3.1vw,38px)/1.12 'Barlow Condensed',Arial,sans-serif;letter-spacing:.01em;text-shadow:0 2px 1px #0f274c,0 0 3px #3969b6;transition:transform .12s}.game-menu button.selected,.game-menu button:hover{animation:selection 3s linear infinite;transform:scale(1.045)}@keyframes selection{0%,100%{color:#72f1c2;text-shadow:0 0 5px #32bba6}33%{color:#c157f2;text-shadow:0 0 5px #9330c8}66%{color:#f5d455;text-shadow:0 0 5px #ba9826}}footer{position:fixed;bottom:20px;left:4%;right:4%;display:flex;align-items:center;gap:25px;color:#b99c5e;font:600 17px/1 'Barlow Condensed',sans-serif}footer button{background:none;color:#8b8b82;font:inherit;padding:8px 0}#keyboard-hint{font-size:14px;color:#87877b;margin-left:auto}.select-hint{font-size:25px;margin-left:20px}.controller{display:inline-grid;place-items:center;font:bold 16px/1 Arial;width:23px;height:23px;border-radius:50%;color:#102b09;background:radial-gradient(circle at 35% 25%,#b6ec75,#5a9232 60%,#263c17);border:1px solid #a2b77a;box-shadow:0 2px 3px #000}.controller.red{background:radial-gradient(circle at 35% 25%,#ed9682,#af3836 60%,#5d2420);color:#3c1212;border-color:#b97868}.page-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:45px}.back{background:none;color:var(--gold);font:600 23px 'Barlow Condensed',sans-serif;display:flex;gap:10px;align-items:center}.small-brand{font:800 22px 'Barlow Condensed',sans-serif;color:var(--gold);letter-spacing:2px}#page-screen{max-width:1200px;margin:auto;padding:45px 6% 110px}h1{font:700 clamp(36px,5vw,60px)/1.1 'Barlow Condensed',sans-serif;color:var(--gold);margin:0 0 35px;text-shadow:0 3px #4b4324}h2{font:600 30px/1.2 'Barlow Condensed',sans-serif;color:#e4dfa9;margin:0 0 20px}h3{font-size:21px;font-weight:600;color:#e4dfa9;margin:0 0 10px}.reading{max-width:760px;margin:8vh auto}.reading p{color:#c8cbd0;line-height:1.7}.contact{text-align:center}.contact a{font-size:clamp(18px,3vw,30px);overflow-wrap:anywhere}.work-screen{text-align:center;padding-top:8vh}.work-screen .game-menu{gap:20px;margin-top:60px}.menu-caption{color:#777e8b;font-size:15px;margin-top:40px}.film{display:block;width:100%;max-height:65vh;background:#000}.project-copy{max-width:700px;margin:30px auto;color:#c8cbd0}.collage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.collage figure{margin:0}.collage img,.collage video{width:100%;display:block;max-height:700px;object-fit:contain}.collage figcaption{color:#aaa;font-size:14px;margin-top:8px}.collage .launch,.collage .stories{grid-column:1/-1}.stickers>div,.stories>div{display:flex;align-items:center;gap:15px;padding:25px;background:#181b21}.stickers img{width:48%}.stories img{width:31%}.destin-intro{max-width:700px;color:#c8cbd0;margin-bottom:40px}.cv{max-width:900px;margin:auto}.cv-section{display:grid;grid-template-columns:180px 1fr;gap:30px;border-top:1px solid #d7cf8233;padding:32px 0}.cv-section h2{font-size:28px}.cv-section small{display:none}.cv-job+.cv-job{margin-top:35px}.cv-job-top{display:flex;justify-content:space-between;gap:20px}.cv-job-top>span,.cv-role{font-size:14px;color:#8c9bad}.cv-role{margin:0 0 15px}.cv ul{padding-left:20px;color:#bfc4cc;font-size:16px}.cv li{margin-bottom:8px}.cv-skills,.cv-previous .cv-content{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cv-skills p{font-size:16px;color:#bfc4cc}.cv-previous p span{display:block;font-size:14px;color:#8c9bad}.cv-bottom{padding-top:30px;border-top:1px solid #d7cf8233;text-align:right}.cv-gpa{font-size:16px}@media(max-width:650px){#title-screen{gap:50px;padding-bottom:100px}.game-logo{width:94vw}.logo-top{gap:8px}.brick-logo{border-width:2px}.brick-logo span{font-size:15vw;letter-spacing:-4px;-webkit-text-stroke:1px #111}.name span{font-size:11vw}.name span:last-child{font-size:15.5vw}.subtitle{margin-top:12px;padding-top:10px}.subtitle>span{font-size:12px;top:-10px;padding:0 10px}.subtitle strong{font-size:4.5vw;letter-spacing:.045em}.game-menu button{font-size:32px;line-height:1.3}#keyboard-hint{display:none}.select-hint{margin-left:auto}#page-screen{padding:25px 6% 100px}.small-brand{font-size:17px}.reading{margin-top:40px}.cv-section{grid-template-columns:1fr;gap:8px}.cv-job-top{display:block}.cv-skills{grid-template-columns:1fr}.collage{grid-template-columns:1fr}.collage .launch,.collage .stories{grid-column:auto}footer{background:#030405b8;bottom:0;padding:12px 0;left:4%;right:4%}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.game-menu button.selected{color:#72f1c2}}

/* Lettering matched to the reference title and menu. */
@font-face{font-family:'Star Jedi';src:url('assets/fonts/Starjedi.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}.game-logo{width:min(960px,84vw)}.logo-top{gap:18px;align-items:center}.title-lettering{display:block;width:75%;height:auto;flex:1;filter:none;overflow:visible}.brick-logo{width:25%;aspect-ratio:1}.subtitle{margin-top:13px;padding-top:13px}.subtitle strong{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:.075em;font-size:clamp(18px,3.6vw,49px)}.game-menu{gap:2px}.game-menu button{font-family:'Libre Franklin',Arial,sans-serif;font-weight:600;font-size:clamp(25px,2.5vw,34px);line-height:1.16;letter-spacing:0;color:#4286d3;text-shadow:0 1px 1px #1d3e72,0 0 2px #396bb3}.game-menu button.selected,.game-menu button:hover{transform:none}.select-hint,.back,footer{font-family:'Libre Franklin',Arial,sans-serif}.select-hint{font-size:23px}#title-screen{gap:34px}.brick-logo span{font-family:Arial,sans-serif;font-weight:900;font-size:clamp(55px,8vw,120px);letter-spacing:-.13em;padding-right:.1em;-webkit-text-stroke:5px #101010;paint-order:stroke fill;text-shadow:4px 0 #e1db77,-4px 0 #e1db77,0 4px #e1db77,0 -4px #e1db77,6px 6px #101010}
@media(max-width:650px){.game-logo{width:94vw}.logo-top{gap:9px}.brick-logo span{font-size:14vw;-webkit-text-stroke:3px #101010}.subtitle strong{font-size:4.4vw;letter-spacing:.045em}.subtitle{margin-top:12px}.game-menu button{font-size:26px;line-height:1.25}#title-screen{gap:38px}.select-hint{font-size:20px}}

/* Reference framing: title occupies the upper half, four compact menu rows below. */
#title-screen{padding:0;min-height:100svh;display:block;position:relative}.game-logo{position:absolute;width:min(68vw,1080px);left:50%;top:8vh;transform:translateX(-50%)}.logo-top{gap:8px}.brick-logo{width:28%;border:0;background:#a3202c;box-shadow:inset 0 0 3px #51131e;transform:translateY(-5px)}.title-lettering{width:72%;flex:1}.subtitle{margin-top:12px;padding-top:14px;border-color:#999662}.subtitle strong{font-weight:400;font-size:clamp(18px,3.55vw,57px);letter-spacing:.09em;color:#dad7ab}.subtitle>span{color:#d8d3a4;font-size:clamp(13px,1.7vw,27px);line-height:1;top:-.52em;padding:0 12px}.game-logo .brick-logo span{font-family:Arial,sans-serif;font-size:clamp(55px,9.7vw,155px);letter-spacing:-.12em;transform:skew(-8deg) rotate(-3deg);-webkit-text-stroke:7px #111;text-shadow:5px 0 #cfc971,-5px 0 #cfc971,0 5px #cfc971,0 -5px #cfc971,7px 5px #111}#main-menu{position:absolute;top:66%;left:50%;transform:translateX(-50%);width:100%;gap:0}.game-menu button{font-family:'News Cycle','Arial Narrow',Arial,sans-serif;font-weight:700;font-size:clamp(26px,3vw,44px);line-height:1.04;letter-spacing:.018em;color:#397bc9;text-shadow:0 0 2px #24508c}.game-menu button.selected,.game-menu button:hover{animation:selection 2.4s linear infinite}.select-hint{font-family:'News Cycle',Arial,sans-serif;font-size:clamp(21px,2.4vw,34px);font-weight:700;color:#a77a3c}footer{bottom:4%;right:7%;left:4%}#keyboard-hint,footer #sound{font-size:12px;opacity:.65}.vignette{background:radial-gradient(ellipse at center,transparent 45%,#0005 100%)}
@media(min-aspect-ratio:19/10){.game-logo{width:55vw;top:4vh}#main-menu{top:67%}.game-menu button{font-size:4.5vh}}
@media(max-width:650px){.game-logo{width:94vw;top:20%}.game-logo .brick-logo span{font-size:16vw;-webkit-text-stroke:3px #111}.subtitle strong{font-size:4.5vw;letter-spacing:.04em}.subtitle>span{font-size:13px}#main-menu{top:52%;gap:3px}.game-menu button{font-size:29px;line-height:1.12}footer{bottom:12px;left:4%;right:4%}.select-hint{font-size:22px}}

#main-menu button{transform:scaleX(1.16)}.subtitle strong{letter-spacing:.14em;font-size:clamp(18px,3.7vw,59px)}@media(max-width:650px){.game-logo .brick-logo span{font-size:13.5vw;letter-spacing:-.1em}.subtitle strong{font-size:4.4vw;letter-spacing:.055em}}

.brick-logo svg{display:block;width:100%;height:100%}

/* Original game bitmap font, with original glyph widths and baked edges. */
.game-menu button.bitmap-button,#main-menu button.bitmap-button{transform:none!important;animation:none!important;display:flex;justify-content:center;align-items:center;padding:0 15px;background:none;line-height:1;text-shadow:none;color:transparent;height:clamp(32px,4.9vh,50px)}.bitmap-button canvas{display:block;height:100%;width:auto;pointer-events:none}.bitmap-button .accessible-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-menu:has(.bitmap-button){gap:0}#page-content .game-menu button.bitmap-button{height:48px}@media(max-width:650px){.game-menu button.bitmap-button,#main-menu button.bitmap-button{height:38px}#page-content .game-menu button.bitmap-button{height:38px}}

.original-style-title{display:block;width:100%;height:auto;filter:brightness(.84) saturate(.72)}.game-logo{filter:none;top:7vh;width:min(72vw,1120px)}@media(max-width:650px){.game-logo{width:96vw;top:19%}}
/* Keep title and menu in one flow so they cannot overlap on wide/short screens. */
#title-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(20px,4svh,44px);min-height:100svh;padding:30px 18px 85px}
#title-screen .game-logo{position:relative;inset:auto;transform:none;width:min(72vw,105svh,1120px);flex:none}
#title-screen #main-menu{position:relative;inset:auto;transform:none;width:auto;flex:none}
.game-menu button:focus,.game-menu button:focus-visible{outline:none;box-shadow:none}
@media(max-width:650px){#title-screen{gap:45px;padding:35px 12px 90px}#title-screen .game-logo{width:min(96vw,95svh)}}
@media(max-height:520px) and (min-width:651px){#title-screen{gap:12px;padding:15px 18px 55px}#title-screen .game-logo{width:min(64vw,88svh)}#main-menu button.bitmap-button{height:clamp(23px,6svh,32px)}footer{bottom:10px}}

/* Display only the two gold name rows from the title artwork. */
#title-screen .game-logo.name-only{width:min(67vw,100svh,940px);aspect-ratio:1245 / 496;overflow:hidden}
.name-only .original-style-title{position:absolute;width:142.49%;max-width:none;height:auto;left:-41.77%;top:-20.97%}
#page-content h1[tabindex="-1"]:focus,#page-content h1[tabindex="-1"]:focus-visible{outline:none;box-shadow:none}
@media(max-width:650px){#title-screen .game-logo.name-only{width:94vw}}

.bitmap-heading{line-height:1;text-shadow:none}.bitmap-heading canvas{display:block;max-width:100%;height:auto}.bitmap-heading .accessible-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.work-screen .bitmap-heading canvas,.contact .bitmap-heading canvas{margin-inline:auto}#keyboard-hint{font-size:12px}@media(max-width:650px){.bitmap-heading canvas{max-height:52px;object-fit:contain;object-position:left}.work-screen .bitmap-heading canvas,.contact .bitmap-heading canvas{object-position:center}}

.bitmap-ui{display:inline-flex;align-items:center;line-height:1;text-shadow:none;letter-spacing:0}.bitmap-ui canvas{display:block;width:auto;height:1.2em;max-width:100%;object-fit:contain}.bitmap-ui .accessible-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.small-brand{font-size:20px}.back>[data-game-font]{font-size:23px}.controller>.bitmap-ui{font-size:16px}.controller>.bitmap-ui canvas{height:18px}.select-hint{display:flex;align-items:center;gap:8px}#sound.bitmap-ui{font-size:14px}.menu-caption.bitmap-ui{display:flex;justify-content:center}#keyboard-hint.bitmap-ui{font-size:13px}footer{gap:18px}@media(max-width:650px){.small-brand{font-size:15px}.back>[data-game-font]{font-size:20px}#keyboard-hint.bitmap-ui{display:none}}

#page-content h2.bitmap-ui,#page-content h3.bitmap-ui{display:block;max-width:100%}#page-content h2.bitmap-ui canvas,#page-content h3.bitmap-ui canvas{max-width:100%;height:auto;max-height:1.2em;object-position:left}#page-content .contact h2.bitmap-ui canvas{margin-inline:auto}

/* Original Xbox 360 button texture, including the game's baked letter and lighting. */
.gamepad-icon{display:inline-block;flex:none;width:32px;height:32px;overflow:hidden}.select-hint{font-size:clamp(26px,2.8vw,40px);gap:8px}.select-hint .gamepad-icon{width:1.15em;height:1.15em}.select-hint .bitmap-ui canvas{height:1.2em}.back{gap:8px}.back .gamepad-icon{width:30px;height:30px}@media(max-width:650px){.select-hint{font-size:27px}.back .gamepad-icon{width:27px;height:27px}}
/* Subscreens follow the original save-slot and control-selection menus. */
#ship-scene{position:fixed;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}.page-top{display:none}#page-screen{max-width:1280px;min-height:100svh;padding:65px 6% 125px}#page-content>h1,#page-content .reading>h1,#page-content .cv>h1,.work-screen>h1{text-align:center;margin:0 0 70px}#page-content h1.bitmap-heading canvas{margin-inline:auto;max-height:60px}.reading{max-width:780px;margin:0 auto}.reading p,.project-copy p,.destin-intro p{color:#d88832;line-height:1.7}.reading h2{text-align:center;margin-bottom:32px}.reading h2.bitmap-ui canvas{margin-inline:auto;object-position:center}.work-screen{padding:0;min-height:calc(100svh - 190px)}.work-screen .save-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px;margin:24vh auto 0;align-items:center;max-width:1100px}.save-slot{position:relative;background:rgba(0,36,68,.86);border:0;border-radius:0;padding:12px 16px;color:#0085ff;cursor:pointer;isolation:isolate}.save-slot:before,.save-slot:after{content:'';position:absolute;width:14px;height:14px;border-color:#8197aa;border-style:solid;pointer-events:none}.save-slot:before{top:0;left:0;border-width:4px 0 0 4px}.save-slot:after{bottom:0;right:0;border-width:0 4px 4px 0}.save-slot:hover,.save-slot.selected{background:rgba(0,54,91,.94)}.save-slot:focus,.save-slot:focus-visible{outline:none}.game-menu .save-slot{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 12px;background:rgba(0,36,68,.86);transform:none;animation:none;min-height:125px}.save-slot .bitmap-ui{max-width:100%;font-size:clamp(23px,2.7vw,39px)}.save-slot .slot-title canvas{height:auto;max-height:46px;max-width:100%}.save-slot .slot-status{font-size:clamp(22px,2.6vw,36px)}.save-slot .slot-status canvas{height:auto;max-height:42px}.game-menu .cancel-slot{grid-column:1/-1;justify-self:center;width:auto;min-height:0;margin-top:9vh;padding:8px 14px}.cancel-slot .bitmap-ui{font-size:36px}.contact{padding-top:6vh}.contact-action{display:inline-block;margin-top:45px;font-size:25px;max-width:100%;text-decoration:none}.contact-action canvas{max-width:100%}.cv-section{border-color:#164d71}.cv-section h2,.cv h3{color:#0085ff}.cv-role,.cv-job-top>span,.cv-skills p,.cv li,.cv-previous p,.cv-previous p span{color:#c7924d}.cv-bottom{border:0;text-align:center}.cv-download{display:inline-block;background:#002444;padding:12px 20px;border:0;color:#0085ff}.film{max-width:1000px;margin:auto}.destin-intro{margin:0 auto 50px}.collage{max-width:1000px;margin-inline:auto}footer #back{font-size:23px;color:#d87e25}footer #sound{margin-right:auto}body[data-screen="home"] #back{display:none}body:not([data-screen="home"]) #keyboard-hint{display:none}#stars{filter:blur(.35px)}
@media(max-width:760px){#page-screen{padding:40px 7% 110px}#page-content>h1,#page-content .reading>h1,#page-content .cv>h1,.work-screen>h1{margin-bottom:45px}#page-content h1.bitmap-heading canvas{max-height:48px}.work-screen .save-slots{grid-template-columns:1fr;max-width:330px;gap:25px;margin-top:9vh}.game-menu .save-slot{min-height:90px;padding:10px 14px}.save-slot .slot-title{font-size:28px}.save-slot .slot-title canvas{max-height:37px}.save-slot .slot-status{font-size:25px}.save-slot .slot-status canvas{max-height:33px}.game-menu .cancel-slot{margin-top:25px;min-height:0}.cancel-slot .bitmap-ui{font-size:28px}.reading p{font-size:17px}.contact-action{font-size:18px;padding:12px;overflow-wrap:anywhere}footer{gap:15px}footer #sound{font-size:11px}footer #back{gap:4px}.back>[data-game-font]{font-size:18px}.select-hint{font-size:23px}.reading h2.bitmap-ui canvas{max-height:34px}}
body:not([data-screen="home"]):not([data-screen="work"]) #ship-scene{opacity:.18}#ship-scene{transition:opacity .35s}body:not([data-screen="home"]) footer{background:transparent;padding-top:15px;padding-bottom:10px;bottom:0}

/* Restore the clean starfield and match the stacked controller legend. */
#stars{filter:none}.controller-prompts{display:flex;flex-direction:column;align-items:flex-end;gap:0;margin-left:auto}.controller-prompts .select-hint,.controller-prompts #back{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:clamp(26px,2.8vw,40px);padding:0;background:none;border:0;line-height:1}.controller-prompts #back>[data-game-font]{font-size:inherit}.controller-prompts .gamepad-icon,.controller-prompts #back .gamepad-icon{width:1.15em;height:1.15em}.controller-prompts #back[hidden]{display:none}.bottom-back{display:flex;align-items:center;margin:70px auto 20px}.bottom-back .save-slot{width:auto;min-height:0;padding:8px 14px}.bottom-back .bitmap-ui{font-size:36px}#page-screen{padding-bottom:160px}@media(max-width:760px){.controller-prompts .select-hint,.controller-prompts #back{font-size:23px}.bottom-back{margin-top:50px}.bottom-back .bitmap-ui{font-size:28px}#page-screen{padding-bottom:140px}}

/* The resume recedes into the starfield as the visitor scrolls. */
body[data-screen="resume"] #page-screen{max-width:none;padding:0 0 150px}.resume-track{position:relative}.resume-stage{position:sticky;top:0;height:100svh;overflow:hidden;perspective:650px;perspective-origin:50% 18%;mask-image:linear-gradient(transparent,black 18%,black 96%,transparent)}
.resume-crawl.cv{position:absolute;top:62vh;left:50%;width:min(780px,85vw);max-width:none;margin:0;transform-origin:50% 0;transform:translateX(-50%) rotateX(25deg) translateY(calc(-1 * var(--crawl-scroll,0px)));font-family:Arial,sans-serif;font-weight:700;color:#efd058;font-size:25px;line-height:1.55;will-change:transform}
#page-content .resume-crawl h1{font-family:inherit;font-size:48px;text-align:center;color:inherit;margin:0 0 60px;text-transform:uppercase;letter-spacing:.08em}.crawl-intro{text-align:center;margin:0 0 18px;font-size:27px}.resume-crawl .cv-section{display:block;border:0;margin:0 0 70px;padding:0}.resume-crawl .cv-section h2{font-family:inherit;font-size:32px;color:inherit;text-align:center;letter-spacing:.08em;text-transform:uppercase;margin:0 0 30px}.resume-crawl small{display:none}.resume-crawl .cv-job-top{display:block}.resume-crawl h3{font-family:inherit;font-size:28px;color:inherit;margin:0}.resume-crawl .cv-job-top>span,.resume-crawl .cv-role,.resume-crawl .cv-skills p,.resume-crawl li,.resume-crawl .cv-previous p,.resume-crawl .cv-previous p span{color:inherit;font-size:inherit}.resume-crawl .cv-role{margin:12px 0 20px}.resume-crawl ul{padding-left:0;list-style:none}.resume-crawl li{margin-bottom:22px;text-align:justify}.resume-crawl .cv-job{margin-bottom:55px}.resume-crawl .cv-skills{display:block}.resume-crawl .cv-skills>div{margin-bottom:35px}.resume-crawl p{text-align:justify}.resume-crawl .crawl-intro{text-align:center}.resume-crawl .cv-previous p{display:block}.resume-crawl .cv-previous p span{display:block}.resume-crawl .cv-gpa{font-size:inherit}.resume-crawl br{display:none}body[data-screen="resume"] .cv-bottom{position:relative;margin:30px auto;text-align:center}body[data-screen="resume"] .bottom-back{margin-top:40px}
@media(max-width:650px){.resume-stage{perspective:450px}.resume-crawl.cv{font-size:19px;width:88vw}#page-content .resume-crawl h1{font-size:32px}.resume-crawl .cv-section h2{font-size:25px}.resume-crawl h3{font-size:22px}.crawl-intro{font-size:22px}}

.resume-crawl.cv{top:48vh;width:min(680px,68vw);font-style:normal}.resume-crawl h1,.resume-crawl h2,.resume-crawl h3,.resume-crawl p{font-style:normal}@media(max-width:650px){.resume-crawl.cv{width:68vw;font-size:18px}#page-content .resume-crawl h1{font-size:28px}}

.project-copy p+p{margin-top:1.4em}.project-copy a{color:inherit;text-decoration:underline;text-underline-offset:3px}.project-copy a:hover{color:#efd058}

body:is([data-screen="carrot"],[data-screen="cider"]) .project-copy p{font-size:21px;line-height:1.8}@media(max-width:650px){body:is([data-screen="carrot"],[data-screen="cider"]) .project-copy p{font-size:19px;line-height:1.75}}

/* Clear resume hierarchy while preserving the scroll-controlled perspective. */
.resume-crawl.cv{font-weight:400;line-height:1.65;letter-spacing:0}
.resume-crawl p,.resume-crawl li{text-align:left;word-spacing:normal;letter-spacing:0}
.resume-crawl .cv-section{margin-bottom:90px}
.resume-crawl .cv-section h2{text-align:left;font-size:1.25em;font-weight:700;letter-spacing:.04em;margin-bottom:32px;padding-bottom:12px;border-bottom:1px solid #efd05866}
.resume-crawl h3{font-size:1.12em;font-weight:700;line-height:1.3;margin:0 0 8px}
.resume-crawl .cv-job-top>span{display:block;font-size:.8em;line-height:1.4;color:#ddc579;margin-top:6px;font-weight:400}
.resume-crawl .cv-role{font-size:.88em;line-height:1.5;font-weight:600;margin:12px 0 22px}
.resume-crawl ul{list-style:disc;padding-left:1.1em;margin:0}
.resume-crawl li{padding-left:.25em;margin-bottom:16px;line-height:1.65}
.resume-crawl .cv-job{margin-bottom:60px}
.resume-crawl .cv-skills>div{margin-bottom:36px}
.resume-crawl .cv-skills p{margin:10px 0 0;line-height:1.7}
.resume-crawl .cv-previous p{font-weight:700;margin:0 0 24px}
.resume-crawl .cv-previous p span{font-size:.85em;font-weight:400;margin-top:3px}
.resume-crawl .cv-gpa{display:block;margin-top:14px;font-size:.85em;font-weight:600}
.resume-crawl .crawl-intro{text-align:center;font-weight:600;letter-spacing:.1em}
#page-content .resume-crawl h1{font-weight:700;line-height:1.2;letter-spacing:.025em;margin-bottom:70px}
@media(max-width:650px){.resume-crawl.cv{font-size:19px}.resume-crawl .cv-section{margin-bottom:65px}.resume-crawl .cv-section h2{font-size:1.2em}.resume-crawl h3{font-size:1.1em}}

body:is([data-screen="carrot"],[data-screen="cider"]) .project-copy{max-width:780px}body:is([data-screen="carrot"],[data-screen="cider"]) .project-copy p{font-size:26px;line-height:1.75}@media(max-width:650px){body:is([data-screen="carrot"],[data-screen="cider"]) .project-copy p{font-size:23px;line-height:1.7}}

footer{pointer-events:none}footer button,footer a{pointer-events:auto}

/* Keep controller prompts in document flow, clear of scrolling content. */
body:not([data-screen="home"]) footer{position:relative;inset:auto;width:auto;margin:0 7% 0 4%;padding:24px 0 30px;background:transparent;min-height:110px}
body:not([data-screen="home"]) #page-screen{padding-bottom:35px}
body[data-screen="resume"] #page-screen{padding-bottom:35px}
.resume-crawl ul,.resume-crawl li,.resume-crawl .cv-skills p{color:#55aaff}
.resume-crawl .cv-previous h2,.resume-crawl .cv-previous p,.resume-crawl .cv-previous p span{text-align:center}
@media(max-width:650px){body:not([data-screen="home"]) footer{margin-inline:7%;padding-bottom:24px;min-height:90px}}

/* Separate the persistent controls from the scrolling viewport. */
body{--controls-height:120px}body:not([data-screen="home"]){height:100svh;overflow:hidden}
body:not([data-screen="home"]) main{height:calc(100svh - var(--controls-height));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;position:relative}
body:not([data-screen="home"]) footer{position:fixed;left:4%;right:7%;bottom:0;margin:0;height:var(--controls-height);min-height:0;padding:12px 0;box-sizing:border-box;background:transparent}
body:not([data-screen="home"]) #page-screen{min-height:calc(100svh - var(--controls-height));padding-bottom:35px}
.resume-stage{height:calc(100svh - var(--controls-height))}
@media(max-width:650px){body{--controls-height:90px}body:not([data-screen="home"]) footer{left:7%;right:7%;margin:0;padding:10px 0;min-height:0}}

.resume-crawl ul{font-size:inherit}.resume-crawl li{font-size:inherit;line-height:1.65}

.resume-crawl .cv-section:last-child{margin-bottom:0}body[data-screen="resume"] .cv-bottom{margin:0 auto;padding-top:0}body[data-screen="resume"] .bottom-back{margin:22px auto 0}

body[data-screen="about"] .reading p{font-size:26px;line-height:1.75}body[data-screen="about"] .reading p+p{margin-top:1.4em}@media(max-width:650px){body[data-screen="about"] .reading p{font-size:23px;line-height:1.7}}
/* Quiet discoveries, restricted to the main menu. */
#ship-scene{opacity:.65!important}body:not([data-screen="home"]) #ship-scene{display:none}
#hidden-minikit{position:fixed;left:5%;bottom:19%;z-index:3;width:72px;height:82px;padding:0;background:none;border:0;cursor:pointer;opacity:.65;transition:opacity .2s}#hidden-minikit:hover,#hidden-minikit:focus-visible{opacity:1}#hidden-minikit[hidden]{display:none}#hidden-minikit canvas{display:block;width:100%;height:100%}
#true-jedi{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none;font-size:26px;white-space:nowrap;animation:jedi-arrive .35s ease-out}#true-jedi canvas{height:1.3em;max-width:100%}@keyframes jedi-arrive{from{opacity:0}to{opacity:1}}@media(max-width:650px){#hidden-minikit{left:2%;bottom:22%;width:54px;height:62px}#true-jedi{font-size:18px;left:44%}}@media(prefers-reduced-motion:reduce){#true-jedi{animation:none}}

#true-jedi{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:20;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:30px;max-width:70vw;filter:drop-shadow(0 2px 4px #000)}.jedi-coins{display:flex;align-items:center;gap:0;padding:3px 8px;border:1px solid #96772b;border-radius:16px;background:#030405c9}.jedi-coins img{width:22px;height:25px;object-fit:contain;animation:coin-fill .25s both;animation-delay:calc(var(--coin) * 90ms)}@keyframes coin-fill{from{opacity:.12;filter:grayscale(1)}to{opacity:1;filter:grayscale(0)}}@media(max-width:650px){#true-jedi{top:12px;font-size:24px;left:50%}.jedi-coins img{width:17px;height:21px}}@media(prefers-reduced-motion:reduce){.jedi-coins img{animation:none}}

.destin-intro{display:block;max-width:780px}.destin-intro>div+div{margin-top:48px}.destin-intro p{font-size:26px;line-height:1.75}@media(max-width:650px){.destin-intro p{font-size:23px;line-height:1.7}}

.destin-gallery{max-width:1100px;margin:65px auto 0;display:grid;gap:70px}.destin-gallery section{min-width:0}.destin-gallery h2{margin:0 0 22px;font-size:30px}.destin-gallery img,.destin-gallery video{display:block;width:100%;height:auto}.destin-launch video{max-height:70svh;background:#000}.destin-pair{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:start}.destin-pair video{max-height:760px;background:#000}.destin-stills{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.destin-stills a{display:block}.destin-stills a:nth-child(2){margin-top:65px}.destin-lighter{max-width:900px;margin:auto}.destin-sticker-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:45px;padding:35px 5%}.destin-sticker-grid a:first-child{transform:rotate(-5deg)}.destin-sticker-grid a:last-child{transform:rotate(5deg)}.destin-sticker-grid img{max-height:620px;object-fit:contain}.story-carousel{max-width:500px;width:100%;margin:auto}.story-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.story-slide{flex:0 0 100%;width:100%;margin:0;scroll-snap-align:start;scroll-snap-stop:always}.story-slide img{aspect-ratio:9/16;object-fit:contain;max-height:72svh}.story-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.story-controls button{background:transparent;border:0;padding:8px 0;font-size:23px;cursor:pointer}.story-controls button:disabled{opacity:.3;cursor:default}.story-count{color:#d88832;font-size:18px}@media(max-width:700px){.destin-gallery{gap:48px;margin-top:45px}.destin-pair{grid-template-columns:1fr;gap:45px}.destin-sticker-grid{gap:20px;padding:20px 0}.destin-gallery h2{font-size:26px}.story-controls button{font-size:20px}}

/* Original 32-frame coin texture sequence, advanced two engine ticks per frame. */
.jedi-coins{border:0;background:none;padding:0;gap:0;border-radius:0}.jedi-stud{display:block;width:25px;height:28px;animation:coin-fill .15s both;animation-delay:calc(var(--coin)*90ms)}.jedi-stud>span{display:block;width:28px;height:28px;background-image:url('assets/menu/gold-stud-spin.png');background-size:896px 28px;background-repeat:no-repeat;animation:original-stud-spin 1.066667s steps(32) infinite;animation-delay:calc(var(--coin)*-33.333ms)}@keyframes original-stud-spin{to{background-position:-896px 0}}@media(max-width:650px){.jedi-stud{width:18px;height:22px}.jedi-stud>span{width:22px;height:22px;background-size:704px 22px;animation-name:original-stud-spin-small}@keyframes original-stud-spin-small{to{background-position:-704px 0}}}@media(prefers-reduced-motion:reduce){.jedi-stud,.jedi-stud>span{animation:none}.jedi-stud>span{background-position:0 0}}

.destin-lighter{max-width:420px}.destin-stills{grid-template-columns:1fr 1fr;gap:16px}.destin-stills a:nth-child(2){margin-top:0}.destin-stills a:last-child{grid-column:1/-1;width:70%;justify-self:center}.destin-stills a{cursor:zoom-in}.story-carousel{max-width:none}.story-track{gap:20px;padding-bottom:14px}.story-slide{flex:0 0 30%;width:30%}.story-slide img{max-height:none}.story-controls{max-width:500px;margin:20px auto 0}
#still-lightbox{position:fixed;inset:0;width:100vw;height:100svh;max-width:none;max-height:none;margin:0;padding:65px 35px 30px;border:0;background:#000e;box-sizing:border-box;overflow:hidden}#still-lightbox[open]{display:flex;align-items:center;justify-content:center}#still-lightbox::backdrop{background:#000c}#still-lightbox img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}#still-lightbox button{position:absolute;top:18px;right:24px;font:20px Arial,sans-serif;color:#55aaff;background:#07111b;border:1px solid #55aaff;padding:8px 16px;cursor:pointer}@media(max-width:700px){.destin-lighter{max-width:300px}.story-slide{flex-basis:72%;width:72%}#still-lightbox{padding:65px 15px 20px}}

.destin-sticker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.destin-sticker-grid a:last-child{grid-column:1/-1;width:min(100%,650px);justify-self:center;transform:none}.destin-sticker-grid a:last-child img{max-height:none}

/* The game's coin_side1..10 textures animate the HUD bar from dark to gold. */
#true-jedi .jedi-coins{display:flex;gap:0;height:38px;filter:drop-shadow(0 2px 2px #000)}
#true-jedi .jedi-coins img{width:38px;height:38px;margin-left:-13px;object-fit:contain;animation:none}
#true-jedi .jedi-coins img:first-child{margin-left:0}
#true-jedi .jedi-label:empty{display:none}
@media(max-width:650px){#true-jedi .jedi-coins img{width:30px;height:30px;margin-left:-10px}#true-jedi .jedi-coins{height:30px}}

.destin-sticker-grid .rectangle-stickers{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:center;width:100%}.destin-sticker-grid .rectangle-stickers a{width:100%;grid-column:auto;transform:none}.destin-sticker-grid .rectangle-stickers img{max-height:none}.destin-gallery a[data-lightbox]{cursor:zoom-in}@media(max-width:700px){.destin-sticker-grid .rectangle-stickers{gap:10px}}

.story-slide>a{display:block;width:100%;cursor:zoom-in}

#still-lightbox .lightbox-prev,#still-lightbox .lightbox-next{top:50%;right:auto;transform:translateY(-50%);font:48px/1 Arial,sans-serif;padding:6px 12px;border:0;background:#07111bda;min-width:48px;min-height:56px}#still-lightbox .lightbox-prev{left:16px}#still-lightbox .lightbox-next{right:16px}#still-lightbox .lightbox-count{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);color:#55aaff;font:16px/1.4 Arial,sans-serif}#still-lightbox:has(.lightbox-next:not([hidden])){padding-inline:80px}@media(max-width:700px){#still-lightbox:has(.lightbox-next:not([hidden])){padding-inline:55px}#still-lightbox .lightbox-prev{left:4px}#still-lightbox .lightbox-next{right:4px}}

/* Custom media controls stay separate from game navigation. */
.portfolio-player{width:100%;max-width:1000px;margin-inline:auto;background:#02070c;border:1px solid #224361;overflow:hidden}
.portfolio-player video{display:block;width:100%;object-fit:contain;margin:0;cursor:pointer}
.player-controls{display:flex;align-items:center;gap:12px;padding:13px 16px;background:#071624;color:#d9ce83;font:16px/1.3 Barlow,Arial,sans-serif}
.player-controls button{background:transparent;color:#55aaff;padding:8px 4px;font:inherit;white-space:nowrap;min-height:40px}
.player-controls button:hover{color:#f4d05b}.player-controls button:focus-visible{outline:2px solid #f4d05b;outline-offset:1px}
.player-seek{flex:1;min-width:50px;accent-color:#eab94d;cursor:pointer;height:24px}.player-time{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:14px}.player-status:empty{display:none}.player-status{padding:8px 16px;color:#d9ce83;font-size:16px}.portfolio-player:is(:fullscreen,.expanded){display:flex;flex-direction:column;justify-content:center;max-width:none;height:100%;background:#000}.portfolio-player:is(:fullscreen,.expanded) video{flex:1;min-height:0;max-height:calc(100dvh - 80px)}
@media(max-width:700px){.player-controls{gap:9px;padding:8px 10px;flex-wrap:wrap}.player-seek{order:-2;flex-basis:70%}.player-time{order:-1}.player-controls button{font-size:15px}.player-full{margin-left:auto}}
.player-controls button{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:8px}.player-controls svg{width:23px;height:23px;pointer-events:none}.player-volume{width:80px;min-width:45px;flex:0 1 80px;accent-color:#55aaff;height:24px;cursor:pointer}
/* Explicit grid sizing overrides portrait/gallery video height rules in fullscreen. */
.portfolio-player:is(:fullscreen,.expanded){display:grid!important;grid-template-rows:minmax(0,1fr) auto;align-content:stretch;justify-content:stretch;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;border:0;background:#000}
.portfolio-player:is(:fullscreen,.expanded) video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-width:0;min-height:0;object-fit:contain!important;align-self:stretch}
.portfolio-player:is(:fullscreen,.expanded) .player-controls{flex-shrink:0;z-index:1;padding-bottom:max(13px,env(safe-area-inset-bottom));margin:0}.portfolio-player:is(:fullscreen,.expanded) .player-status:not(:empty){position:absolute;top:12px;left:12px;background:#071624}
@media(max-width:700px){.player-controls{column-gap:8px;row-gap:2px}.player-volume{width:90px;flex-basis:90px}.player-seek{flex-basis:calc(100% - 105px)}.player-time{font-size:13px}.player-controls .player-full{margin-left:auto}}

.player-expanded[open]{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:0;margin:0;background:#000}.player-expanded::backdrop{background:#000}

