/* Mobile projects extend the existing studio; media keeps each product's own identity. */
.desktop-nav{gap:19px;margin-right:20px}
.apps-section{background:#e1dece;color:#263722;padding-bottom:65px;scroll-margin-top:0}
.apps-section .section-top{border-color:#aeb49e}
.apps-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin:29px 0 60px}
.apps-eyebrow{color:#68735b;margin-bottom:20px;font-size:9px}
.apps-heading h2{font-family:var(--pixel);font-weight:500;font-size:clamp(48px,5.8vw,84px);line-height:1.02;letter-spacing:-.035em}
.apps-heading h2 span{color:#8d7350}
.apps-heading>p{font-size:13px;line-height:1.9;color:#627059;padding-bottom:5px}
.apps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;row-gap:65px}
.app-project{min-width:0}
.app-cover{position:relative;display:block;width:100%;height:clamp(320px,31vw,455px);overflow:hidden;border:1px solid #27392326;background:#c3cbb8;padding:0;text-align:left;isolation:isolate}
.app-cover-index{position:absolute;top:18px;left:20px;z-index:3;color:#253a28;font-size:9px}
.app-cover--rich-land{background:#bac6b0}
.app-cover--towcoon{background:#d0c6ab}
.app-landscape{position:absolute;display:block;left:7%;right:7%;top:50%;aspect-ratio:1672/941;transform:translateY(-50%) rotate(-3deg);padding:7px;border-radius:13px;background:#23312b;box-shadow:0 18px 28px #2637222e;border:1px solid #69735b;transition:transform .35s}
.app-cover--towcoon .app-landscape{transform:translateY(-50%) rotate(3deg)}
.app-world{width:100%;height:100%;border-radius:7px;object-fit:contain;filter:none}
.app-game-logo{position:absolute;top:11%;left:21%;width:58%;height:auto;filter:none;object-fit:contain}
.app-towcoon-title{position:absolute;top:20%;left:0;width:100%;text-align:center;color:#f5dfac;font-size:clamp(26px,3.5vw,54px);font-weight:800;letter-spacing:-.05em;text-shadow:2px 3px 0 #394b35,-1px -1px 0 #394b35;line-height:1}
.app-cover-foot{position:absolute;bottom:16px;left:20px;right:17px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#33462f;font-size:8px}
.app-cover-open{display:grid;place-items:center;width:32px;height:32px;border:1px solid #52614466;border-radius:50%;font-family:var(--font);font-size:21px}
.app-cover--emojitalks{background:#d1d9d3}
.app-cover--hafif{background:#d4c7b0}
.app-phones{display:flex;position:absolute;justify-content:center;align-items:center;gap:7%;inset:50px 12% 54px}
.app-phone{display:block;position:relative;height:95%;aspect-ratio:780/1688;background:#faf9f4;border:5px solid #29342f;border-radius:19px;box-shadow:0 15px 22px #2a382b25;overflow:hidden;transform:translateY(-4%) rotate(-6deg);transition:transform .35s}
.app-phone--2{transform:translateY(5%) rotate(6deg)}
.app-phone img{width:100%;height:100%;object-fit:contain;filter:none}
.app-project-info{padding-top:23px}
.app-category{font-size:8px;color:#65735a;letter-spacing:.08em}
.app-project-info h3{font-family:var(--pixel);font-weight:500;font-size:39px;letter-spacing:-.035em;line-height:1;margin-top:13px}
.app-project-info h3 button{display:flex;justify-content:space-between;align-items:center;text-align:left;background:none;padding:0;width:100%;font:inherit;color:inherit}
.app-project-info h3 button>span{font-family:var(--font);font-size:26px;font-weight:400;color:#758267}
.app-tagline{font-size:15px;line-height:1.5;font-weight:600;margin-top:15px}
.app-summary{font-size:12px;line-height:1.85;color:#5e6d54;max-width:520px;margin-top:10px;min-height:67px}
.app-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:19px}
.app-tags span{border:1px solid #a8b098;padding:7px 9px;font-size:9px;color:#56644c}
.app-detail-link{display:flex;gap:22px;align-items:center;border-bottom:1px solid #8a967b;background:none;padding:10px 0;margin-top:16px;font-size:11px;color:#30452c}
.app-detail-link:hover,.app-project-info h3 button:hover{color:#805e3f}
.apps-end{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #aeb49e;padding-top:20px;margin-top:65px;font-size:8px;color:#6b765f}
@media(hover:hover) and(prefers-reduced-motion:no-preference){html:not(.motion-off) .app-cover:hover .app-landscape{transform:translateY(-50%) rotate(0)}html:not(.motion-off) .app-cover:hover .app-phone{transform:translateY(-4%) rotate(-2deg)}html:not(.motion-off) .app-cover:hover .app-phone--2{transform:translateY(5%) rotate(2deg)}}
.motion-off .app-landscape,.motion-off .app-phone{transition:none}
#project-dialog.is-app{width:min(1120px,calc(100% - 40px));max-height:92svh}
#project-dialog.is-app .dialog-toolbar{position:sticky;top:0;z-index:3;background:#e1dece;color:#263722;border-bottom:1px solid #aeb49e}
#project-dialog.is-app #dialog-visual{padding:28px;background:#cdd1c0}
.app-screen-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.app-screen-gallery figure{min-width:0}
.app-screen-gallery a{display:block;cursor:zoom-in}
.app-screen-gallery img{width:100%;height:auto;object-fit:contain;filter:none;border:1px solid #7b866d55}
.app-screen-gallery.is-portrait{max-width:620px;margin:auto;gap:35px}
.app-screen-gallery.is-portrait img{width:auto;max-width:100%;height:390px;margin:auto;border-radius:8px}
.app-screen-gallery figcaption{color:#52604a;font:9px/1.6 var(--mono);margin-top:12px;text-align:center}
#project-dialog.is-app .dialog-copy{position:relative;padding:30px;background:#e1dece;color:#263722}
#project-dialog.is-app #dialog-badge{color:#667557}
#project-dialog.is-app #dialog-title{font-family:var(--pixel);font-size:42px;letter-spacing:-.03em;margin:12px 0 18px;font-weight:500}
#project-dialog.is-app #dialog-note{color:#5e6d54;font-size:13px;line-height:1.9;max-width:800px}
#project-dialog.is-app #dialog-details{display:flex;gap:40px;margin:25px 0}
#project-dialog.is-app #dialog-details>div{flex:1}
#project-dialog.is-app #dialog-details dt{font:8px var(--mono);color:#68765b;letter-spacing:.08em;margin-bottom:9px}
#project-dialog.is-app #dialog-details dd{font-size:11px;color:#33482c;margin:0;line-height:1.6}
#project-dialog.is-app #dialog-source{color:#30452c;font-size:12px}
#project-dialog.is-app .video-navigation{border-color:#a8b098;max-width:260px;margin-top:24px;color:#263722}
#project-dialog.is-app .video-navigation button{border-color:#a8b098;color:#263722;background:transparent}
@media(max-width:1100px){.desktop-nav{gap:15px;margin-right:10px}.apps-heading{gap:24px}.apps-heading>p{font-size:11px}.apps-grid{gap:45px 24px}.app-cover{height:340px}.app-phones{inset:50px 8% 54px}.app-summary{min-height:89px}}
@media(max-width:900px){.desktop-nav{gap:13px}.desktop-nav a{font-size:9px}.apps-heading{align-items:flex-start;flex-direction:column;gap:25px;margin-bottom:42px}.apps-heading>p{font-size:13px}.apps-grid{column-gap:22px}.app-cover{height:300px}.app-phones{gap:6%;inset:47px 7% 54px}.app-phone{border-width:4px;border-radius:14px}.app-landscape{left:5%;right:5%;padding:5px}.app-project-info h3{font-size:34px}.app-summary{min-height:110px}}
@media(max-width:600px){.apps-section{padding-top:45px;padding-bottom:44px}.apps-section .section-top{font-size:8px;gap:12px}.apps-section .section-top>span:last-child{max-width:100px;text-align:right}.apps-heading{margin:18px 0 35px}.apps-heading h2{font-size:48px}.apps-eyebrow{font-size:8px;margin-bottom:18px}.apps-heading>p{font-size:11px;line-height:1.9}.apps-grid{grid-template-columns:1fr;row-gap:43px}.app-cover{height:305px}.app-landscape{left:7%;right:7%}.app-towcoon-title{font-size:31px}.app-phones{inset:45px 10% 49px;gap:9%}.app-project-info{padding-top:20px}.app-project-info h3{font-size:37px}.app-summary{min-height:0;font-size:12px}.app-tags{margin-top:17px}.app-tagline{font-size:14px;margin-top:13px}.apps-end{margin-top:43px;flex-direction:column;gap:10px;font-size:7px}#project-dialog.is-app{width:calc(100% - 22px);max-height:94svh}#project-dialog.is-app #dialog-visual{padding:18px 15px}.app-screen-gallery{grid-template-columns:1fr;gap:20px}.app-screen-gallery.is-portrait{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.app-screen-gallery.is-portrait img{width:100%;height:auto}.app-screen-gallery figcaption{font-size:7px;margin-top:8px}#project-dialog.is-app .dialog-copy{padding:23px}#project-dialog.is-app #dialog-title{font-size:36px}#project-dialog.is-app #dialog-note{font-size:12px}#project-dialog.is-app #dialog-details{flex-direction:column;gap:18px}#project-dialog.is-app .video-navigation{max-width:none}}
@media(prefers-reduced-motion:reduce){.app-landscape,.app-phone{transition:none}}
