/* A softer, quiet portfolio surface. Glass is limited to navigation chrome. */
body[data-theme=b]{background:radial-gradient(ellipse at 85% 0%,#1a2b32 0,transparent 42rem),#0c141b;--muted:#b2c0c9;--line:#34454f}
.site-header{margin-top:16px;margin-bottom:18px;padding:0 22px;border:1px solid #ffffff16!important;border-radius:22px;background:#14212bea;box-shadow:0 8px 32px #00000014}
@supports(backdrop-filter:blur(16px)){.site-header{background:#14212bbd;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}}
.site-header nav{gap:10px}.site-header nav a{padding:12px 16px;border-radius:12px;transition:background .18s,color .18s}.site-header nav a:hover{background:#ffffff0c;text-decoration:none}.site-header nav a[aria-current=page]{color:#e4eeab;background:#e4eeab10}.site-header .contact-nav{border-color:#71817d}
.button,.contact-nav,.direction-switch button,.filterbar button,.cat-action{border-radius:12px}.button{transition:background .18s,box-shadow .18s,transform .18s}.button:hover:not(:disabled){filter:none;box-shadow:0 5px 18px #0002}.button:active:not(:disabled){transform:translateY(1px)}
.showcase{border-radius:26px;box-shadow:0 20px 60px #0002}.showcase .hero-b{margin-top:0;border-radius:26px 26px 0 0}.carousel-controls{border-radius:0 0 26px 26px;background:#13212a;overflow:hidden}.slide-tabs button{min-width:0;transition:background .18s,color .18s}.slide-tabs button:hover{background:#22343d}.slide-tabs button[aria-pressed=true]{background:#263a40;box-shadow:inset 0 -3px #e4eeab}.carousel-actions button{min-height:44px;min-width:44px;border-radius:10px}.carousel-actions button:hover{background:#ffffff0b}.carousel-actions button:last-child{border-color:#63747a}
.category-tile{border-radius:22px;box-shadow:0 6px 22px #00000012;transition:border-color .2s,background .2s,transform .2s,box-shadow .2s}.category-tile .cat-action{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.project-card{padding:16px;border:1px solid var(--line);border-radius:22px;background:#13212b}.card-media{border-radius:15px}.card-topline{flex-wrap:wrap}.project-card .card-actions{flex-wrap:wrap}.project-card .visual{transition:transform .3s ease}
.game-hero,.game-hero-media{border-radius:26px}.game-hero{overflow:hidden;border:1px solid var(--line)}.game-nav{padding:8px;background:#14212b;border:1px solid var(--line);border-radius:16px;gap:8px}.game-nav a{padding:12px 16px;border-radius:10px}.game-nav a:hover{background:#ffffff0a;text-decoration:none}
.gallery-item,.large-art,.about-block,.bio-placeholder,.opportunities{border-radius:20px}.gallery-item{overflow:hidden}.gallery-label,.media-label,.sample-tag,.features span,.opportunity-tags span{border-radius:8px}.features,.opportunity-tags{gap:8px}.core-loop li{border-radius:14px}.about-block{padding:24px;border:1px solid var(--line);background:#13212b}.bio-placeholder,.opportunities{padding:30px;background:#15242d;border:1px solid var(--line)}
.footer{margin-top:48px;padding-top:36px}.footer-main{gap:28px}.footer-bottom{flex-wrap:wrap;line-height:1.7}.footer h2{max-width:780px}.contact-projects a{border-radius:12px}.email-placeholder{border-radius:14px;overflow-wrap:anywhere}
dialog{border-radius:24px;box-shadow:0 24px 100px #0008;max-height:90dvh}dialog::backdrop{background:#050c14c9;backdrop-filter:blur(8px)}.close{border-radius:50%;min-width:44px;min-height:44px}.close:hover{background:#ffffff10}.skip{border-radius:10px}.media-label{max-width:calc(100% - 32px)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.category-tile:hover{transform:translateY(-4px);box-shadow:0 12px 30px #0003}.gallery-item:hover{box-shadow:0 0 0 2px #e4eeab66}.hero-slide{animation:portfolio-in .35s ease both}}
@keyframes portfolio-in{from{opacity:.4}to{opacity:1}}
@media(max-width:1100px){.slide-tabs button{padding:16px 12px}.carousel-actions{padding-right:18px}}
@media(max-width:720px){.site-header{margin-top:12px;padding:17px 18px!important;border-radius:18px;gap:14px!important}.site-header nav{width:100%;justify-content:space-between;gap:5px}.site-header nav a{font-size:14px;padding:10px 13px;min-height:44px}.brand{font-size:22px}.showcase{border-radius:20px}.showcase .hero-b{border-radius:20px 20px 0 0;min-height:0}.showcase .hero-b-content{padding-bottom:30px}.showcase h1{font-size:clamp(34px,9vw,46px);overflow-wrap:normal}.carousel-controls{border-radius:0 0 20px 20px}.slide-tabs button{min-height:62px;line-height:1.35}.carousel-actions{gap:4px;padding:8px}.carousel-actions button{font-size:11px}.directions-heading h2{line-height:1.15}.category-tile{border-radius:18px}.category-tile h3{font-size:clamp(20px,6vw,26px)}.project-card{padding:13px;border-radius:18px}.game-hero,.game-hero-media{border-radius:20px}.game-nav{scrollbar-width:thin}.game-nav a{padding:12px;min-height:44px}.about-block,.bio-placeholder,.opportunities{padding:22px;border-radius:18px}.game-title .hero-actions{flex-wrap:wrap}.footer-main{align-items:flex-start}.footer h2{font-size:30px}.footer-bottom{gap:14px}.all-projects-row{flex-wrap:wrap}.all-projects-row button{min-height:44px}.gallery-label{font-size:11px}.contact-page h1{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.category-tile:hover,.project-card:hover .visual{transform:none!important}}

.contact-email{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}.contact-email:hover{color:var(--accent)}

.design-details{display:grid;gap:22px;margin-top:25px}.design-details article{padding-top:20px;border-top:1px solid var(--line)}.design-details h3{font-size:21px;margin-bottom:9px;letter-spacing:-.025em}.design-details p,.game-content .design-status{font-size:15px;line-height:1.7;color:var(--muted)}

/* Editorial media groups preserve portrait props instead of cropping them. */
.media-intro{max-width:720px;color:var(--muted);font-size:15px;margin:0 0 30px}.media-group{margin-top:32px}.media-group-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:15px}.media-group-title h3{font-size:24px;letter-spacing:-.03em}.media-group-title>span{color:var(--muted);font-size:12px}.curated-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.curated-gallery .gallery-item{aspect-ratio:auto;min-width:0;display:flex;flex-direction:column;background:#17262f;border:1px solid var(--line);padding:0;text-align:left}.curated-gallery .gallery-item img{aspect-ratio:3/4;object-fit:contain;background:#d8dde0;min-height:0;flex:1}.curated-gallery .media-wide{grid-column:1/-1}.curated-gallery .media-wide img{aspect-ratio:16/9;object-fit:contain}.curated-gallery .media-square img{aspect-ratio:1/1}.curated-gallery .gallery-label{position:static;display:flex;justify-content:space-between;width:100%;padding:14px 16px;color:#e5edf0;background:#17262f;font-size:13px;line-height:1.5}.media-group:nth-of-type(2) .curated-gallery:has(.media-portrait:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.large-art img{object-fit:contain;background:#101820}.concept-film{display:grid;grid-template-columns:.65fr 1.35fr;align-items:center;gap:30px;padding:24px;border:1px solid var(--line);background:#14232d;border-radius:22px;margin-bottom:32px}.film-copy h3{font-size:30px;line-height:1.15;letter-spacing:-.03em;margin:12px 0}.film-copy p{font-size:14px;color:var(--muted);line-height:1.7}.concept-film video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:14px;background:#071016}.hero-b[data-art=beach]>.visual img{object-fit:cover;object-position:center}.game-hero[data-art=beach] .game-hero-media img{object-position:center}
@media(max-width:850px){.concept-film{grid-template-columns:1fr;gap:20px}.curated-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.media-group-title{align-items:baseline}.media-group-title h3{font-size:22px}}
@media(max-width:540px){.curated-gallery{gap:12px}.curated-gallery .gallery-label{font-size:11px;padding:10px}.concept-film{padding:16px}.film-copy h3{font-size:26px}.media-group-title>span{font-size:11px}.curated-gallery .media-wide img{aspect-ratio:16/10}.media-intro{font-size:14px}}

.curated-gallery .gallery-item:first-child{grid-column:auto}.curated-gallery .gallery-item.media-wide{grid-column:1/-1}.curated-gallery .media-portrait img{width:100%;height:auto}.curated-gallery .media-wide img,.curated-gallery .media-square img{width:100%;height:auto}

.media-group,.curated-gallery,.concept-film,.film-copy{min-width:0}.concept-film video{max-width:100%}.media-group-title{flex-wrap:wrap}.gallery-label{overflow-wrap:anywhere}

/* Full-bleed Vases hero, matching the visual scale of the other games. */
.showcase .hero-b:is([data-art="vase"],[data-art="monkey"]){display:block;position:relative;min-height:560px;isolation:isolate}
.showcase .hero-b:is([data-art="vase"],[data-art="monkey"])>.visual{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.showcase .hero-b:is([data-art="vase"],[data-art="monkey"])>.visual img{width:100%;height:100%;object-fit:cover;object-position:70% top}
.showcase .hero-b:is([data-art="vase"],[data-art="monkey"])::after{display:block;background:linear-gradient(90deg,#07141bef 0%,#07141bca 30%,#07141b35 62%,#07141b10 100%),linear-gradient(0deg,#07141b77,transparent 50%)}
.showcase .hero-b:is([data-art="vase"],[data-art="monkey"]) .hero-b-content{width:48%;max-width:580px;padding:70px 45px 50px}
.hero-b .hero-media-note{font-size:12px;margin-top:18px;line-height:1.5;color:var(--muted)}
.music-controls{display:flex;align-items:center;gap:10px;margin-left:12px;min-width:0}.music-toggle{display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;width:44px;height:44px;flex-shrink:0}.music-toggle:hover{background:#ffffff0d}.music-toggle[data-playing=true]{color:#e4eeab;border-color:#7b9065}.music-controls input{width:80px;max-width:100%;accent-color:#e4eeab;cursor:pointer;min-height:44px}.music-caption{font-size:11px;color:var(--muted);width:78px;line-height:1.3}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.music-caption{display:none}.site-header nav{gap:3px}.site-header nav a{padding:10px}.music-controls{margin-left:0}.music-controls input{width:65px}}
@media(max-width:720px){.site-header{height:auto!important;display:flex;flex-direction:row;flex-wrap:wrap}.site-header .brand{order:0}.music-controls{order:1;margin-left:auto}.site-header nav{order:2;width:100%}.showcase .hero-b:is([data-art="vase"],[data-art="monkey"]){min-height:590px}.showcase .hero-b:is([data-art="vase"],[data-art="monkey"])>.visual{height:100%;inset:0}.showcase .hero-b:is([data-art="vase"],[data-art="monkey"])>.visual img{object-position:70% top}.showcase .hero-b:is([data-art="vase"],[data-art="monkey"])::after{background:linear-gradient(0deg,#07141bf5 0%,#07141bc9 42%,#07141b10 85%)}.showcase .hero-b:is([data-art="vase"],[data-art="monkey"]) .hero-b-content{width:100%;max-width:none;padding:290px 24px 28px}.showcase .hero-b:is([data-art="vase"],[data-art="monkey"]) h1{font-size:clamp(38px,10vw,55px)}}

/* Keep the elephant’s head inside the frame: top alignment moves the cropped art down. */
.showcase .hero-b[data-art="monkey"]>.visual img{object-position:center top}
/* Independent category teasers: one project at a time, with clear square selectors. */
.category-tile[data-category-carousel]{min-height:465px;padding:26px 26px 280px;cursor:default}
.category-tile[data-category-carousel] .cat-projects{display:block;position:relative;z-index:2;margin:16px 0 0;max-width:100%;text-decoration:none}
.category-tile[data-category-carousel] .cat-image{left:0;right:0;bottom:62px;width:100%;height:220px}
.category-tile[data-category-carousel] .cat-image img{object-position:center top}
.category-tile[data-category-carousel] .cat-action{position:relative;bottom:auto;right:auto;align-self:flex-start;margin-top:16px;z-index:2}
.cat-carousel-controls{position:absolute;bottom:0;left:0;right:0;display:flex;gap:5px;align-items:center;justify-content:center;min-height:62px;padding:6px 10px;background:#14232d;border-top:1px solid var(--line)}
.cat-carousel-controls button{display:grid;place-items:center;min-width:40px;min-height:44px;border-radius:9px;color:var(--ink);background:transparent;border:1px solid transparent}
.cat-carousel-controls button:hover{background:#ffffff12}.cat-carousel-dots{display:flex;gap:0;min-width:0}.cat-carousel-dots button::before{content:"";width:9px;height:9px;background:#72848e;border-radius:2px}.cat-carousel-dots button[aria-pressed=true]::before{background:#e4eeab}.cat-carousel-pause{font-size:12px}
.category-tile[data-category-carousel]:not(:has(.cat-carousel-controls)){padding-bottom:238px;min-height:465px}.category-tile[data-category-carousel]:not(:has(.cat-carousel-controls)) .cat-image{bottom:0;height:238px}
@media(max-width:720px){.category-tile[data-category-carousel]{padding:22px 22px 280px;min-height:445px}.category-tile[data-category-carousel] h3{max-width:100%}.category-tile[data-category-carousel] .cat-projects{max-width:100%}.category-tile[data-category-carousel]:not(:has(.cat-carousel-controls)){padding-bottom:238px;min-height:425px}}
.cat-carousel-dots button span{display:none}
/* Detail media stays one size while portrait concepts and clips alternate. */
.game-hero-media{min-width:0;align-self:stretch;background:#0b1822}
.game-media-carousel{width:100%;height:100%;display:flex;flex-direction:column;min-width:0}
.game-media-stage{position:relative;aspect-ratio:4/3;min-height:300px;flex:1;overflow:hidden;background:#0b1822}
.game-media-slide{position:absolute;inset:0}.game-media-slide[hidden]{display:none!important}
.game-media-slide>.visual{width:100%;height:100%}.game-media-slide img,.hero-concept-video{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important}
.game-media-slide .media-label{top:14px;left:14px;font-size:10px;max-width:calc(100% - 28px);background:#0b1822dc;color:#e5edf0;z-index:2}
.game-media-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;padding:8px;background:#14232d;border-top:1px solid var(--line)}
.game-media-controls button{min-width:38px;min-height:44px;display:grid;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink)}
.game-media-controls button:hover{background:#ffffff12}.game-media-indicators{display:flex;flex-wrap:wrap;justify-content:center;gap:0;max-width:100%}
.game-media-square span{display:block;width:8px;height:8px;border-radius:2px;background:#72848e}.game-media-square[aria-pressed=true] span{background:#e4eeab}
.game-media-controls [data-game-media-pause]{font-size:12px;padding:0 10px}
@media(max-width:720px){.game-media-stage{min-height:0;aspect-ratio:4/3;flex:none}.game-media-controls{gap:0;padding:4px}.game-media-controls button{min-width:32px}.game-media-indicators{flex:1}.game-media-slide .media-label{font-size:9px}}
/* A full-width media header above its readable project introduction. */
body[data-theme=b] .game-hero[data-art]{display:flex;flex-direction:column;align-items:stretch;min-height:0;gap:0;padding:0}
body[data-theme=b] .game-hero[data-art] .game-hero-media{position:relative;inset:auto;width:100%;height:auto;z-index:auto;aspect-ratio:auto;border-radius:0}
body[data-theme=b] .game-hero[data-art] .game-hero-media::after{display:none}
body[data-theme=b] .game-hero[data-art] .game-title{padding:36px 40px;width:100%;max-width:none}
body[data-theme=b] .game-hero[data-art] .game-title h1{font-size:clamp(38px,5vw,68px)}
body[data-theme=b] .game-hero[data-art] .game-media-stage{flex:none;min-height:0;aspect-ratio:16/8;max-height:620px}
body[data-theme=b] .game-hero[data-art] .game-media-slide .visual{position:absolute;inset:0;width:100%;height:100%}
@media(max-width:720px){body[data-theme=b] .game-hero[data-art] .game-title{padding:26px 22px}body[data-theme=b] .game-hero[data-art] .game-media-stage{aspect-ratio:4/3}}
/* Compact controls above the artwork; all category pictures share one baseline. */
.category-tile[data-category-carousel],.category-tile[data-category-carousel]:not(:has(.cat-carousel-controls)){padding:26px 26px 264px;min-height:480px}
.category-tile[data-category-carousel] .cat-image,.category-tile[data-category-carousel]:not(:has(.cat-carousel-controls)) .cat-image{bottom:0;left:0;right:0;width:100%;height:238px}
.cat-tile-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;position:relative;z-index:3;margin-top:18px}
.category-tile[data-category-carousel] .cat-tile-toolbar .cat-action{position:static;margin:0;flex-shrink:0}
.cat-tile-toolbar .cat-carousel-controls{position:static;padding:0;min-height:44px;background:transparent;border:0;gap:0;justify-content:flex-end}
.cat-carousel-controls button{min-width:32px;min-height:44px}.cat-carousel-dots button::before{display:none}.cat-carousel-dots button .cat-carousel-square{display:block;position:relative;width:14px;height:14px;border-radius:3px;border:1px solid #b5c6cf;background:#304550;overflow:hidden}
.cat-carousel-dots button[aria-pressed=true] .cat-carousel-square{border-color:#e4eeab;background:#62753a}.cat-carousel-square::after{content:"";position:absolute;inset:0;background:#e4eeab;transform:scaleX(var(--category-progress,0));transform-origin:left}
.cat-carousel-dots button:hover .cat-carousel-square{box-shadow:0 0 0 3px #e4eeab22}.cat-carousel-pause{font-size:13px}
.turntable-section{margin:32px 0 42px}.turntable-section h3{font-size:30px;margin:12px 0}.turntable-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.turntable-card{min-width:0;padding:12px;background:#14232d;border:1px solid var(--line);border-radius:20px}.turntable-button{display:block;position:relative;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;background:#292b2c;cursor:pointer}.turntable-button img{display:block;width:100%;height:auto;aspect-ratio:1.15;object-fit:contain}.turntable-overlay{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:9px 14px;white-space:nowrap;border:1px solid #ffffff60;border-radius:10px;background:#0b172be8;color:#f5f8f9;font-size:13px}.turntable-card h4{font-size:18px;margin:16px 0 8px}.turntable-card .contact-note{font-size:12px}.turntable-button:hover .turntable-overlay{background:#263b36}
@media(max-width:1050px){.cat-tile-toolbar{flex-wrap:wrap;gap:4px}.cat-tile-toolbar .cat-carousel-controls{margin-left:auto}}
@media(max-width:720px){.category-tile[data-category-carousel],.category-tile[data-category-carousel]:not(:has(.cat-carousel-controls)){padding:22px 22px 264px;min-height:450px}.turntable-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cat-tile-toolbar{flex-wrap:nowrap}}
@media(max-width:420px){.turntable-grid{grid-template-columns:1fr}.cat-tile-toolbar{flex-wrap:wrap}}
/* Supplied cover artwork must not inherit the starter gallery's zoom crops. */
.curated-gallery .gallery-item img{transform:none;object-position:center}
/* One reserved preview frame for every project. The active slide never sizes its parent. */
.showcase{--preview-height:620px}
.showcase .hero-slides{position:relative;width:100%;height:var(--preview-height);min-height:var(--preview-height);overflow:hidden}
.showcase .hero-slides>.hero-slide[data-art]{position:absolute;inset:0;width:100%;height:100%;min-height:0!important;margin:0;box-sizing:border-box}
.showcase .hero-slides>.hero-slide[data-art]>.visual{position:absolute;inset:0;width:100%;height:100%;min-height:0}
.showcase .hero-slides>.hero-slide[data-art]>.visual img,.showcase .hero-slides>.hero-slide[data-art]>.visual video{display:block;width:100%;height:100%;object-fit:cover}
.showcase .hero-slides>.hero-slide[data-art] .hero-b-content{box-sizing:border-box;max-height:100%;overflow-y:auto;overscroll-behavior:contain}
@media(max-width:720px){
 .showcase{--preview-height:720px}
 .showcase .hero-slides>.hero-slide[data-art] .hero-b-content{width:100%;max-width:none;padding:280px 24px 28px}
 .showcase .hero-slides>.hero-slide[data-art]::after{background:linear-gradient(0deg,#07141bf7 0%,#07141be0 48%,#07141b10 90%)}
}
@media(max-width:400px){.showcase{--preview-height:760px}}
