@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--red:#fa293e;--ink:#080a0e;--muted:#b9bdc5;--sidebar:228px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--ink);color:#fff;font-family:Barlow,Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:5px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:42px 30px 30px;background:#080a0d;border-right:1px solid #ffffff12;z-index:5;display:flex;flex-direction:column}.brand img{width:168px;max-width:100%;height:auto}.identity{margin-top:36px;font-weight:700;font-size:16px;letter-spacing:.08em}.identity span{display:block;font-size:12px;letter-spacing:.06em;font-weight:500;color:#a5a8af;margin-top:7px}nav{display:flex;flex-direction:column;gap:28px;margin-top:78px}nav a{font-size:14px;font-weight:700;letter-spacing:.13em;color:#9a9da5}nav a:hover,nav a.current{color:#fff}nav a.current:before{content:'';width:17px;height:2px;background:var(--red);display:inline-block;vertical-align:middle;margin-right:12px}.side-footer{margin-top:auto;font-size:14px;font-weight:700;line-height:1.65;letter-spacing:.08em}.red-line{display:block;background:var(--red);width:25px;height:3px;margin-bottom:20px}.side-footer small{display:block;color:#858993;font-size:12px;margin-top:30px;letter-spacing:.08em}main{margin-left:var(--sidebar)}.showcase{position:relative;min-height:900px;height:100svh;isolation:isolate;overflow:hidden}.hero-art{position:absolute;width:100%;height:100%;object-fit:cover;object-position:57% center;z-index:-3}.hero-copy{position:absolute;left:48px;top:19%;max-width:660px}h1{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(80px,8.5vw,150px);font-weight:800;line-height:.84;letter-spacing:-.015em;margin:27px 0}p{font-size:17px;line-height:1.6}.metadata{font-size:12px;letter-spacing:.15em;font-weight:700;line-height:1.6}.hero-copy>p:not(.metadata){color:#d6d8de;max-width:450px;margin:13px 0 25px}.cta{background:var(--red);border:0;color:white;font-size:12px;font-weight:700;letter-spacing:.12em;padding:17px 22px;min-height:48px}.cta span{margin-left:32px;font-size:18px}.cta:hover{background:#dc1730}.project-browser{position:absolute;bottom:30px;left:48px;right:48px}.row-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.row-heading h2,.row-heading>span{font-size:12px;font-weight:600;letter-spacing:.15em;margin:0}.row-heading>span{color:#a5aab5}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.card{border:1px solid #ffffff24;background:#14171f;padding:0;position:relative;transition:transform .2s,border-color .2s;aspect-ratio:1.5;overflow:hidden}.card img{width:100%;height:100%;object-fit:cover;object-position:center 38%;display:block;filter:brightness(.68);transition:filter .2s}.card:hover{transform:translateY(-5px)}.card:hover img,.card[aria-pressed=true] img{filter:brightness(1)}.card[aria-pressed=true]{border:2px solid var(--red)}.card-name{position:absolute;inset:auto 0 0;padding:25px 10px 10px;background:linear-gradient(transparent,#000d);font-size:12px;letter-spacing:.06em;font-weight:700;color:#fff;text-align:left}.card[aria-pressed=true]:after{content:'';position:absolute;top:9px;right:9px;width:7px;height:7px;background:var(--red)}.info-section{border-top:1px solid #ffffff19;padding:100px 7%;display:grid;grid-template-columns:170px 1fr;gap:32px}.section-label{font-size:12px;letter-spacing:.15em;color:#9a9faa;padding-top:12px}.info-section h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(52px,6vw,88px);line-height:.95;margin:0 0 30px;font-weight:800}.info-section p{max-width:600px;color:#b9bec8}.contact h2{color:var(--red)}.location{font-size:12px!important;letter-spacing:.12em;margin-top:35px}.contact-links a,#contact-links a{display:inline-block;margin:15px 24px 0 0;border-bottom:1px solid #777;padding-bottom:8px;font-size:18px}.footer{display:flex;justify-content:space-between;padding:24px 7%;border-top:1px solid #ffffff19;font-size:12px;letter-spacing:.08em;color:#9096a3}dialog{width:min(1400px,96vw);max-width:96vw;padding:60px 20px 10px;border:1px solid #353b45;background:#080a0e;color:white}dialog::backdrop{background:#000e}dialog img{display:block;max-width:100%;max-height:78vh;margin:auto;object-fit:contain}dialog p{text-align:center;font-size:12px;letter-spacing:.15em}.close{position:absolute;right:20px;top:15px;background:transparent;color:white;border:0;padding:10px;font-size:14px}body:has(dialog[open]){overflow:hidden}
@media(min-width:1700px){.showcase{min-height:1000px}.project-browser{bottom:40px}.card{aspect-ratio:1.65}}@media(max-width:1100px){:root{--sidebar:185px}.sidebar{padding:32px 22px}.hero-copy{left:30px}.project-browser{left:30px;right:30px}.cards{gap:10px}.info-section{grid-template-columns:120px 1fr;padding:75px 6%}.showcase{min-height:850px}.hero-copy{top:20%}}@media(max-width:700px){:root{--sidebar:0px}.sidebar{position:relative;width:100%;height:auto;padding:22px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff20}.brand img{width:112px}.identity,.side-footer{display:none}nav{flex-direction:row;gap:16px;margin:0}nav a{font-size:12px;letter-spacing:.03em}nav a:first-child{display:none}nav a.current:before{display:none}.showcase{min-height:0;height:auto;padding:0 0 24px}.hero-art{height:500px;object-position:58% top}.hero-copy{position:relative;top:auto;left:auto;margin:115px 22px 36px;max-width:100%}h1{font-size:84px;margin:23px 0}.hero-copy>p:not(.metadata){font-size:16px;max-width:340px}.metadata{font-size:11px}.project-browser{position:relative;inset:auto;margin-left:22px}.row-heading{padding-right:22px}.cards{display:flex;overflow-x:auto;padding:5px 22px 12px 0;scroll-snap-type:x mandatory;gap:12px}.card{flex:0 0 142px;aspect-ratio:3/4;scroll-snap-align:start}.card img{object-position:center}.card-name{display:none}.info-section{padding:60px 24px;display:block}.section-label{margin-bottom:27px}.info-section h2{font-size:60px}.footer{padding:24px;gap:24px;font-size:10px}.cta{padding:14px 18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
@media(min-width:701px) and (max-height:850px){.showcase{min-height:640px}.hero-copy{top:16%}h1{font-size:clamp(72px,7vw,112px);margin:20px 0}.hero-copy>p:not(.metadata){margin:10px 0 18px}.project-browser{bottom:24px}.card{aspect-ratio:1.8}}

.identity{line-height:1.4;letter-spacing:.035em}.identity span{letter-spacing:.045em}.about{display:block}.about>.section-label{margin-bottom:32px}.about-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,4vw,70px)}.about-copy h2{font-size:clamp(48px,5.2vw,82px);text-transform:uppercase}.about-copy p{max-width:540px}.about-copy a{color:#fff;text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:5px}.about-photo{margin:0}.about-photo img{display:block;width:100%;height:auto;aspect-ratio:798/800;object-fit:contain}@media(max-width:950px){.about-content{grid-template-columns:1fr;gap:28px}.about-photo{max-width:580px}.about-copy h2{font-size:clamp(48px,7vw,70px)}}

.hero-art{filter:none;opacity:1;object-position:center}.hero-copy{text-shadow:0 2px 6px #000,0 0 20px #0009}.metadata{font-size:14px;letter-spacing:.025em;line-height:1.7;font-weight:500;display:grid;gap:3px}.metadata strong{font-weight:700}.hero-copy>p:not(.metadata){color:#fff}.row-heading{text-shadow:0 2px 5px #000}.card img{filter:none}.contact h2{font-size:clamp(48px,5.5vw,80px)}@media(max-width:700px){.card:last-child .card-name{display:block}.metadata{font-size:14px}}

/* Compact sidebar profile; original hero composition retained. */
.sidebar{overflow-y:auto}.identity{margin-top:24px}.identity span{font-size:14px;letter-spacing:0;color:#c1c4cc;font-weight:400}.profile-details{display:grid;gap:19px;margin:137px 0 25px}.profile-details dt{font-size:12px;letter-spacing:.10em;line-height:1.4;color:#8f95a1;margin-bottom:5px}.profile-details dd{margin:0;font-size:14px;line-height:1.5;color:#f1f2f5}.profile-contact{margin-top:auto;padding:13px 0 0;min-height:44px;display:flex;align-items:center;font-size:13px;letter-spacing:.09em;font-weight:700}.profile-contact:hover{color:var(--red)}
@media(min-width:701px) and (max-height:750px){.sidebar{padding-top:25px;padding-bottom:20px}.identity{margin-top:18px}.profile-details{gap:13px;margin:131px 0 16px}}
@media(max-width:700px){.sidebar{flex-direction:column;align-items:stretch;gap:0}.sidebar .brand{align-self:flex-start}.sidebar .identity{display:block;margin-top:22px}.profile-details{grid-template-columns:1fr 1fr;gap:18px 24px;margin:90px 0 18px}.profile-contact{margin-top:0}.profile-details>div:last-child{grid-column:1/-1}}

/* Shared homepage refinement treatment. */
.showcase::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,rgba(4,6,10,.38) 0%,rgba(4,6,10,.21) 24%,rgba(4,6,10,.06) 43%,transparent 60%)}
.hero-copy{width:calc(100% - 96px);max-width:660px}#project-title{max-width:600px;width:100%;font-weight:800;line-height:.9;letter-spacing:-.015em;margin-bottom:24px;white-space:nowrap;font-size:clamp(80px,8.5vw,150px)}
.metadata{gap:10px;line-height:1.4}.hero-copy>#project-description{margin-top:35px;font-size:19px;line-height:1.6}.project-browser{transform:translateY(23px)}.card[aria-pressed=true]::after{display:none}
@media(max-width:1100px){.hero-copy{width:calc(100% - 60px)}}
@media(min-width:701px) and (max-height:850px){#project-title{font-size:clamp(72px,7vw,112px)}}
@media(max-width:700px){.hero-copy{width:auto}#project-title{font-size:84px}.showcase{padding-bottom:34px}}

/* Final text-only spacing and title polish. */
#project-title{text-shadow:none;color:#fff}
.showcase[data-project="forza"] #project-title,.showcase[data-project="csr"] #project-title,.showcase[data-project="race"] #project-title{margin-bottom:32px}
.card[aria-pressed=true]{border-width:1px}

.metadata strong{opacity:.72}.metadata span{color:#fff}@media(max-width:700px){.hero-copy>#project-description{font-size:18px}}

/* Subtle hierarchy between project copy and project navigation. */
.hero-copy>#project-description{color:#d8d5d0}
.row-heading h2{color:#f5f4f1}

/* Trailer interaction; artwork and project navigation remain unchanged. */
.trailer-link{position:absolute;left:0;padding:0;border:0;background:none;color:#f5f4f1;font-size:12px;font-weight:600;letter-spacing:.12em;line-height:20px;text-shadow:none;white-space:nowrap;transition:color 125ms ease}
.trailer-link span{font-size:10px;margin-right:5px}
.trailer-link:hover{color:var(--red)}
#trailer-modal{width:min(1120px,92vw,calc((100dvh - 100px)*16/9));max-width:92vw;max-height:none;padding:40px 0 0;border:0;background:transparent;overflow:visible;margin:auto;color:#fff}
#trailer-modal::backdrop{background:rgba(0,0,0,.82)}
#trailer-player{width:100%;aspect-ratio:16/9;background:#000}
#trailer-player iframe{display:block;width:100%;height:100%;border:0}
#close-trailer{position:absolute;right:0;top:0;width:36px;height:36px;border:0;background:none;color:#fff;font-size:30px;line-height:1;font-weight:400}

/* Beyond Games extends the main content without changing the hero above. */
/* Preserve the original viewport-wide composition when the page gains a scrollbar. */
body{overflow-x:clip}main{width:calc(100vw - var(--sidebar))}
.beyond-games{padding:88px 48px 64px;background:var(--ink);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:48px;align-items:center}
.beyond-heading{margin:0;max-width:380px}
.beyond-heading .profile-contact{margin-top:20px;width:fit-content}
.beyond-heading h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(40px,4vw,64px);font-weight:800;line-height:1;letter-spacing:-.015em;color:#f5f4f1;margin:0}
.beyond-heading p{font-size:17px;line-height:1.6;color:#d8d5d0;margin:12px 0 0}
.beyond-heading .beyond-intro{margin-top:24px}
.beyond-carousel{min-width:0;position:relative}
.beyond-card{margin:0;min-width:0}
.beyond-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#080a0e}
.beyond-card img{border:1px solid #ffffff24}
.beyond-card:not([hidden]) img{animation:beyond-reveal 220ms ease-out}
.beyond-card figcaption{padding:16px 88px 0 0;min-height:52px;font-size:12px;line-height:1.5;font-weight:700;letter-spacing:.06em;color:#f5f4f1}
.beyond-controls{position:absolute;right:0;bottom:0;display:flex;gap:8px}
.beyond-controls button{width:36px;height:36px;padding:0;border:0;background:none;color:#d8d5d0;font-size:26px;line-height:1;text-decoration:none;transition:color 140ms ease}
.beyond-controls button:hover{color:var(--red)}
.sidebar{overflow:visible}
main{position:relative}
.main-socials{position:absolute;top:28px;right:48px;display:flex;gap:12px;z-index:4}
.main-socials a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid #ffffff38;background:transparent;color:#d8d5d0;transition:color 140ms ease,border-color 140ms ease}
.main-socials svg{width:16px;height:16px}
.main-socials a:hover{color:var(--red);border-color:var(--red)}
@media(min-width:701px){.sidebar .profile-details{margin-top:clamp(16px,calc(100svh - 620px),137px)}}
@media(max-width:1100px){.main-socials{right:30px}}
@media(max-width:700px){.main-socials{top:20px;right:22px}}
@keyframes beyond-reveal{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.beyond-card:not([hidden]) img{animation:none}}
@media(max-width:1100px){.beyond-games{padding-left:30px;padding-right:30px;gap:28px}}
@media(max-width:700px){.beyond-games{padding:64px 22px 40px;grid-template-columns:1fr;gap:32px}.beyond-heading{max-width:100%}}

/* Dedicated phone and narrow-tablet layout. Desktop rules remain untouched. */
.mobile-projects,.mobile-about{display:none}
@media(max-width:850px){
 :root{--sidebar:0px}
 body{position:relative}
 main{position:static;margin-left:0;width:100%}
 .sidebar{position:relative;inset:auto;width:100%;height:auto;padding:24px 20px 18px;border-right:0;border-bottom:1px solid #ffffff20;display:block;overflow:visible;z-index:auto}
 .brand{display:block;width:110px}.brand img{display:block;width:110px}
 .sidebar .identity{display:block;margin-top:22px;font-size:15px;line-height:1.4;letter-spacing:.035em}
 .identity span{font-size:14px;margin-top:4px}
 .sidebar .profile-details{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin:24px 0 8px}
 .profile-details dt{font-size:10px;letter-spacing:.10em;margin-bottom:3px}
 .profile-details dd{font-size:14px;line-height:1.4}
 .profile-details>div:last-child{grid-column:1/-1}
 .sidebar .profile-contact{margin-top:8px;padding:0;min-height:44px;width:fit-content}
 .main-socials{top:22px;right:20px;gap:8px}
 .main-socials a{width:40px;height:40px}.main-socials svg{width:16px;height:16px}
 .showcase{height:auto;min-height:0;padding:0 0 20px;overflow:hidden}
 .hero-art{position:relative;display:block;width:100%;height:clamp(260px,65vw,430px);object-fit:cover;object-position:70% center}
 .showcase[data-project="roller"] .hero-art{object-position:75% center}
 .showcase[data-project="csr"] .hero-art{object-position:76% center}
 .hero-copy{position:relative;inset:auto;width:auto;max-width:none;margin:0;padding:24px 20px 0}
 #home #project-title{font-size:clamp(64px,19vw,110px);line-height:.9;width:100%;max-width:100%;margin:0 0 24px;white-space:nowrap}
 .metadata{font-size:15px;line-height:1.5;letter-spacing:.025em;gap:8px}
 .hero-copy>#project-description{font-size:17px;line-height:1.6;max-width:560px;margin:24px 0 12px}
 .trailer-link{position:relative;inset:auto;display:block;min-height:44px;font-size:12px;margin:0;padding:0}
 .project-browser{position:relative;inset:auto;transform:none;margin:32px 0 0;padding:0}
 .row-heading{margin:0 20px 16px;padding:0}
 .cards{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:20px;padding:2px 20px 12px;overscroll-behavior-x:contain;scrollbar-width:thin}
 .card{flex:0 0 72%;aspect-ratio:1.5;scroll-snap-align:start}
 .card picture{display:block;width:100%;height:100%}
 .card img{object-position:center 38%}
 .card .card-name,.card:last-child .card-name{display:block;font-size:13px;padding:25px 12px 12px}
 .card:hover{transform:none}
 #trailer-modal{width:min(calc(100vw - 24px),calc((100dvh - 96px)*16/9));max-width:calc(100vw - 24px);padding-top:48px}
 #close-trailer{width:44px;height:44px;font-size:32px}
 .beyond-games{padding:48px 20px 40px;grid-template-columns:1fr;gap:28px}
 .beyond-heading{max-width:560px}
 .beyond-heading h2{font-size:clamp(40px,10vw,56px)}
 .beyond-heading p{font-size:17px;line-height:1.6}
 .beyond-heading .beyond-intro{margin-top:20px}
 .beyond-heading .profile-contact{margin-top:16px;min-height:44px}
 .beyond-card img{aspect-ratio:16/9}
 .beyond-card figcaption{font-size:13px;line-height:1.5;padding:14px 0 0;min-height:0}
 .beyond-controls{position:static;justify-content:flex-end;margin-top:8px;gap:12px}
 .beyond-controls button{width:44px;height:44px;font-size:28px}
}
@media(min-width:600px) and (max-width:850px){
 .sidebar .profile-details{grid-template-columns:repeat(3,minmax(0,1fr))}
 .profile-details>div:last-child{grid-column:span 2}
 .hero-copy{padding-left:28px;padding-right:28px}
 .card{flex-basis:68%}
}

/* Mobile hierarchy: selected work, Beyond Games, then supporting profile. */
@media(max-width:850px){
 .sidebar{padding:24px 20px;min-height:88px}
 .sidebar .identity,.sidebar .profile-details,.sidebar>.profile-contact{display:none}
 #home>picture,#home::before,#home #project-title,#home .project-browser{display:none}
 .mobile-projects{display:flex;position:relative;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:20px;padding:20px 20px 0;overscroll-behavior-x:contain;scrollbar-width:none}
 .mobile-projects::-webkit-scrollbar{display:none}
 .mobile-project{display:block;flex:0 0 88%;min-width:0;padding:0;border:0;background:none;scroll-snap-align:start;scroll-snap-stop:always}
 .mobile-project picture,.mobile-project img{display:block;width:100%;height:auto}
 .mobile-projects::after{content:'';flex:0 0 10%}
 .hero-copy{padding-top:24px}
 .hero-copy>#project-description{margin-top:20px}
 .showcase{padding-bottom:0}
 .beyond-heading>.profile-contact{display:none}
 .beyond-games{padding-top:48px;padding-bottom:32px}
 .beyond-slides{touch-action:pan-y}
 .mobile-about{display:block;padding:32px 20px 40px}
 .mobile-about h2{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:40px;font-weight:800;line-height:1;margin:0 0 24px;color:#f5f4f1}
 .mobile-about .identity{display:block;margin:0;font-size:16px}
 .mobile-about .profile-details{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:24px 0 16px}
 .mobile-about .profile-contact{width:fit-content;margin:0;padding:0;min-height:44px}
 .mobile-about .main-socials{position:static;margin-top:16px;justify-content:flex-start}
}

/* Each mobile project is one complete poster-and-information slide. */
@media(max-width:850px){
 #home>.hero-copy{display:none}
 .mobile-projects{gap:40px;padding-top:12px;align-items:stretch}
 .mobile-project{flex-basis:100%;text-align:left;background:var(--ink)}
 .mobile-projects::after{display:none}
 .mobile-project-info{padding:24px 0 8px}
 .mobile-project-info .metadata{font-size:15px;line-height:1.5;gap:8px}
 .mobile-project-info p{font-size:17px;line-height:1.6;color:#d8d5d0;margin:20px 0 12px}
 .mobile-project-info .trailer-link{position:static;min-height:44px}
}

/* Final mobile-only, full-bleed hero and swipe galleries. */
@media(max-width:850px){
 .sidebar{position:absolute;top:0;left:0;width:150px;min-height:0;padding:24px 20px;background:transparent;border:0;z-index:5}
 .main-socials{top:22px;z-index:6}
 #home{background:#000}
 .mobile-projects{gap:0;padding:0;scroll-padding:0;align-items:stretch}
 .mobile-project{position:relative;flex:0 0 100%;height:92svh;min-height:580px;max-height:1100px;background:#000;isolation:isolate}
 .mobile-project picture,.mobile-project img{width:100%;height:100%;object-fit:cover;object-position:center}
 .mobile-project::before{content:'';position:absolute;inset:0 0 auto;height:180px;background:linear-gradient(#000 0%,rgba(0,0,0,.75) 35%,transparent 100%);z-index:1;pointer-events:none}
 .mobile-hero-title{position:absolute;bottom:8%;left:20px;right:20px;margin:0;text-align:center;font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;font-size:clamp(64px,20vw,104px);font-weight:800;line-height:.9;letter-spacing:-.015em;color:#fff;text-shadow:none;z-index:2}
 #home>.hero-copy{display:block;padding:24px 20px 0}
 #home .hero-copy>#project-title{display:none}
 .hero-copy>#project-description{margin:20px 0 12px}
 .beyond-controls{display:none}
 .beyond-slides{position:relative;display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:auto;overscroll-behavior-x:contain}
 .beyond-slides::-webkit-scrollbar{display:none}
 .beyond-slides .beyond-card,.beyond-slides .beyond-card[hidden]{display:block;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
 .beyond-card:not([hidden]) img{animation:none}
 .beyond-card img{border:0}
 .beyond-card figcaption{padding-bottom:8px}
 .mobile-about .main-socials{display:none}
}

/* Viewport-sized mobile projects; desktop composition stays untouched. */
@media(max-width:850px){
 #home{height:auto;min-height:0;padding:0}
 #home>.hero-copy{display:none}
 .mobile-project{display:flex;flex-direction:column;height:100svh;min-height:660px;max-height:none}
 .mobile-project picture{position:absolute;inset:0;height:100%;z-index:-1}
 .mobile-project img{height:100%;object-fit:cover}
 .mobile-slide-content{margin-top:auto;position:relative;padding:90px 20px max(12px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#000 38%);}
 .mobile-hero-title{position:static;margin:0 0 18px;font-size:clamp(56px,17vw,84px);line-height:.9;text-align:center}
 .mobile-slide-info .metadata{font-size:14px;line-height:1.4;gap:4px;letter-spacing:.025em;text-align:left}
 .mobile-slide-info p{font-size:15px;line-height:1.45;color:#d8d5d0;margin:12px 0 10px;text-align:left;min-height:4.35em}
 .mobile-slide-content>.trailer-link{position:static;display:flex;align-items:center;min-height:44px;text-align:left}
 .mobile-game-navigation{display:flex;align-items:center;justify-content:center;gap:16px;height:44px;color:#d8d5d0}
 .mobile-game-navigation span{font-size:12px;letter-spacing:.14em;font-variant-numeric:tabular-nums}
 .mobile-game-navigation button{width:44px;height:44px;padding:0;border:0;background:none;color:inherit;font-size:26px;line-height:1;transition:color 125ms ease}
 .mobile-game-navigation button:hover{color:var(--red)}
 .beyond-games{background:#101217;padding:36px 20px 28px;gap:24px;}
 .beyond-heading{max-width:none}
 .beyond-heading h2{font-size:clamp(52px,14vw,72px);line-height:.95}
 .beyond-heading .beyond-intro{margin-top:16px}
 .beyond-carousel{margin:0 -20px}
 .beyond-card figcaption{padding:12px 20px 0}
}
@media(max-width:850px) and (max-height:740px){
 .mobile-hero-title{font-size:clamp(52px,15vw,70px);margin-bottom:12px}
 .mobile-slide-content{padding-top:64px}
 .mobile-slide-info p{margin-top:10px;margin-bottom:4px}
}

.beyond-mobile-navigation{display:none}
@media(max-width:850px){
 .beyond-mobile-navigation{display:flex;margin-top:12px}
}

/* Mobile navigation and spacing refinement only. */
.mobile-game-arrows{display:none}
@media(max-width:850px){
 .mobile-game-arrows{display:flex;justify-content:space-between;position:absolute;top:50svh;left:0;right:0;transform:translateY(-50%);z-index:8;pointer-events:none}
 .mobile-game-arrows button{pointer-events:auto;width:48px;height:48px;border:0;padding:0;background:none;color:rgba(245,244,241,.65);font-size:26px;line-height:1;transition:color 125ms ease}
 .mobile-game-arrows button:hover{color:var(--red)}
 .mobile-hero-title{margin-bottom:62px}
 .beyond-heading h2,.mobile-about h2{text-align:center}
}
@media(max-width:850px) and (max-height:740px){
 .mobile-hero-title{margin-bottom:56px}
}

/* Mobile gallery arrows and selective About alignment. */
.beyond-mobile-arrows{display:none}
@media(min-width:851px){.beyond-loop-copy{display:none!important}}
@media(max-width:850px){
 .mobile-about .identity{text-align:center}
 .mobile-about .profile-contact{margin-left:auto;margin-right:auto;justify-content:center;text-align:center}
 .mobile-about .profile-details{text-align:left}
 .beyond-mobile-arrows{display:flex;align-items:center;justify-content:space-between;position:absolute;top:0;left:0;width:100%;aspect-ratio:16/9;z-index:8;pointer-events:none}
 .beyond-mobile-arrows button{pointer-events:auto;width:48px;height:48px;border:0;padding:0;background:none;color:rgba(245,244,241,.65);font-size:26px;line-height:1;transition:color 125ms ease}
 .beyond-mobile-arrows button:hover{color:var(--red)}
}

/* Mobile section typography refinements. */
@media(max-width:850px){



 .beyond-heading h2,.mobile-about h2,.mobile-about .identity{text-align:left}
 .mobile-about .profile-contact{margin-left:0;margin-right:0;justify-content:flex-start;text-align:left}
 .mobile-slide-info p,.beyond-heading .beyond-intro{font-family:inherit;font-size:15px;font-weight:400;line-height:1.45;letter-spacing:normal;color:#d8d5d0;margin:12px 0 10px;text-align:left}
 .beyond-heading>p:not(.beyond-intro){text-transform:uppercase;font-size:12px;font-weight:600;line-height:1.4;letter-spacing:.08em;color:#b9bdc5;margin:12px 0 0}
}
@media(max-width:850px) and (max-height:740px){
 .mobile-slide-info p,.beyond-heading .beyond-intro{margin-top:10px;margin-bottom:4px}
}

/* Gap-free mobile track; retain the original viewport-sized composition. */
@media(max-width:850px){
 #home{width:100%;max-width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
 .mobile-projects{width:100%;max-width:100%;gap:0;column-gap:0;margin:0;padding:0;border:0;scroll-padding-inline:0}
 .mobile-projects>.mobile-project{flex:0 0 100%;width:100%;min-width:100%;max-width:100%;margin:0;padding:0;border:0;scroll-margin-inline:0;min-height:660px}
 .mobile-projects::before,.mobile-projects::after{display:none;content:none}
 .mobile-game-arrows{position:absolute;top:50svh;left:0;right:0;width:100%;margin:0;padding:0;transform:translateY(-50%);pointer-events:none}
 .mobile-game-arrows button{pointer-events:auto}
}

/* Large desktop readability only; approved layouts below 2560px remain locked. */
@media(min-width:2560px){
 :root{--sidebar:274px}
 .sidebar{padding:50px 36px 36px}
 .sidebar .brand img{width:202px}
 .sidebar .identity{font-size:19px}
 .sidebar .identity span{font-size:17px}
 .sidebar .profile-details dt{font-size:14px}
 .sidebar .profile-details dd{font-size:17px}
 .sidebar .profile-contact,.beyond-heading .profile-contact{font-size:16px}
 .hero-copy .metadata{font-size:17px}
 .hero-copy>#project-description{font-size:23px}
 .hero-copy>.trailer-link{font-size:14px;line-height:24px}
 .hero-copy>.trailer-link span{font-size:12px}
 .row-heading h2,.card-name{font-size:14px}
 .beyond-heading{max-width:456px}
 .beyond-heading h2{font-size:76px}
 .beyond-heading p{font-size:20px}
}

/* Desktop Beyond Games typography; mobile remains unchanged. */
@media(min-width:851px){
 .beyond-games{background:#101217;border-top:22px solid #000}
 .beyond-heading h2{font-size:clamp(47.5px,4.75vw,76px);white-space:nowrap}
 .beyond-heading>p:not(.beyond-intro){font-size:14px;font-weight:500;line-height:1.4;letter-spacing:.025em;color:#b9bdc5}
 .beyond-heading .beyond-intro{font-family:inherit;font-size:19px;font-weight:400;line-height:1.6;margin-top:30px}
}
@media(min-width:851px) and (max-width:1100px){
 .beyond-heading h2{white-space:normal}
}
@media(min-width:2560px){
 .beyond-heading h2{font-size:90px}
 .beyond-heading>p:not(.beyond-intro){font-size:17px}
 .beyond-heading .beyond-intro{font-size:23px}
}
