.desktop-body {
    padding-bottom: 3.3rem;
    background:
        linear-gradient(135deg, rgba(14, 109, 115, .82), rgba(223, 236, 238, .58)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 32px),
        #0e6d73;
}

.desktop {
    position: relative;
    min-height: calc(100vh - 46px);
    padding: clamp(1rem, 3vw, 2rem);
    overflow: hidden;
}

.desktop-intro {
    width: min(720px, calc(100% - 9.5rem));
    margin-left: auto;
    padding: 1.2rem 1.4rem;
    color: #f8ffff;
    text-shadow: 0 1px 2px rgba(0,0,0,.32);
}

.desktop-intro h1 {
    margin-bottom: .7rem;
}

.desktop-intro p:not(.eyebrow) {
    max-width: 58ch;
}

.desktop-corner-image {
    position: fixed;
    right: 1rem;
    bottom: calc(46px + 1rem);
    z-index: 10;
    width: clamp(120px, 15vw, 210px);
    height: auto;
    max-height: 32vh;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(3, 24, 29, .28));
    pointer-events: none;
    user-select: none;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.1rem;
    text-shadow: none;
}

.desktop-icons {
    position: absolute;
    top: 1.4rem;
    left: 1.2rem;
    display: grid;
    grid-template-columns: repeat(2, 96px);
    grid-template-rows: repeat(6, minmax(96px, auto));
    grid-auto-flow: column;
    gap: .75rem;
    z-index: 20;
}

.desktop-icons.is-freeform {
    top: 0;
    right: 0;
    bottom: 46px;
    left: 0;
    display: block;
    pointer-events: none;
}

.desktop-icon {
    display: grid;
    grid-template-rows: 56px 2.6em;
    align-items: start;
    justify-items: center;
    gap: .35rem;
    width: 96px;
    min-height: 96px;
    padding: .55rem .35rem;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 6px;
    text-shadow: 0 1px 2px rgba(0,0,0,.48);
    user-select: none;
    touch-action: none;
    -webkit-user-drag: none;
}

.desktop-icon img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.desktop-icons.is-freeform .desktop-icon {
    position: absolute;
    width: 96px;
    pointer-events: auto;
}

.desktop-icon.is-dragging {
    z-index: 80;
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.58);
    cursor: grabbing;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.45);
}

.desktop-icon span {
    display: block;
    min-height: 2.6em;
    max-width: 88px;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.windows-layer {
    position: absolute;
    top: 0;
    right: clamp(1rem, 3vw, 2rem);
    bottom: 0;
    left: 8.5rem;
    z-index: 60;
    min-height: 580px;
    pointer-events: none;
}

.windows-layer .desktop-window {
    pointer-events: auto;
}

.taskbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 46px;
    padding: .35rem .75rem;
    color: #08272b;
    background: linear-gradient(#f5ffff, #cddfe2);
    border-top: 1px solid #6d8c92;
    box-shadow: 0 -8px 20px rgba(3, 24, 29, .15);
}

.taskbar-windows {
    display: flex;
    align-items: center;
    flex: 1;
    gap: .45rem;
    min-width: 0;
    overflow-x: auto;
}

.taskbar-window-button {
    display: inline-flex;
    align-items: center;
    max-width: 190px;
    min-height: 34px;
    padding: .35rem .65rem;
    color: #08272b;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: #eef7f8;
    border: 1px solid #6d8c92;
    border-radius: 5px;
    cursor: pointer;
}

.taskbar-window-button:hover,
.taskbar-window-button.is-active {
    background: #fff7d8;
    border-color: #57420b;
}

.taskbar-start {
    border: 0;
    cursor: pointer;
    min-width: 92px;
    padding: .42rem .7rem;
    color: #fff;
    font-weight: 800;
    background: var(--brand-dark);
    border-radius: 6px;
}

.taskbar-start:hover,
.taskbar-start[aria-expanded="true"] {
    background: #0e6d73;
}

.start-menu {
    position: absolute;
    bottom: calc(100% + .4rem);
    left: .75rem;
    width: min(310px, calc(100vw - 1.5rem));
    padding: .45rem;
    background: #f6fbfb;
    border: 2px solid #315c62;
    border-radius: 8px;
    box-shadow: 0 -18px 45px rgba(3, 24, 29, .28);
}

.start-menu::before {
    content: "Tusonic";
    display: block;
    margin: -.45rem -.45rem .35rem;
    padding: .7rem .85rem;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(90deg, #083f45, #0e6d73);
    border-radius: 6px 6px 0 0;
}

.start-menu a {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 44px;
    padding: .55rem .65rem;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
}

.start-menu a:hover,
.start-menu a:focus-visible {
    background: #dce9eb;
}

.taskbar-socials {
    display: grid;
    grid-template-columns: repeat(6, 18px);
    grid-auto-flow: column;
    align-items: center;
    gap: .35rem;
    flex: 0 0 auto;
    width: max-content;
    height: 18px;
}

.taskbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    transition: opacity .15s ease, transform .15s ease;
}

.taskbar-social:hover {
    opacity: .78;
    transform: translateY(-1px);
}

.taskbar-social svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.taskbar-social-facebook {
    color: #24454a;
}

.taskbar-social-tiktok {
    color: #24454a;
}

.taskbar-social-instagram {
    color: #24454a;
}

.taskbar-social-youtube {
    color: #24454a;
}

.taskbar-social-linkedin,
.taskbar-social-x {
    color: #24454a;
}

.taskbar time {
    flex: 0 0 auto;
    text-align: right;
    color: #24454a;
}
