/* Hossam Gamal — macOS 27 Golden Gate inspired desktop. System fonts, Liquid Glass, no external assets. */
:root{
 font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","Segoe UI",sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;
 --glass-opacity:.92;--ease:cubic-bezier(.2,.8,.2,1);
 --ink:#1d1d1f;--ink-2:#5f5f66;--ink-3:#8b8b92;--line:rgba(0,0,0,.09);--accent:#0a7bf0;--accent-ink:#fff;
 --win:250 250 250;--side:236 236 236;--pane:255 255 255;--menu:246 244 240;--hover:rgba(0,0,0,.055);--sel:rgba(0,0,0,.075);
 --shadow:0 30px 80px rgba(20,12,2,.36),0 10px 26px rgba(20,12,2,.2),0 0 0 .5px rgba(0,0,0,.18);
 --rim:inset 0 1px 0 rgba(255,255,255,.75),inset 0 0 0 1px rgba(255,255,255,.35);
 color-scheme:light;color:var(--ink)
}
:root[data-theme=dark]{
 --ink:#f5f5f7;--ink-2:#b4b4bb;--ink-3:#8a8a92;--line:rgba(255,255,255,.1);--accent:#2f8cff;
 --win:40 40 40;--side:50 50 50;--pane:255 255 255;--menu:44 41 38;--hover:rgba(255,255,255,.07);--sel:rgba(255,255,255,.11);
 --shadow:0 30px 80px rgba(0,0,0,.6),0 10px 26px rgba(0,0,0,.4),0 0 0 .5px rgba(255,255,255,.14);
 --rim:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 0 1px rgba(255,255,255,.07);color-scheme:dark
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;overflow:hidden;background:#1b150e;font-size:13px;line-height:1.35}
button,input,a,select{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:default}
a{color:inherit;text-decoration:none}
svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[hidden]{display:none!important}
:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 70%,transparent);outline-offset:2px;border-radius:6px}
.glass{background:rgb(var(--menu)/calc(var(--glass-opacity) - .1));-webkit-backdrop-filter:blur(16px) saturate(1.8);backdrop-filter:blur(16px) saturate(1.8);box-shadow:var(--rim),0 18px 50px rgba(0,0,0,.25)}

/* Golden Gate wallpaper: warm ribbons over bronze dusk */
.wallpaper{position:fixed;inset:0;overflow:hidden;contain:strict;will-change:transform;background:radial-gradient(ellipse at 73% 9%,#f9d98b 0,transparent 35%),linear-gradient(125deg,#171713 5%,#5e3e1a 34%,#dfaa4f 62%,#f5d8a0 78%,#86602e);transition:filter .6s}
.wallpaper i{position:absolute;width:155%;height:110%;left:-29%;border-radius:46%;box-shadow:inset 0 6px 6px #ffefba99,inset 0 35px 85px #d9993070,0 -20px 80px #0004}
.wallpaper i:nth-child(1){top:12%;transform:rotate(-28deg);background:linear-gradient(166deg,#ffe7a1 0,#b77a29 14%,#322719 39%,#111613 62%)}
.wallpaper i:nth-child(2){top:53%;left:4%;transform:rotate(25deg);background:linear-gradient(165deg,#ffe9ae 0,#b97c2b 15%,#3a2c18 37%,#111713 66%)}
.wallpaper i:nth-child(3){top:88%;left:-35%;transform:rotate(-18deg);background:linear-gradient(175deg,#e9bb67,#624319 20%,#141b16 50%)}
:root[data-theme=dark] .wallpaper{filter:brightness(.62) saturate(1.05)}

/* Menu bar — transparent, legible over the wallpaper */
.menubar{position:fixed;inset:0 0 auto;height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;z-index:9000;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.35);background:linear-gradient(rgba(10,6,0,.28),rgba(10,6,0,.06));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.menus,.status{display:flex;align-items:center;gap:2px;height:100%}
.menu-title,.status-btn{height:22px;padding:0 10px;border-radius:6px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;transition:background .15s}
.menu-title.brand{font-weight:800;letter-spacing:.02em}
.menu-title.app{font-weight:700}
.menu-title:hover,.menu-title.open,.status-btn:hover,.status-btn[aria-expanded=true]{background:rgba(255,255,255,.2)}
.status-btn svg{width:16px;height:16px;stroke:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.3))}
#clock{padding:0 8px;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Dropdown + context menus */
.ctx-menu{position:fixed;z-index:9500;min-width:220px;padding:5px;border-radius:12px;background:rgb(var(--menu)/.82);-webkit-backdrop-filter:blur(16px) saturate(1.8);backdrop-filter:blur(16px) saturate(1.8);box-shadow:var(--rim),0 14px 40px rgba(0,0,0,.28),0 0 0 .5px rgba(0,0,0,.2);color:var(--ink);transform-origin:top left}
.ctx-menu button{display:flex;align-items:center;gap:6px;width:100%;height:24px;padding:0 10px 0 4px;border-radius:6px;font-size:13px;text-align:left;white-space:nowrap}
.ctx-menu button .check{width:14px;font-size:11px;text-align:center}
.ctx-menu button span{flex:1}
.ctx-menu button kbd{font:inherit;color:var(--ink-3);margin-left:18px}
.ctx-menu button:not([disabled]):hover,.ctx-menu button:not([disabled]):focus-visible{background:var(--accent);color:#fff;outline:0}
.ctx-menu button:not([disabled]):hover kbd,.ctx-menu button:focus-visible kbd{color:#ffffffc0}
.ctx-menu button[disabled]{color:var(--ink-3)}
.ctx-menu hr{border:0;height:1px;background:var(--line);margin:4px 8px}

/* Control Centre */
.control{position:fixed;top:36px;right:10px;z-index:9400;width:300px;padding:10px;border-radius:22px;display:grid;gap:8px}
.cc-tile{background:rgb(var(--pane)/.42);border-radius:16px;padding:12px 14px;box-shadow:var(--rim)}
:root[data-theme=dark] .cc-tile{background:rgb(255 255 255/.08)}
.cc-tile h3{margin:0 0 8px;font-size:12px;font-weight:600}
.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--hover);padding:3px;border-radius:10px}
.segmented button{height:26px;border-radius:8px;font-size:12px}
.segmented button[aria-pressed=true]{background:rgb(var(--pane)/.95);box-shadow:0 1px 3px rgba(0,0,0,.18);color:#1d1d1f}
#glassAmount{width:100%;accent-color:var(--accent)}
.cc-hint{display:flex;justify-content:space-between;margin:4px 0 0;font-size:11px;color:var(--ink-2)}
.cc-action{text-align:left;font-weight:600;font-size:12px;cursor:pointer}
.cc-action:hover{background:rgb(var(--pane)/.6)}

/* Desktop */
.desktop{position:fixed;inset:0;overflow:hidden}
.preview-notice{position:fixed;top:40px;left:50%;transform:translateX(-50%);z-index:50;padding:6px 14px;border-radius:999px;background:rgba(20,14,6,.55);color:#fff;font-size:12px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.preview-notice a{text-decoration:underline}
.welcome{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;color:#fff;pointer-events:none;padding:0 24px 90px;text-shadow:0 2px 24px rgba(30,15,0,.35)}
.welcome>*{pointer-events:auto}
.welcome .hello{margin:0;font-size:clamp(22px,2.6vw,34px);font-weight:400;letter-spacing:-.01em}
.welcome h1{margin:.02em 0 .1em;font-size:clamp(72px,10.5vw,148px);font-weight:800;letter-spacing:-.055em;line-height:.92}
.welcome-role{margin:0 0 22px;font-size:15px;font-weight:500;opacity:.92}
.welcome-open{height:34px;padding:0 18px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);color:#fff;font-weight:600;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 1px rgba(255,255,255,.4);transition:background .2s,transform .2s var(--ease)}
.welcome-open:hover{background:rgba(255,255,255,.28);transform:translateY(-1px)}
body.has-windows .welcome{opacity:0;transition:opacity .3s}
.desktop-icons{position:absolute;top:44px;right:14px;display:flex;flex-direction:column;flex-wrap:wrap-reverse;align-content:flex-start;gap:6px;max-height:calc(100% - 140px)}
.desk-icon{width:104px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 4px;border-radius:8px;color:#fff;cursor:default}
.desk-icon .icon{width:72px;height:64px;display:grid;place-items:center;border-radius:8px;padding:3px}
.desk-icon .label{font-size:12px;font-weight:500;line-height:1.25;text-align:center;padding:1px 5px;border-radius:4px;text-shadow:0 1px 3px rgba(0,0,0,.7);max-width:100%;overflow-wrap:anywhere}
.desk-icon.selected .icon{background:rgba(0,0,0,.25)}
.desk-icon.selected .label{background:var(--accent);text-shadow:none}
.desk-icon .folder{--icon:64px}
.desk-icon .file-thumb{--tw:64px;--th:60px}

/* Folder icon — consistent shape, brand colour, embossed logo */
.folder{--icon:76px;--folder:#5aa7ef;position:relative;display:block;width:var(--icon);height:calc(var(--icon)*.8);filter:drop-shadow(0 2px 3px rgba(0,0,0,.18))}
.folder-back{position:absolute;inset:6% 0 0;border-radius:calc(var(--icon)*.07);background:color-mix(in srgb,var(--folder) 78%,#000 22%)}
.folder-back::before{content:"";position:absolute;left:0;top:-9%;width:40%;height:16%;border-radius:calc(var(--icon)*.06) calc(var(--icon)*.08) 0 0;background:inherit}
.folder-peek{position:absolute;left:10%;right:10%;top:12%;width:80%;height:58%;object-fit:cover;border-radius:3px;background:#fff;box-shadow:0 0 0 1.5px #fff,0 1px 4px rgba(0,0,0,.3);transform:rotate(-2deg)}
.folder-front{position:absolute;inset:24% 0 0;border-radius:calc(var(--icon)*.07);background:linear-gradient(180deg,color-mix(in srgb,var(--folder) 82%,#fff 18%),var(--folder) 70%);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.08);display:grid;place-items:center;overflow:hidden}
.folder-logo{max-width:46%;max-height:52%;object-fit:contain;filter:brightness(0) invert(1);opacity:.92}
.folder-initials{font-size:calc(var(--icon)*.2);font-weight:700;letter-spacing:.02em;color:rgba(255,255,255,.92);text-shadow:0 -1px 0 rgba(0,0,0,.15)}
.folder-glyph svg{width:calc(var(--icon)*.3);height:calc(var(--icon)*.3);stroke:rgba(255,255,255,.95);fill:rgba(255,255,255,.35)}
.folder[data-tone=light] .folder-logo{filter:brightness(0);opacity:.78}
.folder[data-tone=light] .folder-initials{color:rgba(0,0,0,.6);text-shadow:none}
.folder-personal{--folder:#b98a3e}
.folder:has(.folder-peek) .folder-front{inset:44% 0 0}

/* File thumbnails — natural aspect ratio, Finder style */
.file-thumb{--tw:84px;--th:76px;position:relative;display:flex;align-items:center;justify-content:center;width:var(--tw);height:var(--th)}
.file-thumb img{display:block;max-width:var(--tw);max-height:var(--th);width:auto;height:auto;object-fit:contain;background:#fff;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.08),0 2px 6px rgba(0,0,0,.22)}
:root[data-theme=dark] .file-thumb img{box-shadow:0 0 0 1px rgba(255,255,255,.12),0 2px 6px rgba(0,0,0,.5)}
.file-thumb img:not([src]),.file-thumb img[src=""]{width:60px;height:60px}
.folder-peek.broken,.folder-logo.broken{display:none}
.file-thumb img.broken{width:60px;height:72px;opacity:.5;background:linear-gradient(#fff,#e9e9ec);color:transparent}
.play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 0 0 1px rgba(255,255,255,.4)}
.play-badge svg{width:13px;height:13px;fill:#fff;stroke:none;margin-left:2px}
.movie-doc{width:56px;height:70px;border-radius:4px;background:linear-gradient(#3b3b40,#18181b);box-shadow:0 2px 6px rgba(0,0,0,.3)}
.weblink{display:grid;place-items:center;width:60px;height:60px;border-radius:15px;background:linear-gradient(160deg,#fdfdfd,#e2e2e6);box-shadow:0 0 0 .5px rgba(0,0,0,.15),0 2px 6px rgba(0,0,0,.2);font-size:22px;font-weight:800;color:#555}
.weblink.behance{background:linear-gradient(160deg,#2b6bff,#0047e6);color:#fff}
.weblink.vimeo{background:linear-gradient(160deg,#27c3f5,#1aa1d6);color:#fff;font-size:26px}
.weblink svg{width:28px;height:28px}

/* Windows */
#windows{position:absolute;inset:0;pointer-events:none}
.window{position:absolute;pointer-events:auto;display:flex;border-radius:16px;background:rgb(var(--win)/var(--glass-opacity));box-shadow:var(--shadow),var(--rim);overflow:hidden;color:var(--ink);transform-origin:center;contain:layout}
.window:not(.front){box-shadow:0 18px 50px rgba(20,12,2,.26),0 0 0 .5px rgba(0,0,0,.16),var(--rim)}
.window.dragging{user-select:none;-webkit-user-select:none}
.window.zoomed{border-radius:12px}
.rz{position:absolute;z-index:5}
.rz[data-edge=n],.rz[data-edge=s]{left:12px;right:12px;height:6px;cursor:ns-resize}.rz[data-edge=n]{top:-2px}.rz[data-edge=s]{bottom:-2px}
.rz[data-edge=e],.rz[data-edge=w]{top:12px;bottom:12px;width:6px;cursor:ew-resize}.rz[data-edge=e]{right:-2px}.rz[data-edge=w]{left:-2px}
.rz[data-edge=ne],.rz[data-edge=nw],.rz[data-edge=se],.rz[data-edge=sw]{width:16px;height:16px}
.rz[data-edge=ne]{top:-2px;right:-2px;cursor:nesw-resize}.rz[data-edge=sw]{bottom:-2px;left:-2px;cursor:nesw-resize}.rz[data-edge=nw]{top:-2px;left:-2px;cursor:nwse-resize}.rz[data-edge=se]{bottom:-2px;right:-2px;cursor:nwse-resize}
.window.zoomed .rz{display:none}

.traffic{display:flex;gap:8px;align-items:center;height:28px}
.tl{width:13px;height:13px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.2);cursor:default}
.tl span{opacity:0;display:grid;place-items:center;color:rgba(0,0,0,.6);font-size:11px;font-weight:700;line-height:1;transition:opacity .12s}
.tl svg{width:8px;height:8px;stroke-width:3;stroke:rgba(0,0,0,.6)}
.tl-close{background:#ff5f57}.tl-min{background:#febc2e}.tl-zoom{background:#28c840}
.window:not(.front) .tl{background:rgba(128,128,128,.32)}
.window:not(.front) .traffic:hover .tl-close{background:#ff5f57}.window:not(.front) .traffic:hover .tl-min{background:#febc2e}.window:not(.front) .traffic:hover .tl-zoom{background:#28c840}
.traffic:hover .tl span,.tl:focus-visible span{opacity:1}

/* Finder */
.finder .sidebar{width:210px;flex:none;background:rgb(var(--side)/.62);border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
:root[data-theme=dark] .finder .sidebar{background:rgb(var(--side)/.55)}
.sidebar .traffic{padding:12px 14px 4px}
.sidebar nav{overflow:auto;padding:4px 8px 12px;flex:1;scrollbar-width:thin}
.sidebar small{display:block;margin:12px 8px 4px;font-size:11px;font-weight:600;color:var(--ink-3)}
.side-item{display:flex;align-items:center;gap:8px;width:100%;height:28px;padding:0 8px;border-radius:8px;font-size:13px;text-align:left;cursor:default}
.side-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-item svg{width:16px;height:16px;color:var(--ink-2);flex:none}
.side-item svg.brand{fill:currentColor;stroke:none;width:14px;height:14px;margin:0 1px}
.side-item b.glyph{display:block;width:16px;height:auto;flex:none;text-align:center;font-size:11px;font-weight:800;color:var(--accent);background:none;border-radius:0}
.side-item:hover{background:var(--hover)}
.side-item.active{background:var(--sel);font-weight:600}
.dot{--folder:#5aa7ef;width:10px;height:10px;border-radius:50%;flex:none;margin:0 3px;background:var(--folder);box-shadow:inset 0 0 0 .5px rgba(0,0,0,.2)}
.finder-main{flex:1;display:flex;flex-direction:column;min-width:0}
.finder-main{container-type:inline-size}
.toolbar{display:flex;align-items:flex-start;gap:12px;height:70px;padding:10px 14px 0 12px;flex:none;border-bottom:1px solid var(--line)}
.tb-group{display:flex;flex-direction:column;align-items:center;gap:4px}
.tb-group small{font-size:10.5px;color:var(--ink-3);white-space:nowrap}
.toolbar .win-title{align-self:flex-start;margin-top:6px}
.capsule.split .sep{width:1px;height:16px;background:var(--line)}
.capsule.round{width:34px;padding:0;justify-content:center}
.search-group{flex:0 1 260px}.search-group .search{width:100%}
@container (max-width:760px){.tb-group small{display:none}.toolbar{height:54px;align-items:center;padding-top:0}.toolbar .win-title{align-self:center;margin-top:0}.search-group{flex-basis:170px}}
.capsule{display:flex;align-items:center;height:34px;padding:0 3px;border-radius:999px;background:rgb(255 255 255/.7);border:1px solid rgba(0,0,0,.07);box-shadow:0 1px 2px rgba(0,0,0,.06),inset 0 1px rgba(255,255,255,.8)}
:root[data-theme=dark] .capsule{background:rgb(255 255 255/.07);border-color:rgba(255,255,255,.1);box-shadow:inset 0 1px rgba(255,255,255,.06)}
.tb-btn{width:32px;height:28px;border-radius:999px;display:grid;place-items:center;color:var(--ink-2);transition:background .15s}
.tb-btn:hover:not(:disabled){background:var(--hover);color:var(--ink)}
.tb-btn:disabled{opacity:.35}
.tb-btn[aria-pressed=true]{background:var(--sel);color:var(--ink)}
.tb-btn svg{width:17px;height:17px}
.sidebar-toggle,.mobile-close{display:none}
.win-title{margin:0 0 0 4px;font-size:15px;font-weight:700;color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.tb-spacer{flex:1}
.search{gap:6px;padding:0 12px;width:240px;color:var(--ink-3)}
.search svg{width:15px;height:15px;flex:none}
.search input{border:0;background:none;outline:0;width:100%;font-size:13px;color:var(--ink)}
.search:focus-within{box-shadow:var(--rim),0 0 0 3px color-mix(in srgb,var(--accent) 45%,transparent)}
.content{flex:1;overflow:auto;padding:6px 18px 20px;outline:0;scrollbar-width:thin}
.empty{display:grid;place-items:center;height:70%;color:var(--ink-3);font-size:14px}
.search-scope{margin:4px 6px 10px;color:var(--ink-2);font-size:12px}
.project-head{display:flex;flex-wrap:wrap;gap:6px 30px;align-items:flex-end;justify-content:space-between;padding:6px 8px 14px;border-bottom:1px solid var(--line);margin-bottom:14px}
.project-head h1{margin:0;font-size:22px;letter-spacing:-.02em}
.project-head p{margin:2px 0 0;color:var(--ink-2)}
.project-head .project-copy{max-width:560px;font-size:12.5px;line-height:1.5;color:var(--ink-2)}
.items.icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(122px,1fr));gap:18px 6px;align-items:start}
.item{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 4px;border-radius:10px;cursor:default;min-width:0;outline:0}
.item .icon{width:100px;height:88px;display:grid;place-items:center;border-radius:10px;padding:5px;transition:background .12s}
.item .name{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:100%}
.item .label{font-size:12px;line-height:1.3;text-align:center;padding:1px 6px;border-radius:5px;max-width:118px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item .badge,.quote-card .badge{font-style:normal;font-size:10px;font-weight:600;padding:1px 6px;border-radius:999px;background:rgba(255,149,0,.18);color:#b25e00}
.item:hover .icon{background:var(--hover)}
.item.selected .icon{background:var(--sel)}
.item.selected .label{background:var(--accent);color:var(--accent-ink)}
.window:not(.front) .item.selected .label{background:rgba(128,128,128,.32);color:var(--ink)}
.item:focus-visible .icon{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 60%,transparent)}
.items.icons .item-image .icon,.items.icons .item-video .icon{height:96px}
.items.icons .file-thumb{--tw:96px;--th:86px}
/* list view */
.items.list{display:flex;flex-direction:column}
.list-head{display:grid;grid-template-columns:1fr 150px 70px;padding:0 10px 6px 56px;font-size:11px;font-weight:600;color:var(--ink-3);border-bottom:1px solid var(--line);margin-bottom:4px}
.items.list .item{display:grid;grid-template-columns:40px 1fr 150px 70px;align-items:center;gap:8px;padding:3px 10px;border-radius:7px;text-align:left}
.items.list .item:nth-child(odd of .item){background:var(--hover)}
.items.list .item .icon{width:40px;height:32px;padding:0;background:none}
.items.list .folder{--icon:34px}
.items.list .file-thumb{--tw:36px;--th:30px}
.items.list .weblink{width:28px;height:28px;border-radius:7px;font-size:11px}
.items.list .play-badge{width:14px;height:14px}.items.list .play-badge svg{width:7px;height:7px}
.items.list .name{flex-direction:row;align-items:center;gap:8px}
.items.list .label{font-size:13px;text-align:left;max-width:none;-webkit-line-clamp:1;padding:0}
.items.list .kind,.items.list .cnt{color:var(--ink-2);font-size:12px}
.items.list .item.selected.selected{background:var(--accent);color:#fff}
.window:not(.front) .items.list .item.selected.selected{background:rgba(128,128,128,.3);color:var(--ink)}
.items.list .item.selected .label{background:none}
.items.list .item.selected .kind,.items.list .item.selected .cnt{color:#ffffffd0}
.pathbar{display:flex;align-items:center;gap:10px;height:30px;padding:0 16px;border-top:1px solid var(--line);font-size:11.5px;color:var(--ink-2);flex:none}
.crumbs{display:flex;align-items:center;gap:4px;min-width:0;overflow:hidden;white-space:nowrap;flex:1}
.crumbs button{padding:1px 4px;border-radius:4px;color:var(--ink-2);cursor:default}
.crumbs button:hover{background:var(--hover);color:var(--ink)}
.crumbs b{font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis}
.count{white-space:nowrap}

/* Simple windows */
.panel-window{flex-direction:column}
.titlebar{display:flex;align-items:center;gap:12px;height:48px;padding:0 16px;flex:none}
.titlebar .win-title{flex:1;text-align:center;margin-right:60px;font-size:13px}
.panel-body{flex:1;overflow:auto;padding:0 34px 30px}
.about,.contact{max-width:560px;margin:0 auto;text-align:center}
.avatar{width:92px;height:92px;margin:6px auto 14px;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:800;letter-spacing:-.02em;color:#fff;background:radial-gradient(circle at 30% 25%,#f6d48b,#b77a29 55%,#3a2a15);box-shadow:0 8px 24px rgba(120,70,10,.35),inset 0 1px rgba(255,255,255,.5)}
.avatar.small{width:64px;height:64px;font-size:24px}
.about h1,.contact h1{margin:0;font-size:26px;letter-spacing:-.02em}
.about .role{margin:4px 0 0;color:var(--ink-2);font-weight:500}
.about .specialty{margin:14px auto 0;font-size:15px;font-weight:600;max-width:420px}
.about-copy{text-align:left;margin-top:18px;color:var(--ink-2);font-size:13.5px;line-height:1.6}
.about-copy p{margin:0 0 12px}
.about-actions{display:flex;gap:10px;justify-content:center;margin-top:18px}
.pill{height:32px;padding:0 16px;border-radius:999px;background:var(--hover);font-weight:600;cursor:pointer;box-shadow:var(--rim)}
.pill.primary{background:var(--accent);color:#fff}
.contact>p{color:var(--ink-2);margin:6px 0 18px}
.mail{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 18px;border-radius:999px;background:var(--accent);color:#fff;font-weight:600;font-size:14px}
.mail svg{stroke:#fff}
.link-list{margin:22px auto 0;max-width:380px;border-radius:14px;background:rgb(var(--pane)/.5);box-shadow:var(--rim);overflow:hidden;text-align:left}
:root[data-theme=dark] .link-list{background:rgb(255 255 255/.06)}
.link-row{display:flex;align-items:center;gap:12px;height:44px;padding:0 14px;border-bottom:1px solid var(--line)}
.link-row:last-child{border-bottom:0}
.link-row:hover{background:var(--hover)}
.link-row span{flex:1;font-weight:500}
.link-row svg{width:15px;height:15px;color:var(--ink-3)}
.glyph{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;font-size:12px;font-weight:800;color:#fff;background:#888}
.glyph.behance{background:#0057ff}.glyph.vimeo{background:#1ab7ea}.glyph.linkedin{background:#0a66c2}.glyph.instagram{background:linear-gradient(45deg,#f9a825,#e91e63 50%,#7b1fa2)}
.testimonials{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;padding-top:4px}
.quote-card{margin:0;padding:18px;border-radius:16px;background:rgb(var(--pane)/.55);box-shadow:var(--rim)}
.quote-card blockquote{margin:6px 0 14px;font-size:14px;line-height:1.55}
.quote-card figcaption{display:flex;gap:10px;align-items:center}
.quote-card img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.quote-card small{display:block;color:var(--ink-2)}

/* Dock */
.dock{position:fixed;left:50%;bottom:10px;transform:translateX(-50%);z-index:8000;display:flex;align-items:flex-end;gap:4px;padding:6px 8px;border-radius:24px;max-width:calc(100vw - 20px)}
.dock-item{--mag:1;position:relative;display:grid;place-items:center;width:calc(54px*var(--mag));height:54px;transition:width .14s var(--ease);cursor:default}
.app-icon{width:calc(50px*var(--mag));height:calc(50px*var(--mag));border-radius:calc(12px*var(--mag));display:grid;place-items:center;font-weight:800;font-size:calc(18px*var(--mag));color:#fff;transform-origin:bottom center;transition:width .14s var(--ease),height .14s var(--ease);box-shadow:0 3px 8px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.45),inset 0 0 0 .5px rgba(0,0,0,.1);align-self:end;margin-bottom:2px}
.app-icon svg{width:46%;height:46%;stroke:#fff;stroke-width:2}
.finder-icon{background:linear-gradient(90deg,#66b7ff 50%,#e8f2ff 50%);overflow:hidden;position:relative}
.finder-icon .face{position:absolute;inset:22% 18%;}
.finder-icon .face i{position:absolute;top:10%;width:8%;height:26%;border-radius:4px;background:#1d3d6b}
.finder-icon .face i:first-child{left:24%}.finder-icon .face i:last-child{right:24%}
.finder-icon .face::after{content:"";position:absolute;left:18%;right:18%;bottom:12%;height:22%;border:2.5px solid #1d3d6b;border-top:0;border-radius:0 0 50% 50%}
.latest-icon{background:linear-gradient(160deg,#ff8a7a,#e8423f)}
.about-icon{background:linear-gradient(160deg,#4a4a54,#1c1c22)}
.contact-icon{background:linear-gradient(160deg,#5ac8fa,#0a7bf0);font-size:calc(24px*var(--mag))}
.quote-icon{background:linear-gradient(160deg,#ffd36b,#e8a317)}
.saved-icon{background:linear-gradient(160deg,#b7a7ff,#6b55e6)}
.link-icon{background:#888}
.link-icon.behance{background:linear-gradient(160deg,#3f7bff,#0047e6)}
.link-icon.vimeo{background:linear-gradient(160deg,#4fd0f7,#1aa1d6);font-size:calc(22px*var(--mag))}
.link-icon.linkedin{background:linear-gradient(160deg,#2b86e0,#0a5bb0)}
.link-icon.instagram{background:radial-gradient(circle at 30% 110%,#fdd365 0,#fd7d39 30%,#e1306c 60%,#8a3ab9 90%);font-size:calc(22px*var(--mag))}
.min-icon{background:linear-gradient(160deg,#f7f3ea,#ddd2bd)}.min-icon svg{stroke:#7a6236}
.dock-sep{width:1px;height:44px;background:rgba(255,255,255,.35);margin:0 4px 5px;align-self:end}
.dock .run{position:absolute;bottom:-4px;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.85);box-shadow:0 0 2px rgba(0,0,0,.4)}
:root[data-theme=light] .dock .run{background:#2a2a2a}
.dock-tip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(4px);padding:4px 10px;border-radius:7px;background:rgb(var(--menu)/.9);color:var(--ink);font-size:12px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s,transform .12s;box-shadow:0 4px 14px rgba(0,0,0,.2),0 0 0 .5px rgba(0,0,0,.15)}
.dock-item:hover .dock-tip,.dock-item:focus-visible .dock-tip{opacity:1;transform:translateX(-50%)}

/* Quick Look */
.quicklook{padding:0;border:0;background:transparent;max-width:none;max-height:none;width:100vw;height:100dvh;overflow:hidden}
.quicklook::backdrop{background:rgba(10,8,5,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.ql-panel{position:absolute;inset:44px 5vw 30px;display:flex;flex-direction:column;border-radius:20px;background:rgb(var(--win)/.88);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6);box-shadow:var(--shadow),var(--rim);overflow:hidden;color:var(--ink)}
.ql-bar{display:flex;align-items:center;gap:8px;height:46px;padding:0 10px;flex:none}
.ql-heading{flex:1;display:flex;flex-direction:column;align-items:center;min-width:0}
.ql-title{font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ql-pos{font-size:11px;color:var(--ink-2);font-variant-numeric:tabular-nums}
.ql-btn{min-width:32px;height:28px;padding:0 8px;border-radius:999px;display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--ink-2);cursor:pointer}
.ql-btn:hover{background:var(--hover);color:var(--ink)}
.ql-btn[aria-pressed=true]{background:var(--accent);color:#fff}
.ql-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:0 64px 6px;overscroll-behavior:contain;outline:0}
.ql-stage img{max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;cursor:zoom-in;border-radius:4px;box-shadow:0 4px 18px rgba(0,0,0,.25)}
.ql-stage.actual{display:block;padding:0 16px 16px;text-align:center}
.ql-stage.actual img{max-width:none;max-height:none;cursor:zoom-out;margin:0 auto}
.ql-stage iframe,.ql-stage video{width:min(100%,calc((100dvh - 190px)*16/9));aspect-ratio:16/9;max-height:100%;border:0;border-radius:10px;background:#000}
.ql-nav{position:absolute;top:50%;width:40px;height:40px;margin-top:-20px;border-radius:50%;display:grid;place-items:center;background:rgb(var(--pane)/.7);box-shadow:var(--rim),0 2px 8px rgba(0,0,0,.18);cursor:pointer;color:var(--ink)}
:root[data-theme=dark] .ql-nav{background:rgb(255 255 255/.14)}
.ql-nav:disabled{opacity:.25;cursor:default}
.ql-nav.prev{left:14px}.ql-nav.next{right:14px}
.ql-foot{height:34px;display:flex;align-items:center;justify-content:center;flex:none;border-top:1px solid var(--line)}
.ql-source{font-size:12px;font-weight:600;color:var(--accent)}

/* Spotlight */
.spotlight{padding:0;border:0;background:transparent;width:min(620px,calc(100vw - 32px));margin:16vh auto auto;overflow:visible}
.spotlight::backdrop{background:transparent}
.spot-panel{border-radius:22px;padding:6px;color:var(--ink)}
.spot-field{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px}
.spot-field svg{width:22px;height:22px;color:var(--ink-2)}
.spot-field input{flex:1;border:0;outline:0;background:none;font-size:20px;color:var(--ink)}
.spot-results{list-style:none;margin:0;padding:0 0 4px;max-height:50vh;overflow:auto}
.spot-results:empty{display:none}
.spot-results li{display:flex;justify-content:space-between;gap:12px;padding:8px 14px;border-radius:10px;cursor:default}
.spot-results li small{color:var(--ink-2)}
.spot-results li[aria-selected=true]{background:var(--accent);color:#fff}
.spot-results li[aria-selected=true] small{color:#ffffffc8}
.spot-results .none{color:var(--ink-2)}

.toast{position:fixed;left:50%;top:44px;transform:translateX(-50%);z-index:9600;padding:8px 16px;border-radius:12px;font-size:12px;color:var(--ink);max-width:calc(100vw - 32px)}
.load-error{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);z-index:60;padding:10px 16px;border-radius:12px;background:rgba(0,0,0,.6);color:#fff}

/* Phones & small tablets */
@media (max-width:720px){
 .menus .menu-title:not(.brand):not(.app):not([data-menu=go]){display:none}
 #clock{font-size:12px}
 .welcome h1{font-size:72px}
 .welcome{padding-bottom:180px}
 .desktop-icons{top:auto;bottom:96px;right:0;left:0;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;max-height:none;padding:0 10px;gap:0;scrollbar-width:none}
 .desk-icon{width:88px;flex:none}
 .window{border-radius:18px}
 .finder .sidebar{position:absolute;inset:0 auto 0 0;z-index:6;margin:6px;width:240px;transform:translateX(-110%);transition:transform .25s var(--ease);background:rgb(var(--win)/.96)}
 .finder.show-sidebar .sidebar{transform:none}
 .sidebar-toggle,.mobile-close{display:grid}
 .finder .toolbar{gap:6px;padding:0 8px}
 .finder .traffic{display:none}
 .finder .sidebar .traffic{display:flex}
 .finder-main .toolbar::before{content:"";display:none}
 .search{width:auto;flex:1;max-width:150px}
 .tb-spacer{display:none}
 .win-title{flex:1;font-size:14px}
 .views{display:none}
 .content{padding:4px 8px 16px}
 .items.icons{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:12px 2px}
 .item .icon{width:88px;height:80px}
 .items.icons .file-thumb{--tw:84px;--th:76px}
 .items.list .item{grid-template-columns:36px 1fr 60px}.items.list .kind,.list-head{display:none}
 .panel-window .traffic{display:flex}
 .panel-body{padding:0 18px 24px}
 .dock{bottom:6px;padding:5px 6px;gap:2px;overflow-x:auto;scrollbar-width:none;border-radius:20px}
 .dock-item{width:41px;height:44px;flex:none}.app-icon{width:38px;height:38px;font-size:14px;border-radius:9px}.dock-sep{height:34px;margin:0 2px 5px}
 .dock-tip{display:none}
 .ql-panel{inset:0;border-radius:0}
 .ql-stage{padding:0 4px}
 .ql-nav{top:auto;bottom:44px;margin:0}
 .control{right:6px;left:6px;width:auto}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media (forced-colors:active){.window,.ctx-menu,.dock{border:1px solid CanvasText}}

/* ---- Round 2: groups, colour logos, app tiles, brand glyphs ---- */
.group{margin-bottom:18px}
.group h3{display:flex;align-items:baseline;gap:8px;margin:4px 6px 10px;padding-bottom:6px;border-bottom:1px solid var(--line);font-size:13px;font-weight:700;color:var(--ink)}
.group h3 span{font-size:11px;font-weight:500;color:var(--ink-3)}
.folder-badge{display:grid;place-items:center;width:58%;height:62%;border-radius:calc(var(--icon)*.08);background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25),inset 0 0 0 .5px rgba(0,0,0,.08);padding:6%}
.folder-badge .folder-logo{max-width:100%;max-height:100%;filter:none;opacity:1}
.folder[data-tone=light] .folder-badge .folder-logo{filter:none;opacity:1}
.app-tile{display:grid;place-items:center;width:68px;height:68px;border-radius:16px;overflow:hidden;background:linear-gradient(160deg,#2a3550,#101624);color:#fff;font-weight:800;box-shadow:0 2px 6px rgba(0,0,0,.25),inset 0 0 0 .5px rgba(0,0,0,.15)}
.app-tile img{width:100%;height:100%;object-fit:cover}
.items.list .app-tile{width:28px;height:28px;border-radius:7px;font-size:10px}
svg.brand{fill:currentColor;stroke:none}
.weblink svg.brand{width:30px;height:30px;fill:#fff}
.weblink{color:#555}
.glyph svg.brand{width:15px;height:15px;fill:#fff}
.link-row span small{display:block;font-size:11px;font-weight:400;color:var(--ink-3)}
.app-icon svg.brand{width:52%;height:52%;fill:#fff;stroke:none}
.app-icon img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.about-icon,.studio-icon{overflow:hidden;padding:0}
.studio-icon{background:#070f1f}
.studio-icon img{object-fit:contain;padding:12%}

/* ---- Widgets (macOS desktop widgets) ---- */
.widgets{position:absolute;top:46px;left:18px;display:grid;grid-template-columns:repeat(2,164px);gap:14px;z-index:1}
.widget{position:relative;display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:22px;color:#fff;text-align:left;cursor:pointer;background:rgba(30,22,12,.34);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6);box-shadow:inset 0 1px rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.12),0 10px 30px rgba(0,0,0,.18);transition:transform .2s var(--ease)}
.widget:hover{transform:translateY(-2px)}
.widget b{display:block;font-size:13px;line-height:1.25}
.widget small{display:block;font-size:11px;opacity:.8;line-height:1.3;margin-top:2px}
.widget em{display:inline-block;margin-top:8px;font-style:normal;font-size:10.5px;font-weight:600;padding:2px 8px;border-radius:999px;background:rgba(255,255,255,.18)}
.w-profile,.w-studio{grid-column:span 2;align-items:center}
.w-avatar{width:54px!important;height:54px!important;margin:0!important;flex:none;font-size:18px!important}
.w-clock{flex-direction:column;align-items:center;height:164px;justify-content:center;cursor:default}
.w-clock .dial{width:92px;height:92px;fill:none;stroke:#fff}
.w-clock .dial circle:first-child{fill:rgba(255,255,255,.08);stroke:rgba(255,255,255,.35);stroke-width:1.5}
.w-clock .dial line{stroke:rgba(255,255,255,.7);stroke-width:1.5;stroke-linecap:round}
.w-clock .dial .h{stroke:#fff;stroke-width:3.2}.w-clock .dial .m{stroke:#fff;stroke-width:2.2}.w-clock .dial .s{stroke:#ff9f0a;stroke-width:1}
.w-clock .dial .pin{fill:#ff9f0a;stroke:none}
.w-clock span{text-align:center}
.w-latest{height:164px;padding:0;overflow:hidden;align-items:flex-end}
.w-latest img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.w-latest .w-cap{position:relative;width:100%;padding:28px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.7))}
.w-latest i{display:block;font-style:normal;font-size:10px;opacity:.8;margin-top:2px}
.w-studio img{width:54px;height:54px;object-fit:contain;flex:none;border-radius:14px;background:#070f1f;padding:6px}
@media (max-width:1180px){.widgets{grid-template-columns:164px}.w-profile,.w-studio{grid-column:auto}.w-latest,.w-clock{display:none}}
@media (max-width:980px){.widgets{display:none}}

/* ---- Lock screen ---- */
.lock{position:fixed;inset:0;z-index:20000;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:9vh 24px 6vh;color:#fff;background:rgba(18,12,4,.28);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.lock-clock{text-align:center;text-shadow:0 2px 20px rgba(0,0,0,.25)}
.lock-date{margin:0;font-size:clamp(18px,2.2vw,24px);font-weight:600;opacity:.92}
.lock-time{margin:0;font-size:clamp(84px,13vw,150px);font-weight:700;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}
.lock-user{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.lock-photo,.lock-mono{width:88px;height:88px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px rgba(255,255,255,.5),0 10px 30px rgba(0,0,0,.35)}
.lock-mono{display:grid;place-items:center;font-size:28px;font-weight:800;background:radial-gradient(circle at 30% 25%,#f6d48b,#b77a29 55%,#3a2a15)}
.lock-name{margin:8px 0 0;font-size:20px;font-weight:700}
.lock-role{margin:0;font-size:13px;opacity:.8}
.lock-hint{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:22px;color:#fff;font-size:13px;font-weight:500;opacity:.85;cursor:pointer}
.lock-bar{width:120px;height:5px;border-radius:3px;background:rgba(255,255,255,.75);animation:lockNudge 2.4s ease-in-out infinite}
@keyframes lockNudge{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-6px)}}
body.locked .menubar,body.locked .dock,body.locked .widgets,body.locked .desktop-icons,body.locked .welcome{visibility:hidden}

/* ---- About, Studio ---- */
img.avatar{display:block;object-fit:cover;background:none}
.status-pill{display:inline-block;margin:10px 0 0;padding:3px 12px;border-radius:999px;background:rgba(48,209,88,.16);color:#1f8a3a;font-size:12px;font-weight:600}
:root[data-theme=dark] .status-pill{color:#5fe08a}
.studio-strip{display:flex;align-items:center;gap:12px;width:100%;margin-top:6px;padding:12px 14px;border-radius:14px;background:var(--hover);text-align:left;cursor:pointer;box-shadow:var(--rim)}
.studio-strip img{width:40px;height:40px;object-fit:contain;border-radius:10px;background:#070f1f;padding:4px}
.studio-strip span{flex:1}.studio-strip small{display:block;color:var(--ink-2)}
.studio-head .studio-id{display:flex;gap:14px;align-items:center}
.studio-head img{width:52px;height:52px;object-fit:contain;border-radius:13px;background:#070f1f;padding:5px}
.studio{max-width:760px;margin:0 auto}
.studio-hero{display:flex;gap:18px;align-items:center;padding:6px 0 18px;border-bottom:1px solid var(--line)}
.studio-hero>div{flex:1}
.studio-logo{width:84px;height:84px;object-fit:contain;border-radius:20px;background:#070f1f;padding:8px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.studio-hero h1{margin:0;font-size:26px;letter-spacing:-.02em}
.studio-hero .tagline{margin:2px 0 0;font-weight:600;color:var(--ink-2)}
.studio-meta{margin:6px 0 0;font-size:12px;color:var(--ink-3)}
.studio-about,.studio-why p{color:var(--ink-2);line-height:1.6;font-size:13.5px}
.studio-why h2,.apps-title{font-size:15px;margin:18px 0 6px}
.studio-apps{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.studio-app{display:flex;gap:12px;padding:12px;border-radius:14px;background:var(--hover);box-shadow:var(--rim);transition:box-shadow .3s}
.studio-app .app-tile{width:56px;height:56px;border-radius:13px;flex:none}
.studio-app h3{margin:0;font-size:14px}
.studio-app small{color:var(--ink-3)}
.studio-app p{margin:4px 0;font-size:12.5px;line-height:1.45;color:var(--ink-2)}
.studio-app a{font-size:12px;font-weight:600;color:var(--accent)}
.studio-app.flash{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 60%,transparent)}
.status{font-style:normal;font-size:10px;font-weight:700;padding:1px 7px;border-radius:999px;margin-left:4px;vertical-align:middle}
.status.live{background:rgba(48,209,88,.18);color:#1f8a3a}.status.soon{background:rgba(255,159,10,.18);color:#b26a00}
:root[data-theme=dark] .status.live{color:#5fe08a}:root[data-theme=dark] .status.soon{color:#ffbe5c}
.studio-app h3{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.studio-app h3 .status{display:inline-block;width:auto;margin:0}
@media (max-width:720px){.dock{gap:0;padding:5px 4px}.dock-item{width:37px}.app-icon{width:34px;height:34px;border-radius:8px;font-size:12px}.dock-sep{margin:0 1px 5px}}

/* Logos sit directly on the folder front, in their original colours */
.folder-front .folder-logo{max-width:62%;max-height:66%;object-fit:contain;filter:none;opacity:1}
.folder[data-tone=light] .folder-front .folder-logo{filter:none;opacity:1}
.studio-credit{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--ink);font-weight:600;line-height:1.5}
.folder-front .folder-logo.halo{filter:none}
.folder-front .folder-logo.halo-dark{filter:none}

/* ===== Round 4: alignment, glass type, Apple-style motion, collapsible sections, RTL ===== */
/* Buttons: text and icons optically centred */
.pill,.mail,.welcome-open,.primary,.cc-action,.lock-hint{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1}
.pill{height:34px;padding:0 18px;white-space:nowrap}
.studio-hero .pill{flex:none;align-self:center}
.welcome-open span{display:inline-block}

/* Welcome block: glass name instead of a slogan */
.welcome .welcome-role{margin:0 0 8px;font-size:15px;font-weight:600;letter-spacing:.01em;opacity:.9}
.welcome .glass-text,.glass-text{margin:0;font-size:clamp(56px,9vw,128px);font-weight:800;letter-spacing:-.045em;line-height:1;color:transparent;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.78) 48%,rgba(255,236,200,.55) 100%);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 2px 1px rgba(0,0,0,.12)) drop-shadow(0 18px 40px rgba(60,30,0,.35));text-shadow:none}
.glass-text i{font-style:normal;display:inline-block;color:transparent;background:inherit;-webkit-background-clip:text;background-clip:text}
.glass-text i.sp{width:.24em}
.welcome-line{margin:14px 0 24px;font-size:16px;font-weight:500;opacity:.88;max-width:560px}
.welcome-open{height:38px;padding:0 20px;font-size:14px}

/* Lock screen: photo fades in, no placeholder flash, no focus ring */
.lock:focus,.lock:focus-visible{outline:none}
.lock-hint:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:6px;border-radius:10px}
.lock-avatar{position:relative;width:88px;height:88px;border-radius:50%;background:rgba(255,255,255,.14);box-shadow:0 0 0 2px rgba(255,255,255,.45),0 10px 30px rgba(0,0,0,.35);overflow:hidden}
.lock-avatar .lock-photo,.lock-avatar .lock-mono{position:absolute;inset:0;width:100%;height:100%;box-shadow:none}
.lock-photo{opacity:0;transition:opacity .45s var(--ease)}.lock-photo.ready{opacity:1}
.lock-user .lock-name,.lock-user .lock-role{opacity:0;transform:translateY(4px);transition:opacity .45s var(--ease),transform .45s var(--ease)}
.lock-user.ready .lock-name,.lock-user.ready .lock-role{opacity:1;transform:none}
.lock-clock{animation:fadeDown .9s var(--ease) both}
@keyframes fadeDown{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}

/* Glass "Welcome" after unlocking */
.hello{position:fixed;inset:0;z-index:19000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;pointer-events:none}
.hello-word{font-size:clamp(70px,12vw,170px);font-weight:800;letter-spacing:-.05em;line-height:1;color:transparent;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.7) 55%,rgba(255,226,170,.5));-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 20px 50px rgba(40,20,0,.45)) blur(18px);opacity:0;transform:scale(.92)}
.hello-sub{font-size:18px;font-weight:600;color:rgba(255,255,255,.9);letter-spacing:.02em;opacity:0;transform:translateY(8px)}
.hello.in .hello-word{animation:helloIn 1.1s var(--ease) forwards}
.hello.in .hello-sub{animation:subIn .8s .45s var(--ease) forwards}
.hello.out{animation:helloOut .7s ease forwards}
@keyframes helloIn{to{opacity:1;transform:none;filter:drop-shadow(0 20px 50px rgba(40,20,0,.45)) blur(0)}}
@keyframes subIn{to{opacity:1;transform:none}}
@keyframes helloOut{to{opacity:0;transform:translateY(-30px) scale(1.04)}}

/* Desktop intro: menu bar drops in, Dock rises, widgets and icons cascade */
body.intro .menubar{animation:fadeDown .7s var(--ease) both}
body.intro .dock{animation:dockUp .8s .15s var(--ease) both}
body.intro .widget,body.intro .desk-icon{animation:popIn .6s calc(.25s + var(--i,0)*60ms) var(--ease) both}
body.intro .welcome-role,body.intro .welcome-line,body.intro .welcome-open{animation:rise .8s .35s var(--ease) both}
body.intro .welcome-line{animation-delay:.6s}body.intro .welcome-open{animation-delay:.75s}
body.intro .glass-text i{animation:letter .7s calc(.3s + var(--d,0ms)) var(--ease) both}
body.intro .glass-text:not(:has(i)){animation:rise .9s .3s var(--ease) both}
@keyframes dockUp{from{opacity:0;transform:translate(-50%,30px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes popIn{from{opacity:0;transform:scale(.86) translateY(8px)}to{opacity:1;transform:none}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes letter{from{opacity:0;transform:translateY(.25em);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(0)}}

/* Living wallpaper: the gold ribbons drift very slowly */
.wallpaper i{animation:none}
.wallpaper i:nth-child(2){animation-duration:60s;animation-delay:-12s}.wallpaper i:nth-child(3){animation-duration:54s;animation-delay:-20s}
@keyframes drift{from{translate:0 0}to{translate:-2.5% 1.5%}}

/* Small delights */
.desk-icon .icon,.item .icon{transition:transform .25s var(--ease),background .12s}
.desk-icon:hover .icon{transform:translateY(-3px)}
.item:active .icon{transform:scale(.96)}
.widget{transition:transform .3s var(--ease),box-shadow .3s}
.widget:hover{transform:translateY(-3px) scale(1.01);box-shadow:inset 0 1px rgba(255,255,255,.25),inset 0 0 0 1px rgba(255,255,255,.14),0 16px 40px rgba(0,0,0,.25)}
.app-icon{transition:width .14s var(--ease),height .14s var(--ease),transform .2s var(--ease)}
.dock-item:active .app-icon{transform:scale(.9)}

/* Collapsible sidebar sections and Finder groups */
.side-sec{margin-top:8px}
.side-head{display:flex;align-items:center;justify-content:space-between;width:100%;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:600;color:var(--ink-3);cursor:default}
.side-head svg{width:12px;height:12px;opacity:0;transform:rotate(90deg);transition:transform .2s var(--ease),opacity .15s}
.side-head:hover svg,.side-head:focus-visible svg,.side-sec.closed .side-head svg{opacity:1}
.side-sec.closed .side-head svg{transform:none}
.side-body{display:grid;grid-template-rows:1fr;transition:grid-template-rows .25s var(--ease)}
.side-body>*{min-height:0}
.side-sec .side-body{overflow:hidden}
.side-sec.closed .side-body{display:none}
.group-head{display:flex;align-items:center;gap:6px;width:100%;margin:4px 0 10px;padding:0 6px 6px;border-bottom:1px solid var(--line);font-size:13px;font-weight:700;color:var(--ink);text-align:start;cursor:default}
.group-head svg{width:12px;height:12px;color:var(--ink-3);transform:rotate(90deg);transition:transform .2s var(--ease)}
.group-head small{font-size:11px;font-weight:500;color:var(--ink-3)}
.group.closed .group-head svg{transform:none}
.group.closed .items{display:none}
.group.closed{margin-bottom:6px}

/* Language switch */
.lang-btn{font-weight:700;font-size:12px;min-width:30px;justify-content:center}

/* Right-to-left (Arabic) */
:root[dir=rtl]{font-family:-apple-system,BlinkMacSystemFont,"SF Arabic","Geeza Pro","Noto Sans Arabic","Segoe UI",Tahoma,sans-serif}
[dir=rtl] .desktop-icons{right:auto;left:14px}
[dir=rtl] .widgets{left:auto;right:18px}
[dir=rtl] .control{right:auto;left:10px}
[dir=rtl] .ql-nav.prev{left:auto;right:14px}[dir=rtl] .ql-nav.next{right:auto;left:14px}
[dir=rtl] [data-tb=back] svg,[dir=rtl] [data-tb=fwd] svg,[dir=rtl] .ql-nav svg,[dir=rtl] .studio-strip>svg,[dir=rtl] .side-head svg,[dir=rtl] .group-head svg{transform:scaleX(-1)}
[dir=rtl] .side-sec:not(.closed) .side-head svg,[dir=rtl] .group:not(.closed) .group-head svg{transform:rotate(90deg)}
[dir=rtl] .finder .sidebar{border-right:0;border-left:1px solid var(--line)}
[dir=rtl] .list-head{padding:0 56px 6px 10px}
[dir=rtl] .side-item,[dir=rtl] .ctx-menu button,[dir=rtl] .widget,[dir=rtl] .studio-strip,[dir=rtl] .link-row,[dir=rtl] .items.list .item,[dir=rtl] .about-copy,[dir=rtl] .spot-results li{text-align:right}
[dir=rtl] .ctx-menu button kbd{margin-left:0;margin-right:18px}
[dir=rtl] .glass-text{letter-spacing:0}
[dir=rtl] .titlebar .win-title{margin-right:0;margin-left:60px}
[dir=rtl] .tb-btn.mobile-close{order:-1}
@media (max-width:720px){[dir=rtl] .finder .sidebar{inset:0 0 0 auto;transform:translateX(110%)}[dir=rtl] .finder.show-sidebar .sidebar{transform:none}}

@media (prefers-reduced-motion:reduce){.wallpaper i{animation:none}.hello{display:none}}

body.greeting .welcome,body.greeting .widgets,body.greeting .desktop-icons,body.greeting .dock,body.greeting .menubar,body.greeting #windows{opacity:0}
.hello{background:rgba(18,12,4,.18);-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3)}
.hello.out{animation:helloOut .7s ease forwards}
[dir=rtl] .welcome-open span[aria-hidden],[dir=rtl] .link-row svg,[dir=rtl] .mail+.link-list svg{transform:scaleX(-1)}

/* ===== Round 5: Apple-style glass handwriting ===== */
.welcome .glass-text{background:none;color:inherit;filter:none;-webkit-background-clip:border-box;background-clip:border-box;margin:2px 0 0;line-height:0}
.gscript{display:block;height:clamp(64px,7.2vw,104px);width:auto;max-width:min(560px,70vw);overflow:visible}
.hello-word{background:none;color:inherit;filter:none;opacity:1;transform:none;-webkit-background-clip:border-box;background-clip:border-box}
.hello-word .gscript{height:clamp(110px,15vw,210px);max-width:88vw}
.hello .hello-word{animation:none!important}
.gs-wipe{transform-box:fill-box;transform-origin:left center}
[dir=rtl] .gs-wipe{transform-origin:right center}
.hello.in .gs-wipe{animation:gsWrite 1.9s cubic-bezier(.45,.05,.3,1) both}
body.intro .glass-text .gs-wipe{animation:gsWrite 1.7s .35s cubic-bezier(.45,.05,.3,1) both}
@keyframes gsWrite{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.hello.in .hello-word .gscript{animation:gsFloat 2.3s ease-out both}
@keyframes gsFloat{from{transform:translateY(10px)}to{transform:none}}
.hello-sub{font-size:15px}
.welcome .welcome-role{font-size:14px}
.welcome-line{margin:10px 0 20px;font-size:15px}
/* Widgets keep clear of the centred name */
.widgets{top:44px;left:16px;grid-template-columns:repeat(2,150px);gap:12px}
.w-clock,.w-latest{height:150px}
.w-clock .dial{width:84px;height:84px}
@media (max-width:1320px){.widgets{grid-template-columns:150px}.w-profile{grid-column:auto}.w-latest,.w-clock{display:none}}
@media (max-width:1060px){.widgets{display:none}}
.hello-word .gscript{height:clamp(190px,26vw,360px);max-width:92vw}
.hello{gap:0}.hello-sub{margin-top:-8px}
[dir=rtl] .hello-word .gscript{height:clamp(150px,20vw,280px)}

/* ===== Round 6: clean desktop — only the glass name ===== */
.welcome{padding-bottom:70px}
.welcome .glass-text{cursor:default}
.gscript{height:clamp(96px,11vw,150px);max-width:min(760px,82vw)}
.hello{background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
.hello-sub{display:none}
.hello-word .gscript{height:clamp(150px,19vw,260px);max-width:86vw}
body.intro .glass-text .gs-wipe{animation:gsWrite 2.2s .2s cubic-bezier(.45,.05,.3,1) both}
.hello.in .gs-wipe{animation:gsWrite 2.2s cubic-bezier(.45,.05,.3,1) both}
@media (max-width:720px){.welcome{padding-bottom:160px}.gscript{height:clamp(70px,20vw,110px)}}
.glyph.cv{background:linear-gradient(160deg,#4a4a54,#1c1c22);font-size:10px}
.about-actions{flex-wrap:wrap}

/* ===== Round 7: pen-drawn upright glass script; welcome screen; desktop restored ===== */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.welcome{padding-bottom:40px}
.welcome .welcome-role{font-size:15px;font-weight:600;opacity:.9;margin:0 0 16px;text-shadow:0 1px 12px rgba(0,0,0,.35)}
.gscript.pen path{stroke-dasharray:var(--len) var(--gap);stroke-dashoffset:var(--off)}
.gscript.pen.drawing path{animation:gsPen linear both}
.gscript.pen.drawn path{stroke-dashoffset:0;animation:none}
@keyframes gsPen{to{stroke-dashoffset:0}}
.gscript.pen .gs-wipe{animation:none!important;transform:none}
.hello .hello-word{transition:opacity .45s ease,filter .45s ease}
.hello.swap .hello-word{opacity:0;filter:blur(10px)}
.hello-word .gscript{height:clamp(150px,18vw,250px);max-width:84vw}
.hello.in .hello-word .gscript{animation:none}
.hello.in .gs-wipe{animation:gsWrite 2.2s cubic-bezier(.45,.05,.3,1) both}
.hello{background:radial-gradient(120% 90% at 50% 45%,rgba(30,18,6,.08),rgba(10,6,2,.38));-webkit-backdrop-filter:blur(16px) saturate(1.25);backdrop-filter:blur(16px) saturate(1.25)}
.hello.in .hello-word .gscript{animation:penFloat 6s ease-out both}
@keyframes penFloat{from{transform:translateY(6px) scale(.985)}to{transform:none}}

/* ===== Round 8: widgets always on the desktop (scaled), clean desktop centre ===== */
.welcome{display:none}
.widgets{grid-template-columns:repeat(2,150px)}
@media (max-width:1320px){.widgets{grid-template-columns:repeat(2,150px)}.w-latest,.w-clock{display:flex}.w-profile{grid-column:1/-1}}
@media (max-width:1060px){.widgets{display:grid;grid-template-columns:repeat(2,132px);gap:10px}.widget{padding:11px;border-radius:18px}}
@media (max-width:760px){.widgets{grid-template-columns:1fr;width:min(280px,calc(100vw - 32px))}.w-clock,.w-latest{display:none}}
.hello{pointer-events:auto;cursor:default}

/* ===== Round 8: glass lettering (Dancing Script / Aref Ruqaa) ===== */
.gtext{display:block;height:clamp(84px,10.5vw,150px);width:auto;max-width:86vw;overflow:visible}
.gtext .gl{fill:#fff;stroke:#fff;stroke-width:9;stroke-linejoin:round;stroke-opacity:0}
.gtext.ready .gl{fill-opacity:0;stroke-opacity:.95;stroke-dasharray:var(--len) var(--len);stroke-dashoffset:var(--len)}
.gtext.drawing .gl{animation:glDraw var(--dd) var(--d0) cubic-bezier(.45,0,.25,1) both,glFill var(--fd) var(--f0) ease-out both}
.gtext.drawn .gl{animation:none;fill-opacity:1;stroke-opacity:0;stroke-dashoffset:0}
@keyframes glDraw{to{stroke-dashoffset:0}}
@keyframes glFill{from{fill-opacity:0;stroke-opacity:.95}to{fill-opacity:1;stroke-opacity:0}}
.gtext .shine{transform:translateX(0)}
.gtext.drawing .shine{animation:glShine 1.15s var(--s0) cubic-bezier(.4,0,.2,1) both}
@keyframes glShine{to{transform:translateX(calc(var(--shx) * 1px))}}
.hello-word .gtext{height:clamp(80px,9.5vw,140px)}
.hello.in .hello-word .gtext{animation:penFloat 4s ease-out both}
.w-latest .w-cap i{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.w-latest .w-cap b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:1060px){.widget b{font-size:12px}.widget small{font-size:10px}}

/* Round 8b: script glass — outline + glass fill revealed in writing direction */
.gtext .gl{stroke-width:7}
.gtext.ready .gs-wipe{transform:scaleX(0);transform-box:fill-box;transform-origin:left center}
.gtext.ready.rtl .gs-wipe{transform-origin:right center}
.gtext.drawing .gs-wipe{animation:gsReveal calc(var(--ms) * .62) cubic-bezier(.5,.05,.35,1) both}
.gtext.drawing .gl{animation:glDraw calc(var(--ms) * .7) cubic-bezier(.45,0,.25,1) both,glFill calc(var(--ms) * .4) calc(var(--ms) * .42) ease-out both}
.gtext.drawing .shine{animation:glShine 1.1s calc(var(--ms) * .74) cubic-bezier(.4,0,.2,1) both}
.gtext.drawn .gs-wipe{transform:none;animation:none}
@keyframes gsReveal{to{transform:scaleX(1)}}
.hello-word .gtext{height:clamp(110px,13vw,190px)}
.hello-word .gtext{height:clamp(150px,17vw,250px)}
/* ===== Round 8: case studies, services, client logos, booking ===== */
.case-study{grid-column:1/-1;margin-top:14px;display:grid;gap:14px}
.case-metrics{display:flex;flex-wrap:wrap;gap:10px}
.metric{min-width:120px;padding:12px 16px;border-radius:16px;background:var(--hover);box-shadow:var(--rim)}
.metric b{display:block;font-size:26px;font-weight:700;letter-spacing:-.02em}
.metric span{font-size:12px;opacity:.75}
.case-parts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.case-part h3{margin:0 0 4px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.6}
.case-part p{margin:0 0 6px;font-size:13px;line-height:1.5}
.services{padding:8px 6px}
.services-hero h1{margin:0;font-size:28px;letter-spacing:-.02em}
.services-hero p{max-width:640px;opacity:.85;line-height:1.55}
.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:18px 0}
.service-card{padding:16px 18px;border-radius:18px;background:var(--hover);box-shadow:var(--rim)}
.service-card h2{margin:0 0 6px;font-size:16px}
.service-card p{margin:0 0 8px;font-size:13px;line-height:1.5;opacity:.88}
.service-card ul{margin:0;padding-inline-start:18px;font-size:12.5px;line-height:1.6;opacity:.85}
.process-title{font-size:15px;margin:22px 0 8px}
.process{counter-reset:s;list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.process li{counter-increment:s;padding:12px 14px;border-radius:14px;background:var(--hover);font-size:12.5px;line-height:1.5}
.process li::before{content:counter(s);display:inline-grid;place-items:center;width:22px;height:22px;margin-inline-end:8px;border-radius:50%;background:var(--accent,#0a84ff);color:#fff;font-weight:700;font-size:11px}
.process li b{font-size:13.5px}.process li span{display:block;margin-top:4px;opacity:.82}
.logo-wall{margin:18px 0 6px}
.logo-wall h2{font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.6;margin:0 0 10px}
.logo-wall>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:10px}
.logo-wall button{aspect-ratio:1;display:grid;place-items:center;padding:10px;border:0;border-radius:14px;background:var(--hover);cursor:pointer;transition:transform .2s,background .2s}
.logo-wall button:hover{transform:translateY(-2px);background:rgba(255,255,255,.12)}
.logo-wall img{max-width:100%;max-height:100%;object-fit:contain}
.glyph.cal svg{width:16px;height:16px}
/* ===== Round 8: owner editing on the site ===== */
.edit-link{font-weight:600;font-size:12px;padding:0 10px;text-decoration:none;color:inherit}
.edit-bar{position:fixed;left:50%;top:38px;transform:translateX(-50%);z-index:9000;display:flex;align-items:center;gap:8px;padding:6px 8px 6px 14px;border-radius:999px;font-size:12px;color:#fff;background:rgba(20,14,8,.55);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 10px 30px rgba(0,0,0,.3)}
.edit-bar b{color:#ffd60a}.edit-bar span{opacity:.75;margin-inline-end:4px}
.edit-bar button,.edit-bar a{height:26px;padding:0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center}
.edit-bar .done{background:var(--accent,#0a84ff)}
@media (max-width:900px){.edit-bar span{display:none}}
.inspector .ins-form{display:flex;flex-direction:column;gap:10px;padding:16px 18px 0;overflow:auto}
.ins-head{display:flex;align-items:center;gap:10px;font-size:15px}
.ins-row{display:flex;flex-direction:column;gap:4px}
.ins-row>label{font-size:11.5px;font-weight:600;opacity:.75}
.ins-row small{font-size:11px;opacity:.6}
.ins-row input:not([type=checkbox]):not([type=range]):not([type=color]),.ins-row select,.ins-row textarea{width:100%;padding:7px 10px;border-radius:8px;border:0;background:var(--hover);color:inherit;font:inherit;font-size:13px;box-shadow:var(--rim)}
.ins-row textarea{resize:vertical;line-height:1.45}
.ins-row.inline{flex-direction:row;align-items:center;justify-content:space-between}
.ins-row input[type=color]{width:44px;height:28px;border:0;background:none;padding:0}
.ins-row.toggle{flex-direction:row;align-items:center;gap:10px}
.ins-row.toggle label:last-child{display:flex;flex-direction:column;font-size:13px}
.switch{position:relative;flex:none;width:38px;height:22px}
.switch input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.switch i{position:absolute;inset:0;border-radius:999px;background:rgba(127,127,127,.4);transition:background .2s;pointer-events:none}
.switch i::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.switch input:checked+i{background:#34c759}.switch input:checked+i::after{transform:translateX(16px)}
.switch input:focus-visible+i{outline:2px solid var(--accent,#0a84ff);outline-offset:2px}
.ins-sec{margin:10px 0 0;font-size:11px;letter-spacing:.05em;text-transform:uppercase;opacity:.6}
.ins-media{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ins-tile{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;cursor:pointer;box-shadow:var(--rim)}
.ins-tile img{width:100%;height:100%;object-fit:cover;transition:opacity .2s,filter .2s}
.ins-tile.off img{opacity:.25;filter:grayscale(1)}
.ins-tile.off::after{content:"Hidden";position:absolute;inset:auto 0 6px;text-align:center;font-size:10px;font-weight:700}
.ins-tile .star{position:absolute;top:4px;right:4px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:12px;cursor:pointer;opacity:.6}
.ins-tile.cover{box-shadow:0 0 0 2px #ffd60a}.ins-tile.cover .star{opacity:1;color:#ffd60a}
.ins-foot{position:sticky;bottom:0;display:flex;align-items:center;gap:8px;margin:6px -18px 0;padding:12px 18px;background:inherit;border-top:1px solid rgba(127,127,127,.2)}
.ins-foot span{flex:1}
.pill.danger{color:#ff453a}
.edit-bar{top:auto;bottom:96px;white-space:nowrap}
.edit-bar button,.edit-bar a{white-space:nowrap}
.services-icon{background:linear-gradient(160deg,#8e8cff,#4b49d6)}
.edit-bar{top:3px;bottom:auto;padding:2px 3px 2px 12px;gap:5px;font-size:11.5px;z-index:20001;background:rgba(20,14,8,.5)}
.edit-bar button,.edit-bar a{height:20px;padding:0 10px;font-size:11.5px}
@media (max-width:1100px){.edit-bar span{display:none}}
@media (max-width:760px){.edit-bar{top:auto;bottom:88px}}
/* ===== Round 9: Saved password screen (glass) ===== */
.vault-page{min-height:100vh;display:grid;place-items:center;overflow:hidden}
.vault{position:relative;z-index:1;width:min(340px,calc(100vw - 32px));padding:34px 28px 24px;border-radius:30px;text-align:center;color:#fff;background:rgba(30,22,12,.32);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:inset 0 1px rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.14),0 30px 80px rgba(0,0,0,.35)}
.vault-icon{width:64px;height:64px;margin:0 auto 12px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(160deg,rgba(255,255,255,.35),rgba(255,255,255,.08));box-shadow:inset 0 1px rgba(255,255,255,.5),inset 0 0 0 1px rgba(255,255,255,.2)}
.vault-icon svg{width:30px;height:30px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round}
.vault h1{margin:0;font-size:24px;letter-spacing:-.01em}
.vault>p{margin:4px 0 20px;opacity:.75;font-size:13px}
.vault-field{display:flex;align-items:center;gap:6px;padding:4px 4px 4px 16px;border-radius:999px;background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.vault-field input{flex:1;min-width:0;height:34px;border:0;background:none;color:#fff;font:inherit;font-size:15px;outline:none}
.vault-field input::placeholder{color:rgba(255,255,255,.65)}
.vault-field button{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.25);cursor:pointer}
.vault-field button svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.vault-field:focus-within{box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 0 0 3px rgba(255,255,255,.12)}
.vault-error{min-height:18px;margin:10px 0 0;font-size:12.5px;color:#ffd0cc}
.vault-back{display:inline-block;margin-top:8px;font-size:12px;color:rgba(255,255,255,.75)}

/* ===== Round 9: CV widget ===== */
.w-cv{flex-direction:column;justify-content:space-between;cursor:default}
.w-cv>span:nth-child(2){display:block}
.cv-doc{position:relative;display:grid;align-content:start;gap:3px;width:34px;height:42px;padding:6px 5px;border-radius:5px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.cv-doc b{font-size:9px;font-weight:800;color:#0a7bf0;line-height:1}
.cv-doc i{display:block;height:2px;border-radius:2px;background:#d0d0d5}.cv-doc i:last-child{width:60%}
.w-actions{display:flex;gap:6px;width:100%}
.w-btn{flex:1;height:24px;display:grid;place-items:center;border-radius:999px;font-size:11px;font-weight:600;color:#fff;text-decoration:none;background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.w-btn.primary{background:var(--accent,#0a84ff)}
.w-btn:hover{background:rgba(255,255,255,.26)}.w-btn.primary:hover{filter:brightness(1.1)}

/* Round 9 alignment: every desktop icon sits in the same 64px box */
.desk-icon .icon{width:72px;height:64px}
.desk-icon .icon>*{max-width:64px;max-height:60px}
.desk-icon .weblink{width:56px;height:56px;border-radius:14px}
.desk-icon .file-thumb{--tw:64px;--th:48px}
.desktop-icons{row-gap:10px}
/* Round 9: the Dock always fits the phone width (no clipped icons) */
@media (max-width:720px){.dock{--n:11;max-width:calc(100vw - 12px);overflow:visible}.dock-item{width:calc((100vw - 40px)/var(--n));max-width:40px}.app-icon{width:calc((100vw - 52px)/var(--n));height:calc((100vw - 52px)/var(--n));max-width:36px;max-height:36px}.dock-sep{margin:0 1px 5px}}

.edit-menu{display:inline-flex;align-items:center;gap:6px;padding:0 10px;font-size:12.5px;font-weight:600;color:#fff;border-radius:6px}
.edit-menu i{width:7px;height:7px;border-radius:50%;background:#ffd60a;box-shadow:0 0 6px #ffd60a}

/* ===== Round 9: Liquid Glass showcase ===== */
.glass-lens{position:fixed;left:0;top:0;z-index:15000;width:120px;height:120px;border-radius:50%;cursor:grab;touch-action:none;will-change:transform;
 -webkit-backdrop-filter:blur(2px) saturate(1.6) brightness(1.08);backdrop-filter:blur(2px) saturate(1.6) brightness(1.08);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),inset 0 2px 1px rgba(255,255,255,.7),inset 0 -10px 24px rgba(255,255,255,.12),inset 10px 0 30px rgba(255,255,255,.08),0 24px 50px rgba(0,0,0,.35),0 4px 10px rgba(0,0,0,.2)}
.glass-lens.refract{-webkit-backdrop-filter:url(#hg-lens) saturate(1.5) brightness(1.06);backdrop-filter:url(#hg-lens) saturate(1.5) brightness(1.06)}
.glass-lens.held{cursor:grabbing}
.glass-lens i{position:absolute;inset:0;border-radius:50%;pointer-events:none}
.gl-sheen{background:radial-gradient(60% 45% at var(--lx,32%) var(--ly,22%),rgba(255,255,255,.55),rgba(255,255,255,0) 60%),radial-gradient(120% 80% at 50% 120%,rgba(255,220,160,.18),transparent 60%);mix-blend-mode:screen;transition:background .2s}
.gl-rim{box-shadow:inset 0 0 12px 2px rgba(255,255,255,.18),inset 0 0 0 6px rgba(255,255,255,.04);background:conic-gradient(from 210deg,rgba(255,80,80,.10),rgba(80,160,255,.10),rgba(120,255,160,.08),rgba(255,80,80,.10));-webkit-mask:radial-gradient(circle,transparent 62%,#000 72%);mask:radial-gradient(circle,transparent 62%,#000 72%)}
.gl-tip{position:absolute;left:50%;bottom:-30px;transform:translateX(-50%);font-size:11px;font-weight:600;color:#fff;white-space:nowrap;padding:3px 10px;border-radius:999px;background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.glass-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;-webkit-backdrop-filter:blur(6px) saturate(1.6);backdrop-filter:blur(6px) saturate(1.6);background:radial-gradient(60% 45% at 35% 25%,rgba(255,255,255,.6),rgba(255,255,255,.06) 60%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.4),inset 0 2px 1px rgba(255,255,255,.7),0 8px 18px rgba(0,0,0,.3)}
.glass-icon i{width:22px;height:22px;border-radius:50%;background:conic-gradient(from 200deg,#ff8a8a,#8ac6ff,#9cffb8,#ffe08a,#ff8a8a);opacity:.55;filter:blur(3px)}
/* pointer light on glass */
.widget::after,.dock::after,.window::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .35s;background:radial-gradient(220px circle at var(--gx,50%) var(--gy,50%),rgba(255,255,255,.14),transparent 60%)}
.widget:hover::after,.dock:hover::after{opacity:1}
.window::after{background:radial-gradient(420px circle at var(--gx,50%) var(--gy,50%),rgba(255,255,255,.05),transparent 60%);z-index:1}
.window:hover::after{opacity:1}
@media (prefers-reduced-motion:reduce){.gl-sheen{transition:none}}
.glass-lens{box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),inset 0 2px 1px rgba(255,255,255,.7),inset 0 -6px 14px rgba(255,255,255,.12),0 14px 30px rgba(0,0,0,.3),0 3px 8px rgba(0,0,0,.2)}
.app-icon.glass-dock{background:none;box-shadow:none}.glass-dock .glass-icon{width:100%;height:100%}

/* ===== Round 10: Start a project (brief) ===== */
.brief header{text-align:center;margin-bottom:14px}.brief h1,.brief-done h1{margin:0;font-size:24px;letter-spacing:-.01em}.brief header p{margin:6px 0 0;opacity:.75;font-size:13px}
.brief-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.brief-grid label{display:flex;flex-direction:column;gap:5px;font-size:11.5px;font-weight:600;opacity:.92}
.brief-grid .full{grid-column:1/-1}
.brief-grid input,.brief-grid select,.brief-grid textarea{width:100%;padding:9px 11px;border:0;border-radius:10px;background:var(--hover);color:inherit;font:inherit;font-size:13px;font-weight:400;box-shadow:var(--rim)}
.brief-grid textarea{resize:vertical;line-height:1.5}
.brief-grid :is(input,select,textarea):focus{outline:2px solid var(--accent,#0a84ff);outline-offset:1px}
.brief .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.brief-error{min-height:18px;margin:10px 0 0;color:#ff6b62;font-size:12.5px;text-align:center}
.brief-done{text-align:center;padding:40px 10px}
.brief-done svg{width:64px;height:64px;fill:none;stroke:#34c759;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.brief-done circle{stroke-dasharray:151;stroke-dashoffset:151;animation:bdDraw .6s ease forwards}.brief-done path{stroke-dasharray:36;stroke-dashoffset:36;animation:bdDraw .4s .5s ease forwards}
@keyframes bdDraw{to{stroke-dashoffset:0}}
.brief-done p{opacity:.8}
.brief-cta{display:block;margin:0 auto 14px}
@media (max-width:560px){.brief-grid{grid-template-columns:1fr}}

/* ===== Round 10: Story view ===== */
.story-window .titlebar{position:relative}
.story-present{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 12px;border-radius:999px;background:var(--hover);font-size:12px;font-weight:600}
.story-present svg{width:13px;height:13px}
.story{padding:0 0 30px;overflow:auto}
.story-hero{position:relative;margin:0 0 22px;min-height:220px;max-height:58vh;overflow:hidden;display:flex;align-items:flex-end}
.story-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.story-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.65))}
.story-cap{position:relative;z-index:1;padding:28px 32px;color:#fff}
.story-cap p{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;opacity:.85}
.story-cap h1{margin:0;font-size:clamp(26px,4vw,44px);letter-spacing:-.02em;line-height:1.05}
.story-lede{max-width:720px;margin:0 auto 18px;padding:0 32px;font-size:16px;line-height:1.6;opacity:.92}
.story .case-study{max-width:820px;margin:0 auto 24px;padding:0 32px}
.story-flow{display:flex;flex-direction:column;gap:14px;padding:0 32px;max-width:1100px;margin:0 auto}
.story-media{display:block;width:100%;height:auto;border-radius:14px;background:var(--hover)}
.story-video{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000}
.story-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.story-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px;max-width:1100px;margin:26px auto 0;padding:0 32px}
.story-next{margin-inline-start:auto;display:flex;flex-direction:column;align-items:flex-end;padding:8px 14px;border-radius:14px;background:var(--hover);text-align:end;cursor:pointer}
.story-next small{font-size:11px;opacity:.65}.story-next b{font-size:14px}
.head-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.head-actions svg{width:12px;height:12px;vertical-align:-1px}
@media (max-width:720px){.story-cap{padding:18px}.story-lede,.story-flow,.story-foot,.story .case-study{padding:0 16px}}
/* ===== Round 10: Present mode ===== */
.present{position:fixed;inset:0;z-index:30000;background:#000;color:#fff;display:grid;place-items:center;outline:none;animation:prIn .35s ease}
.present.out{animation:prOut .3s ease forwards}
@keyframes prIn{from{opacity:0}}@keyframes prOut{to{opacity:0}}
.pr-bg{position:absolute;inset:-40px;background:var(--bg) center/cover;filter:blur(16px) saturate(1.3) brightness(.45);transform:scale(1.1)}
.pr-stage{position:relative;width:min(92vw,1600px);height:min(84vh,1000px);display:grid;place-items:center}
.pr-stage img,.pr-stage video{max-width:100%;max-height:100%;object-fit:contain;border-radius:10px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.pr-stage iframe{width:100%;aspect-ratio:16/9;max-height:100%;border:0;border-radius:10px}
.pr-title{text-align:center}.pr-title p{margin:0 0 10px;font-size:clamp(14px,1.6vw,20px);letter-spacing:.08em;text-transform:uppercase;opacity:.75}.pr-title h1{margin:0;font-size:clamp(40px,7vw,96px);letter-spacing:-.03em;line-height:1}
.pr-cap{position:absolute;left:28px;bottom:26px;display:flex;flex-direction:column;gap:2px;text-shadow:0 1px 8px rgba(0,0,0,.6)}.pr-cap b{font-size:16px}.pr-cap span{font-size:12.5px;opacity:.75}
.pr-bar{position:absolute;right:24px;bottom:22px;display:flex;align-items:center;gap:4px;padding:5px;border-radius:999px;background:rgba(40,36,32,.5);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);transition:opacity .4s}
.pr-bar button{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:none;color:#fff;cursor:pointer}.pr-bar button:hover{background:rgba(255,255,255,.14)}
.pr-bar svg{width:16px;height:16px}.pr-count{font-size:12px;font-variant-numeric:tabular-nums;opacity:.8;padding:0 6px}
.present.playing [data-pr=play]{background:rgba(255,255,255,.2)}
.pr-dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:6px}.pr-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.3)}.pr-dots i.on{background:#fff}
.present.idle .pr-bar,.present.idle .pr-dots,.present.idle .pr-cap{opacity:0}.present.idle{cursor:none}

/* ===== Round 10: Appearance (owner settings) ===== */
body[data-wall=ocean] .wallpaper{filter:hue-rotate(165deg) saturate(1.1)}
body[data-wall=violet] .wallpaper{filter:hue-rotate(225deg) saturate(1.05)}
body[data-wall=emerald] .wallpaper{filter:hue-rotate(85deg) saturate(.9)}
body[data-wall=rose] .wallpaper{filter:hue-rotate(310deg) saturate(1.1)}
body[data-wall=graphite] .wallpaper{filter:grayscale(1) brightness(.85)}
:root[data-theme=dark] body[data-wall=ocean] .wallpaper{filter:hue-rotate(165deg) brightness(.62)}
:root[data-theme=dark] body[data-wall=violet] .wallpaper{filter:hue-rotate(225deg) brightness(.62)}
:root[data-theme=dark] body[data-wall=emerald] .wallpaper{filter:hue-rotate(85deg) brightness(.62)}
:root[data-theme=dark] body[data-wall=rose] .wallpaper{filter:hue-rotate(310deg) brightness(.62)}
:root[data-theme=dark] body[data-wall=graphite] .wallpaper{filter:grayscale(1) brightness(.55)}
.wallpaper.custom{background:var(--wall) center/cover no-repeat;filter:none}
.wallpaper.custom i{display:none}
body[data-glass=clear] :is(.widget,.dock,.menubar){-webkit-backdrop-filter:blur(8px) saturate(1.6);backdrop-filter:blur(8px) saturate(1.6);background-color:rgba(30,22,12,.14)}
body[data-glass=frosted] :is(.widget,.dock){-webkit-backdrop-filter:blur(16px) saturate(1.8);backdrop-filter:blur(16px) saturate(1.8);background-color:rgba(30,22,12,.55)}
/* ===== Round 10: private client pages ===== */
.share-page{min-height:100vh;overflow:auto}
.share{position:relative;z-index:1;max-width:1100px;margin:0 auto;padding:48px 20px 60px;color:#fff}
.share-head{display:flex;gap:18px;align-items:center;padding:22px 24px;border-radius:26px;background:rgba(30,22,12,.36);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:inset 0 1px rgba(255,255,255,.25),inset 0 0 0 1px rgba(255,255,255,.12),0 24px 60px rgba(0,0,0,.3)}
.share-avatar{width:68px;height:68px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 2px rgba(255,255,255,.3)}
.share-for{margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;opacity:.75}
.share-title{margin:0;font-size:clamp(24px,3.4vw,36px);letter-spacing:-.02em}
.share-msg{margin:8px 0 0;opacity:.88;line-height:1.55;white-space:pre-line}
.share-msg:empty{display:none}
.share-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px;margin:26px 0}
.share-card{display:flex;flex-direction:column;gap:6px;padding:10px 10px 14px;border:0;border-radius:20px;color:#fff;text-align:left;cursor:pointer;background:rgba(30,22,12,.3);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s;animation:popIn .5s calc(var(--i)*50ms) both}
.share-card:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 18px 40px rgba(0,0,0,.3)}
.share-thumb{aspect-ratio:4/3;border-radius:13px;overflow:hidden;background:rgba(255,255,255,.08)}
.share-thumb img{width:100%;height:100%;object-fit:cover}
.share-card b{font-size:14.5px;padding:0 4px}.share-card small{font-size:12px;opacity:.7;padding:0 4px}
.share-foot{display:flex;gap:10px;justify-content:center}
.share-foot .pill{display:inline-flex;align-items:center;text-decoration:none;color:#fff;background:rgba(255,255,255,.16)}.share-foot .pill.primary{background:var(--accent,#0a84ff)}
.share-view{width:min(1000px,96vw);max-height:92vh;padding:0;border:0;border-radius:22px;color:#fff;background:rgba(28,24,20,.85);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 30px 90px rgba(0,0,0,.55);overflow:auto}
.share-view::backdrop{background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.share-view header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:rgba(28,24,20,.8);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.share-view h2{margin:0;font-size:20px}.share-view header p{margin:2px 0 0;font-size:12.5px;opacity:.7}
.share-view .pill{color:#fff;background:rgba(255,255,255,.16)}
.share-flow{display:flex;flex-direction:column;gap:12px;padding:6px 20px 24px}
.share-desc{margin:0 0 6px;line-height:1.6;opacity:.9}
@media (max-width:600px){.share-head{flex-direction:column;text-align:center}}
/* ===== Round 10: more Liquid Glass — lock screen clock, lock card, window title bars, menu bar ===== */
.lock-time{color:transparent;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.72) 48%,rgba(255,240,215,.55) 100%);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 2px 1px rgba(255,255,255,.35)) drop-shadow(0 10px 30px rgba(40,20,0,.35))}
.lock-date{text-shadow:0 1px 12px rgba(0,0,0,.25)}
.lock-user{position:relative;padding:18px 26px 16px;border-radius:28px;background:rgba(30,22,12,.22);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6);box-shadow:inset 0 1px rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.14),0 20px 50px rgba(0,0,0,.25)}
.lock-user::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(240px circle at var(--gx,30%) var(--gy,0%),rgba(255,255,255,.18),transparent 60%)}
.window>.titlebar,.finder .toolbar{position:relative;background-image:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,0) 70%);box-shadow:inset 0 1px rgba(255,255,255,.12)}
.window>.titlebar::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);pointer-events:none}
.menubar{box-shadow:inset 0 -1px rgba(255,255,255,.06)}
.dock{box-shadow:inset 0 1px rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.12),0 18px 40px rgba(0,0,0,.3)}
.dock::before{content:"";position:absolute;left:10%;right:10%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);pointer-events:none}
/* Private brief page */
.brief-page{overflow:auto;padding:40px 16px}
.brief-card{width:min(620px,100%);text-align:left;padding:28px}
.brief-avatar{display:block;width:64px;height:64px;margin:-60px auto 10px;border:3px solid rgba(255,255,255,.35)}
.brief-card .brief-grid label{color:#fff}
.brief-card .brief-grid :is(input,select,textarea){background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);color:#fff}
.brief-card .brief-grid select option{color:#111}
.brief-card .pill{color:#fff}
.brief-card .about-actions{justify-content:center;margin-top:16px}
/* ===== Round 11: text never sits directly on a busy image ===== */
.story-hero{min-height:280px;isolation:isolate}
.story-hero::after{background:linear-gradient(180deg,rgba(12,9,6,0) 25%,rgba(12,9,6,.45) 55%,rgba(12,9,6,.92) 100%);z-index:0}
.story-hero::before{content:"";position:absolute;left:0;right:0;bottom:0;height:62%;z-index:0;pointer-events:none;-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);-webkit-mask:linear-gradient(180deg,transparent 0%,#000 55%);mask:linear-gradient(180deg,transparent 0%,#000 55%)}
.story-cap{z-index:1;text-shadow:0 2px 14px rgba(0,0,0,.55)}
.story-cap p{opacity:.9}
.present::after{content:"";position:absolute;left:0;right:0;bottom:0;height:34%;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72));transition:opacity .4s}
.present.idle::after{opacity:0}
.pr-cap,.pr-bar,.pr-dots{z-index:1}
.pr-stage{z-index:1}
.w-latest .w-cap{background:linear-gradient(180deg,transparent,rgba(10,8,5,.82) 45%)}
.desk-icon .label{text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 10px rgba(0,0,0,.45)}
.project-head{flex-direction:column;align-items:flex-start;gap:8px}
.project-head .project-copy{margin:0;max-width:760px}
.project-head .head-actions{margin-top:2px}
.story-foot .story-next{margin-inline-start:auto}
@media (max-width:900px){.story-foot .story-next{flex-basis:100%;align-items:flex-start;text-align:start}}
/* logo tiles: no white boxes — dark-mode logo versions keep wordmarks readable */

/* Speed: weaker devices, Save-Data or reduced transparency get solid glass (no live blur under moving content). */
html.lite *,html.lite *::before,html.lite *::after{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html.lite{--glass-opacity:.97}
html.lite .wallpaper i{animation:none!important}
@media (prefers-reduced-transparency:reduce){*{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
/* Click-to-play Vimeo cover */
.vfacade{position:relative;display:block;width:100%;height:100%;min-height:200px;aspect-ratio:16/9;padding:0;border:0;background:#000;cursor:pointer;overflow:hidden;border-radius:inherit}
.vfacade img{width:100%;height:100%;object-fit:cover;opacity:.92;transition:opacity .2s var(--ease),transform .4s var(--ease)}
.vfacade:hover img{opacity:1;transform:scale(1.02)}
.vplay{position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:rgba(0,0,0,.55);box-shadow:0 0 0 1px rgba(255,255,255,.35) inset}
.vplay::after{content:"";position:absolute;left:29px;top:22px;border-style:solid;border-width:14px 0 14px 22px;border-color:transparent transparent transparent #fff}
.story-video iframe,.ql-stage iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
/* ===== Round 18 ===== */
/* Lock screen: name and photo float on the wallpaper — no card behind them */
.lock-user{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;padding:0}
.lock-user::after{display:none}
.lock-user .lock-name,.lock-user .lock-role{text-shadow:0 1px 12px rgba(0,0,0,.45)}
/* Wallpaper slowly changes colour (rotation set in app.js) */
.wallpaper{transition:filter 3s ease}
/* Finder: tabs */
.tabbar{display:flex;align-items:stretch;gap:0;height:30px;margin:0 10px 4px;border-radius:9px;background:rgba(127,127,127,.12);overflow:hidden;flex:none}
.tabbar[hidden]{display:none}
.ftab{position:relative;flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 26px;font-size:12px;color:var(--ink-2);cursor:default;border-inline-start:1px solid rgba(127,127,127,.18)}
.ftab:first-child{border-inline-start:0}
.ftab span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ftab.active{background:rgba(255,255,255,.12);color:var(--ink);font-weight:600}
.ftab-x{position:absolute;inset-inline-start:6px;width:16px;height:16px;padding:2px;border:0;border-radius:4px;background:none;color:inherit;opacity:0;cursor:pointer}
.ftab:hover .ftab-x,.ftab.active .ftab-x{opacity:.7}
.ftab-x:hover{background:rgba(127,127,127,.25);opacity:1}
.ftab-x svg{width:12px;height:12px}
.ftab-new{flex:none;width:30px;border:0;background:none;color:var(--ink-2);cursor:pointer}
.ftab-new svg{width:14px;height:14px}
/* Finder: body with optional Preview pane */
.finder-body{flex:1;display:flex;min-height:0}
.finder-body .content{flex:1;min-width:0}
.preview-pane{flex:0 0 260px;overflow:auto;padding:14px 16px;border-inline-start:1px solid var(--line);font-size:12px;color:var(--ink-2)}
.preview-pane[hidden]{display:none}
.pv-media{display:grid;place-items:center;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:rgba(127,127,127,.1);margin-bottom:12px}
.pv-media img{width:100%;height:100%;object-fit:contain}
.pv-icon{transform:scale(1.4)}
.preview-pane h3{font-size:14px;color:var(--ink);margin:0 0 10px;word-break:break-word}
.preview-pane dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0 0 10px}
.preview-pane dt{opacity:.7}.preview-pane dd{margin:0;color:var(--ink);text-align:end}
.pv-copy{line-height:1.5;margin:0 0 12px}
.pv-actions{display:flex;flex-wrap:wrap;gap:6px}
.pv-empty{display:grid;place-items:center;height:100%;text-align:center;opacity:.7}
.capsule.round.wide{width:auto;padding:0 10px;gap:4px}
.capsule .chev{font-size:11px;opacity:.7;margin-top:-4px}
.capsule.views .sep{width:1px;height:16px;background:rgba(127,127,127,.3);margin:0 2px}
/* Column view */
.columns{display:flex;height:100%;overflow-x:auto;overflow-y:hidden;margin:-4px -8px -16px}
.col{flex:0 0 220px;overflow-y:auto;border-inline-end:1px solid var(--line);padding:4px}
.col.last{flex:1 0 240px;border-inline-end:0}
.col .item{display:flex;align-items:center;gap:8px;width:100%;padding:4px 8px;border-radius:6px;text-align:start}
.col .item .icon{width:22px;height:22px;flex:none;display:grid;place-items:center;overflow:hidden}
.col .item .icon>*{transform:scale(.3);transform-origin:center}
.col .item .name{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.col .item.on-path{background:rgba(127,127,127,.22)}
.col-arrow{opacity:.5;font-size:14px;margin-inline-start:auto}
.col .list-head,.col .kind,.col .cnt{display:none}
/* Gallery view */
.gallery{display:flex;flex-direction:column;height:100%;margin:-4px -8px -16px}
.gallery-stage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px}
.gallery-stage img{max-width:100%;max-height:calc(100% - 28px);object-fit:contain;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.gallery-name{margin:0;font-size:12.5px;font-weight:600;color:var(--ink)}
.items.gallery-strip{flex:none;display:flex;gap:6px;overflow-x:auto;padding:8px 10px 10px;border-top:1px solid var(--line)}
.gallery-strip .item{flex:0 0 84px;display:flex;flex-direction:column;align-items:center;padding:4px;border-radius:8px}
.gallery-strip .item .name{display:none}
.gallery-strip .item .icon{width:76px;height:64px;display:grid;place-items:center;overflow:hidden}
.gallery-strip .item.selected{background:rgba(127,127,127,.25)}
/* Shortcuts sheet */
dialog.shortcuts{border:0;border-radius:16px;padding:20px 22px;color:var(--ink);min-width:320px;max-width:min(92vw,420px)}
dialog.shortcuts::backdrop{background:rgba(0,0,0,.25)}
dialog.shortcuts h2{font-size:15px;margin:0 0 12px}
dialog.shortcuts dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 14px;font-size:13px}
dialog.shortcuts dt{text-align:end}
dialog.shortcuts kbd{font:inherit;font-weight:600;padding:1px 6px;border-radius:5px;background:rgba(127,127,127,.18)}
@media (max-width:760px){.preview-pane{display:none}.col{flex-basis:160px}}
.columns .col.last:only-child{flex:0 0 280px;border-inline-end:1px solid var(--line)}
/* Before / after comparison */
.ba{position:relative;display:inline-block;max-width:100%;max-height:100%;overflow:hidden;border-radius:10px;line-height:0;user-select:none}
.ba>img{display:block;max-width:100%;max-height:calc(100vh - 220px);object-fit:contain}
.ba-before{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ba-before img{width:100%;height:100%;object-fit:contain}
.ba::after{content:"";position:absolute;top:0;bottom:0;left:var(--pos);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.25);pointer-events:none}
.ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize}
.ba-tag{position:absolute;top:10px;padding:3px 9px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:650;line-height:1.4;pointer-events:none}
.ba-tag.l{left:10px}.ba-tag.r{right:10px}
.story-compare{display:flex;justify-content:center;margin:12px 0}
.file-thumb.compare .play-badge{font-size:14px;line-height:1}
/* 404 — "today's pick" cards (idea from Designer Daily Report) over a slow mosaic of the work */
.notfound .panel-body{padding:0;overflow:hidden auto}
.nf{position:relative;min-height:100%;padding:34px 28px 28px;text-align:center;isolation:isolate}
.nf-mosaic{position:absolute;inset:0;z-index:-1;overflow:hidden;opacity:.16;mask:linear-gradient(#000 0,#000 30%,transparent 70%);-webkit-mask:linear-gradient(#000 0,#000 30%,transparent 70%)}
.nf-row{display:flex;gap:8px;width:max-content;margin-bottom:8px;animation:nf-slide 60s linear infinite}
.nf-row:nth-child(2){animation-direction:reverse}
.nf-row img{width:120px;height:90px;object-fit:cover;border-radius:8px}
@keyframes nf-slide{to{transform:translateX(-50%)}}
.nf-code{display:flex;align-items:center;justify-content:center;gap:6px;margin:6px 0 4px;font-size:clamp(72px,14vw,120px);font-weight:800;letter-spacing:-.04em;line-height:1}
.nf-ball{width:.78em;height:.78em;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 18%,#d9d9d9 19% 60%,#9a9a9a 100%);box-shadow:inset -6px -8px 0 rgba(0,0,0,.18);animation:nf-bounce 1.6s cubic-bezier(.3,.7,.4,1) infinite}
@keyframes nf-bounce{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-22px) rotate(180deg)}}
.nf-lead{font-size:20px;font-weight:600;margin:10px 0 4px}.nf-sub{color:var(--muted,#999);margin:0 0 18px;font-size:13px}
.nf-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 auto 20px;max-width:640px}
.nf-pick{display:flex;flex-direction:column;gap:4px;padding:0;border:0;background:none;color:inherit;text-align:start;cursor:pointer;font:inherit}
.nf-pick img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;transition:transform .25s}
.nf-pick:hover img,.nf-pick:focus-visible img{transform:translateY(-3px) scale(1.02)}
.nf-pick span{font-size:12.5px;font-weight:600;line-height:1.25}.nf-pick small{font-size:11px;opacity:.6}
.nf-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
@media (max-width:600px){.nf-picks{grid-template-columns:1fr 1fr}.nf-pick:nth-child(3){display:none}}
@media (prefers-reduced-motion:reduce){.nf-row,.nf-ball{animation:none}}
[dir=rtl] .ctx-menu{text-align:right}
/* Clients page — one window, equal-size logos (normalised 600×360 marks), newest years first */
.clients-page{padding:26px 28px 34px}
.clients-page header h1{font-size:28px;margin:0}.clients-page header p{margin:4px 0 18px;opacity:.6;font-size:13px}
.clients-page h2{font-size:12px;letter-spacing:.08em;text-transform:uppercase;opacity:.55;margin:20px 0 10px;font-variant-numeric:tabular-nums}
.cl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.cl-tile{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 10px 12px;border:0;border-radius:16px;background:var(--hover);color:inherit;font:inherit;cursor:pointer;transition:transform .2s,background .2s}
.cl-tile:hover,.cl-tile:focus-visible{transform:translateY(-2px);background:rgba(127,127,127,.18)}
.cl-logo{width:100%;aspect-ratio:5/3;display:grid;place-items:center}
.cl-logo img{width:100%;height:100%;object-fit:contain}
.cl-initials{font-size:26px;font-weight:700;opacity:.5}
.cl-name{font-size:13px;font-weight:600;text-align:center;line-height:1.25}.cl-tile small{font-size:11px;opacity:.55;font-variant-numeric:tabular-nums}
[data-theme=dark] .lg-l{display:none}:root:not([data-theme=dark]) .lg-d{display:none}
#clientsMenu{cursor:pointer}
.cl-tile:disabled{cursor:default;opacity:.85}.cl-tile:disabled:hover{transform:none}
/* Mixed languages: any Arabic paragraph, title or menu label runs right-to-left from the right edge, even on the English site */
.panel-body p,.panel-body li,.story p,.story h1,.project-head h1,.project-copy,.item .name,.cl-name,.nf-pick span,.ctx-menu button span,.spot-results li,.quote-card blockquote{unicode-bidi:plaintext}
/* Column view rows: beat the list-view grid (it squeezed the name column to 0px) */
.columns .col .items.list{display:block}
.columns .col .items.list .item{display:flex;align-items:center;gap:8px;width:100%;min-height:28px;height:auto;padding:4px 8px;grid-template-columns:none}
.columns .col .items.list .item .icon{width:22px;height:22px;flex:none}
.columns .col .items.list .item .name{display:block;flex:1;width:auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.columns .col .items.list .item>:not(.icon):not(.name):not(.col-arrow){display:none}
.columns .col .items.list .item.selected{background:var(--accent,#0a84ff);color:#fff}
.columns .col .items.list .item{flex-direction:row;text-align:start;justify-content:flex-start}
.columns .col .items.list .item .icon>*{transform:none;width:22px;height:22px;max-width:22px;max-height:22px}
.columns .col .items.list .item .icon img{width:22px;height:22px;object-fit:cover;border-radius:4px}
.columns .col .items.list .item .icon svg{width:20px;height:20px}
.columns .col .items.list .item:not(.on-path):not(.selected){background:none}
.columns .col .items.list .item.on-path{background:rgba(127,127,127,.22)}
/* List view: the name column always keeps room (narrow windows / Preview pane open) */
.items.list .item{grid-template-columns:36px minmax(120px,1fr) minmax(0,120px) 56px}
.list-head{grid-template-columns:minmax(120px,1fr) minmax(0,120px) 56px;padding-inline-start:54px}
.items.list .item .kind,.items.list .item .cnt{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.with-preview .items.list .item{grid-template-columns:36px minmax(120px,1fr) 56px}
.with-preview .list-head{grid-template-columns:minmax(120px,1fr) 56px}
.with-preview .items.list .kind,.with-preview .list-head>:nth-child(2){display:none}
/* Menu bar: the app name stays on one line (long project names on phones) */
.menu-title.app,#appName{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:42vw}
@media (max-width:600px){#appName{max-width:34vw}}
@media (max-width:600px){.clients-page{padding:18px 14px 26px}.cl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cl-tile{padding:10px 6px}.cl-name{font-size:12px}}
/* AI in my work */
.ai-page{padding:30px 32px 40px;max-width:980px}
.ai-eyebrow{margin:0 0 6px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent,#0a84ff);font-weight:700}
.ai-hero h1{margin:0;font-size:clamp(26px,4vw,38px);letter-spacing:-.02em;line-height:1.1}
.ai-hero p{max-width:700px;margin:12px 0 0;font-size:15px;line-height:1.6;opacity:.88;unicode-bidi:plaintext}
.ai-flow{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:26px 0 18px;padding:0;counter-reset:f}
.ai-flow li{position:relative;display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--hover);font-weight:600;font-size:13px}
.ai-flow li:first-child{border-radius:14px 0 0 14px}.ai-flow li:last-child{border-radius:0 14px 14px 0;background:color-mix(in srgb,var(--accent,#0a84ff) 22%,transparent)}
.ai-flow li:not(:last-child)::after{content:'';position:absolute;inset-inline-end:-9px;top:50%;width:18px;height:18px;transform:translateY(-50%) rotate(45deg);background:inherit;z-index:1;border-radius:3px}
.ai-flow b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(127,127,127,.25);font-size:12px;flex:none}
[dir=rtl] .ai-flow li:first-child{border-radius:0 14px 14px 0}[dir=rtl] .ai-flow li:last-child{border-radius:14px 0 0 14px}
.ai-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 22px}
.ai-stats div{padding:14px 16px;border-radius:14px;background:var(--hover)}.ai-stats b{display:block;font-size:22px;letter-spacing:-.01em}.ai-stats span{font-size:12px;opacity:.7}
.ai-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.ai-card{padding:18px 18px 16px;border-radius:16px;background:var(--hover);box-shadow:var(--rim)}
.ai-card .ai-n{font-size:12px;font-weight:700;opacity:.45;font-variant-numeric:tabular-nums}
.ai-card h2{margin:6px 0 8px;font-size:17px}.ai-card p{margin:0;font-size:13.5px;line-height:1.6;opacity:.88;unicode-bidi:plaintext}
@media (max-width:640px){.ai-page{padding:20px 16px 30px}.ai-flow{grid-template-columns:1fr 1fr;gap:6px}.ai-flow li{border-radius:12px!important}.ai-flow li::after{display:none}}
/* Owner editing: drop targets, inline rename, Trash */
.drop-on{outline:2px solid var(--accent,#0a84ff);outline-offset:2px;border-radius:10px;background:color-mix(in srgb,var(--accent,#0a84ff) 16%,transparent)!important}
.content.drop-on,.finder .content.drop-on{outline-offset:-6px}
.rename-input{font:inherit;font-size:12px;width:100%;max-width:180px;padding:2px 6px;border-radius:5px;border:1px solid var(--accent,#0a84ff);background:var(--bg,#1e1e1e);color:inherit;text-align:center;outline:3px solid color-mix(in srgb,var(--accent,#0a84ff) 35%,transparent)}
.items.list .rename-input{text-align:start}
.trash-list{display:flex;flex-direction:column;gap:6px}.trash-row{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:10px;background:var(--hover)}
.trash-row span{flex:1;min-width:0;font-weight:600;font-size:13px}.trash-row small{display:block;font-weight:400;opacity:.6;font-size:11px}
.trash-icon{display:grid;place-items:center;font-size:26px;background:linear-gradient(#e9ecef,#b8bec6)}
.item[draggable=true]{-webkit-user-drag:element}
/* Inspector footer: solid bar, nothing scrolls visibly under it; buttons wrap neatly on narrow windows */
.ins-foot{background:rgb(var(--win) / .97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:3;flex-wrap:wrap;margin-top:auto;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.ins-foot .pill{height:30px;padding:0 14px;font-size:13px}
.inspector .ins-form{padding-bottom:0;scroll-padding-bottom:70px}
.inspector .rz[data-edge=sw],.inspector .rz[data-edge=se]{z-index:4}
.columns .col .items.list .item .name .label{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.columns .col[hidden]{display:none}
/* View Options (⌘J) — applied per Finder window */
.finder .items.icons{grid-template-columns:repeat(auto-fill,minmax(calc(var(--vo-icon,76px) + 46px),1fr));gap:var(--vo-grid,18px) 6px}
.finder .items.icons .folder{--icon:var(--vo-icon,76px)}
.finder .items.icons .item-image .icon,.finder .items.icons .item-video .icon{height:calc(var(--vo-icon,76px) + 20px)}
.finder .items.icons .file-thumb{--tw:calc(var(--vo-icon,76px) + 20px);--th:calc(var(--vo-icon,76px) + 10px)}
.finder .items .name{font-size:var(--vo-text,12px)}
.finder .items.icons .info{display:block;font-size:calc(var(--vo-text,12px) - 1.5px);color:var(--accent);font-weight:500;margin-top:1px}
.vo-label-right .items.icons{grid-template-columns:repeat(auto-fill,minmax(calc(var(--vo-icon,76px) + 150px),1fr))}
.vo-label-right .items.icons .item{flex-direction:row;text-align:start;justify-content:flex-start;gap:10px}
.vo-noprev .items .file-thumb img,.vo-noprev .items .folder-peek{display:none}
.vo-list-large .items.list .item{min-height:44px}.vo-list-large .items.list .folder{--icon:44px}
.vo-nokind .items.list .kind,.vo-nokind .list-head>:nth-child(2){display:none}
.vo-noitems .items.list .cnt,.vo-noitems .list-head>:nth-child(3){display:none}
.vo-nokind .items.list .item{grid-template-columns:36px minmax(120px,1fr) 56px}.vo-nokind .list-head{grid-template-columns:minmax(120px,1fr) 56px}
.vo-noitems .items.list .item{grid-template-columns:36px minmax(120px,1fr) minmax(0,120px)}.vo-noitems .list-head{grid-template-columns:minmax(120px,1fr) minmax(0,120px)}
.vo-nokind.vo-noitems .items.list .item{grid-template-columns:36px 1fr}.vo-nokind.vo-noitems .list-head{grid-template-columns:1fr}
.vo-nocolicons .columns .item .icon{display:none!important}
.vo-nopath .pathbar .crumbs{visibility:hidden}.vo-nostatus .pathbar .count{display:none}.vo-nopath.vo-nostatus .pathbar{display:none}
.finder.no-sidebar .sidebar{display:none}
.viewopts .vo-body{padding:12px 16px 14px;font-size:12px;display:flex;flex-direction:column;gap:7px}
.vo-head{margin:0 0 2px;text-align:center;font-size:12px}
.vo-row{display:flex;align-items:center;gap:7px;cursor:pointer}
.vo-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.vo-line>span{min-width:86px;text-align:end;opacity:.85}
.vo-line select{flex:1;font:inherit;padding:2px 6px;border-radius:6px;border:1px solid var(--line);background:var(--hover);color:inherit}
.vo-col{display:flex;flex-direction:column;gap:3px}.vo-col span{display:flex;justify-content:space-between;opacity:.85}.vo-col b{font-weight:500;opacity:.7}
.vo-col input[type=range]{width:100%;accent-color:var(--accent)}
.viewopts hr{border:0;border-top:1px solid var(--line);margin:3px 0;width:100%}
.vo-sub{margin:2px 0 0;opacity:.7}.vo-foot{display:flex;justify-content:center;margin-top:4px}.vo-foot .pill{height:26px;font-size:12px}
.viewopts input[type=checkbox],.viewopts input[type=radio]{accent-color:var(--accent)}
/* ---------- iPhone shell (phones) ---------- */
.ios-back,.ios-ind{display:none}
html.ios .menubar{height:46px;padding:4px 26px 0;background:none;text-shadow:none;color:#fff}
html.ios .menus{display:none}
html.ios .status{width:100%;justify-content:flex-start;gap:6px}
html.ios #clock{order:-2;font-size:16px;font-weight:600;padding:0;margin-inline-end:auto;letter-spacing:-.01em}
html.ios .status-btn{display:none}
html.ios #langButton{display:grid;order:-1;font-size:12px;font-weight:600;padding:2px 8px;border-radius:10px;background:rgba(255,255,255,.18);height:auto;margin-inline-end:8px}
html.ios .ios-ind{display:flex;align-items:center;gap:6px}
html.ios .ios-ind svg{height:12px;width:auto;fill:currentColor}
html.ios .welcome{display:none}
html.ios .widgets{position:absolute;top:58px;left:20px;right:20px;grid-template-columns:1fr 1fr;gap:14px}
html.ios .widgets>*{min-width:0}
html.ios .desktop-icons{position:absolute;top:auto;bottom:118px;left:14px;right:14px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px 6px;padding:0;overflow:visible;max-height:none;flex-direction:initial}
html.ios .desk-icon.ios-app{width:auto;padding:0;gap:6px;border-radius:0;background:none!important}
html.ios .ios-app .app-icon{--mag:1;width:60px;height:60px;border-radius:14px;font-size:20px;box-shadow:0 2px 6px rgba(0,0,0,.18)}
html.ios .ios-app .app-icon svg{width:30px;height:30px}
html.ios .ios-app .app-icon img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
html.ios .ios-app .label{font-size:11.5px;font-weight:500;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4);max-width:74px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:none;padding:0}
html.ios .clients-icon{background:linear-gradient(#6cb8ff,#1d7cf2)}html.ios .clients-icon svg{stroke:#fff;fill:rgba(255,255,255,.35)}
html.ios .ai-icon{background:linear-gradient(135deg,#8b5cf6,#ec4899 60%,#f59e0b)}html.ios .ai-icon b,html.ios .cv-icon b{font-size:19px;letter-spacing:-.02em}
html.ios .cv-icon{background:linear-gradient(#fff,#e9e9ee);color:#1d7cf2}
html.ios .search-icon{background:linear-gradient(#8e8e93,#5b5b60)}html.ios .search-icon svg{fill:none;stroke:#fff;stroke-width:2.4}
html.ios .reel-icon{background:linear-gradient(#ff5f57,#d70015)}html.ios .reel-icon svg{fill:#fff}
html.ios .dock{bottom:10px;left:12px;right:12px;transform:none;max-width:none;justify-content:space-around;padding:12px 14px;border-radius:32px;gap:0}
html.ios .dock .dock-item{width:auto;height:auto}
html.ios .dock .app-icon{--mag:1;width:60px;height:60px;max-width:none;max-height:none;border-radius:14px;font-size:20px}
html.ios .dock .dock-tip,html.ios .dock .run,html.ios .dock-sep{display:none}
/* full-screen apps with an iOS navigation bar */
html.ios .window{border-radius:0;inset:0!important;left:0!important;top:0!important;width:100vw!important;height:100%!important;box-shadow:none}
html.ios .window .traffic{display:none!important}
html.ios .window .titlebar{height:auto;min-height:88px;padding:46px 16px 8px;justify-content:center;position:relative;border-bottom:.5px solid var(--line);background:rgb(var(--win)/.94)}
html.ios .window .titlebar .win-title{margin:0;font-size:17px;font-weight:600;text-align:center;max-width:60%;flex:none}
html.ios .ios-back{display:flex;align-items:center;gap:4px;position:absolute;left:8px;bottom:10px;border:0;background:none;color:var(--accent);font:inherit;font-size:17px;padding:4px 8px;cursor:pointer}
html.ios .ios-back svg{width:11px;height:19px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
html[dir=rtl].ios .ios-back{left:auto;right:8px}html[dir=rtl].ios .ios-back svg{transform:scaleX(-1)}
html.ios .finder .toolbar{padding:46px 10px 8px;height:auto;min-height:88px;align-items:center}
html.ios .finder .mobile-close{color:var(--accent);background:none;width:auto;padding:0 6px}
html.ios .finder .mobile-close svg{display:none}html.ios .finder .mobile-close::before{content:'‹';font-size:30px;line-height:1;font-weight:300}
html.ios .panel-body{padding-bottom:max(24px,env(safe-area-inset-bottom))}
html.ios .rz{display:none}
html.ios .desktop-icons{justify-items:center}
html.ios .desk-icon.ios-app{width:100%;max-width:84px;min-width:0;flex:initial;align-items:center}
html.ios .dock.glass{left:12px;right:12px;width:auto;transform:none;max-width:none;overflow:hidden}
html.ios .dock .dock-item{max-width:none;flex:1;display:grid;place-items:center}
html.ios .dock .app-icon{max-width:none;max-height:none}
html.ios .ios-app .app-icon{max-width:none;max-height:none;align-self:center;flex:none}
html.ios body:has(#windows>.window:not([hidden]):not(.is-min)) #dock{transform:translateY(140%);opacity:0;pointer-events:none}
html.ios #dock{transition:transform .3s var(--ease),opacity .2s}
html.ios .desktop-icons{top:calc(58px + var(--widgets-h,250px));bottom:auto}
/* iOS Files-style toolbar: Back · title · actions, then a full-width search field */
html.ios .finder .toolbar{flex-wrap:wrap;row-gap:8px;padding:46px 12px 10px}
html.ios .finder .toolbar>.tb-group:not(.search-group){display:none}
html.ios .finder .toolbar .win-title{display:block;flex:1;order:1;text-align:center;font-size:17px;font-weight:600;margin:0;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.ios .finder .toolbar .mobile-close{order:0}html.ios .finder .toolbar .sidebar-toggle{order:2;color:var(--accent);background:none}
html.ios .finder .toolbar .search-group{order:3;flex:1 0 100%;max-width:none}
html.ios .finder .toolbar .search{max-width:none;width:100%}
html.ios .finder .toolbar .search input{height:36px;border-radius:10px;font-size:16px}

/* Performance: full windows are ~92% opaque, so a live blur behind them cost a lot for an almost invisible effect.
   The blur comes back only when the visitor makes windows see-through with the Glass slider. */
html.see-through:not(.lite) .window{-webkit-backdrop-filter:blur(16px) saturate(1.7);backdrop-filter:blur(16px) saturate(1.7)}
html.lite .wallpaper i{box-shadow:none}

/* Boot: the lock screen is up from the first frame (boot.js), and nothing else paints until app.js takes over. */
html.boot-lock #lock[hidden]{display:flex}
/* Like a real Mac: nothing of the desktop (menu bar, Dock, widgets, an already-open window) shows behind the lock screen. */
html.boot-lock body>:not(#lock):not(.wallpaper):not(script):not(.island),body.locked>:not(#lock):not(.wallpaper):not(script):not(.island){visibility:hidden}

/* ===== iPhone shell, iOS 27 (Liquid Glass) — phones only (html.ios, ≤720px) ===== */
.ios-only{display:none}
html.ios{--ic:min(62px,calc((100vw - 52px - 3*22px)/4));--glass-ios:rgba(255,255,255,.16);--glass-rim:inset 0 1px 0 rgba(255,255,255,.45),inset 0 0 0 .5px rgba(255,255,255,.28),inset 0 -1px 0 rgba(255,255,255,.08)}
html.ios .island{display:block;position:fixed;top:11px;left:50%;width:125px;height:37px;margin-left:-62.5px;border-radius:20px;background:#000;z-index:30001;pointer-events:none}
/* Status bar: time in the left ear, icons in the right ear, nothing else. */
html.ios .menubar{height:54px;padding:0;background:none!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;z-index:30000;pointer-events:none}
html.ios .status{height:54px;align-items:center;padding:0 26px 0 0;gap:0}
html.ios #clock{width:calc(50% - 62.5px);text-align:center;font-size:17px;font-weight:600;letter-spacing:-.02em;margin:0;padding:0}
html.ios #langButton{display:none!important}
html.ios .ios-ind{margin-inline-start:auto;gap:5px}
html.ios .ios-ind svg{height:12.5px}
html.ios body:has(#windows>.window:not([hidden]):not(.is-min)) .menubar{color:var(--ink);text-shadow:none}
/* Lock screen */
html.ios .lock{padding:0;justify-content:flex-start;background:rgba(10,6,2,.18)}
html.ios .lock-status{display:flex;position:absolute;top:0;right:0;height:54px;align-items:center;padding-right:26px;color:#fff}
html.ios .lock-status .ios-ind{display:flex}
html.ios .lock-clock{margin-top:70px}
html.ios .lock-date{font-size:21px;font-weight:600;letter-spacing:-.01em}
html.ios .lock-time{font-size:min(112px,28vw);font-weight:700;letter-spacing:-.045em;margin-top:-4px}
html.ios .lock-user{position:absolute;left:12px;right:12px;bottom:150px;flex-direction:row;align-items:center;gap:12px;text-align:start;padding:13px 16px;border-radius:24px;background:var(--glass-ios);box-shadow:var(--glass-rim),0 8px 30px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(24px) saturate(1.8);backdrop-filter:blur(24px) saturate(1.8)}
html.ios .lock-avatar{width:40px;height:40px;flex:none;box-shadow:none}
html.ios .lock-name{margin:0;font-size:15px;font-weight:600}
html.ios .lock-role{font-size:14px;opacity:.85;line-height:1.25}
html.ios .lock-user>:is(.lock-name,.lock-role){grid-column:2}
html.ios .lock-user{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:1px}
html.ios .lock-avatar{grid-row:1/3}
html.ios .lock-hint{position:absolute;left:0;right:0;bottom:34px;margin:0;font-size:13px;opacity:.75}
html.ios .lock-hint .lock-bar{display:none}
html.ios .lock-corners{display:flex;position:absolute;left:46px;right:46px;bottom:48px;justify-content:space-between;pointer-events:none}
html.ios .lk-btn{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.22);box-shadow:var(--glass-rim);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6)}
html.ios .lk-btn svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linejoin:round}
html.ios .home-ind{position:fixed;left:50%;bottom:8px;width:136px;height:5px;margin-left:-68px;border-radius:3px;background:#fff;z-index:30000;pointer-events:none}
html.ios .lock-ind{display:block;position:absolute}
html.ios body:has(#windows>.window:not([hidden]):not(.is-min)) .app-ind{display:block;background:var(--ink)}
/* Home screen: widgets and apps share one 4-column grid, like SpringBoard. */
html.ios .widgets,html.ios .desktop-icons{left:26px;right:26px;display:grid;grid-template-columns:repeat(4,1fr);column-gap:22px}
html.ios .widgets{top:66px;width:auto;max-width:none;row-gap:22px;grid-auto-rows:auto}
html.ios .widget{border-radius:22px;background:var(--glass-ios)!important;box-shadow:var(--glass-rim),0 6px 22px rgba(0,0,0,.14)!important;-webkit-backdrop-filter:blur(24px) saturate(1.8);backdrop-filter:blur(24px) saturate(1.8);color:#fff;min-width:0;margin:0}
html.ios .w-profile{grid-column:1/-1;height:calc(var(--ic)*2 + 38px);display:flex;align-items:center;gap:14px;padding:16px;text-align:start}
html.ios .w-profile .w-avatar{width:calc(var(--ic) + 12px);height:calc(var(--ic) + 12px);flex:none}
html.ios .w-profile b{font-size:17px;font-weight:600}html.ios .w-profile small{font-size:13.5px;opacity:.85;line-height:1.3}
html.ios .w-cv,html.ios .w-clock{grid-column:span 2;aspect-ratio:1;height:auto;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:6px}
html.ios .w-cv b{font-size:15px}html.ios .w-cv small{font-size:12px;opacity:.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html.ios .w-cv .w-actions{display:flex;gap:6px}html.ios .w-cv .w-btn{flex:1;text-align:center;padding:6px 0;border-radius:14px;font-size:13px}
html.ios .w-cv .cv-doc{transform:scale(.8);transform-origin:left top}
html.ios .desktop-icons{top:calc(66px + var(--widgets-h,250px));bottom:auto;row-gap:24px;justify-items:center;padding:0}
html.ios .desk-icon.ios-app{width:100%;max-width:none;gap:5px}
html.ios .ios-app .app-icon,html.ios .dock .app-icon{width:var(--ic)!important;height:var(--ic)!important;border-radius:calc(var(--ic)*.2255)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 .5px rgba(255,255,255,.18),0 1px 3px rgba(0,0,0,.12)!important}
html.ios .ios-app .label{font-size:12px;font-weight:500;max-width:calc(var(--ic) + 18px);letter-spacing:-.01em}
html.ios .lang-icon{background:linear-gradient(#5ac8fa,#007aff)}html.ios .lang-icon svg{width:58%;height:58%;fill:none;stroke:#fff;stroke-width:1.6}
/* Search pill and Dock */
html.ios .ios-search{display:flex;position:fixed;left:50%;bottom:118px;transform:translateX(-50%);align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:16px;color:#fff;font:inherit;font-size:15px;font-weight:500;background:var(--glass-ios);box-shadow:var(--glass-rim);-webkit-backdrop-filter:blur(20px) saturate(1.7);backdrop-filter:blur(20px) saturate(1.7);z-index:7999;cursor:pointer}
html.ios .ios-search svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4}
html.ios .dock,html.ios .dock.glass{left:9px!important;right:9px!important;bottom:9px;width:auto!important;max-width:none!important;transform:none;height:96px;padding:0 17px;border-radius:38px;display:flex;align-items:center;justify-content:space-between;gap:0;overflow:visible;background:var(--glass-ios)!important;box-shadow:var(--glass-rim),0 10px 30px rgba(0,0,0,.18)!important;-webkit-backdrop-filter:blur(26px) saturate(1.8);backdrop-filter:blur(26px) saturate(1.8)}
html.ios .dock .dock-item{flex:none;width:auto;height:auto}
html.ios body:has(#windows>.window:not([hidden]):not(.is-min)) :is(#dock,.ios-search){transform:translateY(160%);opacity:0;pointer-events:none}
html.ios .ios-search{transition:transform .3s var(--ease),opacity .2s}
/* Apps: full screen, glass circle back button, centred title, opening zoom. */
html.ios .window .titlebar,html.ios .finder .toolbar{min-height:100px;padding-top:56px;border-bottom:0;background:rgb(var(--win)/.96)}
html.ios .ios-back{left:16px;bottom:8px;width:44px;height:44px;padding:0;justify-content:center;border-radius:50%;background:rgba(127,127,127,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 0 0 .5px rgba(127,127,127,.25);color:var(--ink)}
html.ios .ios-back span{display:none}
html.ios .ios-back svg{width:10px;height:18px}
html.ios .window:not([hidden]):not(.is-min){animation:iosOpen .42s cubic-bezier(.2,.9,.25,1) both}
@keyframes iosOpen{from{transform:scale(.86);opacity:0;border-radius:40px}to{transform:none;opacity:1;border-radius:0}}
html.ios .window .panel-body,html.ios .finder .content{padding-bottom:max(30px,env(safe-area-inset-bottom))}
html.ios.lite :is(.widget,.dock,.ios-search,.lk-btn,.lock-user){background:rgba(40,30,22,.82)!important}
html.ios .window{background:rgb(var(--win))!important}
html.ios .desktop-icons{row-gap:19px}
html.ios .ios-search{bottom:114px}
/* Short phones (SE / mini): smaller widgets so the grid, Search and Dock never overlap. */
@media (max-height:760px){html.ios .w-clock{display:none}html.ios .w-profile{height:calc(var(--ic) + 44px)}html.ios .w-profile .w-avatar{width:var(--ic);height:var(--ic)}html.ios .w-cv{aspect-ratio:auto;grid-column:1/-1;flex-direction:row;align-items:center}html.ios .w-cv .cv-doc{display:none}}
html.ios body:has(#windows>.window:not([hidden]):not(.is-min)) :is(#dock,.ios-search){visibility:hidden}
/* iOS unlock: home screen icons fly in from slightly larger, all together (no left-to-right sweep). */
html.ios body.intro :is(.widget,.desk-icon,.dock,.dock-item,.ios-search){animation:iosHome .55s cubic-bezier(.2,.9,.25,1) both!important;animation-delay:0s!important}
@keyframes iosHome{from{transform:scale(1.12);opacity:0}to{transform:none;opacity:1}}

/* Broken images are never shown (see app.js). */
img.img-broken{visibility:hidden}

/* ===== Spotlight, macOS 27: a glass search pill and a separate rounded results panel ===== */
.spotlight{width:min(680px,calc(100vw - 32px));margin:14vh auto auto;color:#fff}
.spot-field{display:flex;align-items:center;gap:12px;height:66px;padding:0 30px;border-radius:33px;background:linear-gradient(180deg,rgba(10,10,10,.82),rgba(26,26,26,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.08),0 24px 60px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6)}
.spot-field .spot-mag{width:22px;height:22px;flex:none;fill:none;stroke:rgba(255,255,255,.55);stroke-width:2.2}
.spot-field input{flex:1;min-width:0;border:0;outline:0;background:none;color:#fff;font-size:26px;font-weight:400;letter-spacing:-.01em}
.spot-field input::placeholder{color:rgba(255,255,255,.38)}
.spot-field input::-webkit-search-cancel-button{display:none}
.spot-chip{flex:none;padding:4px 12px;border-radius:14px;background:rgba(255,255,255,.14);font-size:15px;font-weight:600}
.spot-panel{margin-top:14px;padding:12px;border-radius:34px;background:linear-gradient(180deg,rgba(30,30,30,.86),rgba(40,40,40,.8));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.07),0 30px 70px rgba(0,0,0,.4);-webkit-backdrop-filter:blur(30px) saturate(1.6);backdrop-filter:blur(30px) saturate(1.6)}
.spot-panel:has(.spot-results:empty){display:none}
.spotlight .spot-results{max-height:min(56vh,520px);overflow:auto;padding:0;margin:0;list-style:none}
.spotlight .spot-results li{display:flex;align-items:center;gap:18px;padding:10px 18px;border-radius:20px;text-align:start;color:#fff;cursor:default}
.spotlight .spot-results li[aria-selected=true]{background:rgba(255,255,255,.12);color:#fff}
.spotlight .spot-results li.spot-mode{padding:14px 22px;font-size:20px;font-weight:600}
.spotlight .spot-ico{width:30px;height:30px;flex:none;display:grid;place-items:center}
.spotlight .spot-ico svg{width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.spotlight .spot-ico.thumb img{width:30px;height:30px;border-radius:7px;object-fit:cover}
.spotlight .spot-label{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:17px}
.spotlight .spot-mode .spot-label{font-size:20px}
.spotlight .spot-results small{color:rgba(255,255,255,.45);font-size:13px;flex:none;max-width:40%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.spotlight .spot-results kbd{font:inherit;font-size:18px;font-weight:500;color:rgba(255,255,255,.4)}
.spotlight .spot-head{padding:12px 18px 4px!important;font-size:12px!important;font-weight:600;letter-spacing:.02em;color:rgba(255,255,255,.45)!important;text-transform:none}
.spotlight .spot-results .none{color:rgba(255,255,255,.5)}
:root[data-theme=light] .spot-field,:root[data-theme=light] .spot-panel{background:linear-gradient(180deg,rgba(250,250,250,.86),rgba(238,238,238,.82))}
:root[data-theme=light] .spotlight,:root[data-theme=light] .spotlight .spot-results li,:root[data-theme=light] .spot-field input{color:#111}
:root[data-theme=light] .spotlight .spot-ico svg{stroke:#111}:root[data-theme=light] .spot-field .spot-mag{stroke:rgba(0,0,0,.45)}
:root[data-theme=light] .spot-field input::placeholder,:root[data-theme=light] .spotlight .spot-results small,:root[data-theme=light] .spotlight .spot-results kbd,:root[data-theme=light] .spotlight .spot-head{color:rgba(0,0,0,.45)!important}
:root[data-theme=light] .spotlight .spot-results li[aria-selected=true]{background:rgba(0,0,0,.08)}
html.ios .spotlight{margin-top:60px}html.ios .spot-field{height:52px;padding:0 20px}html.ios .spot-field input{font-size:19px}html.ios .spotlight .spot-results li.spot-mode{font-size:17px}
html.lite :is(.spot-field,.spot-panel){background:rgb(28,28,28)}
.spotlight .spot-ico.thumb{position:relative}.spotlight .spot-ico.thumb img{position:absolute;inset:0}

/* ===== Work tags: macOS tag dots in the sidebar, and a wall of designs with only the client's logo ===== */
.tag-dot{width:11px;height:11px;border-radius:50%;flex:none;margin-inline:3px 4px;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.25)}
.tag-dot.red{background:#ff453a}.tag-dot.orange{background:#ff9f0a}.tag-dot.yellow{background:#ffd60a}.tag-dot.green{background:#30d158}.tag-dot.blue{background:#0a84ff}.tag-dot.purple{background:#bf5af2}.tag-dot.gray{background:#98989d}
.tag-view .items.icons{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))!important;gap:14px!important;padding:14px!important}
.tag-view .items.icons .item{padding:0;gap:0}
.tag-view .items.icons .item .name{display:none}
.tag-view .file-thumb.wall{--tw:100%;--th:auto;width:100%;height:auto;aspect-ratio:4/5;border-radius:10px;overflow:hidden;background:rgba(127,127,127,.12)}
.tag-view .file-thumb.wall>img{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
.wall-logo{position:absolute;left:8px;bottom:8px;width:34px;height:34px;border-radius:9px;display:grid;place-items:center;padding:4px;background:rgba(255,255,255,.9);box-shadow:0 2px 8px rgba(0,0,0,.3)}
.wall-logo img{width:100%;height:100%;object-fit:contain}
.file-thumb:not(.wall) .wall-logo{display:none}
html.ios .tag-view .items.icons{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;padding:10px!important}
.wall-logo .lg-d{display:none!important}.wall-logo .lg-l{display:block!important}
.tag-view .items.icons .item .icon{width:100%!important;height:auto!important;max-width:none!important}
.tag-view .items.icons .item{width:auto!important;max-width:none!important;align-items:stretch}
.tag-view .file-thumb.wall{width:100%!important;height:auto!important}
.tag-view .wall-logo{width:30px;height:30px;border-radius:8px}
.tag-view .file-thumb.wall>img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;transform:none!important}
.tag-view .file-thumb.wall .wall-logo{z-index:2}
.tag-view .items.icons{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important}
.tag-view .file-thumb.wall>img{background:transparent!important}

/* ===== Projects: Behance-style grid by default (designs at their own proportions, 3 / 2 columns) ===== */
.story-flow{display:block;column-count:3;column-gap:12px;max-width:1180px}
.story-flow>*{break-inside:avoid;margin:0 0 12px}
.story-flow>.story-video,.story-flow>.story-compare,.story-flow>video.story-media{column-span:all;margin-bottom:12px}
.story-tile{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:10px;overflow:hidden}
.story-tile .story-media{border-radius:10px;transition:transform .35s var(--ease),filter .2s}
.story-tile:hover .story-media{transform:scale(1.02);filter:brightness(1.05)}
@media (max-width:900px){.story-flow{column-count:2}}
html.ios .story-flow{column-count:2;column-gap:8px}html.ios .story-flow>*{margin-bottom:8px}

/* ===== Projects like Behance: titled sections, each a strip of equal-height rows filling the width ===== */
.story-sec{max-width:1240px;margin:0 auto 30px;padding:0 32px}
.story-sec-title{margin:6px 0 14px;text-align:center;font-size:20px;font-weight:700;letter-spacing:-.01em}
.story-sec>.story-video,.story-sec>.story-compare,.story-sec>video.story-media{margin:0 0 6px}
.story-rows{display:flex;flex-wrap:wrap;gap:6px}
.story-rows .story-tile{flex-grow:calc(var(--ar)*100);flex-basis:calc(var(--ar)*230px);aspect-ratio:var(--ar);border-radius:4px;margin:0}
.story-rows .story-tile .story-media{width:100%;height:100%;object-fit:cover;border-radius:4px}
.story-rows .story-fill{flex-grow:1000000;flex-basis:0;height:0}
@media (max-width:900px){.story-sec{padding:0 16px}.story-rows .story-tile{flex-basis:calc(var(--ar)*170px)}}
html.ios .story-sec{padding:0 10px;margin-bottom:22px}html.ios .story-rows{gap:4px}html.ios .story-rows .story-tile{flex-basis:calc(var(--ar)*120px)}html.ios .story-sec-title{font-size:17px}
.story-rows .story-tile{width:auto!important;min-width:0}
/* Behance layout modules: strips of designs, centred headings, text blocks */
.story-behance{display:flex;flex-direction:column;gap:6px}
.story-behance .story-rows.one .story-tile{flex-basis:100%}
.story-behance .story-sec-title{text-align:center;margin:34px 0 14px;font-size:22px;letter-spacing:-.01em}
.story-text{white-space:pre-line;max-width:720px;margin:26px auto;font-size:15px;line-height:1.65;color:var(--text-2,inherit);padding:0 18px}
.story-behance .story-video,.story-behance .story-media{width:100%}
.story-rows.justified .story-tile{flex-basis:calc(var(--ar)*1px);min-width:0}
.story-break{flex-basis:100%;height:0;margin-top:-6px}
