:root{--ink:#262526;--paper:#f4f7ff;--accent:#cec4e5;--line:#ceccc6}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}header{height:90px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:5}.brand{font-weight:800;font-size:27px;letter-spacing:-2px}.brand span{font-size:22px;display:inline-block;margin-left:5px}nav{display:flex;padding:5px;border:1px solid #b8b6b2;border-radius:40px;gap:3px}nav button{padding:10px 25px;border:0;border-radius:30px;background:none;font-size:13px}nav button.active{background:var(--ink);color:white}.header-link{font-size:13px}.hero{height:730px;min-height:650px;max-height:900px;position:relative;overflow:hidden;padding:28px 4%}.hero-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.5px}.portrait{position:absolute;width:440px;height:440px;top:62px;left:50%;transform:translateX(-50%);border-radius:50%;overflow:hidden;mix-blend-mode:multiply}.portrait img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}.hero h1{position:absolute;top:185px;left:3.3%;width:94%;margin:0;font-size:clamp(70px,13.3vw,220px);font-weight:500;line-height:.95;letter-spacing:-.085em;white-space:nowrap;display:flex;justify-content:space-between}.hero h1 span{color:var(--paper);mix-blend-mode:difference}.hero h1 i{font-size:20px;font-style:normal;letter-spacing:0;margin-top:10px}.hero-bottom{position:absolute;bottom:93px;left:4%;right:4%;display:flex;justify-content:space-between;align-items:end}.explore{display:flex;align-items:center;gap:14px;font-size:12px}.explore>span{border:1px solid #999;border-radius:50%;width:44px;height:44px;display:grid;place-items:center;font-size:20px;transition:background .2s}.explore:hover>span{background:var(--accent)}.intro{width:360px}.intro h2{font-size:31px;letter-spacing:-1.4px;font-weight:500;margin:0 0 16px}.intro h2 span{float:right}.intro p{font-size:14px;line-height:1.7;margin:0;color:#626064}.hero-caption{position:absolute;bottom:30px;left:4%;font-family:Georgia,serif;font-style:italic;font-size:18px}.work{background:var(--accent);padding:82px 6% 90px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:45px}.eyebrow{font-size:10px;letter-spacing:2px}.section-head h2{font-size:64px;letter-spacing:-3px;font-weight:500;margin:14px 0 0}.section-head h2 span{font-family:Georgia,serif;font-style:italic}.section-head p{font-size:13px;line-height:1.6;margin:0 0 8px}.project{border-top:1px solid #9f96b1}.project:last-child{border-bottom:1px solid #9f96b1}.project-button{width:100%;padding:26px 0;background:none;border:none;display:grid;grid-template-columns:60px 1fr 150px 40px;align-items:center;text-align:left;gap:15px}.number{font-size:11px}.project-title{font-size:clamp(25px,3.4vw,47px);font-weight:500;letter-spacing:-1.6px;transition:transform .25s}.project-button:hover .project-title{transform:translateX(10px)}.project-kind{text-transform:uppercase;font-size:9px;letter-spacing:1.5px}.project-arrow{font-size:30px;font-weight:300;justify-self:end}.project-panel{padding:0 0 35px 75px}.project-panel-inner{border:1px dashed #9b90af;padding:35px;display:flex;gap:25px;align-items:center}.project-panel-inner .symbol{font-size:40px}.project-panel h3{font-size:20px;font-weight:500;margin:0 0 8px}.project-panel p{font-size:13px;color:#554e61;margin:0;line-height:1.6}.closing{padding:100px 6% 90px}.closing h2{font-size:clamp(40px,5.6vw,80px);font-weight:500;letter-spacing:-3px;line-height:1.05;margin:30px 0 40px}.closing em{font-family:Georgia,serif;font-weight:400}.closing>a{font-size:13px;border-bottom:1px solid #777;padding-bottom:12px;display:flex;justify-content:space-between;width:230px}footer{border-top:1px solid var(--line);padding:35px 4%;display:flex;align-items:center;justify-content:space-between;font-size:11px}.footer-brand{font-size:18px;letter-spacing:-.5px}.footer-brand span{margin-left:8px}footer>span{font-size:9px;letter-spacing:1.5px}#resume{padding:90px 6%;min-height:80vh;display:grid;grid-template-columns:1.1fr 1fr;gap:12%}#resume[hidden]{display:none}.resume-heading h1{font-size:clamp(65px,7vw,110px);letter-spacing:-6px;font-weight:500;line-height:.95}.resume-heading h1 span{color:#9181ac}.resume-content h2{font-size:36px;letter-spacing:-1px;margin-bottom:8px}.resume-content .role{margin-top:0;color:#7c6d97}.resume-content p{line-height:1.8;font-size:15px}.resume-content h3{font-size:12px;letter-spacing:1px;text-transform:uppercase;border-top:1px solid var(--line);padding-top:25px;margin-top:30px}.resume-content ul{padding-left:18px;font-size:15px;line-height:2}.resume-note{background:var(--accent);padding:18px;margin:30px 0;font-size:13px}.text-link{font-size:13px;text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #7053a1;outline-offset:5px}@media(min-width:1600px){.hero{height:850px}.portrait{width:550px;height:550px}.hero h1{top:220px}}@media(max-width:700px){header{height:76px;padding:0 5%}.header-link{display:none}nav button{padding:9px 19px}.hero{height:710px;min-height:0;padding:24px 5%}.hero-top{font-size:8px}.edition{display:none}.portrait{width:310px;height:310px;top:75px}.hero h1{font-size:17vw;top:172px;left:4%;width:92%;display:block;white-space:normal;line-height:.97;letter-spacing:-.08em}.hero h1 span{display:block;text-align:right;margin-right:5%}.hero h1 i{position:absolute;right:0;top:0;font-size:12px}.hero-bottom{left:5%;right:5%;bottom:80px;display:flex;flex-direction:column-reverse;align-items:start;gap:28px}.intro{width:100%;max-width:370px}.intro h2{font-size:28px}.intro p{font-size:13px;max-width:340px}.hero-caption{left:auto;right:5%;bottom:30px;font-size:15px}.work{padding:55px 5%}.section-head{display:block;margin-bottom:32px}.section-head h2{font-size:45px;letter-spacing:-2px}.section-head p{margin-top:20px}.project-button{grid-template-columns:25px 1fr 30px;gap:10px;padding:23px 0}.project-kind{display:none}.project-title{font-size:29px;letter-spacing:-1px}.project-arrow{font-size:25px}.project-panel{padding:0 0 24px}.project-panel-inner{padding:22px;gap:16px}.closing{padding:65px 5%}.closing h2{letter-spacing:-2px}footer{padding:28px 5%;gap:25px;flex-wrap:wrap}footer>span{display:none}#resume{padding:55px 6%;display:block}.resume-heading h1{font-size:76px;letter-spacing:-4px;margin-top:28px}.resume-content{margin-top:60px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Refined identity and project galleries */
:root{--accent:#f4f7ff;--blue:#2f6aff;--line:#d9dde5}.brand{background:none;border:0;padding:0;letter-spacing:-1px}.brand:hover{color:var(--blue)}.hero{height:610px;min-height:0}.portrait{width:220px;height:220px;top:72px;animation:portrait-in 1s cubic-bezier(.2,.7,.2,1) both}.hero h1{font-size:clamp(48px,7.2vw,112px);top:260px;display:block;text-align:center;letter-spacing:-.065em;animation:name-in .85s .15s both}.hero h1 span{color:inherit;mix-blend-mode:normal}.hero-top{animation:name-in .7s .05s both}.hero-bottom{bottom:45px;animation:name-in .8s .3s both}.intro{width:390px}.intro h2{font-size:27px}.explore{padding-bottom:8px;border-bottom:1px solid var(--ink)}header{animation:header-in .65s both}.work{padding-top:45px}.section-head{margin-bottom:22px}.section-head h2{font-size:14px;letter-spacing:1.5px;text-transform:uppercase;margin:0}.project{border-color:var(--line)}.project-button{grid-template-columns:54px 1fr 150px 30px}.project-title{font-size:clamp(25px,3vw,40px)}.game-icon{width:48px;height:48px;object-fit:contain;border-radius:10px}.icon-slot{width:48px;height:48px}.project-arrow{font-size:26px;color:var(--blue)}.project-panel{padding:0 0 35px}.coming-soon{font-size:13px;color:#626773;padding-left:69px}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-top:8px;animation:name-in .35s both}.artwork{border:0;background:none;text-align:left;padding:0;min-width:0}.artwork img{display:block;width:100%;aspect-ratio:1100/619;object-fit:contain;background:transparent;transition:transform .3s,box-shadow .3s}.artwork span{display:block;font-size:11px;margin-top:11px;color:#626773}.artwork:hover img{transform:translateY(-4px);box-shadow:none}.artwork:hover span{color:var(--blue)}button:focus-visible,a:focus-visible{outline-color:var(--blue)}#resume{gap:8%;grid-template-columns:.8fr 1.2fr}.resume-heading h1{font-size:70px;letter-spacing:-4px}.resume-heading>p{font-size:14px}.resume-stats{display:flex;gap:25px;margin-top:35px}.resume-stats strong{font-size:32px;color:var(--blue)}.resume-stats small{display:block;font-weight:400;font-size:11px;color:#626773;margin-top:8px}.resume-content h3 span{float:right;letter-spacing:0;font-weight:400}.resume-content h4{font-size:14px;margin:12px 0}.resume-content h2{margin-top:0}dialog{width:96vw;max-width:1500px;height:94dvh;max-height:94dvh;padding:20px;border:0;background:#f4f7ff;color:var(--ink);overflow:hidden}dialog::backdrop{background:#101725d9;backdrop-filter:blur(5px)}.viewer-bar,.viewer-controls{display:flex;justify-content:space-between;align-items:center;height:42px;gap:20px;font-size:13px}.viewer-bar button,.viewer-controls button{border:1px solid #cbd2e1;border-radius:30px;padding:9px 20px;background:white}.viewer-stage{height:calc(100% - 84px);display:flex;align-items:center;justify-content:center;padding:15px 0}.viewer-stage img{max-width:100%;max-height:100%;object-fit:contain;touch-action:pan-y}.viewer-controls{justify-content:center}.viewer-controls button:hover,.viewer-bar button:hover{border-color:var(--blue);color:var(--blue)}@keyframes name-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes portrait-in{from{opacity:0;transform:translateX(-50%) translateY(12px) scale(.96)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}@keyframes header-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){.portrait{width:275px;height:275px}.hero h1{top:310px}.hero{height:680px}}@media(max-width:700px){.hero{height:590px}.portrait{width:155px;height:155px;top:70px}.hero h1{font-size:12vw;top:240px;left:4%;width:92%;white-space:nowrap}.hero h1 span{display:inline;margin:0;text-align:inherit}.hero-bottom{bottom:38px;gap:25px}.intro{width:100%}.intro h2{font-size:25px}.intro p{max-width:350px}.section-head{margin-bottom:15px}.section-head h2{font-size:12px;letter-spacing:1.5px}.project-button{grid-template-columns:42px 1fr 24px;gap:12px}.game-icon,.icon-slot{width:38px;height:38px}.project-title{font-size:27px}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.coming-soon{padding-left:54px}.resume-heading h1{font-size:60px}.resume-stats{margin-bottom:45px}dialog{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;padding:12px}.viewer-bar,.viewer-controls{font-size:12px}.viewer-bar button,.viewer-controls button{padding:10px 16px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* About and inline artwork focus */
.hero{background:#fff}.hero h1{font-size:clamp(40px,5.8vw,90px)}.gallery{animation:none}.artwork img{transition:transform .3s,box-shadow .3s}.portrait-gallery .artwork img{aspect-ratio:768/977;object-fit:contain}.inline-viewer{grid-column:1/-1;position:relative;z-index:101;background:transparent;border-radius:0;padding:16px;box-shadow:none;animation:inline-reveal .28s ease-out;scroll-margin:20px}.inline-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:38px;font-size:12px}.inline-viewer button{background:white;border:1px solid #ced5e3;border-radius:24px;padding:10px 19px;font-size:12px;min-height:40px}.inline-viewer button:hover{border-color:var(--blue);color:var(--blue)}.inline-stage{height:clamp(280px,66dvh,760px);position:relative;overflow:hidden;margin:12px 0;touch-action:pan-y;user-select:none}.inline-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;will-change:transform,opacity}.inline-controls{display:flex;justify-content:center;gap:12px}.inline-count{color:#4b5364}#focus-backdrop{position:fixed;inset:0;z-index:100;background:#edf1f650;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:backdrop-in .25s ease-out}#focus-backdrop[hidden]{display:none}.preview-open .work{position:static}.preview-open .project-panel,.preview-open .gallery{transform:none;filter:none;opacity:1;animation:none}#resume{grid-template-columns:1fr .8fr;gap:9%;padding:70px 7%;background:white}.about-copy h1{font-size:clamp(36px,4vw,58px);font-weight:500;letter-spacing:-2px;line-height:1.08;margin:25px 0 18px}.about-role{font-size:16px}.about-copy p{font-size:14px;line-height:1.75;color:#626773}.about-bio{max-width:480px}.about-copy h2{font-size:12px;text-transform:uppercase;letter-spacing:1px;margin:34px 0 10px}.resume-stats{margin:32px 0 40px}.resume-document{align-self:start}.resume-preview{display:block;border:1px solid #dce1eb;background:#f4f7ff;padding:18px;transition:box-shadow .25s,transform .25s}.resume-preview:hover{box-shadow:0 12px 35px #1e31571a;transform:translateY(-3px)}.resume-preview img{display:block;width:100%;height:auto}.resume-preview>span{display:flex;justify-content:space-between;padding:20px 2px 2px;font-size:14px}.resume-preview small{color:var(--blue);font-size:11px}@keyframes inline-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@media(max-width:700px){nav button{padding:9px 16px}.hero h1{font-size:8.5vw;top:250px;letter-spacing:-.055em}.inline-viewer{padding:10px;border-radius:5px}.inline-toolbar{font-size:11px}.inline-stage{height:58dvh;min-height:260px}.inline-viewer button{font-size:11px;padding:10px 15px}#resume{display:block;padding:45px 6%}.resume-document{margin-top:40px}.about-copy h1{font-size:42px}.portrait-gallery{gap:16px 12px}}@media(prefers-reduced-motion:reduce){.inline-viewer,#focus-backdrop{animation:none}}
/* Contact details and compact navigation */
.brand{font-weight:400}.hero h1{top:320px}.hero{height:640px}.inline-count{display:none}.inline-toolbar{justify-content:flex-end}.inline-stage{cursor:zoom-out}.contact{background:#fff;padding:60px 6% 75px;border-top:1px solid var(--line)}.contact h2{font-size:25px;font-weight:400;letter-spacing:-.5px;margin:0 0 30px}.contact-links{display:flex;flex-wrap:wrap;gap:22px 36px}.contact-links a{display:flex;align-items:center;gap:12px;font-size:14px;min-height:42px}.contact-links svg{height:23px;width:23px;flex:none;color:var(--blue)}.contact-links a:hover{color:var(--blue)}.tool-list{display:flex;flex-wrap:wrap;gap:20px;margin-top:18px}.tool{display:flex;align-items:center;gap:9px;font-size:13px;color:#626773}.software-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;font-size:20px;font-weight:600;letter-spacing:-1px}.photoshop{color:#31a8ff;background:#001e36}.illustrator{color:#ff9a00;background:#330000}.unity{background:#252525;color:white}.unity svg{width:25px;height:25px}.about-copy .about-bio{font-size:22px;line-height:1.6;color:var(--ink);margin:0 0 35px}#back-to-top{position:fixed;right:24px;bottom:22px;z-index:50;padding:12px 21px;border:1px solid #d6dce8;border-radius:30px;background:#fff;color:var(--ink);font-size:12px;box-shadow:0 4px 18px #18243b12;cursor:pointer}#back-to-top:hover{color:var(--blue);border-color:var(--blue)}#back-to-top[hidden]{display:none}footer{padding-bottom:80px}@media(min-width:1600px){.hero h1{top:380px}.hero{height:730px}}@media(max-width:700px){.hero{height:610px}.hero h1{top:250px;font-size:8.5vw}.contact{padding:40px 6% 60px}.contact-links{flex-direction:column;gap:14px}.contact-links a{font-size:13px;overflow-wrap:anywhere}.contact h2{font-size:23px}.about-copy .about-bio{font-size:20px}.tool-list{gap:14px}#back-to-top{right:16px;bottom:16px}.hero-bottom{bottom:42px}}

/* Balanced about layout and first-visit motion */
#resume{align-items:center}.about-copy{align-self:center}.game-icon{width:52.8px;height:52.8px}.project-button{grid-template-columns:59px 1fr 150px 30px}.portrait{animation:portrait-flip 1.1s cubic-bezier(.2,.7,.2,1) both;backface-visibility:hidden}.inline-stage.is-zoomed{overflow:auto;touch-action:none;cursor:grab;overscroll-behavior:contain}.inline-stage.is-zoomed:active{cursor:grabbing}.inline-stage.is-zoomed img{position:relative;inset:auto;display:block;max-width:none;max-height:none;object-fit:fill;margin:0 auto;will-change:auto}.inline-stage{touch-action:pan-y pinch-zoom}.inline-controls{flex-wrap:wrap}.inline-zoom[aria-pressed="true"]{color:var(--blue);border-color:var(--blue)}@keyframes portrait-flip{from{opacity:0;transform:translateX(-50%) perspective(850px) rotateY(-100deg)}to{opacity:1;transform:translateX(-50%) perspective(850px) rotateY(0)}}@media(max-width:700px){.game-icon{width:41.8px;height:41.8px}.project-button{grid-template-columns:46px 1fr 24px}.about-copy{align-self:auto}.inline-controls{gap:8px}.inline-controls button{padding:10px 12px}}@media(prefers-reduced-motion:reduce){.portrait{animation:none}}

/* Game credits: one balanced row between the name and introduction. */
.hero{height:auto;max-height:none;padding-bottom:45px}
.hero h1{position:relative;top:auto;left:auto;width:100%;margin:292px 0 0}
.hero-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:clamp(18px,3vw,44px);width:min(100%,850px);margin:34px auto 0;animation:name-in .8s .25s both}
.hero-logos img{display:block;width:100%;height:66px;object-fit:contain;transform:scale(1.3);transform-origin:center}
.hero-bottom{position:relative;bottom:auto;left:auto;right:auto;margin-top:42px}
@media(min-width:1600px){.hero h1{margin-top:352px}.hero-logos{margin-top:40px}}
@media(max-width:700px){.hero{height:auto;padding-bottom:42px}.hero h1{top:auto;margin-top:226px}.hero-logos{gap:10px;margin-top:28px}.hero-logos img{height:42px}.hero-bottom{bottom:auto;left:auto;right:auto;margin-top:34px}}

/* Light staggered entrances; mobile logos are 20% smaller than desktop scaling. */
.hero-logos{--logo-scale:1.3;animation:none}
.hero-logos img{transform:scale(var(--logo-scale));animation:logo-appear .65s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:.4s}
.hero-logos img:nth-child(2){animation-delay:.48s}
.hero-logos img:nth-child(3){animation-delay:.56s}
.hero-logos img:nth-child(4){animation-delay:.64s}
.hero-logos img:nth-child(5){animation-delay:.72s}
.hero-logos img:nth-child(6){animation-delay:.8s}
#resume:not([hidden]) .about-copy> *{animation:about-appear .6s cubic-bezier(.2,.7,.2,1) backwards}
#resume:not([hidden]) .about-copy> :nth-child(2){animation-delay:.08s}
#resume:not([hidden]) .about-copy> :nth-child(3){animation-delay:.16s}
#resume:not([hidden]) .about-copy> :nth-child(4){animation-delay:.24s}
#resume:not([hidden]) .about-copy> :nth-child(5){animation-delay:.32s}
@keyframes logo-appear{from{opacity:0;transform:translateY(12px) scale(var(--logo-scale))}to{opacity:1;transform:translateY(0) scale(var(--logo-scale))}}
@keyframes about-appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:700px){.hero-logos{--logo-scale:1.04}}
@media(prefers-reduced-motion:reduce){.hero-logos img,#resume:not([hidden]) .about-copy> *{animation:none}}

/* Hero identity first, followed by game credits. */
.hero-bottom{display:block;text-align:center;margin-top:22px;animation-delay:.2s}
.hero-bottom .intro{width:100%;max-width:560px;margin:0 auto}
.hero-bottom .intro h2{font-size:25px;letter-spacing:-.7px;margin-bottom:13px}
.hero-bottom .intro p{max-width:540px;margin:0 auto;font-size:14px;line-height:1.7}
.hero-logos{margin-top:42px}
.hero-explore{display:table;margin:36px auto 0;font-size:12px;animation:name-in .7s .65s backwards}
@media(min-width:701px){.hero-logos{display:flex;justify-content:space-between;width:min(100%,1120px);gap:35px}.hero-logos img{width:min(11vw,110px);flex:0 1 110px;min-width:0}}
@media(max-width:700px){.hero-bottom{margin-top:22px}.hero-bottom .intro h2{font-size:23px}.hero-bottom .intro p{font-size:13px;max-width:340px}.hero-logos{margin-top:32px}.hero-explore{margin-top:28px}}

/* A four-tile flip motif while image bytes arrive. */
.image-load-host{position:relative}
.image-pending{opacity:0!important}
.flip-loader{position:absolute;left:50%;top:50%;z-index:3;display:grid!important;grid-template-columns:repeat(2,12px);grid-template-rows:repeat(2,12px);gap:5px;width:29px;height:29px;margin:0!important;padding:0;transform:translate(-50%,-50%) rotate(-8deg);perspective:100px;pointer-events:none;transition:opacity .22s,filter .22s}
.flip-loader i{display:block;background:#2f6aff;border-radius:3px;box-shadow:0 2px 5px #2f6aff20;animation:loading-tile-flip 1.45s cubic-bezier(.45,0,.25,1) infinite;transform-origin:center}
.flip-loader i:nth-child(2){animation-delay:.14s;background:#729aff}
.flip-loader i:nth-child(3){animation-delay:.42s;background:#729aff}
.flip-loader i:nth-child(4){animation-delay:.28s}
.flip-loader.is-finished{opacity:0;filter:blur(3px)}
.inline-stage.image-fetching>img:not(.image-pending){opacity:.35;transition:opacity .2s}
.image-load-error{position:absolute;inset:0;display:flex!important;align-items:center;justify-content:center;margin:0!important;padding:22px;font-size:12px!important;line-height:1.5;color:#515d73!important;text-align:center;pointer-events:none}
@keyframes loading-tile-flip{0%,65%,100%{transform:rotateY(0) rotateX(0);opacity:.65}30%{transform:rotateY(180deg) rotateX(20deg);opacity:1}}
@media(prefers-reduced-motion:reduce){.flip-loader i{animation:none}.flip-loader{transition:none}}

/* Supplied SSS identity, shared by the header and image loader. */
.brand{display:flex;align-items:center;justify-content:center;min-width:68px;min-height:48px}
.brand .brand-mark{display:block;width:68px;aspect-ratio:1.46;margin:0;background:url('assets/sss-logo.png') center / 196% auto no-repeat;mix-blend-mode:multiply}
.flip-loader{display:block!important;width:44px;height:31px;transform:translate(-50%,-50%);perspective:150px;mix-blend-mode:multiply}
.flip-loader .loading-brand{display:block;width:100%;height:100%;border-radius:0;box-shadow:none;background:url('assets/sss-logo.png') center / 196% auto no-repeat;animation:brand-loading-flip 1.6s cubic-bezier(.45,0,.25,1) infinite;transform-origin:center;backface-visibility:visible}
@keyframes brand-loading-flip{0%,15%{transform:rotateY(0deg);opacity:.65}50%{transform:rotateY(180deg);opacity:1}85%,100%{transform:rotateY(360deg);opacity:.65}}
@media(max-width:700px){.brand{min-width:56px;min-height:44px}.brand .brand-mark{width:56px}}
@media(prefers-reduced-motion:reduce){.flip-loader .loading-brand{animation:none}}

/* Independently colored and animated vector shapes. */
.brand{min-width:44px;min-height:44px}
.brand .brand-mark{position:relative;display:block;width:44px;aspect-ratio:870/597;margin:0;background:none;mix-blend-mode:normal}
.sss-shape{position:absolute;top:0;height:100%;display:block;mask-repeat:no-repeat;mask-position:center;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:100% 100%}
.sss-left{left:0;width:54.25%;mask-image:url('assets/sss-left.svg');-webkit-mask-image:url('assets/sss-left.svg')}
.sss-right{right:0;width:58.62%;mask-image:url('assets/sss-right.svg');-webkit-mask-image:url('assets/sss-right.svg')}
.brand .sss-shape{background:#171717}
.flip-loader{width:29px;height:20px;mix-blend-mode:normal;perspective:100px}
.flip-loader .sss-shape{height:100%;border-radius:0;box-shadow:none;transform-origin:center;animation:sss-shape-flip 1.5s cubic-bezier(.45,0,.25,1) infinite}
.flip-loader .sss-left{background:#2f6aff;animation-delay:0s}
.flip-loader .sss-right{background:#729aff;animation-delay:.22s}
@keyframes sss-shape-flip{0%,15%{transform:rotateY(0deg);opacity:.7}50%{transform:rotateY(180deg);opacity:1}85%,100%{transform:rotateY(360deg);opacity:.7}}
@media(max-width:700px){.brand{min-width:44px}.brand .brand-mark{width:40px}}
@media(prefers-reduced-motion:reduce){.flip-loader .sss-shape{animation:none}}

/* Each header S turns around its own center. */
.brand .brand-mark{perspective:150px}
.brand .sss-shape{transform-origin:center;backface-visibility:visible}

/* Four art-directed compositions, using shared alignment and spacing rules. */
.hero{padding:28px 6% 42px;min-height:0;height:auto;max-height:none}
.hero-composition{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "name" "role" "bio";gap:16px;align-content:center;justify-items:center;max-width:1120px;min-height:490px;margin:28px auto 0;padding:20px 0}
.hero .hero-composition .portrait{grid-area:photo;position:relative;inset:auto;transform:none;width:190px;height:190px;margin:0 0 10px;animation:composed-portrait-in 1.05s cubic-bezier(.2,.7,.2,1) both}
.hero .hero-composition h1{grid-area:name;position:relative;inset:auto;width:auto;max-width:100%;margin:0;display:block;text-align:center;white-space:normal;font-size:clamp(42px,5.4vw,76px);line-height:1.04;letter-spacing:-.055em;font-weight:500;overflow-wrap:normal;animation:name-in .85s .12s both}
.hero .hero-composition h1 span{display:inline;margin:0;color:inherit;text-align:inherit;mix-blend-mode:normal}
.hero-role{grid-area:role;font-size:25px;font-weight:400;letter-spacing:-.7px;line-height:1.25;margin:0;text-align:center;animation:name-in .75s .22s both}
.hero-bio{grid-area:bio;font-size:14px;line-height:1.75;color:#626773;max-width:490px;margin:0;text-align:center;animation:name-in .75s .3s both}
.hero .hero-logos{margin-top:38px}
.hero .hero-explore{margin-top:34px}
html[data-hero-layout="portrait-left"] .hero-composition{grid-template-columns:minmax(210px,.8fr) minmax(0,1.25fr);grid-template-areas:"photo name" "photo role" "photo bio";column-gap:clamp(40px,7vw,100px);justify-items:start}
html[data-hero-layout="portrait-right"] .hero-composition{grid-template-columns:minmax(0,1.25fr) minmax(210px,.8fr);grid-template-areas:"name photo" "role photo" "bio photo";column-gap:clamp(40px,7vw,100px);justify-items:start}
html[data-hero-layout^="portrait-"] .hero-composition .portrait{width:240px;height:240px;align-self:center;justify-self:center;margin:0}
html[data-hero-layout^="portrait-"] .hero-composition h1{text-align:left;font-size:clamp(42px,5vw,72px)}
html[data-hero-layout^="portrait-"] .hero-composition h1 span{display:block}
html[data-hero-layout^="portrait-"] .hero-role,html[data-hero-layout^="portrait-"] .hero-bio{text-align:left}
html[data-hero-layout^="portrait-"] .hero-bio{max-width:410px}
html[data-hero-layout="editorial"] .hero-composition{grid-template-columns:185px minmax(0,1fr);grid-template-areas:"name name" "photo role" "photo bio";column-gap:48px;row-gap:18px;max-width:960px;justify-items:start}
html[data-hero-layout="editorial"] .hero-composition h1{text-align:left;margin-bottom:25px}
html[data-hero-layout="editorial"] .hero-composition .portrait{width:185px;height:185px;justify-self:start;margin:0}
html[data-hero-layout="editorial"] .hero-role{align-self:end;text-align:left}
html[data-hero-layout="editorial"] .hero-bio{align-self:start;text-align:left;max-width:440px}
@keyframes composed-portrait-in{from{opacity:0;transform:perspective(850px) rotateY(-100deg)}to{opacity:1;transform:perspective(850px) rotateY(0)}}
@media(min-width:701px) and (max-width:1000px){html[data-hero-layout^="portrait-"] .hero-composition .portrait{width:205px;height:205px}.hero-composition{min-height:450px}}
@media(max-width:700px){
 .hero{padding:24px 5% 36px}
 .hero-composition{min-height:430px;gap:15px;margin-top:20px;padding:20px 0}
 .hero .hero-composition .portrait{width:145px;height:145px;margin-bottom:9px}
 .hero .hero-composition h1{font-size:clamp(32px,8.8vw,48px);line-height:1.08;letter-spacing:-.045em}
 .hero-role{font-size:22px}
 .hero-bio{font-size:13px;max-width:340px}
 .hero .hero-logos{margin-top:28px}
 html[data-hero-layout="portrait-left"] .hero-composition{grid-template-columns:112px minmax(0,1fr);grid-template-areas:"photo name" "role role" "bio bio";column-gap:22px;row-gap:22px;align-content:center}
 html[data-hero-layout="portrait-right"] .hero-composition{grid-template-columns:minmax(0,1fr) 112px;grid-template-areas:"name photo" "role role" "bio bio";column-gap:22px;row-gap:22px;align-content:center}
 html[data-hero-layout^="portrait-"] .hero-composition .portrait{width:112px;height:112px;margin:0}
 html[data-hero-layout^="portrait-"] .hero-composition h1{font-size:clamp(29px,7.8vw,43px);align-self:center}
 html[data-hero-layout^="portrait-"] .hero-role{margin-top:8px}
 html[data-hero-layout^="portrait-"] .hero-bio{max-width:100%}
 html[data-hero-layout="editorial"] .hero-composition{grid-template-columns:112px minmax(0,1fr);grid-template-areas:"name name" "photo role" "bio bio";column-gap:24px;row-gap:24px}
 html[data-hero-layout="editorial"] .hero-composition h1{margin:0 0 4px;text-align:left}
 html[data-hero-layout="editorial"] .hero-composition .portrait{width:112px;height:112px;margin:0}
 html[data-hero-layout="editorial"] .hero-role{align-self:center;font-size:24px;max-width:150px}
 html[data-hero-layout="editorial"] .hero-bio{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.hero .hero-composition .portrait,.hero .hero-composition h1,.hero-role,.hero-bio{animation:none}}

/* Keep desktop portrait/text groups close; leave breathing room outside the group. */
@media(min-width:701px){
 html[data-hero-layout^="portrait-"] .hero-composition{max-width:960px;column-gap:clamp(36px,4.5vw,64px)}
 html[data-hero-layout="portrait-left"] .hero-composition{grid-template-columns:240px minmax(0,1fr)}
 html[data-hero-layout="portrait-right"] .hero-composition{grid-template-columns:minmax(0,1fr) 240px}
 html[data-hero-layout="portrait-right"] .hero-composition h1,html[data-hero-layout="portrait-right"] .hero-role,html[data-hero-layout="portrait-right"] .hero-bio{justify-self:end;text-align:right}
}
@media(min-width:701px) and (max-width:1000px){
 html[data-hero-layout="portrait-left"] .hero-composition{grid-template-columns:205px minmax(0,1fr)}
 html[data-hero-layout="portrait-right"] .hero-composition{grid-template-columns:minmax(0,1fr) 205px}
}

/* Full resume reading area, directly on About Me. */
#resume{display:flex;flex-direction:column;align-items:center;gap:56px}
#resume .about-copy{width:100%;max-width:1000px;align-self:center}
#resume .about-bio{max-width:780px}
#resume .resume-document{width:100%;max-width:1000px;align-self:center;margin:0}
.resume-full-page{display:block;width:100%;height:auto}
.resume-download{display:inline-block;margin-top:20px;padding:8px 0}
@media(max-width:700px){#resume{gap:36px}}

/* Larger project-header thumbnails only. Artwork gallery sizing stays unchanged. */
.project-button{grid-template-columns:144px minmax(0,1fr) 150px 30px;gap:26px;padding:26px 0}
.project-button .game-icon,.project-button .icon-slot{width:144px;height:108px;border-radius:14px}
.project-button .game-icon{object-fit:cover;object-position:center}
@media(max-width:700px){
 .project-button{grid-template-columns:88px minmax(0,1fr) 24px;gap:16px;padding:22px 0}
 .project-button .game-icon,.project-button .icon-slot{width:88px;height:66px;border-radius:10px}
 .project-button .project-title{min-width:0;overflow-wrap:break-word}
}
