:root {
    color-scheme: light;
    --ink: #172029;
    --muted: #66717b;
    --line: rgba(19,29,38,.13);
    --surface: rgba(253,253,252,.96);
    --blue: #0d73d7;
    --green: #27c25b;
    --red: #ff5f57;
    --yellow: #febc2e;
    --window-shadow: 0 34px 90px rgba(3,26,42,.25),0 8px 24px rgba(3,26,42,.18),0 0 0 1px rgba(8,26,38,.18);
    --font: -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Helvetica,Arial,sans-serif;
    --mono: ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
*{box-sizing:border-box}html,body{min-height:100%}html.js,.js body{height:100%;overflow:clip}
body{margin:0;background:#dce9eb;color:var(--ink);font:14px/1.45 var(--font);-webkit-font-smoothing:antialiased}
button,a{font:inherit}button{color:inherit}img,video{display:block;max-width:100%}a{color:inherit}:focus-visible{outline:3px solid rgba(0,110,245,.72);outline-offset:2px}[hidden]{display:none!important}
.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}

.os-shell{position:relative;width:100%;height:100dvh;min-height:0;overflow:clip;background:radial-gradient(ellipse at 76% 12%,rgba(155,254,230,.55),transparent 32%),radial-gradient(ellipse at 17% 86%,rgba(117,227,190,.72),transparent 39%),linear-gradient(148deg,#087db7 0%,#0796c6 26%,#51c2c1 56%,#78c886 100%);isolation:isolate}
.os-shell:before,.os-shell:after{position:absolute;z-index:-2;width:85vw;height:64vh;border-radius:48% 52% 33% 67%/65% 41% 59% 35%;content:"";filter:blur(2px);opacity:.85}.os-shell:before{right:-20vw;bottom:-30vh;transform:rotate(-12deg);background:linear-gradient(145deg,rgba(12,98,121,.12),rgba(30,95,66,.72));box-shadow:-30vw -6vh 0 10vw rgba(198,236,176,.26)}.os-shell:after{bottom:-43vh;left:-27vw;transform:rotate(14deg);background:linear-gradient(150deg,rgba(17,97,123,.12),rgba(15,104,81,.72));box-shadow:30vw -13vh 0 9vw rgba(112,207,160,.42)}
.wallpaper-light{position:absolute;z-index:-1;border-radius:999px;pointer-events:none;filter:blur(48px)}.wallpaper-light--one{top:12vh;left:31vw;width:42vw;height:28vh;background:rgba(189,248,244,.2);transform:rotate(-16deg)}.wallpaper-light--two{right:-9vw;bottom:5vh;width:55vw;height:34vh;background:rgba(233,244,184,.2);transform:rotate(17deg)}

.menu-bar{position:absolute;inset:0 0 auto;z-index:9000;display:flex;align-items:center;justify-content:space-between;height:30px;padding:0 12px;background:rgba(237,246,247,.72);border-bottom:1px solid rgba(255,255,255,.32);box-shadow:0 1px 9px rgba(18,48,59,.12);backdrop-filter:saturate(1.45) blur(22px);-webkit-backdrop-filter:saturate(1.45) blur(22px);font-size:12px;color:#112832;user-select:none}.menu-bar__left,.menu-bar__right{display:flex;align-items:center;gap:3px}.system-mark,.menu-trigger{min-width:30px;height:24px;padding:0 8px;border:0;border-radius:5px;background:transparent;cursor:default}.system-mark{min-width:24px;padding:0 6px;font-weight:800;font-size:14px;letter-spacing:-.05em}.focused-app{margin:0 8px 0 2px;font-weight:700}.menu-trigger:hover,.menu-trigger:focus-visible,.system-mark:hover{background:rgba(255,255,255,.38)}.menu-bar__right{gap:10px;font-weight:600;font-size:11px}.status-pip{width:7px;height:7px;border-radius:50%;background:#21b85a;box-shadow:0 0 0 2px rgba(255,255,255,.38)}
.desktop{position:absolute;inset:30px 0 0;overflow:clip}

.window{position:absolute;display:flex;flex-direction:column;min-width:320px;min-height:260px;overflow:hidden;border-radius:13px;background:var(--surface);box-shadow:var(--window-shadow);transform-origin:50% 100%;transition:box-shadow 160ms ease,opacity 180ms ease,transform 220ms cubic-bezier(.2,.8,.2,1)}.window--work{top:8vh;left:9vw;width:min(900px,72vw);height:min(700px,75vh);z-index:2}.window--about{top:14vh;left:28vw;width:min(710px,58vw);height:min(560px,66vh);z-index:3}.window.is-focused{box-shadow:0 38px 110px rgba(2,22,37,.34),0 12px 34px rgba(3,26,42,.22),0 0 0 1px rgba(8,26,38,.22)}.window:not(.is-focused){filter:saturate(.92)}.window.is-minimized{opacity:0;transform:translateY(70vh) scale(.18);pointer-events:none}.window.is-closed{display:none}.window.is-maximized{inset:7px 8px 78px!important;width:auto!important;height:auto!important;border-radius:11px}
.window__titlebar{position:relative;flex:0 0 38px;display:flex;align-items:center;padding:0 12px;background:linear-gradient(rgba(250,251,251,.96),rgba(232,235,236,.94));border-bottom:1px solid var(--line);user-select:none;touch-action:none;cursor:default}.traffic-lights{position:relative;z-index:2;display:flex;gap:8px}.traffic-light{position:relative;width:12px;height:12px;padding:0;border:0;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.traffic-light--close{background:var(--red)}.traffic-light--minimize{background:var(--yellow)}.traffic-light--zoom{background:var(--green)}
.window__identity{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;color:#3b444b;font-size:12px;font-weight:650;pointer-events:none}.app-glyph{display:grid;place-items:center;width:19px;height:19px;overflow:hidden;border-radius:5px;background:linear-gradient(145deg,#348eea,#0c57c8);color:#fff;font-size:10px;font-weight:800}.app-glyph img{width:100%;height:100%;object-fit:cover}
.window__toolbar{flex:0 0 38px;display:flex;align-items:center;justify-content:center;padding:0 12px;background:rgba(245,246,246,.93);border-bottom:1px solid var(--line)}.tab-strip{display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(84px,auto);gap:2px;padding:2px;border:1px solid rgba(31,40,48,.13);border-radius:8px;background:rgba(100,109,115,.08)}.tab-strip button{min-height:26px;padding:2px 12px;border:0;border-radius:6px;background:transparent;color:#56616a;font-size:11px;cursor:pointer}.tab-strip button[aria-selected=true]{background:rgba(255,255,255,.96);color:#172029;box-shadow:0 1px 4px rgba(25,38,48,.16),0 0 0 1px rgba(20,30,37,.07)}
.window__content{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}.window__content--about{background:#fbfbfa}.about-panel{min-height:100%;padding:clamp(24px,4vw,48px)}.about-hero{display:grid;grid-template-columns:160px 1fr;gap:28px;align-items:start}.about-portrait{width:160px;aspect-ratio:1;object-fit:cover;border-radius:18px;box-shadow:0 12px 34px rgba(18,32,42,.15),0 0 0 1px rgba(17,25,32,.08)}
.status-label,.kicker{margin:0 0 14px;color:#63707a;font:600 10px/1.3 var(--mono);letter-spacing:.025em;text-transform:uppercase}.status-label span{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#27bd58}.about-intro h1,.project-copy h2,.panel-heading h2{margin:0;font-weight:520;line-height:.98;letter-spacing:-.045em}.about-intro h1{max-width:420px;font-size:clamp(34px,4.2vw,52px)}.about-intro>p:last-child{margin:22px 0 0;max-width:490px;color:#4f5c66;font-size:15px;line-height:1.55}
.about-note{display:grid;grid-template-columns:160px 1fr;gap:28px;margin-top:42px;padding-top:16px;border-top:1px solid var(--line)}.about-note span{font:600 10px/1.4 var(--mono);text-transform:uppercase;color:#6b757d}.about-note p{margin:0;max-width:430px;font-size:13px;color:#4d5962}.panel-heading{padding-bottom:24px;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:42px}
.experience-list{list-style:none;margin:0;padding:0}.experience-list li{display:grid;grid-template-columns:115px 1fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.experience-list time{color:#69747c;font:10px/1.6 var(--mono)}.experience-list div{display:flex;justify-content:space-between;gap:20px}.experience-list strong{font-weight:650}.experience-list span{color:#69747c;text-align:right}.about-panel blockquote{max-width:600px;margin:30px 0 44px;font-size:clamp(24px,3vw,38px);line-height:1.08;letter-spacing:-.035em}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0}.practice-grid div{padding:16px;border-radius:12px;background:#f0f2f2}.practice-grid dt{margin-bottom:8px;font-weight:700}.practice-grid dd{margin:0;color:#606c75;font-size:12px}

.window__content--work{background:#eef0ee}.project-panel{min-height:100%}.project-media{padding:clamp(18px,3vw,32px)}.project-media video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:9px;box-shadow:0 10px 30px rgba(23,35,44,.14);background:#dbe0dc}.project-media--shopify{background:linear-gradient(135deg,#ece5ff,#dae6ff)}.project-media--teacher{background:linear-gradient(135deg,#d9f2e2,#cbece5)}.project-copy{padding:clamp(24px,4vw,44px);background:#fbfbfa}.project-copy h2{max-width:600px;font-size:clamp(34px,4.4vw,60px)}.project-copy>p{max-width:650px;margin:26px 0 32px;color:#56626b;font-size:15px;line-height:1.55}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0}.metric-row div{padding-top:12px;border-top:1px solid var(--line)}.metric-row dt{font-size:25px;letter-spacing:-.04em}.metric-row dd{margin:2px 0 0;color:#6b767e;font:10px/1.3 var(--mono);text-transform:uppercase}.teacher-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:32px}.teacher-gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:7px;border:1px solid var(--line)}

.dock{position:absolute;z-index:9500;left:50%;bottom:max(12px,env(safe-area-inset-bottom));display:flex;align-items:flex-end;gap:7px;transform:translateX(-50%);padding:7px 9px 6px;border:1px solid rgba(255,255,255,.46);border-radius:18px;background:rgba(225,237,238,.56);box-shadow:0 13px 38px rgba(7,39,48,.22),inset 0 0 0 1px rgba(20,44,53,.07);backdrop-filter:saturate(1.35) blur(24px);-webkit-backdrop-filter:saturate(1.35) blur(24px)}.dock-item{position:relative;width:50px;height:53px;padding:0;border:0;background:transparent;cursor:pointer}.dock-item:disabled{cursor:default;opacity:.78}.dock-icon{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border-radius:12px;color:#fff;font-weight:800;font-size:20px;box-shadow:0 6px 14px rgba(14,40,52,.22),inset 0 0 0 1px rgba(255,255,255,.32);transition:transform 170ms cubic-bezier(.2,.8,.2,1)}.dock-icon img{width:100%;height:100%;object-fit:cover}.dock-icon--work{background:linear-gradient(145deg,#43a0fb,#075ecf)}.dock-icon--archive{background:linear-gradient(145deg,#63c7ff,#1689dd)}.dock-icon--contact{background:linear-gradient(145deg,#66e87f,#13ae45)}.dock-item:not(:disabled):hover .dock-icon{transform:translateY(-7px) scale(1.08)}.dock-tooltip{position:absolute;bottom:calc(100% + 11px);left:50%;opacity:0;transform:translate(-50%,6px);padding:5px 8px;border:1px solid rgba(255,255,255,.65);border-radius:6px;background:rgba(245,248,248,.9);box-shadow:0 5px 18px rgba(10,35,46,.16);font-size:11px;pointer-events:none;transition:.16s ease}.dock-item:hover .dock-tooltip,.dock-item:focus-visible .dock-tooltip{opacity:1;transform:translate(-50%,0)}.dock-indicator{position:absolute;bottom:-3px;left:50%;width:4px;height:4px;border-radius:50%;background:rgba(11,34,42,.75);transform:translateX(-50%) scale(0)}.dock-item.is-running .dock-indicator{transform:translateX(-50%) scale(1)}.dock-separator{align-self:stretch;width:1px;margin:3px 2px;background:rgba(27,50,58,.22)}
.noscript-note{margin:0;padding:12px;background:#fff9cf}.no-js .os-shell{height:auto;min-height:100vh;overflow:visible;padding:20px;background:#e8eeee}.no-js .menu-bar,.no-js .dock,.no-js .wallpaper-light,.no-js .traffic-lights{display:none}.no-js .desktop{position:static;overflow:visible}.no-js .window{position:static;width:auto;height:auto;margin:0 auto 24px;max-width:900px;min-height:0}.no-js [hidden]{display:block!important}

@media(max-width:740px){.menu-bar{padding:0 7px}.menu-trigger{min-width:0;padding:0 5px}.menu-trigger:nth-of-type(3),.menu-trigger:nth-of-type(4){display:none}.focused-app{margin-right:4px}.menu-bar__right{gap:6px}.status-pip{display:none}.window--work{top:4vh;left:4vw;width:92vw;height:calc(100dvh - 130px)}.window--about{top:8vh;left:6vw;width:88vw;height:calc(100dvh - 146px)}.window.is-maximized{inset:4px 4px 72px!important}.window__titlebar{min-height:42px}.traffic-light{width:14px;height:14px}.traffic-lights{gap:9px}.window__identity{justify-content:flex-end;padding-right:12px}.tab-strip{width:100%;overflow-x:auto;grid-auto-columns:minmax(96px,1fr)}.about-panel{padding:22px}.about-hero{grid-template-columns:76px 1fr;gap:17px}.about-portrait{width:76px;border-radius:12px}.about-intro h1{font-size:35px}.about-intro>p:last-child{grid-column:1/-1}.about-note{grid-template-columns:76px 1fr;gap:17px;margin-top:28px}.practice-grid{grid-template-columns:1fr}.experience-list li{grid-template-columns:78px 1fr;gap:10px}.experience-list div{display:block}.experience-list span{display:block;text-align:left}.project-copy h2{font-size:38px}.metric-row dt{font-size:20px}.dock{gap:5px;padding:6px 8px 5px;border-radius:17px}.dock-item{width:43px;height:46px}.dock-icon{width:42px;height:42px;border-radius:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Full KellyOS application layer */
.menu-group{position:relative;display:flex;align-items:center}.menu-popover{position:absolute;top:28px;left:0;z-index:9999;width:238px;padding:5px;border:1px solid rgba(255,255,255,.68);border-radius:9px;background:rgba(242,246,246,.88);box-shadow:0 16px 42px rgba(5,28,39,.23),0 0 0 1px rgba(21,37,46,.1);backdrop-filter:saturate(1.4) blur(28px);-webkit-backdrop-filter:saturate(1.4) blur(28px)}.menu-popover button,.menu-popover a{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:28px;padding:4px 9px;border:0;border-radius:5px;background:transparent;color:#1b2a32;text-align:left;text-decoration:none;font-size:12px}.menu-popover button:hover,.menu-popover button:focus-visible,.menu-popover a:hover,.menu-popover a:focus-visible{background:#0878da;color:#fff;outline:none}.menu-popover hr{height:1px;margin:4px 6px;border:0;background:rgba(22,38,47,.13)}.menu-popover kbd{color:#70808a;font:11px var(--font)}.menu-popover button:hover kbd{color:rgba(255,255,255,.72)}.menu-trigger.is-open,.system-mark.is-open{background:rgba(17,43,54,.76);color:#fff}

.window--archive{top:7vh;left:15vw;width:min(930px,72vw);height:min(650px,73vh);z-index:1}.window--contact{top:17vh;left:42vw;width:min(560px,48vw);height:min(520px,62vh);z-index:1}.window--quicklook{top:12vh;left:32vw;width:min(670px,58vw);height:min(570px,68vh);z-index:1}.window.is-moving,.window.is-resizing{transition:none;user-select:none}.is-dragging,.is-resizing{cursor:grabbing}.is-dragging iframe,.is-resizing iframe{pointer-events:none}
.resize-handle{position:absolute;z-index:20;touch-action:none}.resize-handle--n{top:-4px;right:10px;left:10px;height:8px;cursor:n-resize}.resize-handle--s{right:10px;bottom:-4px;left:10px;height:8px;cursor:s-resize}.resize-handle--e{top:10px;right:-4px;bottom:10px;width:8px;cursor:e-resize}.resize-handle--w{top:10px;bottom:10px;left:-4px;width:8px;cursor:w-resize}.resize-handle--ne,.resize-handle--nw,.resize-handle--se,.resize-handle--sw{width:16px;height:16px}.resize-handle--ne{top:-5px;right:-5px;cursor:ne-resize}.resize-handle--nw{top:-5px;left:-5px;cursor:nw-resize}.resize-handle--se{right:-5px;bottom:-5px;cursor:se-resize}.resize-handle--sw{bottom:-5px;left:-5px;cursor:sw-resize}.resize-grip{position:absolute;right:2px;bottom:2px;z-index:21;width:18px;height:18px;border-radius:0 0 10px;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 3px,rgba(55,69,78,.27) 3px 4px,transparent 4px 6px);clip-path:polygon(100% 0,100% 100%,0 100%)}
.window__statusbar{flex:0 0 24px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-top:1px solid var(--line);background:rgba(242,244,244,.95);color:#707b82;font-size:10px}

.project-lockup{display:flex;gap:12px;align-items:flex-start}.project-lockup>img{flex:0 0 38px;width:38px;height:38px;margin-top:2px;border-radius:9px;box-shadow:0 0 0 1px rgba(22,34,43,.08)}
.app-glyph--archive{background:linear-gradient(145deg,#56bdf2,#147ad1)}.app-glyph--contact{background:linear-gradient(145deg,#66e87f,#13ae45)}.app-glyph--quicklook{background:linear-gradient(145deg,#727f89,#33414b)}

.archive-toolbar{flex:0 0 38px;display:flex;align-items:center;gap:7px;padding:0 10px;border-bottom:1px solid var(--line);background:rgba(245,247,247,.94)}.archive-toolbar>button{display:grid;place-items:center;width:25px;height:24px;padding:0;border:0;border-radius:5px;background:transparent;color:#51606a;font-size:17px}.archive-toolbar>button:not(:disabled):hover{background:rgba(62,80,91,.09)}.archive-toolbar__title{margin:0 auto 0 3px;color:#758087;font-size:10px}.archive-search input{width:150px;height:24px;padding:2px 9px 2px 25px;border:1px solid rgba(33,49,59,.15);border-radius:7px;background:rgba(255,255,255,.78) linear-gradient(90deg,transparent 0);font:11px var(--font)}.archive-search{position:relative}.archive-search:before{position:absolute;top:4px;left:8px;z-index:1;color:#7a858b;content:"⌕";font-size:13px;pointer-events:none}
.archive-layout{display:grid;grid-template-columns:155px 1fr;flex:1 1 auto;min-height:0}.archive-sidebar{padding:13px 8px;background:rgba(228,233,233,.86);border-right:1px solid var(--line);overflow:auto}.archive-sidebar p{margin:13px 9px 5px;color:#849098;font-size:9px;font-weight:700;text-transform:uppercase}.archive-sidebar p:first-child{margin-top:2px}.archive-sidebar button{display:flex;align-items:center;gap:8px;width:100%;height:28px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#40505a;text-align:left;font-size:11px}.archive-sidebar button span{width:15px;color:#2a8bd8;text-align:center}.archive-sidebar button:hover{background:rgba(58,80,92,.08)}.archive-sidebar button.is-active{background:rgba(58,80,92,.15);color:#17232b;font-weight:650}
.archive-browser{position:relative;overflow:auto;background:#fbfbfa}.archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:24px 18px;align-content:start;padding:25px 20px 38px}.archive-item{display:flex;flex-direction:column;align-items:center;min-width:0;padding:4px;border:0;border-radius:7px;background:transparent;color:#27343d;text-align:center;cursor:default}.archive-item[hidden]{display:none}.archive-thumbnail{display:grid;place-items:center;width:100%;aspect-ratio:4/3;margin-bottom:8px;overflow:hidden;border:1px solid rgba(23,38,47,.08);border-radius:6px;background:#e9edeb;box-shadow:0 3px 9px rgba(19,35,44,.08)}.archive-thumbnail img{width:100%;height:100%;object-fit:cover}.archive-thumbnail--lilac{background:#e9e3f5}.archive-thumbnail--mint{background:#dceee8}.archive-thumbnail--ink,.archive-thumbnail--dark{background:#161c22}.archive-thumbnail--blue,.archive-thumbnail--sky{background:#d9e9f4}.archive-thumbnail--cloud{background:#eef1f1}.archive-thumbnail--rose{background:#f2e2df}.archive-thumbnail--pixel img{image-rendering:pixelated;object-fit:contain;padding:9px}.archive-item__name{max-width:100%;padding:1px 4px;border-radius:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.archive-item__meta{margin-top:2px;color:#879096;font-size:9px}.archive-item:hover .archive-thumbnail{box-shadow:0 5px 14px rgba(19,35,44,.15)}.archive-item.is-selected .archive-thumbnail{box-shadow:0 0 0 3px rgba(28,126,223,.55),0 5px 14px rgba(19,35,44,.15)}.archive-item.is-selected .archive-item__name{background:#147bd3;color:#fff}.archive-item:focus-visible{outline:2px solid #147bd3;outline-offset:2px}.archive-empty{position:absolute;inset:45% 20px auto;margin:0;color:#7c878e;text-align:center}

.window__content--contact{background:linear-gradient(180deg,#f9fbfa,#f0f5f1)}.contact-panel{min-height:100%;padding:clamp(26px,4vw,46px);text-align:center}.contact-avatar{position:relative;width:74px;height:74px;margin:0 auto 16px}.contact-avatar img{width:100%;height:100%;object-fit:cover;border-radius:22px;box-shadow:0 9px 26px rgba(25,40,49,.16)}.contact-avatar span{position:absolute;right:-2px;bottom:-2px;width:16px;height:16px;border:3px solid #f7faf8;border-radius:50%;background:#25bd58}.contact-panel h2,.quicklook-copy h2,.contact-card h2{margin:0;font-weight:560;line-height:1;letter-spacing:-.04em}.contact-panel>h2{font-size:clamp(35px,5vw,48px)}.contact-panel>p:not(.kicker):not(.copy-status){max-width:390px;margin:18px auto 26px;color:#59666e}.message-bubble{max-width:390px;margin:0 auto 14px;padding:12px 14px;border:1px solid rgba(22,47,38,.09);border-radius:14px;background:rgba(255,255,255,.86);box-shadow:0 5px 16px rgba(30,55,43,.07);text-align:left}.message-bubble span{display:block;margin-bottom:4px;color:#89938f;font-size:10px}.message-bubble a{text-decoration:none;font-weight:650}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 14px;border:0;border-radius:8px;background:#1678db;color:#fff;text-decoration:none;font-size:12px;font-weight:650;box-shadow:0 2px 7px rgba(16,92,166,.22)}.copy-status{min-height:17px;margin:8px 0 0;color:#5f6c66;font-size:10px}.contact-card{display:flex;align-items:center;gap:18px;padding:22px;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(21,44,34,.08);text-align:left}.contact-card img{width:82px;height:82px;border-radius:17px;object-fit:cover}.contact-card h2{font-size:29px}.contact-card p{margin:5px 0 0;color:#69736f}.contact-list{margin:24px 0 0;border-top:1px solid var(--line);text-align:left}.contact-list div{display:grid;grid-template-columns:90px 1fr;padding:12px 4px;border-bottom:1px solid var(--line)}.contact-list dt{color:#7a8580;font-size:11px}.contact-list dd{margin:0;font-size:12px}.contact-list a{color:#096bc7;text-decoration:none}

.quicklook-content{display:grid;grid-template-rows:minmax(0,1fr) auto;flex:1 1 auto;min-height:0;background:#edf0ef}.quicklook-media{display:grid;place-items:center;min-height:0;padding:22px;overflow:hidden;background:linear-gradient(145deg,#e3e8e7,#f5f6f4)}.quicklook-media img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;box-shadow:0 14px 36px rgba(20,35,44,.16)}.quicklook-copy{position:relative;padding:18px 22px 20px;background:#fbfbfa;border-top:1px solid var(--line)}.quicklook-copy h2{font-size:28px}.quicklook-copy>p:not(.kicker){max-width:480px;margin:9px 120px 0 0;color:#5b6770;font-size:12px}.quicklook-copy .secondary-button{position:absolute;right:20px;bottom:20px}.secondary-button[hidden]{display:none!important}

.folder-tab{position:absolute;top:4px;left:5px;width:20px;height:7px;border-radius:5px 5px 0 0;background:rgba(255,255,255,.32)}.dock-icon--archive{position:relative}.dock-icon--contact{position:relative;font-size:13px;letter-spacing:1px}.bubble-tail{position:absolute;right:6px;bottom:5px;width:11px;height:11px;background:#1aad43;transform:rotate(20deg)}

@media(max-width:740px){.menu-bar__left{gap:0}.menu-popover{position:fixed;top:29px;left:7px;width:min(260px,calc(100vw - 14px))}.window{min-width:270px;min-height:230px}.window--archive,.window--contact,.window--quicklook{top:5vh;left:5vw;width:90vw;height:calc(100dvh - 138px)}.resize-handle:not(.resize-handle--se){display:none}.resize-handle--se{right:-2px;bottom:-2px;width:34px;height:34px}.resize-grip{width:27px;height:27px}.archive-layout{grid-template-columns:1fr}.archive-sidebar{display:flex;gap:4px;padding:7px;border-right:0;border-bottom:1px solid var(--line);overflow-x:auto}.archive-sidebar p{display:none}.archive-sidebar button{flex:0 0 auto;width:auto;padding:0 9px}.archive-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:20px 12px;padding:18px 12px 34px}.archive-search input{width:95px}.archive-toolbar__title{display:none}.window__statusbar span:last-child{display:none}.quicklook-copy>p:not(.kicker){margin-right:0}.quicklook-copy .secondary-button{position:static;margin-top:13px}.project-lockup>img{width:32px;height:32px;flex-basis:32px}.contact-panel{padding:24px 20px}.contact-card{padding:16px}.contact-card img{width:68px;height:68px}.contact-card h2{font-size:25px}}
@media(max-width:740px){.archive-sidebar{scrollbar-width:none}.archive-sidebar::-webkit-scrollbar{display:none}}

@media(max-width:440px){.focused-app{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-bar__right time{font-size:10px}.menu-trigger{font-size:11px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.archive-item__meta{display:none}.quicklook-content{grid-template-rows:minmax(0,55%) 1fr}.dock-tooltip{display:none}}

.no-js .window.is-closed{display:flex}.no-js .window--quicklook{display:none}.no-js .archive-layout{min-height:600px}.no-js .archive-sidebar{display:none}.no-js .archive-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.no-js .window__content{overflow:visible}.no-js .window{max-height:none}

/* Quiet note-window direction */
.window--note{background:#fff;border-radius:14px}.window--note .window__titlebar--tabs{flex:0 0 52px;padding:0 13px;gap:14px;background:#fff;border-bottom:0}.window--note .traffic-lights{flex:0 0 auto;gap:9px}.window--note .traffic-light{width:13px;height:13px}.document-tabs{display:flex;flex:1 1 auto;align-items:center;gap:3px;min-width:0;overflow-x:auto;scrollbar-width:none}.document-tabs::-webkit-scrollbar{display:none}.document-tabs button{flex:0 0 auto;height:28px;padding:0 13px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8a8f96;font-size:12px;white-space:nowrap}.document-tabs button[aria-selected=true]{border-color:#d8dbde;background:#fff;color:#1f2428;box-shadow:0 1px 2px rgba(16,25,32,.04)}.document-tabs button[aria-selected=true]::after{margin-left:8px;color:#a3a8ad;content:"×"}.window-tool{flex:0 0 28px;width:28px;height:28px;margin-left:auto;padding:0;border:0;border-radius:6px;background:transparent;color:#8a9198;font-size:15px}.window-tool--add{margin-left:0}.window-tool:disabled{opacity:1;cursor:default}.note-surface{background:#fff}.note-document{max-width:760px;min-height:100%;padding:18px 22px 52px;color:#171a1d;font-size:13px;line-height:1.55}.note-document p{margin:0 0 15px}.note-document a{color:inherit;text-decoration-color:#b7bdc2;text-underline-offset:2px}.note-copy{height:28px;padding:0 10px;border:1px solid #d8dcdf;border-radius:6px;background:#fff;color:#373e44;font-size:11px}.note-copy:hover{background:#f4f5f5}.note-status{flex:0 0 28px;display:flex;align-items:center;gap:7px;padding:0 13px;background:#fff;color:#969ca3;font:10px/1 var(--mono)}.note-status button{width:24px;height:24px;margin-left:auto;padding:0;border:0;background:transparent;color:#8b9299;font-size:12px}.note-status button:disabled{opacity:1}.window--note .resize-grip{opacity:.42}

/* Final craft pass */
:root{
    --ink:#17191c;
    --muted:#747b83;
    --line:rgba(20,27,33,.105);
    --font:"Inter","SF Pro Text","Segoe UI Variable Text","Segoe UI",Helvetica,Arial,sans-serif;
    --mono:"SFMono-Regular","Cascadia Mono","Roboto Mono",Consolas,monospace;
    --ease-out:cubic-bezier(.22,1,.36,1);
    --ease-spring:cubic-bezier(.2,.88,.24,1.08);
    --shadow-rest:0 18px 48px rgba(6,31,45,.16),0 4px 14px rgba(6,31,45,.10),0 0 0 1px rgba(12,31,41,.10);
    --shadow-focus:0 30px 84px rgba(5,27,41,.22),0 9px 28px rgba(5,27,41,.14),0 0 0 1px rgba(12,31,41,.12);
}

html{font-synthesis:none;text-rendering:optimizeLegibility}
body{font-family:var(--font);font-size:13px;letter-spacing:-.006em}

.os-shell{background:#168fc6 url("./kellyos-wallpaper.png") center center/cover no-repeat}
.os-shell:before,.os-shell:after{display:none}

.menu-bar{height:31px;padding:0 13px;border-bottom:1px solid rgba(255,255,255,.34);background:rgba(235,246,248,.74);box-shadow:0 1px 0 rgba(25,58,70,.07),0 3px 16px rgba(16,53,66,.065);color:#17313a;font-size:11.5px;letter-spacing:-.012em;backdrop-filter:saturate(1.35) blur(30px);-webkit-backdrop-filter:saturate(1.35) blur(30px)}
.desktop{inset:31px 0 0}
.desktop-selection{position:absolute;z-index:0;visibility:hidden;opacity:0;border:1px solid rgba(0,107,214,.72);border-radius:3px;background:rgba(57,147,237,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);pointer-events:none;transition:opacity 130ms ease}
.desktop-selection.is-active{visibility:visible;opacity:1;transition:none}
.desktop-selection.is-clearing{visibility:visible;opacity:0}
.desktop.is-selecting{user-select:none}
.system-mark,.menu-trigger{border-radius:6px;transition:background-color 140ms ease,color 140ms ease,transform 140ms ease}
.system-mark:active,.menu-trigger:active{transform:scale(.96)}
.focused-app{font-weight:650;letter-spacing:-.018em}
.menu-bar__right{font-size:10.5px;font-weight:580}
.status-pip{width:6px;height:6px;background:#26b95b;box-shadow:0 0 0 2px rgba(255,255,255,.42),0 1px 4px rgba(17,87,47,.28)}

.menu-popover{top:29px;padding:6px;border:1px solid rgba(255,255,255,.72);border-radius:11px;background:rgba(246,249,249,.9);box-shadow:0 22px 58px rgba(7,30,40,.2),0 6px 16px rgba(7,30,40,.09),0 0 0 1px rgba(21,39,48,.08);transform-origin:20px 0;backdrop-filter:saturate(1.35) blur(32px);-webkit-backdrop-filter:saturate(1.35) blur(32px)}
.menu-popover:not([hidden]){animation:menu-in 170ms var(--ease-out)}
.menu-popover button,.menu-popover a{min-height:29px;border-radius:6px;font-size:11.5px;transition:background-color 100ms ease,color 100ms ease}

.window{border-radius:15px;background:#fff;box-shadow:var(--shadow-rest);filter:none;will-change:transform,opacity;transition:box-shadow 280ms var(--ease-out),filter 220ms ease,opacity 260ms ease,transform 330ms var(--ease-out),border-radius 220ms ease}
.window.is-focused{box-shadow:var(--shadow-focus)}
.window:not(.is-focused){filter:saturate(.96) brightness(.99);box-shadow:0 16px 42px rgba(7,31,44,.14),0 4px 12px rgba(7,31,44,.09),0 0 0 1px rgba(12,31,41,.09)}
.window.is-opening{animation:window-in 280ms var(--ease-out)}
.window.is-closing{opacity:0;filter:blur(2px) saturate(.9);transform:translateY(10px) scale(.965);pointer-events:none}
.window.is-minimized{opacity:0;filter:blur(1.5px);transform:translateY(9px) scale(.985);animation:window-minimize 220ms cubic-bezier(.4,0,.7,.2) both;pointer-events:none}
.window.is-maximized{border-radius:12px!important}
.window.is-moving,.window.is-resizing{box-shadow:0 38px 100px rgba(5,27,41,.27),0 12px 30px rgba(5,27,41,.16),0 0 0 1px rgba(12,31,41,.13);transition:none}

.window--note{border-radius:15px;background:#fff}
.window--note .window__titlebar--tabs{flex-basis:53px;gap:13px;padding:0 13px;background:linear-gradient(180deg,#fff 0%,#fefefe 100%);border-bottom:0}
.window--note .traffic-lights{gap:9px}
.window--note .traffic-light{width:13px;height:13px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.075),0 1px 1px rgba(0,0,0,.035);transition:filter 130ms ease,transform 130ms var(--ease-spring),box-shadow 130ms ease}
.window--note .traffic-light:hover{filter:saturate(1.08) brightness(.98);transform:scale(1.08)}
.window--note .traffic-light:active{transform:scale(.9)}
.window--note .traffic-light--close{background:linear-gradient(180deg,#ff6b63,#ff5a52)}
.window--note .traffic-light--minimize{background:linear-gradient(180deg,#ffc928,#ffbd16)}
.window--note .traffic-light--zoom{background:linear-gradient(180deg,#35cc61,#26bd50)}
.window--note .traffic-light::before,.window--note .traffic-light::after{content:"";position:absolute;left:50%;top:50%;z-index:1;opacity:0;pointer-events:none;transition:opacity 90ms ease}
.window--note .traffic-lights:is(:hover,:focus-within) .traffic-light::before,.window--note .traffic-lights:is(:hover,:focus-within) .traffic-light::after{opacity:1}
.window--note .traffic-light::before{inset:0;width:auto;height:auto;background-position:50% 50%;background-repeat:no-repeat;background-size:13px 13px;transform:none}
.window--note .traffic-light::after{display:none}
.window--note .traffic-light--close::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='m4.25 4.25 4.5 4.5m0-4.5-4.5 4.5' fill='none' stroke='%2395201c' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E")}
.window--note .traffic-light--minimize::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M3.75 6.5h5.5' fill='none' stroke='%23826500' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E")}
.window--note .traffic-light--zoom::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M4 6V4h2M9 7v2H7M4.15 4.15 6.25 6.25M8.85 8.85 6.75 6.75' fill='none' stroke='%2307772c' stroke-width='.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

.document-tabs{gap:4px;mask-image:linear-gradient(90deg,#000 calc(100% - 15px),transparent)}
.document-tabs button{height:29px;padding:0 13px;border-color:transparent;border-radius:7px;color:#858b92;font-size:12px;font-weight:485;letter-spacing:-.012em;transition:color 150ms ease,background-color 150ms ease,border-color 150ms ease,box-shadow 180ms ease,transform 140ms var(--ease-spring)}
.document-tabs button:hover{background:#f6f7f7;color:#555c63}
.document-tabs button:active{transform:scale(.975)}
.document-tabs button[aria-selected=true],.resume-navigation [role="tab"][aria-selected="true"]{border-color:rgba(32,40,47,.14);background:linear-gradient(180deg,#fff,#fcfcfc);color:#202428;font-weight:540;box-shadow:0 1px 2px rgba(14,22,29,.055),inset 0 1px 0 rgba(255,255,255,.85)}
.document-tabs button[aria-selected=true]::after{margin-left:9px;color:#a5abb0;font-weight:400;transition:color 140ms ease}
.document-tabs button[aria-selected=true]:hover::after{color:#737a80}
.window-tool{border-radius:7px;color:#8b9298;font-size:14px;font-weight:430;transition:background-color 140ms ease,color 140ms ease,transform 140ms var(--ease-spring)}
.window-tool:hover{background:#f4f5f5;color:#52595f}
.window-tool:active{transform:scale(.92)}

.note-surface{background:#fff;scrollbar-color:rgba(76,84,91,.25) transparent;scrollbar-width:thin}
.note-surface::-webkit-scrollbar{width:11px;height:11px}
.note-surface::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:rgba(73,81,88,.24);background-clip:padding-box}
.note-surface::-webkit-scrollbar-thumb:hover{background:rgba(73,81,88,.38);background-clip:padding-box}
.note-document{max-width:770px;padding:22px 23px 56px;color:#17191c;font-size:13.5px;font-weight:410;line-height:1.58;letter-spacing:-.009em}
.note-document p{margin-bottom:16px}
.note-document a{text-decoration-thickness:1px;text-decoration-color:#b8bdc1;text-underline-offset:3px;transition:color 140ms ease,text-decoration-color 140ms ease}
.note-document a:hover{color:#0068c9;text-decoration-color:#70a9dd}
.note-copy{height:29px;padding:0 11px;border-color:rgba(28,37,44,.15);border-radius:7px;background:linear-gradient(180deg,#fff,#fafafa);box-shadow:0 1px 2px rgba(14,22,29,.045);font-size:11px;font-weight:560;transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,transform 140ms var(--ease-spring)}
.note-copy:hover{border-color:rgba(28,37,44,.2);background:#f7f8f8;box-shadow:0 2px 5px rgba(14,22,29,.07)}
.note-copy:active{transform:scale(.97)}
.contact-email-copy{padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:underline;text-decoration-color:#b7bdc2;text-underline-offset:2px;cursor:pointer;user-select:text}
.copy-cursor-badge{position:fixed;top:0;left:0;z-index:10000;max-width:calc(100vw - 16px);padding:6px 10px;border:1px solid rgba(255,255,255,.65);border-radius:8px;background:rgba(249,251,251,.86);color:#4f5961;box-shadow:0 5px 16px rgba(8,31,41,.12),0 1px 3px rgba(8,31,41,.06);backdrop-filter:blur(16px) saturate(1.25);-webkit-backdrop-filter:blur(16px) saturate(1.25);font:500 12px/1.45 var(--font);pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity 200ms ease,transform 200ms ease}
.copy-cursor-badge.is-visible{opacity:1;transform:translateY(0)}
.copy-cursor-badge.is-error{color:#a44540}
html[data-theme="dark"] .copy-cursor-badge{border-color:rgba(255,255,255,.12);background:rgba(35,39,44,.88);color:#e6e9ec;box-shadow:0 5px 16px rgba(0,0,0,.3),0 1px 3px rgba(0,0,0,.18)}
html[data-theme="dark"] .copy-cursor-badge.is-error{color:#efaaa4}
html[data-glass="off"] .copy-cursor-badge{background:#f9fbfb;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme="dark"][data-glass="off"] .copy-cursor-badge{background:#23272c}
@media(prefers-reduced-motion:reduce){.copy-cursor-badge{transition:none;transform:none}}
.window--contact .window-title-label,.window--about .window-title-label,.window--archive .window-title-label,.window--settings .window-title-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0;pointer-events:none}
.archive-project-list{display:grid;gap:12px;margin:22px 0 0;padding:0;list-style:none}
.about-sections{padding:10px 23px 32px}
/* Keep the inset hover background inside the section's animation clipping area. */
.about-section{max-width:740px;margin-inline:-8px;padding-inline:8px}
.about-section > summary{display:flex;width:fit-content;padding:6px 0;list-style:none;color:#565d63;font-size:13px;font-weight:540;line-height:18px;cursor:pointer;user-select:none}
.about-section > summary::-webkit-details-marker{display:none}
.about-section__control{display:inline-flex;align-items:center;gap:6px;margin-left:-8px;padding:6px 8px;border-radius:6px;transition:background-color 160ms ease,color 160ms ease}
.about-section__chevron{display:block;flex:0 0 12px;opacity:.7;transform:rotate(0deg);transition:transform 220ms cubic-bezier(.2,.7,.2,1)}
.about-section[open]:not(.is-collapsing) .about-section__chevron{transform:rotate(90deg)}
@media(prefers-reduced-motion:reduce){.about-section__control,.about-section__chevron{transition:none}}
.about-section > summary:hover{color:#202428}
.about-section > summary:hover .about-section__control{background:rgba(255,255,255,.55)}
.about-section > summary:active .about-section__control{background:rgba(32,40,47,.06)}
.about-section > summary:focus-visible{outline-offset:2px;border-radius:4px}
.about-section .note-document{min-height:0;padding:6px 0 20px}
.about-section .note-document p:last-child{margin-bottom:0}
html[data-theme="dark"] .about-section > summary{color:#aeb4ba}
html[data-theme="dark"] .about-section > summary:hover{color:#f1f3f4}
html[data-theme="dark"] .about-section > summary:hover .about-section__control{background:rgba(255,255,255,.08)}
html[data-theme="dark"] .about-section > summary:active .about-section__control{background:rgba(255,255,255,.12)}
@media(max-width:740px){.about-sections{padding:8px 19px 28px}}
.copy-status{color:#7d858b;font-size:10.5px}
.note-status{flex-basis:29px;gap:7px;padding:0 13px;border-top:1px solid rgba(20,27,33,.035);background:linear-gradient(180deg,#fff,#fefefe);color:#969da4;font:9.5px/1 var(--mono);letter-spacing:-.02em}
.note-status button{border-radius:6px;transition:background-color 140ms ease,color 140ms ease,transform 140ms var(--ease-spring)}
.note-status button:hover{background:#f3f4f4;color:#5c646a}
.resize-handle--se{right:-4px;bottom:-4px;width:30px;height:30px}
.resize-grip{right:3px;bottom:3px;width:24px;height:24px;border-radius:0 0 9px 0;clip-path:none;opacity:.58!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 20.5 20.5 7.5M13.5 20.5l7-7' transform='translate(-.45,-.45)' fill='none' stroke='%23fff' stroke-opacity='.9' stroke-width='2.15' stroke-linecap='round'/%3E%3Cpath d='M7.5 20.5 20.5 7.5M13.5 20.5l7-7' fill='none' stroke='%23889299' stroke-opacity='.54' stroke-width='1.45' stroke-linecap='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;filter:drop-shadow(0 1px 0 rgba(255,255,255,.45));transform-origin:100% 100%;transition:opacity 160ms ease,transform 160ms var(--ease-spring),filter 160ms ease}
.window:hover .resize-grip,.window.is-focused .resize-grip{opacity:.72!important}
.window.is-resizing .resize-grip{opacity:1!important;filter:drop-shadow(0 1px 0 rgba(255,255,255,.55));transform:scale(1.08)}

.dock{gap:7px;padding:8px 10px 7px;border:1px solid rgba(255,255,255,.5);border-radius:21px;background:rgba(231,241,241,.58);box-shadow:0 18px 48px rgba(5,35,45,.18),0 5px 15px rgba(5,35,45,.10),inset 0 0 0 1px rgba(22,48,57,.065);backdrop-filter:saturate(1.25) blur(30px);-webkit-backdrop-filter:saturate(1.25) blur(30px)}
.dock-icon{border-radius:8px;box-shadow:0 7px 16px rgba(12,38,48,.2),0 2px 5px rgba(12,38,48,.12),inset 0 0 0 1px rgba(255,255,255,.32);transition:transform 230ms var(--ease-spring),filter 180ms ease,box-shadow 180ms ease}
.dock-item:not(:disabled):hover .dock-icon{filter:saturate(1.04) brightness(1.02);transform:translateY(-8px) scale(1.09);box-shadow:0 12px 24px rgba(12,38,48,.22),0 4px 8px rgba(12,38,48,.12),inset 0 0 0 1px rgba(255,255,255,.36)}
.dock-item:not(:disabled):active .dock-icon{transform:translateY(-3px) scale(.94)}
.dock-tooltip{padding:6px 9px;border-radius:8px;background:rgba(249,251,251,.92);box-shadow:0 9px 28px rgba(8,31,41,.16),0 2px 6px rgba(8,31,41,.08);font-size:10.5px;transition:opacity 160ms ease,transform 190ms var(--ease-out)}
.dock-indicator{width:4px;height:4px;background:rgba(13,36,44,.72);transition:transform 180ms var(--ease-spring),opacity 180ms ease}
.dock-item.is-minimized .dock-indicator{opacity:.42;transform:translateX(-50%) scale(.8)}

:focus-visible{outline:2px solid rgba(0,105,225,.72);outline-offset:2px}
.traffic-light:focus-visible{outline-width:2px;outline-offset:3px}

@keyframes window-in{from{opacity:0;filter:blur(3px);transform:translateY(14px) scale(.975)}to{opacity:1;filter:none;transform:none}}
@keyframes window-minimize{from{opacity:1;filter:none;transform:none}to{opacity:0;filter:blur(1.5px);transform:translateY(9px) scale(.985)}}
@keyframes menu-in{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}

@media(max-width:740px){
    .window--note .window__titlebar--tabs{gap:10px;padding:0 11px}
    .window--note .traffic-lights{gap:8px}
    .window--note .traffic-light{width:13px;height:13px}
    .document-tabs button{padding:0 11px;font-size:11.5px}
    .window-tool{flex-basis:26px;width:26px}
    .note-document{padding:20px 19px 50px;font-size:13.5px;line-height:1.58}
    .note-status{padding:0 11px}
    .resize-handle--se{right:-3px;bottom:-3px;width:36px;height:36px}
    .resize-grip{width:27px;height:27px;background-size:22px 22px}
    .dock{padding:7px 9px 6px;border-radius:19px}
}

@media(prefers-reduced-motion:reduce){
    .window,.window.is-opening,.menu-popover:not([hidden]),.note-document:not([hidden]),.dock-icon,.document-tabs button{animation:none!important;transition-duration:.01ms!important}
}

/* Traditional, slightly more generous reading scale. */
:root{--font:"Helvetica Neue",Helvetica,Arial,"Segoe UI",sans-serif}
body{font-size:14px;font-weight:500;letter-spacing:0}
.menu-bar{font-size:12px;letter-spacing:0}
.menu-bar__right{font-size:11px}
.menu-bar{gap:8px}
.menu-bar__left{min-width:0}
.menu-bar__left .menu-group{flex-shrink:0}
.focused-app{min-width:0}
.focused-app .menu-bar__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-bar__right{flex-shrink:0;white-space:nowrap}
.system-mark{display:inline-flex;align-items:center;justify-content:center;font-family:var(--font);line-height:1;letter-spacing:0;text-align:center}
.system-mark__glyph{display:block}
.focused-app{margin-left:10px}
.menu-bar__label{display:block;transform:translateY(1px)}
.menu-popover button,.menu-popover a{font-size:12px}
.window-title-label{display:inline-flex;flex:0 0 auto;align-items:center;height:22px;margin-right:12px;margin-left:auto;padding-left:12px;color:#565d63;font-size:11.5px;font-weight:650;line-height:1;letter-spacing:-.01em}
.document-tabs button{display:inline-flex;align-items:center;justify-content:center;font-size:12.5px;font-weight:500;letter-spacing:0}
.document-tabs button::after,.document-tabs button[aria-selected=true]::after{content:none}
.document-tab-close{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:0;height:1.35em;margin-left:0;overflow:hidden;border-radius:50%;opacity:0;font-size:1.08em;font-weight:400;line-height:1;transform:translateX(-.24em);transition:width 190ms var(--ease-out),margin-left 190ms var(--ease-out),opacity 120ms ease,transform 190ms var(--ease-out),color 140ms ease,background-color 140ms ease}
.document-tabs button[aria-selected=true] .document-tab-close{width:1.35em;margin-left:.62em;opacity:1;transform:translateX(0)}
.document-tabs button[aria-selected=true] .document-tab-close:hover{background:#e8eaec;color:#555c62}
.note-document{font-size:14.5px;font-weight:500;line-height:1.6;letter-spacing:0}
.note-document[contenteditable=true]{cursor:text;caret-color:#1678db;outline:0}
.note-document[contenteditable=true]:focus{outline:0}
.note-document[contenteditable=true]::selection,.note-document[contenteditable=true] *::selection{background:rgba(39,132,221,.22)}
.note-document[contenteditable=true] a.about-product-link{cursor:pointer;touch-action:manipulation}
.note-copy{font-size:12px}
.copy-status{font-size:11px}
.note-status{font-size:10px}

@media(max-width:740px){
    .document-tabs button{font-size:12px}
    .note-document{font-size:14.5px}
}

/* Pointer-proximity dock magnification. */
.dock-item .dock-icon,.dock-item:not(:disabled):hover .dock-icon{transform-origin:50% 100%;transform:translateY(var(--dock-lift,0px)) scale(var(--dock-scale,1))}
.dock.is-magnifying .dock-icon{transition-duration:95ms,180ms,180ms}
.dock-item:active .dock-icon{transform:translateY(-3px) scale(.94)}

/* Settings and appearance themes. */
.os-shell::before{
    display:block;
    position:absolute;
    inset:0;
    z-index:-1;
    width:auto;
    height:auto;
    border-radius:0;
    background:#07111f url("./kellyos-wallpaper-dark.png") center center/cover no-repeat;
    box-shadow:none;
    content:"";
    filter:none;
    opacity:0;
    pointer-events:none;
    transform:none;
    transition:opacity 300ms ease;
}
.os-shell::after{display:none}
html[data-theme="dark"] .os-shell::before{opacity:1}
/* Each wallpaper follows the selected interface colour scheme. */
:root{--wallpaper-orange:url('background-gradient-orange-light.png?v=22c641bb');--wallpaper-landscape:url('kellyos-wallpaper.png');--wallpaper-mesh:url('background-mesh-light.webp?v=2b5e2c9f')}
html[data-theme="dark"]{--wallpaper-orange:url('background-gradient-orange.png');--wallpaper-landscape:url('kellyos-wallpaper-dark.png');--wallpaper-mesh:url('background-mesh-dark.webp?v=93293e0d')}
html[data-wallpaper] .os-shell{background:#30232b var(--wallpaper-orange) center/cover no-repeat}
html[data-wallpaper="landscape"] .os-shell{background-image:var(--wallpaper-landscape)}
html[data-wallpaper="mesh"] .os-shell{background-image:var(--wallpaper-mesh)}
html[data-wallpaper] .os-shell::before{display:none}
@property --wallpaper-fade-edge{syntax:'<percentage>';inherits:false;initial-value:0%}
html[data-wallpaper] .os-shell.is-wallpaper-transitioning::before{
    display:block;
    background:var(--previous-wallpaper) center/cover no-repeat;
    opacity:1;
    transition:none;
    mask-image:linear-gradient(var(--wallpaper-fade-direction,to top right),transparent calc(var(--wallpaper-fade-edge) - 30%),#000 var(--wallpaper-fade-edge));
    -webkit-mask-image:linear-gradient(var(--wallpaper-fade-direction,to top right),transparent calc(var(--wallpaper-fade-edge) - 30%),#000 var(--wallpaper-fade-edge));
    animation:wallpaper-diagonal-fade 900ms cubic-bezier(.4,0,.2,1) both;
}
@keyframes wallpaper-diagonal-fade{from{--wallpaper-fade-edge:0%}to{--wallpaper-fade-edge:130%}}
@media(prefers-reduced-motion:reduce){html[data-wallpaper] .os-shell.is-wallpaper-transitioning::before{display:none}}

.window--settings{top:20vh;left:48vw;width:min(440px,40vw);height:min(590px,75vh)}
.settings-surface{display:flex;align-items:stretch;padding:16px;background:#f4f5f6;overflow:auto}
.settings-content{padding:20px 23px 26px}
.settings-panel{width:100%;--settings-line:rgba(28,37,44,.09);--settings-fill:rgba(255,255,255,.35);--settings-selected:rgba(255,255,255,.78);--settings-hover:rgba(255,255,255,.6);--settings-ink:#252a2e;--settings-muted:#747b82;color:var(--settings-ink)}
.settings-description{margin:0 0 23px;color:var(--settings-muted);font-size:14px;line-height:1.6}
.settings-appearance{margin:0;padding:0;border:0;min-width:0}
.settings-appearance legend,.settings-finish h2{margin:0 0 9px;padding:0;color:var(--settings-muted);font-size:12px;font-weight:500;line-height:18px}
.theme-options{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--settings-line);border-radius:10px;background:var(--settings-fill)}
.theme-option{display:flex;align-items:center;gap:11px;min-height:68px;padding:12px;cursor:pointer;transition:background-color 160ms ease}
.theme-options .theme-option+.theme-option{border-top:1px solid var(--settings-line)}
.theme-option:hover{background:var(--settings-hover)}
.theme-option:has(input:checked){background:var(--settings-selected)}
.theme-option:has(input:focus-visible){outline:2px solid #1677e8;outline-offset:-3px;border-radius:8px}
.theme-option input{flex:0 0 14px;margin:0;width:14px;height:14px;accent-color:#1677e8;cursor:pointer}
.settings-option-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.settings-option-copy strong{font-size:13px;font-weight:500;line-height:18px}
.settings-option-copy>span{font-size:11.5px;color:var(--settings-muted);line-height:1.45}
.settings-preview{position:relative;flex:0 0 58px;height:40px;overflow:hidden;border-radius:6px;background:url('kellyos-wallpaper.png') center/cover;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.settings-preview--dark{background-image:url('kellyos-wallpaper-dark.png')}
html[data-wallpaper="orange"] .settings-preview--light{background-image:url('background-gradient-orange-light.png?v=22c641bb')}
html[data-wallpaper="orange"] .settings-preview--dark{background-image:url('background-gradient-orange.png')}
html[data-wallpaper="mesh"] .settings-preview--light{background-image:url('background-mesh-light.webp?v=2b5e2c9f')}
html[data-wallpaper="mesh"] .settings-preview--dark{background-image:url('background-mesh-dark.webp?v=93293e0d')}
.settings-preview::after{content:'';position:absolute;inset:10px 8px 6px 16px;border:1px solid rgba(255,255,255,.65);border-radius:3px;background:rgba(255,255,255,.7);box-shadow:0 2px 4px rgba(0,0,0,.12)}
.settings-preview--dark::after{border-color:rgba(255,255,255,.2);background:rgba(28,33,40,.85)}
.settings-finish{margin-top:22px}
.settings-wallpaper{min-width:0;margin:22px 0 0;padding:0;border:0}
.settings-wallpaper legend{margin:0 0 9px;padding:0;color:var(--settings-muted);font-size:12px;font-weight:500;line-height:18px}
.wallpaper-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.wallpaper-option{min-width:0;overflow:hidden;padding:5px;border:1px solid var(--settings-line);border-radius:9px;background:var(--settings-fill);cursor:pointer;transition:background-color 160ms ease,border-color 160ms ease}
.wallpaper-option:hover{background:var(--settings-hover)}
.wallpaper-option:has(input:checked){border-color:#348df4;background:var(--settings-selected)}
.wallpaper-option:has(input:focus-visible){outline:2px solid #348df4;outline-offset:2px}
.wallpaper-swatch{display:block;height:60px;border-radius:5px;background-position:center;background-size:cover}
.wallpaper-swatch--orange{background-image:var(--wallpaper-orange)}
.wallpaper-swatch--landscape{background-image:var(--wallpaper-landscape)}
.wallpaper-swatch--mesh{background-image:var(--wallpaper-mesh)}
.wallpaper-option-label{display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 0 4px;font-size:11px;line-height:16px}
.wallpaper-option input{flex:0 0 14px;width:14px;height:14px;margin:0;accent-color:#2783e9;cursor:pointer}
html[data-theme="dark"] .wallpaper-option input{accent-color:#348df4}
.settings-glass{border:1px solid var(--settings-line);border-radius:10px;background:var(--settings-fill)}
.settings-checkbox{position:relative;display:block;flex:0 0 18px;width:18px;height:18px;--checkbox-fill:#fff;--checkbox-border:#b9c1c9;--checkbox-blue:#2783e9}
.settings-checkbox input{position:absolute;inset:0;width:18px;height:18px;margin:0;opacity:0;z-index:1;cursor:pointer}
.settings-checkbox-mark{display:block;width:18px;height:18px;border:1px solid var(--checkbox-border);border-radius:5px;background:var(--checkbox-fill);pointer-events:none;transition:background-color 260ms ease,border-color 260ms ease}
.settings-checkbox-mark path{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;opacity:0;transform-origin:50% 50%;transform:scale(.8);transition:stroke-dashoffset 300ms cubic-bezier(.2,.7,.2,1),opacity 200ms ease,transform 300ms cubic-bezier(.2,.7,.2,1)}
.settings-checkbox input:checked+.settings-checkbox-mark{background:var(--checkbox-blue);border-color:var(--checkbox-blue)}
.settings-checkbox input:checked+.settings-checkbox-mark path{stroke-dashoffset:0;opacity:1;transform:scale(1)}
html[data-theme="dark"] .settings-checkbox{--checkbox-fill:#30363d;--checkbox-border:#6d7680;--checkbox-blue:#348df4}
@media(forced-colors:active){.settings-checkbox input{opacity:1;appearance:auto}.settings-checkbox-mark{visibility:hidden}}
.settings-glass-preview{position:relative;flex:0 0 38px;height:34px;margin:0 10px;background:linear-gradient(140deg,#b4d7da,#8ca6bc);border-radius:5px;transform:translate(-3px,-3px)}
.settings-glass-preview::after{content:'';position:absolute;inset:6px -6px -6px 6px;border:1px solid rgba(255,255,255,.75);border-radius:5px;background:rgba(255,255,255,.5);backdrop-filter:blur(3px);transition:background-color 160ms ease}
.settings-glass:not(:has(input:checked)) .settings-glass-preview::after{background:#f1f3f4;backdrop-filter:none}
.theme-switch{position:relative;flex:0 0 46px;width:46px;height:27px;padding:0;border:0;border-radius:999px;background:#c7cbd0;box-shadow:inset 0 0 0 1px rgba(21,28,34,.08);cursor:pointer;transition:background-color 180ms ease,box-shadow 180ms ease,transform 140ms var(--ease-spring)}
.theme-switch:hover{background:#b9bec4}
.theme-switch:active{transform:scale(.96)}
.theme-switch[aria-checked="true"]{background:#1f7aeb;box-shadow:inset 0 0 0 1px rgba(5,72,155,.20),0 1px 4px rgba(20,102,202,.18)}
.theme-switch__thumb{position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(12,22,31,.25),0 0 0 1px rgba(12,22,31,.05);transition:transform 210ms var(--ease-spring)}
.theme-switch[aria-checked="true"] .theme-switch__thumb{transform:translateX(19px)}
.dock-icon--settings{background:linear-gradient(145deg,#727880,#343a40);color:#f7f8f8}
.dock-icon--settings svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}

.window--resume{top:11vh;left:17vw;width:min(670px,52vw);height:min(510px,62vh)}
.dock-icon--resume{background:linear-gradient(145deg,#fff,#dce2e5);color:#384149;text-shadow:0 1px 0 rgba(255,255,255,.8)}

html[data-theme="dark"]{
    color-scheme:dark;
    --ink:#eceff1;
    --muted:#9da4aa;
    --line:rgba(255,255,255,.095);
    --surface:#1d2024;
    --shadow-rest:0 18px 54px rgba(0,0,0,.42),0 4px 16px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.08);
    --shadow-focus:0 32px 94px rgba(0,0,0,.54),0 10px 30px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.11);
}
html[data-theme="dark"] body{background:#07111f;color:#eceff1}
html[data-theme="dark"] .menu-bar{border-bottom-color:rgba(255,255,255,.09);background:rgba(12,20,29,.69);box-shadow:0 1px 0 rgba(0,0,0,.25),0 4px 18px rgba(0,0,0,.16);color:#eef1f3}
html[data-theme="dark"] .menu-trigger:hover,
html[data-theme="dark"] .menu-trigger:focus-visible,
html[data-theme="dark"] .system-mark:hover{background:rgba(255,255,255,.11)}
html[data-theme="dark"] .status-pip{box-shadow:0 0 0 2px rgba(10,18,25,.72),0 1px 5px rgba(0,0,0,.35)}
html[data-theme="dark"] .menu-popover{border-color:rgba(255,255,255,.12);background:rgba(31,34,39,.91);box-shadow:0 22px 64px rgba(0,0,0,.5),0 6px 18px rgba(0,0,0,.24),0 0 0 1px rgba(0,0,0,.28);color:#eef0f2}
html[data-theme="dark"] .menu-popover button,
html[data-theme="dark"] .menu-popover a{color:#eef0f2}
html[data-theme="dark"] .menu-popover button:hover,
html[data-theme="dark"] .menu-popover a:hover,
html[data-theme="dark"] .menu-popover button:focus-visible,
html[data-theme="dark"] .menu-popover a:focus-visible{background:#176ccc;color:#fff}
html[data-theme="dark"] .menu-popover hr{border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .menu-popover kbd{color:#a8afb5}

html[data-theme="dark"] .window,
html[data-theme="dark"] .window--note{background:#1d2024;box-shadow:var(--shadow-rest)}
html[data-theme="dark"] .window.is-focused{box-shadow:var(--shadow-focus)}
html[data-theme="dark"] .window:not(.is-focused){filter:saturate(.94) brightness(.94);box-shadow:0 16px 48px rgba(0,0,0,.38),0 4px 14px rgba(0,0,0,.24),0 0 0 1px rgba(255,255,255,.065)}
html[data-theme="dark"] .window.is-moving,
html[data-theme="dark"] .window.is-resizing{box-shadow:0 38px 110px rgba(0,0,0,.58),0 12px 34px rgba(0,0,0,.36),0 0 0 1px rgba(255,255,255,.12)}
html[data-theme="dark"] .window--note .window__titlebar--tabs{background:linear-gradient(180deg,#24272b,#222529)}
html[data-theme="dark"] .window-title-label{color:#aeb4ba}
html[data-theme="dark"] .document-tabs button{color:#9ca3aa}
html[data-theme="dark"] .document-tabs button:hover{background:#2c3035;color:#d7dbdf}
html[data-theme="dark"] .document-tabs button[aria-selected="true"],html[data-theme="dark"] .resume-navigation [role="tab"][aria-selected="true"]{border-color:rgba(255,255,255,.12);background:linear-gradient(180deg,#30343a,#2a2e33);color:#f1f3f4;box-shadow:0 1px 3px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.055)}
html[data-theme="dark"] .document-tabs button[aria-selected="true"] .document-tab-close:hover{background:#44494f;color:#f0f2f3}
html[data-theme="dark"] .window-tool{color:#9da4aa}
html[data-theme="dark"] .window-tool:hover{background:#30343a;color:#e6e9eb}
html[data-theme="dark"] .note-surface{background:#1d2024;scrollbar-color:rgba(232,236,239,.22) transparent}
html[data-theme="dark"] .note-surface::-webkit-scrollbar-thumb{background:rgba(232,236,239,.2);background-clip:padding-box}
html[data-theme="dark"] .note-surface::-webkit-scrollbar-thumb:hover{background:rgba(232,236,239,.3);background-clip:padding-box}
html[data-theme="dark"] .note-document{color:#e6e9eb}
html[data-theme="dark"] .note-document a{color:#e8ebed;text-decoration-color:#717980}
html[data-theme="dark"] .note-document a:hover{color:#73b4ff;text-decoration-color:#428bdc}
html[data-theme="dark"] .note-document[contenteditable="true"]{caret-color:#72b4ff}
html[data-theme="dark"] .note-document[contenteditable="true"]::selection,
html[data-theme="dark"] .note-document[contenteditable="true"] *::selection{background:rgba(63,144,230,.35)}
html[data-theme="dark"] .note-copy{border-color:rgba(255,255,255,.13);background:linear-gradient(180deg,#2b2f34,#262a2f);box-shadow:0 1px 2px rgba(0,0,0,.22);color:#e8ebed}
html[data-theme="dark"] .note-copy:hover{border-color:rgba(255,255,255,.2);background:#30353a}
html[data-theme="dark"] .copy-status{color:#969da3}
html[data-theme="dark"] .note-status{border-top-color:rgba(255,255,255,.035);background:linear-gradient(180deg,#1d2024,#1c1f23);color:#8f979e}
html[data-theme="dark"] .resize-grip{filter:brightness(1.45) drop-shadow(0 1px 0 rgba(0,0,0,.45))}

html[data-theme="dark"] .settings-surface{background:#171a1e}
html[data-theme="dark"] .settings-panel{--settings-line:rgba(255,255,255,.09);--settings-fill:rgba(255,255,255,.025);--settings-selected:rgba(255,255,255,.065);--settings-hover:rgba(255,255,255,.045);--settings-ink:#edf0f1;--settings-muted:#a0a7ad}
html[data-theme="dark"] .theme-option input{accent-color:#348df4}
html[data-theme="dark"] .settings-glass-preview{background:linear-gradient(140deg,#48646d,#354658)}
html[data-theme="dark"] .settings-glass-preview::after{border-color:rgba(255,255,255,.2);background:rgba(49,57,68,.65)}
html[data-theme="dark"] .settings-glass:not(:has(input:checked)) .settings-glass-preview::after{background:#292f37}
html[data-theme="dark"] .theme-switch{background:#535960;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
html[data-theme="dark"] .theme-switch:hover{background:#60666d}
html[data-theme="dark"] .theme-switch[aria-checked="true"]{background:#2d86f3;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 1px 5px rgba(0,91,214,.28)}


html[data-theme="dark"] .dock{border-color:rgba(255,255,255,.15);background:rgba(18,23,29,.58);box-shadow:0 20px 54px rgba(0,0,0,.42),0 6px 17px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.035)}
html[data-theme="dark"] .dock-tooltip{border-color:rgba(255,255,255,.12);background:rgba(35,39,44,.94);box-shadow:0 10px 30px rgba(0,0,0,.38),0 2px 7px rgba(0,0,0,.22);color:#f0f2f3}
html[data-theme="dark"] .dock-indicator{background:rgba(246,248,249,.8)}
html[data-theme="dark"] .dock-separator{background:rgba(255,255,255,.17)}
html[data-theme="dark"] .desktop-selection{border-color:rgba(91,166,255,.92);background:rgba(39,120,220,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
html[data-theme="dark"] :focus-visible{outline-color:rgba(84,158,255,.95)}

@media(max-width:740px){
    .window--settings{top:8vh;left:6vw;width:88vw;height:min(590px,calc(100dvh - 120px))}
    .window--resume{top:4.5vh;left:4vw;width:92vw;height:calc(100dvh - 105px)}
    .settings-surface{padding:12px}
    .settings-content{padding:20px 19px}
    .settings-row{gap:14px}
}

.no-js .window.window--settings{display:none!important}

@media(prefers-reduced-motion:reduce){
    .os-shell::before,.theme-switch,.theme-switch__thumb{transition:none!important}
}

/* Temporary, deliberately simple letter tiles for every app. */
.dock-icon{font-size:17px;font-weight:650;letter-spacing:0;text-shadow:none}
.dock-icon--about{background:transparent;color:#fff}
.dock-icon--resume{background:transparent;color:#fff}
.dock-icon--work{background:transparent;color:#fff}
.dock-icon--archive{background:transparent;color:#fff}
.dock-icon--contact{background:transparent;color:#fff;font-size:17px;letter-spacing:0}
.dock-icon--settings{background:transparent;color:#fff}
.dock-icon--about,.dock-icon--resume,.dock-icon--work,.dock-icon--archive,.dock-icon--contact,.dock-icon--settings{overflow:visible;border-radius:0;box-shadow:none}
.dock-item:not(:disabled):hover .dock-icon--about,
.dock-item:not(:disabled):hover .dock-icon--resume,
.dock-item:not(:disabled):hover .dock-icon--work,
.dock-item:not(:disabled):hover .dock-icon--archive,
.dock-item:not(:disabled):hover .dock-icon--contact,
.dock-item:not(:disabled):hover .dock-icon--settings{filter:none;box-shadow:none}

/* Subtle frosted material for the OS windows. */
:root{
    --glass-window:rgba(255,255,255,.28);
    --glass-content:rgba(255,255,255,.72);
    --glass-chrome:rgba(255,255,255,.6);
    --glass-border:rgba(255,255,255,.58);
    --glass-grain-opacity:.022;
}
/* Reserve the glass border in both modes so toggling never shifts content. */
/* Clip resize handles without making the outer window a scroll container. */
.window,.window--note{border:1px solid transparent;overflow:clip}
html[data-glass="on"] .window,
html[data-glass="on"] .window--note{
    border-color:var(--glass-border);
    background:var(--glass-window);
    backdrop-filter:blur(18px) saturate(145%);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
}
html[data-glass="on"] .window::before{
    position:absolute;
    z-index:19;
    inset:0;
    border-radius:inherit;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
    background-size:140px 140px;
    content:"";
    mix-blend-mode:soft-light;
    opacity:var(--glass-grain-opacity);
    pointer-events:none;
}
html[data-glass="on"] .window--note .window__titlebar--tabs{
    background:linear-gradient(180deg,rgba(255,255,255,.72),var(--glass-chrome));
}
html[data-glass="on"] .note-surface{background:var(--glass-content)}
html[data-glass="on"] .note-status{background:rgba(255,255,255,.58)}
html[data-glass="on"] .settings-surface{background:rgba(244,246,247,.7)}

html[data-theme="dark"][data-glass="on"]{
    --glass-window:rgba(29,32,36,.34);
    --glass-content:rgba(29,32,36,.74);
    --glass-chrome:rgba(35,38,43,.64);
    --glass-border:rgba(255,255,255,.12);
    --glass-grain-opacity:.035;
}
html[data-theme="dark"][data-glass="on"] .window--note .window__titlebar--tabs{
    background:linear-gradient(180deg,rgba(40,43,48,.74),var(--glass-chrome));
}
html[data-theme="dark"][data-glass="on"] .note-surface{background:var(--glass-content)}
html[data-theme="dark"][data-glass="on"] .note-status{background:rgba(28,31,35,.62)}
html[data-theme="dark"][data-glass="on"] .settings-surface{background:rgba(23,26,30,.7)}

/* Resume uses the existing window chrome with an inset, rounded sidebar. */
.window--resume {
    --resume-sidebar-width:166px;
    --resume-sidebar:rgba(255,255,255,.6);
    --resume-ink:#24292f;
    --resume-muted:#767d85;
    --resume-line:#dce0e4;
    container-type:inline-size;
}
.window--resume .resume-titlebar .window-title-label {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0;font-size:12px;pointer-events:none}
.window--resume .resume-status {border-top:1px solid var(--resume-line)}
.resume-layout {display:grid;grid-template-columns:var(--resume-sidebar-width) minmax(0,1fr);flex:1;min-height:0;overflow:hidden;color:var(--resume-ink)}
.resume-sidebar {align-self:start;max-height:calc(100% - 16px);min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;margin:8px;padding:8px;border-radius:12px;background:var(--resume-sidebar);scrollbar-width:thin}
.resume-navigation {display:flex;flex-direction:column;gap:3px}
.resume-navigation [role="tab"] {display:flex;align-items:center;gap:9px;min-height:33px;width:100%;padding:6px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--resume-ink);text-align:left;font-size:12.5px;font-weight:450;line-height:1.3;cursor:pointer}
.resume-navigation [role="tab"]:not([aria-selected="true"]):hover {background:rgba(80,90,110,.07)}
.window--resume .resume-navigation [role="tab"][aria-selected="true"],
html[data-theme="dark"] .window--resume .resume-navigation [role="tab"][aria-selected="true"] {border-color:transparent;box-shadow:none}
.resume-navigation svg {flex:0 0 17px;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;color:#6b839c}
.resume-navigation [aria-selected="true"] svg {color:inherit}
.resume-nav-label {min-width:0}
.resume-nav-group {padding:14px 9px 4px;color:var(--resume-muted);font-size:10px;font-weight:600}
.resume-page-scroll {min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#aab0b5 transparent}
/* Match About's document typography while keeping these pages read-only. */
.resume-page {max-width:770px;min-height:100%;padding:22px 23px 56px;color:#17191c;font-size:14.5px;font-weight:500;line-height:1.6;letter-spacing:0;overflow-wrap:break-word}
.resume-page:focus-visible {outline-offset:-4px}
.resume-page p {margin:0 0 16px}
/* Quiet hierarchy for the overview's dates, companies, and roles. */
.resume-experience {list-style:none;margin:16px 0 0;padding:0}
.resume-experience li {padding:0;line-height:2}
.resume-date {display:inline-block;margin-right:8px;padding:0 5px;border-radius:3px;background:rgba(80,90,110,.07);color:#616973;font-size:inherit;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums;white-space:nowrap}
.resume-position {display:inline}
.resume-company {color:var(--resume-ink);font-size:inherit;font-weight:400}
.resume-role {color:#616973;font-size:inherit;font-weight:400}
.resume-role::before {content:"·";margin:0 5px;color:var(--resume-muted)}
html[data-theme="dark"] .resume-date {background:rgba(170,185,200,.09);color:#aeb7c0}
html[data-theme="dark"] .resume-role {color:#aeb7c0}
.resume-page a {color:inherit;text-decoration-thickness:1px;text-decoration-color:#b8bdc1;text-underline-offset:3px;transition:color 140ms ease,text-decoration-color 140ms ease}
.resume-page a:hover {color:#0068c9;text-decoration-color:#70a9dd}
html[data-glass="on"] .resume-sidebar {background:rgba(255,255,255,.6)}
html[data-theme="dark"] .window--resume {--resume-sidebar:#1c2127;--resume-ink:#e6e9ec;--resume-muted:#9aa2ab;--resume-line:#2d3339}
html[data-theme="dark"] .window--resume .resume-status {border-top-color:var(--resume-line)}
html[data-theme="dark"] .resume-navigation svg {color:#9baebf}
html[data-theme="dark"] .resume-navigation [aria-selected="true"] svg {color:inherit}
html[data-theme="dark"] .resume-navigation [role="tab"]:not([aria-selected="true"]):hover {background:rgba(170,185,200,.08)}
html[data-theme="dark"] .resume-page {color:#e6e9eb}
html[data-theme="dark"] .resume-page a {color:#e8ebed;text-decoration-color:#717980}
html[data-theme="dark"] .resume-page a:hover {color:#73b4ff;text-decoration-color:#428bdc}
html[data-theme="dark"][data-glass="on"] .resume-sidebar {background:rgba(23,28,34,.78)}
@container (max-width:620px) {
    .resume-layout {grid-template-columns:145px minmax(0,1fr)}
    .resume-page {padding:20px 19px 50px}
}
@container (max-width:440px) {
    .resume-layout {grid-template-columns:116px minmax(0,1fr)}
    .resume-sidebar {max-height:calc(100% - 12px);margin:6px;padding:6px 4px;border-radius:10px}
    .resume-navigation [role="tab"] {gap:6px;padding:8px 6px;font-size:11px}
    .resume-navigation svg {flex-basis:14px;width:14px;height:14px}
    .resume-nav-group {padding-left:6px}
}
.no-js .window--resume {container-type:normal}
.no-js .resume-layout {display:block;overflow:visible}
.no-js .resume-sidebar {display:none}
.no-js .resume-page-scroll {overflow:visible}
.no-js .resume-status {display:none}
@media(max-width:740px) {
    .resume-page {padding:20px 19px 50px}
}

/* Work opens as an icon view, with plain project documents one level inside. */
.window--work {container-type:inline-size;--work-line:#dce0e4;--work-muted:#6f7780;--work-button-bg:rgba(35,45,55,.055);--work-button-hover:rgba(35,45,55,.095);--work-frame-border:#dce0e4}
.window--work .work-titlebar {border-bottom:1px solid var(--work-line)}
.window--work .work-titlebar .window-title-label {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;padding:0;pointer-events:none}
.window--work[data-work-view="gallery"] .work-content {display:grid;place-items:center}
.work-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;align-items:center;gap:24px;width:100%;max-width:900px;margin:0 auto;padding:24px}
.work-project {display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;color:var(--work-muted);text-decoration:none;text-align:center;outline:none}
.work-project-icon {display:grid;place-items:center;width:88px;height:88px;border-radius:21px;background:linear-gradient(145deg,var(--icon-top),var(--icon-bottom));box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 0 0 1px rgba(0,0,0,.08),0 3px 6px rgba(0,0,0,.12);transition:transform 140ms ease,box-shadow 140ms ease}
.work-project-icon--onboarding {--icon-top:#96c949;--icon-bottom:#3f7a20;--icon-ink:#346a22}
.work-project-icon--setup {--icon-top:#51b7a8;--icon-bottom:#206878;--icon-ink:#257a79}
.work-project--art {width:100%}
.work-project-art {position:relative;isolation:isolate;display:block;width:100%;aspect-ratio:1;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.06);transition:transform 280ms cubic-bezier(.22,.8,.3,1.2),box-shadow 280ms ease}
.work-project-art img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;filter:grayscale(1);transition:transform 380ms cubic-bezier(.22,.8,.3,1.2),filter 280ms ease-in-out}
.work-project-background {transform:scale(1.07)}
.work-project-logo {opacity:1;mix-blend-mode:normal}
.work-project--art:focus-visible .work-project-art {outline:3px solid #2583dd;outline-offset:4px}
.work-project--art:focus-visible .work-project-background {transform:scale(1);filter:grayscale(0)}
.work-project--art:focus-visible .work-project-logo {transform:scale(1.12);filter:grayscale(0)}
@media (hover:hover) {
    .work-project--art:hover .work-project-art {box-shadow:0 8px 24px rgba(0,0,0,.12)}
    .work-project--art:hover .work-project-background {transform:scale(1);filter:grayscale(0)}
    .work-project--art:hover .work-project-logo {transform:scale(1.12);filter:grayscale(0)}
}
.work-project--art:active .work-project-art {transform:scale(.985);transition-duration:100ms}
@media (prefers-reduced-motion:reduce) {
    .work-project-art,.work-project-art img {transition:none}
    .work-project--art:is(:hover,:active) .work-project-art,.work-project--art .work-project-art img {transform:none!important}
}
.work-project--experiments .work-project-art {background:#343434}
.work-project-icon svg {width:72px;height:72px;filter:drop-shadow(0 2px 2px rgba(0,0,0,.12))}
.project-icon-sheet {fill:#fff;fill-opacity:.94}
.project-icon-line {fill:none;stroke:var(--icon-ink);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
.project-icon-dot,.project-icon-block {fill:var(--icon-ink)}
.project-icon-block {fill-opacity:.8}
.work-project-label {padding:3px 6px;border-radius:4px;font-size:12px;line-height:1.4;max-width:155px}
.work-project:hover .work-project-icon {transform:translateY(-2px);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 0 0 1px rgba(0,0,0,.08),0 5px 10px rgba(0,0,0,.16)}
.work-project:focus-visible .work-project-icon {outline:3px solid #2583dd;outline-offset:4px}
.work-project:focus-visible .work-project-label {background:#1875d5;color:#fff}
.work-back {display:inline-flex;align-items:center;gap:5px;flex-shrink:0;min-height:28px;padding:3px 8px;border:1px solid var(--work-line);border-radius:6px;background:var(--work-button-bg);color:inherit;font-size:12px}
.work-back:hover {background:var(--work-button-hover)}
.work-back svg {width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.work-detail:focus {outline:none}
.window--work[data-work-view="showcase"] .work-content {display:flex;min-height:0;overflow:hidden}
.window--work:is([data-work-view="showcase"],[data-work-view="experiments"]) .work-status {display:none}
.work-detail.teachergpt-viewer {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;width:100%;padding:0;color:var(--ink)}
.showcase-heading {flex:0 0 auto;padding:24px clamp(24px,6cqw,96px) 0}
.showcase-heading-inner {max-width:900px;margin:0 auto}
.showcase-heading .showcase-back {padding:3px 12px;margin-bottom:18px;border:0;background:var(--work-button-bg);color:var(--work-muted);font-size:13px;cursor:pointer}
.showcase-heading .showcase-back:hover {background:var(--work-button-hover);color:var(--ink)}
.showcase-overview {display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.showcase-identity h1 {margin:0 0 6px;font-size:28px;font-weight:600;line-height:1.15;letter-spacing:-.6px}
.showcase-identity p {margin:0;color:var(--work-muted);font-size:14px;line-height:1.5}
.showcase-stats {display:flex;gap:36px;margin:0}
.showcase-stats>div {display:flex;flex-direction:column;gap:5px}
.showcase-stats dt {order:2;color:var(--work-muted);font-size:13px;line-height:1.5}
.showcase-stats dd {margin:0;font-size:22px;font-weight:500;line-height:1.25;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.showcase-track {display:grid;grid-template-rows:minmax(0,1fr) auto;flex:1;min-height:0;overflow:hidden;padding:20px clamp(24px,6cqw,96px) 0;gap:24px;touch-action:pan-y pinch-zoom;cursor:grab;outline-offset:-4px}
.showcase-track.is-dragging {cursor:grabbing;user-select:none}
.showcase-stage {display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;padding:16px 0}
.showcase-frame {width:100%;height:100%;max-width:900px;max-height:680px;overflow:hidden;border:1px solid var(--work-frame-border);border-radius:8px;background:#fff;isolation:isolate}
.showcase-slide {width:100%;height:100%;min-width:0;min-height:0;margin:0;padding:0}
.showcase-image {display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;min-width:0}
.showcase-image img {width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.showcase-captions {display:grid;max-width:650px;margin:0 auto;text-align:center}
.showcase-caption {grid-area:1/1;visibility:hidden}
.showcase-caption.is-active {visibility:visible}
.showcase-caption h2 {margin:0 0 4px;font-size:14.5px;font-weight:600;line-height:1.5}
.showcase-caption p {margin:0;color:var(--work-muted);font-size:14px;line-height:1.5}
.showcase-controls {display:flex;flex:0 0 auto;align-items:center;justify-content:center;gap:12px;padding:12px 16px 18px}
.showcase-arrow {display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--work-line);border-radius:50%;background:var(--work-button-bg);color:inherit;cursor:pointer}
.showcase-arrow:hover {background:var(--work-button-hover)}
.showcase-arrow:disabled {opacity:.3;cursor:default}
.showcase-arrow svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.showcase-dots {display:flex;align-items:center}
.showcase-dot {display:grid;place-items:center;width:24px;height:32px;padding:0;border:0;background:transparent;color:var(--work-muted);cursor:pointer}
.showcase-dot::before {content:"";width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.35;transition:opacity 160ms ease,transform 160ms ease}
.showcase-dot[aria-current="true"]::before {opacity:1;transform:scale(1.4)}
.showcase-count {color:var(--work-muted);font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
@container (max-width:600px) {
    .work-gallery {grid-template-columns:repeat(2,minmax(0,1fr))}
    .showcase-heading {padding:20px 20px 0}
    .showcase-heading .showcase-back {margin-bottom:14px}
    .showcase-overview {align-items:flex-start;flex-direction:column;gap:18px}
    .showcase-identity h1 {font-size:24px}
    .showcase-stats {gap:28px}
    .showcase-stats dd {font-size:20px}
    .showcase-track {padding:12px 20px 0;gap:16px}
    .showcase-caption p {font-size:13px}
    .showcase-controls {gap:8px;padding:10px 12px 14px}
    .showcase-dot {width:20px}
}
@media (max-height:600px) {
    .window--work[data-work-view="showcase"] .work-content {overflow:auto}
    .work-detail.teachergpt-viewer {min-height:560px}
}
@media(prefers-reduced-motion:reduce) {.showcase-dot::before {transition:none}}
.window--work .work-status {border-top:1px solid var(--work-line)}
.window--work[data-work-view="gallery"] .work-status {display:none}
html[data-theme="dark"] .window--work {--work-line:#2d3339;--work-muted:#acb3bc;--work-button-bg:rgba(255,255,255,.045);--work-button-hover:rgba(255,255,255,.09);--work-frame-border:transparent}
html[data-theme="dark"] .work-project-icon--onboarding {--icon-top:#345529;--icon-bottom:#142b1b;--icon-ink:#37632c}
html[data-theme="dark"] .work-project-icon--setup {--icon-top:#275053;--icon-bottom:#132a32;--icon-ink:#28686c}
@container (max-width:470px) {
    .work-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px;padding:30px 18px}
    .window--work:not([data-work-view="gallery"]) .work-titlebar .window-title-label {position:static;transform:none;min-width:0;flex:1;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .work-detail {padding:20px 19px 50px}
}
@media(prefers-reduced-motion:reduce) {.work-project-icon {transition:none}.work-project:hover .work-project-icon {transform:none}}
.no-js .work-back {display:none!important}
.no-js .work-project[hidden],.no-js #work-panel-onboarding,.no-js #work-panel-setup {display:none!important}
.no-js .window--work {container-type:normal}
@media(max-width:470px) {.no-js .work-gallery {grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 16px}}

/* Switch experiences from Settings. */
.settings-portfolio{margin:0 0 22px;padding-bottom:22px;border-bottom:1px solid var(--settings-line)}
.settings-portfolio h2{margin:0 0 9px;color:var(--settings-muted);font-size:12px;font-weight:500;line-height:18px}
.settings-portfolio-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:12px;border:1px solid var(--settings-line);border-radius:9px;background:var(--settings-fill);color:var(--settings-ink);font-size:13px;line-height:18px;text-decoration:none}
.settings-portfolio-link:hover{background:var(--settings-hover)}
.settings-portfolio-link>span:last-child{flex-shrink:0}
