body {
    background:
    radial-gradient(circle at 20% 20%, rgba(85,85,85,0.06), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(136,136,136,0.04), transparent 26%),
    var(--k-bg-deep);
    overflow-x: hidden;
}

.page-shell {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 18, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--k-border);
}

.site-header .k-container {
    gap: 1rem;
}

.site-header-bar {
    width: 100%;
    gap: 1rem;
}

.site-title {
    flex: 1 1 auto;
    min-width: 0;
}

.site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-header .k-btn {
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--k-border);
    border-radius: 9999px;
    background: rgba(27, 27, 27, 0.85);
    color: var(--k-text-primary);
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
    border-color: var(--k-border-light);
    background: rgba(37, 37, 37, 0.92);
}

.nav-toggle-icon {
    display: inline-block;
    font-size: 1.7rem;
    line-height: 1;
    transform-origin: center;
    transition: transform 180ms ease;
}

.site-header.is-nav-open .nav-toggle-icon {
    transform: rotate(45deg);
}

.hero-copy {
    max-width: 40rem;
}

.hero-copy p {
    max-width: 42ch;
}

.orb-shell { display: grid; place-items: center; min-height: 420px; }
.orb-stage { width: 100%; max-width: 560px; aspect-ratio: 1; position: relative; pointer-events: none; }
.orb-stage::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(136,136,136,0.12), rgba(0,0,0,0) 58%); filter: blur(8px); z-index:0; }
.orb-stage::after  { content: ""; position: absolute; inset: 18%; border-radius:50%; border:1px solid rgba(255,255,255,0.04); z-index:0; }

#canvas-container { width: min(480px,86vw); aspect-ratio:1; z-index:1; }
#cat-canvas, #not-found-canvas { width:100%; height:100%; display:block; }

.private-zone.locked .private-card { opacity:0.5; pointer-events:none; filter:grayscale(0.4); }

.hero-title { font-size: clamp(3rem, 8vw, 6.5rem); line-height:0.88; letter-spacing:-0.06em; }

@media (max-width: 1100px) {
    #top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .globe-copy,
    .orb-shell {
        justify-self: stretch;
    }

    .orb-shell {
        min-height: 380px;
    }

    .orb-stage {
        max-width: 460px;
    }
}

@media (max-width:768px) {
    .site-header .k-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-header nav {
        width: 100%;
        order: 3;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.5rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
    }

    .site-header.is-nav-open nav {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-header .k-btn {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
    }

    .k-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-shell {
        gap: 1.75rem;
    }

    #top {
        min-height: auto;
    }

    .hero-title {
        max-width: 100%;
    }

    .k-grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .orb-stage {
        max-width: 420px;
    }

    #canvas-container {
        max-width: 360px;
    }

    .orb-shell {
        min-height: 320px;
    }

    section.k-container {
        padding-top: 3rem !important;
    }

    footer .k-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width:480px) {
    .site-header .k-container {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .site-header .k-btn {
        width: 100%;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
    }

    .hero-title { font-size: clamp(2.6rem,16vw,4rem); }
    .hero-copy p {
        max-width: 100%;
        font-size: 1rem;
    }

    .orb-stage { max-width:360px; }
    .orb-shell { min-height: 280px; }

    .k-grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .k-card {
        padding: 18px;
    }

    footer .k-flex {
        width: 100%;
    }

    footer .k-flex .k-gap-4 {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}