.ios-home,.ios-home-control{display:none}
html.ios-device{--ios-top:max(50px,env(safe-area-inset-top));--ios-bottom:max(20px,env(safe-area-inset-bottom));height:100%}
.ios-device body{overflow:hidden;height:100dvh;overscroll-behavior:none;font-family:-apple-system,BlinkMacSystemFont,'DM Sans',sans-serif}
.ios-device #desktop{height:100dvh;min-height:0;overflow:hidden}
.ios-device .menubar,.ios-device .workspace,.ios-device #desktop>.dock,.ios-device .easy-window-switcher,.ios-device .desktop-gallery-hint{display:none!important}
.ios-device .ios-home{position:fixed;inset:0;display:flex;flex-direction:column;height:100dvh;color:white;z-index:2;padding-bottom:var(--ios-bottom)}
.ios-status{height:var(--ios-top);padding:12px 23px 8px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;color:white;text-shadow:0 1px 3px #0c22364a;font-size:14px;font-weight:650}
.ios-island{position:absolute;left:50%;top:max(10px,env(safe-area-inset-top));transform:translateX(-50%);width:100px;height:25px;border-radius:25px;background:#11151b;box-shadow:inset 0 0 0 1px #ffffff12}
.ios-status-symbols{display:flex;gap:6px;align-items:center;font-size:8px;letter-spacing:-1px}.ios-status-symbols svg{width:17px;height:12px}.ios-battery{width:22px;height:11px;background:#fff;border:2px solid #ffffff70;box-shadow:inset -3px 0 #7199a7;border-radius:3px;position:relative}.ios-battery:after{content:'';position:absolute;right:-4px;top:2px;width:2px;height:3px;background:#fffc;border-radius:1px}
.ios-home-content{flex:1;overflow:auto;min-height:0;padding:18px 23px 8px;scrollbar-width:none;overscroll-behavior:contain}.ios-home-content::-webkit-scrollbar{display:none}
.ios-profile-widget{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;background:linear-gradient(120deg,#eef6fcce,#f5fbff85);border:1px solid #ffffff85;border-radius:27px;padding:19px 21px;backdrop-filter:blur(22px);box-shadow:0 7px 25px #153d6220;color:#1f405c;margin-bottom:17px}.ios-profile-widget>span{display:flex;flex-direction:column}.ios-profile-widget small{font-size:8px;letter-spacing:1.7px;font-weight:700}.ios-profile-widget strong{font-size:33px;letter-spacing:-1.4px;line-height:1.03;margin:9px 0}.ios-profile-widget em{font-size:10px;font-style:normal}.ios-profile-widget img{width:73px;height:73px;object-fit:cover;border-radius:50%;border:2px solid #fff8}
.ios-widgets{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:23px}.ios-widgets>button{padding:16px;text-align:left;border-radius:24px;background:#2f5578a3;border:1px solid #fff4;backdrop-filter:blur(20px);color:white;display:flex;flex-direction:column;gap:10px;min-height:129px}.ios-widgets small{font-size:7px;letter-spacing:1.2px}.ios-widgets strong{font-size:18px;line-height:1.1;letter-spacing:-.4px}.ios-widgets span{font-size:8px;opacity:.8}.ios-widgets>.ios-note-widget{background:linear-gradient(#ffe375 0 25px,#fff2ac 25px);color:#4a4128;transform:rotate(1deg);border-color:#fff4}
.ios-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px 14px}.ios-app-grid>button{padding:0;color:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.ios-app-grid img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 3px 5px #13365425);border:0;box-shadow:none}.ios-app-grid button:first-child img{border-radius:15px;object-fit:cover}.ios-app-grid span{font-size:10px;text-shadow:0 1px 5px #092c4c99;white-space:nowrap}.ios-app-grid button:active img,.ios-dock button:active img{transform:scale(.88);transition:transform .15s}
.ios-search{display:block;margin:25px auto 8px;border-radius:20px;background:#f6fbff4a;color:#fff;padding:6px 14px;font-size:10px;backdrop-filter:blur(20px)}.ios-page-dots{text-align:center;font-size:7px;letter-spacing:4px}.ios-page-dots span{opacity:.35}
.ios-dock{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;gap:14px;margin:8px 12px 0;padding:12px 19px;border:1px solid #fff6;border-radius:32px;background:#e8f4ff45;backdrop-filter:blur(35px) saturate(1.5);flex-shrink:0}.ios-dock>button{padding:0;display:grid;place-items:center}.ios-dock img{width:58px;height:58px;object-fit:contain}.ios-dock span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.ios-device .ios-home-control{position:fixed;display:flex;align-items:center;justify-content:center;bottom:0;left:50%;transform:translateX(-50%);width:150px;height:max(23px,env(safe-area-inset-bottom));z-index:100;padding:0;touch-action:manipulation}.ios-home-control>span{display:block;width:110px;height:4px;background:#fff;border-radius:5px;box-shadow:0 1px 4px #0004}.ios-home-control:focus-visible{outline:2px solid #fff;outline-offset:-3px}
.ios-device.ios-app-open .ios-home{visibility:hidden;pointer-events:none}
.ios-device #finder,.ios-device #portfolio-safari,.ios-device #portfolio-messages{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;height:var(--ios-height,100dvh)!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;transform:none!important;box-shadow:none!important;overflow:hidden}
.ios-device .window-bar,.ios-device .messages-bar{height:calc(45px + env(safe-area-inset-top));padding:calc(8px + env(safe-area-inset-top)) 16px 8px;background:var(--alpine-surface);gap:15px}.ios-device .window-bar .traffic-lights button,.ios-device .safari-lights button,.ios-device .messages-bar .safari-lights button{width:32px;height:32px;border-radius:50%;background:#a1afc722;box-shadow:none}.ios-device .window-bar .traffic-lights button:first-child:after,.ios-device .safari-lights button:first-child:after{content:'‹';position:absolute;inset:0;display:grid;place-items:center;font-size:26px;color:var(--alpine-text)}.ios-device #window-minimise,.ios-device #window-maximise,.ios-device #messages-minimise,.ios-device #messages-maximise,.ios-device #safari-minimise,.ios-device #safari-maximise,.ios-device .easy-window-close{display:none!important}.ios-device #window-title{font-size:15px;font-weight:650}.ios-device .window-layout{height:calc(100% - 45px - env(safe-area-inset-top));display:flex;flex-direction:column}.ios-device .finder-sidebar{display:flex!important;flex-direction:row;overflow-x:auto;overflow-y:hidden;flex-shrink:0;padding:8px;gap:6px;min-height:47px}.ios-device .finder-sidebar>span,.ios-device .sidebar-profile,.ios-device .sidebar-bottom{display:none!important}.ios-device .finder-sidebar>button{white-space:nowrap;flex-shrink:0;padding:9px 12px;font-size:11px;border-radius:20px}.ios-device .tahoe-sidebar-icon{width:20px;height:20px}.ios-device .window-content{padding:24px 21px calc(60px + env(safe-area-inset-bottom));overflow:auto;flex:1;min-height:0;width:100%}.ios-device .window-footer{display:none}.ios-device .window-content h2{font-size:36px}.ios-device .window-content .intro{font-size:13px}.ios-device .window-content .about-grid,.ios-device .window-content .partner-points{grid-template-columns:1fr}.ios-device .window-content button,.ios-device .window-content a{touch-action:manipulation}.ios-device .window-content input,.ios-device .window-content textarea,.ios-device .window-content select{font-size:16px}
.ios-device .portfolio-safari{display:flex;flex-direction:column}.ios-device .portfolio-safari:not([open]){display:none}.ios-device .safari-toolbar{padding:calc(9px + env(safe-area-inset-top)) 10px 9px;height:auto;min-height:70px;flex-wrap:wrap;gap:7px}.ios-device .safari-lights{gap:0}.ios-device .safari-nav{gap:4px}.ios-device .safari-nav button{min-width:30px;min-height:32px}.ios-device #safari-address-form{order:2;flex-basis:100%;height:43px;border-radius:14px}.ios-device #safari-address{font-size:16px}.ios-device .safari-labelled-control span{display:none}.ios-device .safari-labelled-control{min-width:35px;height:32px}.ios-device .safari-tabs{flex-shrink:0;min-height:38px}.ios-device .safari-viewport{min-height:0;flex:1;padding-bottom:20px}.ios-device .safari-status{padding:9px 14px calc(25px + env(safe-area-inset-bottom));flex-shrink:0}.ios-device .safari-status>span{font-size:9px}.ios-device #safari-close-window{font-size:10px}.ios-device .safari-favourites{grid-template-columns:repeat(3,1fr)}
.ios-device .messages-layout{height:calc(100% - 45px - env(safe-area-inset-top));grid-template-columns:1fr}.ios-device .messages-layout>aside{display:none}.ios-device .messages-conversation>header{padding:12px 17px}.ios-device .messages-conversation input,.ios-device .messages-conversation textarea{font-size:16px!important}.ios-device #messages-form{padding:10px 14px calc(26px + env(safe-area-inset-bottom))}.ios-device .messages-compose textarea{min-height:43px}.ios-device #messages-log{padding:15px}.ios-device .messages-greeting{font-size:13px}.ios-device .messages-privacy{font-size:8px}.ios-device .messages-direct-contact a{font-size:11px}
.ios-device .paper-note.note-window{display:none!important}.ios-device .paper-note.note-window.ios-note-active:not([hidden]){display:flex!important;position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;height:var(--ios-height,100dvh)!important;max-width:none!important;max-height:none!important;transform:none!important;z-index:76!important;border-radius:0}.ios-device .note-titlebar{padding-top:calc(10px + env(safe-area-inset-top));min-height:calc(55px + env(safe-area-inset-top))}.ios-device .note-window .note-content{padding:30px 25px calc(55px + env(safe-area-inset-bottom))}.ios-device .note-window .note-content h2{font-size:43px}.ios-device .note-window .note-content>ul:not(.note-education),.ios-device .note-projects,.ios-device .note-education li{font-size:15px;line-height:1.9}.ios-device .note-education span{font-size:12px}.ios-device .paper-note .note-certification{font-size:12px}.ios-device .note-resize,.ios-device [data-note-action=maximise]{display:none!important}.ios-device .notes-launcher{inset:var(--ios-top) 12px auto;left:12px;bottom:auto;transform:none;width:calc(100vw - 24px);padding:20px;max-height:calc(100dvh - 120px);overflow:auto}.ios-device .notes-list>button{min-height:75px}.ios-device .notes-list strong{font-size:15px}.ios-device .notes-list small{font-size:11px}
.ios-device .appearance-menu{position:fixed!important;inset:var(--ios-top) 12px auto!important;width:calc(100vw - 24px);min-width:0;max-width:none;z-index:96}.ios-device .appearance-menu button{min-height:60px}
.ios-device .login{height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.ios-device .login-top{padding:22px 20px}.ios-device .lock-clock{margin-top:5vh}.ios-device .lock-clock time{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:94px;font-weight:250;letter-spacing:-5px}.ios-device .login-profile{padding:20px 0;margin:auto 0}.ios-device #play-password{font-size:16px;width:245px;height:45px}.ios-device .password-box button{width:31px;height:31px}.ios-device .login-bottom{margin-bottom:35px}.ios-device .login .avatar{width:80px;height:80px}.ios-device .login h2{font-size:19px}
[data-theme=dark] .ios-profile-widget{background:linear-gradient(120deg,#283c57dc,#223b547d);color:#edf6ff;border-color:#a8c9e933}[data-theme=dark] .ios-widgets>button:not(.ios-note-widget){background:#283c57b0}[data-theme=dark] .ios-dock{background:#35516c70;border-color:#b5d3ee33}
@media(max-width:350px){.ios-home-content{padding-left:16px;padding-right:16px}.ios-app-grid{gap:18px 9px}.ios-app-grid img,.ios-dock img{width:51px;height:51px}.ios-profile-widget{padding:16px}.ios-profile-widget strong{font-size:29px}.ios-widgets{gap:9px}.ios-widgets>button{padding:13px}.ios-widgets strong{font-size:16px}}
@media(orientation:landscape) and (max-height:600px){.ios-device .ios-home-content{padding-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:15px}.ios-profile-widget{margin:0}.ios-widgets{display:none}.ios-app-grid{grid-row:span 2;gap:9px}.ios-app-grid img{width:44px;height:44px}.ios-device .ios-dock{position:absolute;bottom:10px;left:16px;width:calc(50% - 32px);padding:8px}.ios-dock img{width:40px;height:40px}.ios-search,.ios-page-dots{display:none}.ios-device .lock-clock{margin-top:0}.ios-device .lock-clock time{font-size:55px}.ios-device .login-top{display:none}.ios-device .login-profile{padding:5px}.ios-device .login .avatar{width:45px;height:45px}.ios-device .login h2{margin:6px}.ios-device .login-profile>p,.ios-device .login-bottom{display:none}.ios-device .password-box{margin:10px 0 5px}}
@media(prefers-reduced-motion:reduce){.ios-app-grid button:active img,.ios-dock button:active img{transition:none}}

.ios-device #finder-preview{width:calc(100vw - 20px);max-width:none;max-height:calc(100dvh - 40px);border-radius:22px}.ios-device #finder-preview video,.ios-device #finder-preview img{max-width:100%;object-fit:contain}.ios-device .desktop-trash-window{max-width:calc(100vw - 20px);max-height:calc(100dvh - 70px);overflow:auto}

.ios-device .paper-note.note-window{background:linear-gradient(180deg,#ffe668,#fff09a 80%,#f4dc72);color:#382f23;border:0;backdrop-filter:none}
.ios-device .paper-note.note-window[data-subject=computing]{background:linear-gradient(180deg,#8dcddd,#c7edf1 80%,#9fd1dc);color:#233e48}
.ios-device .note-window-controls button{width:28px;height:28px;display:grid;place-items:center;padding:0;border-radius:50%;background:#ff655d;color:#692b25;font:18px Arial,sans-serif}
.ios-device .note-window-controls button:nth-child(2){background:#f5bf45;color:#795300}
.ios-device .paper-note .note-content h2{font-family:'Caveat','Comic Sans MS',cursive;line-height:1.05;margin:20px 0}.ios-device .paper-note .note-content p{color:inherit}.ios-device .note-content .services-note-actions button:first-child{background:#ffffff80;color:#38301f;border-radius:9px;padding:12px;font-size:13px}.ios-device .paper-note-links button{font-size:14px;padding:8px 0}.ios-device .note-content .note-pin{display:none}
