:root {
    color-scheme: dark;
    --bg-canvas: #0a0a0a;
    --bg-elevated: #111111;
    --bg-elevated-strong: #151515;
    --bg-overlay: rgba(255, 255, 255, 0.03);
    --bg-overlay-strong: rgba(255, 255, 255, 0.05);
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-tertiary: rgba(245, 245, 245, 0.52);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --accent-soft: #d4d4d4;
    --accent-strong: #fafafa;
    --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.34);
}

body.home-route {
    overflow-x: clip;
    background: #050505;
}

body.home-route.stage-mode {
    overflow: hidden;
}

body.home-route:not(.stage-mode) .landing-dots {
    display: none;
}

.landing-page {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05), transparent 26%),
        radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.03), transparent 36%),
        linear-gradient(180deg, #040404 0%, #070707 48%, #040404 100%);
}

.landing-stage {
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.landing-scene {
    position: relative;
    inset: auto;
    min-height: 100vh;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 100px 96px 84px;
}

body.home-route.stage-mode .landing-stage {
    height: 100vh;
    overflow: hidden;
}

body.home-route.stage-mode .landing-scene {
    position: absolute;
    inset: 0;
    min-height: auto;
    pointer-events: none;
    will-change: transform, opacity;
    transition:
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.82s;
}

body.home-route.stage-mode .landing-scene.is-before,
body.home-route.stage-mode .landing-scene.is-after {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

body.home-route.stage-mode .landing-scene.is-before {
    transform: translate3d(0, -11vh, 0) scale(0.972);
}

body.home-route.stage-mode .landing-scene.is-after {
    transform: translate3d(0, 11vh, 0) scale(0.972);
}

body.home-route.stage-mode .landing-scene.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    z-index: 2;
    transition-delay: 0s;
}

.landing-grid {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.055), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 72%);
}

.landing-symbol.symbol-hero::before {
    content: "";
    position: absolute;
    width: min(58vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
    opacity: 0.34;
    filter: blur(22px);
    transform: translateY(2vh);
}

.landing-mark {
    position: absolute;
    max-width: none;
    mix-blend-mode: screen;
    transform-origin: center;
    animation: landing-mark-drift 14s ease-in-out infinite;
}

.landing-mark-core {
    width: min(52vw, 680px);
    opacity: 0.18;
    transform: translateY(2vh);
}

.landing-mark-echo {
    width: min(70vw, 920px);
    opacity: 0.08;
    filter: blur(16px);
    transform: translateY(5vh) scale(1.06);
    animation-duration: 18s;
    animation-delay: -4s;
}

.landing-hero-copy {
    width: min(1020px, 100%);
}

.landing-hero-title {
    margin-bottom: 30px;
    font-size: clamp(4.4rem, 9vw, 7.2rem);
}

.landing-hero-description {
    max-width: 800px;
}

.landing-hero-support {
    max-width: 720px;
    margin-bottom: 36px;
}

.landing-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 34px;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 72px;
    padding: 14px 0 10px;
    border: 0;
    background: transparent;
    transform: translateX(-50%);
    cursor: pointer;
}

.landing-scroll-cue span {
    display: block;
    width: 22px;
    height: 22px;
    border-right: 2px solid rgba(255, 255, 255, 0.34);
    border-bottom: 2px solid rgba(255, 255, 255, 0.34);
    transform: rotate(45deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
    animation: landing-scroll-cue 2.1s ease-in-out infinite;
}

.landing-scroll-cue span:nth-child(2) {
    margin-top: -11px;
    opacity: 0.72;
    animation-delay: 0.16s;
}

.landing-scroll-cue span:nth-child(3) {
    margin-top: -11px;
    opacity: 0.44;
    animation-delay: 0.32s;
}

.landing-scroll-cue:hover span {
    border-color: rgba(255, 255, 255, 0.62);
}

.landing-scene-shell {
    gap: 56px;
}

.landing-scene-panel {
    max-width: 640px;
}

.landing-scene-panel p + p {
    margin-top: 18px;
}

.landing-code-panel,
.landing-terminal-panel,
.landing-project-card,
.landing-manifesto-card {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.landing-manifesto-scene .landing-scene-shell.manifesto {
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 0.94fr);
    gap: 64px;
    align-items: center;
}

.landing-manifesto-panel {
    max-width: 560px;
}

.landing-manifesto-card {
    width: min(640px, 100%);
    justify-self: end;
    padding: 42px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 11, 0.88);
}

.landing-manifesto-card .landing-eyebrow {
    margin-bottom: 24px;
}

.landing-manifesto-copy {
    margin-top: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
}

.landing-manifesto-copy br {
    display: block;
    content: "";
    margin-bottom: 0.3rem;
}

.landing-manifesto-note {
    margin-top: 24px;
}

.landing-project-stack {
    width: min(560px, 100%);
}

.landing-project-card {
    min-height: 190px;
}

.landing-project-card + .landing-project-card {
    margin-top: -22px;
    margin-left: 56px;
}

@keyframes landing-mark-drift {
    0%,
    100% {
        transform: translateY(2vh) scale(1);
    }

    50% {
        transform: translateY(-1vh) scale(1.02);
    }
}

@keyframes landing-scroll-cue {
    0%,
    100% {
        opacity: 0.16;
        transform: translateY(-6px) rotate(45deg);
    }

    45% {
        opacity: 0.92;
        transform: translateY(0) rotate(45deg);
    }

    70% {
        opacity: 0.3;
        transform: translateY(10px) rotate(45deg);
    }
}

@media (max-width: 1000px) {
    body.home-route.stage-mode {
        overflow: auto;
    }

    .landing-stage {
        height: auto;
        overflow: visible;
    }

    .landing-scene {
        padding: 64px 24px;
    }

    .landing-symbol.symbol-hero::before {
        width: min(94vw, 540px);
    }

    .landing-mark-core {
        width: min(92vw, 520px);
    }

    .landing-mark-echo {
        width: min(118vw, 660px);
    }

    .landing-scene-shell,
    .landing-scene-shell.reverse,
    .landing-manifesto-scene .landing-scene-shell.manifesto {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-manifesto-card {
        width: 100%;
        justify-self: auto;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .landing-project-card + .landing-project-card {
        margin-top: 14px;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-route,
    body.home-route.stage-mode {
        overflow: auto;
    }

    .landing-stage {
        height: auto !important;
        overflow: visible !important;
    }

    .landing-scene,
    body.home-route.stage-mode .landing-scene {
        position: relative;
        inset: auto;
        min-height: 100vh;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: none;
    }

    .landing-mark {
        animation: none;
    }
}

body.home-route {
    overflow-x: clip;
    background: #050505;
}

body.home-route.stage-mode {
    overflow: hidden;
}

body.home-route:not(.stage-mode) .landing-dots {
    display: none;
}

.landing-page {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05), transparent 26%),
        radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.03), transparent 36%),
        linear-gradient(180deg, #040404 0%, #070707 48%, #040404 100%);
}

.landing-stage {
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.landing-scene {
    position: relative;
    inset: auto;
    min-height: 100vh;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 100px 96px 84px;
}

body.home-route.stage-mode .landing-stage {
    height: 100vh;
    overflow: hidden;
}

body.home-route.stage-mode .landing-scene {
    position: absolute;
    inset: 0;
    min-height: auto;
    pointer-events: none;
    will-change: transform, opacity;
    transition:
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.82s;
}

body.home-route.stage-mode .landing-scene.is-before,
body.home-route.stage-mode .landing-scene.is-after {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

body.home-route.stage-mode .landing-scene.is-before {
    transform: translate3d(0, -11vh, 0) scale(0.972);
}

body.home-route.stage-mode .landing-scene.is-after {
    transform: translate3d(0, 11vh, 0) scale(0.972);
}

body.home-route.stage-mode .landing-scene.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    z-index: 2;
    transition-delay: 0s;
}

.landing-grid {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.055), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 72%);
}

.landing-symbol.symbol-hero::before {
    content: "";
    position: absolute;
    width: min(58vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
    opacity: 0.34;
    filter: blur(22px);
    transform: translateY(2vh);
}

.landing-mark {
    position: absolute;
    max-width: none;
    mix-blend-mode: screen;
    transform-origin: center;
    animation: landing-mark-drift 14s ease-in-out infinite;
}

.landing-mark-core {
    width: min(52vw, 680px);
    opacity: 0.18;
    transform: translateY(2vh);
}

.landing-mark-echo {
    width: min(70vw, 920px);
    opacity: 0.08;
    filter: blur(16px);
    transform: translateY(5vh) scale(1.06);
    animation-duration: 18s;
    animation-delay: -4s;
}

.landing-hero-copy {
    width: min(1020px, 100%);
}

.landing-hero-title {
    margin-bottom: 30px;
    font-size: clamp(4.4rem, 9vw, 7.2rem);
}

.landing-hero-description {
    max-width: 800px;
}

.landing-hero-support {
    max-width: 720px;
    margin-bottom: 36px;
}

.landing-scene-shell {
    gap: 56px;
}

.landing-scene-panel {
    max-width: 640px;
}

.landing-scene-panel p + p {
    margin-top: 18px;
}

.landing-code-panel,
.landing-terminal-panel,
.landing-project-card,
.landing-manifesto-card {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.landing-manifesto-scene .landing-scene-shell.manifesto {
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 0.94fr);
    gap: 64px;
    align-items: center;
}

.landing-manifesto-panel {
    max-width: 560px;
}

.landing-manifesto-card {
    width: min(640px, 100%);
    justify-self: end;
    padding: 42px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 11, 0.88);
}

.landing-manifesto-card .landing-eyebrow {
    margin-bottom: 24px;
}

.landing-manifesto-copy {
    margin-top: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
}

.landing-manifesto-copy br {
    display: block;
    content: "";
    margin-bottom: 0.3rem;
}

.landing-manifesto-note {
    margin-top: 24px;
}

.landing-project-stack {
    width: min(560px, 100%);
}

.landing-project-card {
    min-height: 190px;
}

.landing-project-card + .landing-project-card {
    margin-top: -22px;
    margin-left: 56px;
}

@keyframes landing-mark-drift {
    0%,
    100% {
        transform: translateY(2vh) scale(1);
    }

    50% {
        transform: translateY(-1vh) scale(1.02);
    }
}

@media (max-width: 1000px) {
    body.home-route.stage-mode {
        overflow: auto;
    }

    .landing-stage {
        height: auto;
        overflow: visible;
    }

    .landing-scene {
        padding: 64px 24px;
    }

    .landing-symbol.symbol-hero::before {
        width: min(94vw, 540px);
    }

    .landing-mark-core {
        width: min(92vw, 520px);
    }

    .landing-mark-echo {
        width: min(118vw, 660px);
    }

    .landing-scene-shell,
    .landing-scene-shell.reverse,
    .landing-manifesto-scene .landing-scene-shell.manifesto {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-manifesto-card {
        width: 100%;
        justify-self: auto;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .landing-project-card + .landing-project-card {
        margin-top: 14px;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-route,
    body.home-route.stage-mode {
        overflow: auto;
    }

    .landing-stage {
        height: auto !important;
        overflow: visible !important;
    }

    .landing-scene,
    body.home-route.stage-mode .landing-scene {
        position: relative;
        inset: auto;
        min-height: 100vh;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: none;
    }

    .landing-mark {
        animation: none;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: var(--bg-canvas);
    color: var(--text-primary);
    overflow-x: clip;
}

body {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html {
    scroll-behavior: smooth;
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
}

a {
    text-decoration-color: rgba(255, 255, 255, 0.24);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.page {
    position: relative;
    display: flex;
    min-height: 100vh;
    background: var(--bg-canvas);
}

main {
    flex: 1;
    min-width: 0;
    min-height: 100vh;
    background: var(--bg-canvas);
}

.main-content {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 28%),
        var(--bg-canvas);
}

.sidebar {
    width: 240px;
    flex: 0 0 240px;
    border-right: 1px solid var(--border-subtle);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.015) 100%),
        var(--bg-elevated);
}

.sidebar-inner {
    position: sticky;
    top: 0;
    padding: 28px 18px;
}

.brand-area {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.brand-title {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 700;
}

.brand-subtitle {
    margin-top: 6px;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.nav-link:hover {
    background: var(--bg-overlay);
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

.nav-link.active {
    background: var(--bg-overlay-strong);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.home-page .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.home-page .hero-content {
    width: 100%;
    max-width: 980px;
}

.hero-tag,
.projects-tag,
.section-title {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
}

.home-page .hero-tag {
    margin-bottom: 1rem;
}

.home-page h1 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 5rem;
    font-weight: 800;
}

.home-page .hero-description {
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.9;
}

.highlight {
    color: var(--accent-strong);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
    font-weight: 600;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.primary {
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated-strong);
    color: var(--text-primary);
}

.primary:hover {
    background: #1a1a1a;
}

.secondary {
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.secondary:hover {
    border-color: var(--border-strong);
    color: var(--text-primary);
    background: var(--bg-overlay);
}

.home-page .hero-ending {
    margin-top: 40px;
    color: var(--text-tertiary);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    border-left: 2px solid var(--border-subtle);
    padding-left: 16px;
    max-width: 560px;
    line-height: 1.8;
}

.studio-manifesto {
    margin: 0;
    line-height: 1.95;
}

.home-page .footer {
    padding: 40px 80px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-title {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.footer-subtitle {
    margin-top: 6px;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

.footer-right {
    max-width: 420px;
    text-align: right;
    line-height: 1.8;
}

.footer-manifesto {
    max-width: 420px;
}

.projects-overview {
    min-height: 100vh;
    padding: 128px 56px 72px;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.04), transparent 28%),
        radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.03), transparent 30%),
        linear-gradient(180deg, #050505 0%, #080808 100%);
    color: var(--text-primary);
}

.projects-shell {
    width: min(1520px, 100%);
    margin: 0 auto;
}

.projects-kicker,
.projects-tag {
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.28em;
    font-size: 0.76rem;
}

.projects-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.7fr);
    gap: 32px;
    align-items: stretch;
    margin-bottom: 28px;
}

.projects-hero-copy,
.projects-snapshot,
.projects-workboard {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 11, 0.86);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.projects-hero-copy,
.projects-snapshot {
    border-radius: 34px;
}

.projects-hero-copy {
    min-height: 380px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projects-hero-copy::before,
.projects-snapshot::before,
.projects-workboard::before,
.project-node::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%);
    pointer-events: none;
}

.projects-hero-copy h1 {
    margin-top: 18px;
    margin-bottom: 22px;
    font-size: clamp(3.8rem, 8vw, 6.2rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.projects-hero-copy p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 1.06rem;
    line-height: 1.95;
}

.projects-snapshot {
    padding: 34px;
}

.projects-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.projects-stat {
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.projects-stat strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.projects-stat span,
.projects-snapshot-note,
.projects-visibility,
.project-node-category,
.project-node-description,
.project-node-focus,
.project-node-arrow {
    color: rgba(255, 255, 255, 0.58);
}

.projects-stat span {
    display: block;
    margin-top: 10px;
    font-size: 0.88rem;
}

.projects-snapshot-note {
    margin-top: 22px;
    margin-bottom: 0;
    line-height: 1.9;
}

.projects-workboard {
    padding: 34px;
    border-radius: 36px;
}

.projects-workboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

.projects-workboard-header h2 {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.projects-visibility {
    font-size: 0.92rem;
}

.projects-visibility strong {
    color: rgba(255, 255, 255, 0.96);
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.projects-filter {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.58);
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.projects-filter:hover,
.projects-filter.is-active {
    color: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.projects-filter:hover {
    transform: translateY(-1px);
}

.projects-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.project-node {
    position: relative;
    min-height: 268px;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
        rgba(12, 12, 12, 0.9);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        opacity 0.2s ease;
}

.project-node.is-hidden {
    display: none;
}

.project-node:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 36px 88px rgba(0, 0, 0, 0.34);
}

.project-node--hero {
    grid-column: span 7;
    min-height: 340px;
}

.project-node--major {
    grid-column: span 6;
}

.project-node--half {
    grid-column: span 4;
    min-height: 240px;
}

.project-node-link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: inherit;
    height: 100%;
    padding: 28px;
    color: inherit;
    text-decoration: none;
}

.project-node-head,
.project-node-foot {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.project-node-track,
.project-node-status {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
}

.project-node-track {
    color: rgba(255, 255, 255, 0.42);
}

.project-node-status {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-node-status.active {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
}

.project-node-status.planning {
    color: rgba(255, 255, 255, 0.54);
    background: rgba(255, 255, 255, 0.02);
}

.project-node-body {
    margin-top: 22px;
    margin-bottom: 26px;
}

.project-node-subtitle {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.92rem;
}

.project-node h3 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.project-node--half h3 {
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.project-node-category {
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.project-node-description,
.project-node-focus {
    line-height: 1.85;
}

.project-node-arrow {
    white-space: nowrap;
}

.projects-empty {
    margin-top: 24px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.54);
}

.shye-page {
    width: 100%;
    max-width: 1600px;
    min-height: 100vh;
    margin: 0 auto;
    overflow-x: hidden;
    padding: 128px 80px 80px;
    background: transparent;
    color: var(--text-primary);
}

.shye-page .hero {
    max-width: 950px;
    margin-bottom: 120px;
}

.shye-page .hero-tag {
    margin-bottom: 20px;
}

.shye-page .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(4rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
}

.shye-page .hero-description {
    margin-top: 36px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 2;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
}

.status.active {
    border: 1px solid var(--border-strong);
    background: var(--bg-overlay);
    color: var(--text-primary);
}

.status.planning {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
}

.project-detail-page {
    min-height: 100vh;
    padding: 128px 80px 80px;
    color: var(--text-primary);
}

.project-detail-hero {
    max-width: 900px;
    margin-bottom: 72px;
}

.project-detail-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1;
}

.project-detail-subtitle {
    margin-bottom: 22px;
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.project-detail-description {
    max-width: 720px;
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.95;
}

.project-detail-actions {
    margin-top: 32px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.project-detail-card {
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        var(--bg-elevated);
}

.project-detail-card h2 {
    margin-bottom: 14px;
    font-size: 1.15rem;
}

.project-detail-card p {
    color: var(--text-secondary);
    line-height: 1.9;
}

.section-title {
    margin-bottom: 40px;
}

.principles-section,
.timeline-section,
.research-section {
    margin-bottom: 120px;
}

.principles-grid,
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.research-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.principle-card,
.timeline-card,
.research-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.timeline-card {
    padding: 26px;
}

.principle-card::before,
.timeline-card::before,
.research-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.principle-card:hover,
.timeline-card:hover,
.research-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-soft);
}

.principle-card:hover::before,
.timeline-card:hover::before,
.research-card:hover::before {
    opacity: 1;
}

.principle-card h3,
.research-card h3,
.timeline-card h3 {
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.principle-card h3 {
    font-size: 1.15rem;
}

.principle-card p,
.timeline-card p,
.research-card p {
    color: var(--text-secondary);
    line-height: 1.9;
}

.timeline {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.timeline::-webkit-scrollbar {
    display: none;
}

.timeline-line {
    flex-shrink: 0;
    width: 80px;
    height: 2px;
    margin-top: 92px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.timeline-node {
    flex-shrink: 0;
    width: 300px;
    max-width: 300px;
}

.timeline-node.secondary .timeline-card {
    border-color: var(--border-strong);
}

.timeline-date {
    margin-bottom: 14px;
    color: var(--text-tertiary);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.timeline-card p {
    word-break: break-word;
}

.timeline-branch {
    margin-top: 14px;
    margin-left: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.9;
}

.quote-section {
    margin-top: 140px;
    margin-bottom: 120px;
}

.quote-line {
    width: 120px;
    height: 2px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.22);
}

.quote-section p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.2rem;
    line-height: 2;
    overflow-wrap: break-word;
}

.shye-page .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.not-found-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px;
}

.not-found-page h1 {
    margin-bottom: 20px;
    font-size: clamp(3rem, 7vw, 5rem);
}

.not-found-page p {
    max-width: 560px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    line-height: 1.9;
}

@media (max-width: 768px) {
    .site-header {
        position: static;
        padding: 22px 24px 0;
        pointer-events: auto;
    }

    .page {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        flex-basis: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .sidebar-inner {
        position: static;
        padding: 22px 24px;
    }

    .brand-area {
        padding-bottom: 18px;
        margin-bottom: 16px;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .home-page .hero,
    .projects-overview,
    .shye-page,
    .not-found-page {
        padding: 32px 24px;
    }

    .home-page h1 {
        font-size: 3.5rem;
    }

    .home-page .footer {
        padding: 32px 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-right {
        text-align: left;
    }

    .footer-manifesto {
        max-width: none;
    }

    .projects-hero {
        grid-template-columns: 1fr;
    }

    .projects-hero-copy,
    .projects-snapshot,
    .projects-workboard {
        padding: 26px;
        border-radius: 26px;
    }

    .projects-hero-copy {
        min-height: auto;
    }

    .projects-hero-copy h1 {
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }

    .projects-snapshot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-workboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-board {
        grid-template-columns: 1fr;
    }

    .project-node--hero,
    .project-node--major,
    .project-node--half {
        grid-column: span 1;
        min-height: auto;
    }

    .project-node-link {
        padding: 24px;
    }

    .project-node h3 {
        font-size: clamp(1.9rem, 9vw, 2.8rem);
    }

    .project-node-foot {
        flex-direction: column;
    }

    .project-detail-page {
        padding: 32px 24px;
    }

    .project-detail-grid {
        grid-template-columns: 1fr;
    }

    .project-footer {
        flex-direction: column;
    }

    .shye-page .hero {
        margin-bottom: 80px;
    }

    .shye-page .hero h1 {
        font-size: 3.5rem;
    }

    .principles-section,
    .timeline-section,
    .research-section,
    .quote-section {
        margin-bottom: 80px;
    }

    .timeline {
        gap: 18px;
    }

    .timeline-node {
        width: 260px;
        max-width: 260px;
    }

    .timeline-line {
        width: 50px;
    }

    .shye-page .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.06), transparent 34%),
        linear-gradient(180deg, #050505 0%, #070707 32%, #050505 100%);
}

.home-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 100%);
}

.home-page > * {
    position: relative;
    z-index: 1;
}

.home-dots {
    position: fixed;
    top: 50%;
    right: 36px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(-50%);
}

.home-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    opacity: 0.75;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.home-dot:hover,
.home-dot.active {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.92);
    opacity: 1;
    transform: scale(1.05);
}

.hero-scene {
    --hero-progress: 0;
    position: relative;
    min-height: 100vh;
}

.hero-sticky {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: clip;
    padding: 64px 80px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 72%);
    opacity: calc(1 - (var(--hero-progress) * 0.55));
    transform: scale(calc(1 + (var(--hero-progress) * 0.06)));
}

.hero-symbol {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.hero-symbol svg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 5;
    vector-effect: non-scaling-stroke;
}

.hero-symbol-core {
    width: min(54vw, 680px);
    opacity: calc(0.22 - (var(--hero-progress) * 0.1));
    transform:
        translateY(calc(var(--hero-progress) * -7vh))
        scale(calc(1 + (var(--hero-progress) * 0.05)));
}

.hero-symbol-echo {
    position: absolute;
    width: min(68vw, 860px);
    opacity: calc(0.08 - (var(--hero-progress) * 0.04));
    filter: blur(9px);
    transform:
        translateY(calc(var(--hero-progress) * -11vh))
        scale(calc(1.08 + (var(--hero-progress) * 0.08)))
        rotate(calc(var(--hero-progress) * 7deg));
}

.hero-copy {
    position: relative;
    width: min(980px, 100%);
    text-align: center;
    transform:
        translateY(calc(var(--hero-progress) * -12vh))
        scale(calc(1 - (var(--hero-progress) * 0.04)));
    opacity: calc(1 - (var(--hero-progress) * 0.42));
}

.hero-title {
    margin-bottom: 1.6rem;
    font-size: clamp(3.9rem, 9vw, 6.8rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero-title-static,
.hero-title-typed {
    display: inline-block;
}

.hero-title-static {
    margin-right: 0.24em;
}

.hero-title-typed {
    min-width: 3.3em;
    text-align: left;
}

.hero-caret {
    display: inline-block;
    width: 0.08em;
    height: 0.92em;
    margin-left: 0.08em;
    background: rgba(255, 255, 255, 0.92);
    vertical-align: -0.08em;
    animation: hero-caret-blink 1s steps(1, end) infinite;
}

.hero-description,
.hero-support {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.95;
}

.hero-description {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.16rem;
}

.hero-support {
    margin-bottom: 2.3rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 1rem;
}

.hero-buttons {
    justify-content: center;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 38px;
    left: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    transform: translateX(-50%);
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.hero-scroll-cue span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.72);
    border-bottom: 2px solid rgba(255, 255, 255, 0.72);
    transform: rotate(45deg) translate(-1px, -1px);
}

.hero-scroll-cue:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(-50%) translateY(2px);
}

.home-section {
    position: relative;
    padding: 120px 80px;
}

.home-slide {
    min-height: 100vh;
    scroll-margin-top: 0;
}

.section-header {
    max-width: 860px;
    margin-bottom: 52px;
}

.section-header.compact {
    max-width: 720px;
}

.section-eyebrow {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.76rem;
    letter-spacing: 0.28em;
}

.section-header h2,
.manifesto-panel h2 {
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.section-header p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.04rem;
    line-height: 1.95;
}

.domains-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 72px;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.domain-card,
.spotlight-item,
.manifesto-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 11, 0.82);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.domain-card {
    min-height: 260px;
    padding: 30px;
    border-radius: 28px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.domain-card:hover,
.spotlight-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.16);
}

.domain-index,
.spotlight-meta {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
}

.domain-card h3,
.spotlight-item h3 {
    margin-top: 22px;
    margin-bottom: 16px;
    font-size: 2rem;
    font-weight: 700;
}

.domain-card p,
.spotlight-item p,
.manifesto-note {
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.92;
}

.projects-spotlight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 72px;
}

.spotlight-list {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.spotlight-item {
    display: block;
    min-height: 220px;
    padding: 28px;
    border-radius: 28px;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.spotlight-item:nth-child(1),
.spotlight-item:nth-child(2) {
    grid-column: span 6;
}

.spotlight-item:nth-child(3) {
    grid-column: span 7;
}

.spotlight-item:nth-child(4),
.spotlight-item:nth-child(5) {
    grid-column: span 5;
}

.manifesto-section {
    padding-top: 32px;
    padding-bottom: 140px;
}

.manifesto-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 44px;
    border-radius: 36px;
}

.manifesto-copy {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 2;
}

.manifesto-note {
    max-width: 620px;
    margin-top: 30px;
    margin-bottom: 0;
}

.manifesto-actions {
    margin-top: 34px;
}

@keyframes hero-caret-blink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 1100px) {
    .domain-grid,
    .spotlight-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spotlight-item:nth-child(n) {
        grid-column: span 1;
    }
}

@media (min-width: 769px) {
    html {
        scroll-snap-type: y proximity;
    }

    .home-page .home-slide {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    .home-page::before {
        background-size: 18px 18px;
    }

    .home-dots {
        display: none;
    }

    .hero-sticky,
    .home-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-sticky {
        padding-top: 40px;
        padding-bottom: 88px;
        align-items: center;
    }

    .hero-symbol-core {
        width: min(92vw, 520px);
    }

    .hero-symbol-echo {
        width: min(112vw, 620px);
    }

    .hero-title {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }

    .hero-title-static,
    .hero-title-typed {
        display: block;
        text-align: center;
    }

    .hero-title-static {
        margin-right: 0;
        margin-bottom: 0.14em;
    }

    .hero-title-typed {
        min-width: 0;
    }

    .hero-caret {
        height: 0.8em;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-support {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .home-section {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .domains-section,
    .projects-spotlight {
        min-height: auto;
        justify-content: flex-start;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-header h2,
    .manifesto-panel h2 {
        font-size: 2.35rem;
    }

    .domain-grid,
    .spotlight-list {
        grid-template-columns: 1fr;
    }

    .domain-card,
    .spotlight-item,
    .manifesto-panel {
        border-radius: 24px;
    }

    .domain-card,
    .spotlight-item {
        min-height: auto;
        padding: 24px;
    }

    .manifesto-panel {
        padding: 30px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }

    .hero-caret {
        animation: none;
    }

    .home-dot,
    .domain-card,
    .spotlight-item,
    .hero-scroll-cue {
        transition: none;
    }
}

body.home-route {
    overflow: hidden;
    background: #050505;
}

.landing-page {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.05), transparent 34%),
        linear-gradient(180deg, #050505 0%, #080808 100%);
    color: var(--text-primary);
}

.landing-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
}

.landing-page > * {
    position: relative;
    z-index: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 36px;
    pointer-events: none;
}

.site-brand,
.site-nav {
    pointer-events: auto;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.site-brand-en {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.site-brand-cn {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.85rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.active {
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.05);
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 36px;
    pointer-events: none;
}

.landing-brand,
.landing-nav {
    pointer-events: auto;
}

.landing-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.landing-brand-en {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
}

.landing-brand-cn {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.85rem;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-nav-link {
    padding: 10px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.landing-nav-link:hover,
.landing-nav-link.active {
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.05);
}

.landing-dots {
    position: fixed;
    top: 50%;
    right: 30px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transform: translateY(-50%);
}

.landing-dot {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: transparent;
    padding: 0;
    opacity: 0.76;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.landing-dot-link {
    display: block;
}

.landing-dot:hover,
.landing-dot.active {
    opacity: 1;
    transform: scale(1.06);
    border-color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.94);
}

.landing-stage {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.landing-scene {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 100px 96px 84px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(7vh) scale(0.985);
    transition:
        opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0.65s;
}

.landing-scene.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.landing-grid {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 72%);
    pointer-events: none;
}

.landing-eyebrow,
.landing-chip {
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.28em;
    font-size: 0.76rem;
}

.landing-hero-copy {
    position: relative;
    width: min(980px, 100%);
    text-align: center;
}

.landing-hero-title {
    margin-top: 20px;
    margin-bottom: 26px;
    font-size: clamp(4rem, 9vw, 6.9rem);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.landing-hero-static,
.landing-hero-typed {
    display: inline-block;
}

.landing-hero-static {
    margin-right: 0.22em;
}

.landing-hero-typed {
    min-width: 3.2em;
    text-align: left;
}

.landing-caret {
    display: inline-block;
    width: 0.08em;
    height: 0.92em;
    margin-left: 0.08em;
    background: rgba(255, 255, 255, 0.92);
    vertical-align: -0.08em;
    animation: hero-caret-blink 1s steps(1, end) infinite;
}

.landing-hero-description,
.landing-hero-support {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.95;
}

.landing-hero-description {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.16rem;
}

.landing-hero-support {
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.52);
}

.landing-hero-actions,
.landing-scene-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-hero-actions {
    justify-content: center;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.landing-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.16);
}

.landing-btn.primary {
    background: rgba(255, 255, 255, 0.92);
    color: #080808;
}

.landing-btn.secondary {
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.82);
}

.landing-symbol {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.landing-symbol svg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.18);
    vector-effect: non-scaling-stroke;
}

.landing-symbol-core {
    width: min(54vw, 680px);
    stroke-width: 5;
    opacity: 0.2;
}

.landing-symbol-echo {
    position: absolute;
    width: min(68vw, 860px);
    stroke-width: 5;
    opacity: 0.08;
    filter: blur(9px);
}

.landing-scene-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.85fr);
    gap: 44px;
    align-items: center;
    width: min(1320px, 100%);
}

.landing-scene-shell.reverse {
    grid-template-columns: minmax(440px, 0.85fr) minmax(0, 0.95fr);
}

.landing-scene-visual {
    position: relative;
    min-height: min(70vh, 780px);
    display: grid;
    place-items: center;
}

.symbol-burst svg {
    stroke-width: 22;
    stroke-linecap: round;
}

.symbol-burst .burst-echo {
    width: min(60vw, 860px);
    opacity: 0.08;
    filter: blur(4px);
}

.symbol-burst .burst-core {
    position: absolute;
    width: min(42vw, 560px);
    opacity: 0.82;
}

.landing-scene-panel {
    position: relative;
    max-width: 620px;
}

.landing-scene-panel h2,
.landing-manifesto-shell h2 {
    margin-top: 18px;
    margin-bottom: 22px;
    font-size: clamp(3.1rem, 6vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.landing-scene-panel p,
.landing-manifesto-note,
.landing-manifesto-copy {
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.95;
}

.landing-code-panel,
.landing-terminal-panel {
    margin-top: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(12, 12, 12, 0.9);
    overflow: hidden;
}

.landing-code-tabs,
.landing-terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.88rem;
}

.landing-code-tab.active,
.terminal-status {
    color: rgba(255, 255, 255, 0.92);
}

.landing-code-block,
.landing-terminal-body {
    padding: 24px 22px;
}

.landing-code-block pre,
.landing-terminal-body {
    margin: 0;
    font-family: "Consolas", "SFMono-Regular", monospace;
    font-size: 0.94rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
}

.landing-terminal-body span {
    display: inline-block;
    min-width: 34px;
    color: rgba(255, 255, 255, 0.4);
}

.landing-project-stack {
    position: relative;
    width: min(540px, 100%);
}

.landing-project-card {
    position: relative;
    min-height: 180px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(12, 12, 12, 0.9);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.landing-project-card + .landing-project-card {
    margin-top: -18px;
    margin-left: 48px;
}

.landing-project-card strong {
    display: block;
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: 2rem;
}

.landing-project-card span,
.landing-project-meta {
    color: rgba(255, 255, 255, 0.58);
}

.landing-project-meta {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
}

.landing-manifesto {
    padding: 120px 96px 140px;
}

.landing-manifesto-shell {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 44px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 11, 0.82);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.landing-manifesto-copy {
    margin-top: 24px;
    font-size: 1.05rem;
}

.landing-manifesto-note {
    max-width: 620px;
    margin-top: 28px;
}

@media (max-width: 1000px) {
    body.home-route {
        overflow: auto;
    }

    .landing-header {
        position: static;
        padding: 22px 24px 0;
        pointer-events: auto;
    }

    .landing-dots {
        display: none;
    }

    .landing-stage {
        height: auto;
        overflow: visible;
    }

    .landing-scene {
        position: relative;
        inset: auto;
        min-height: 100vh;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 64px 24px;
        transition: none;
    }

    .landing-scene-shell,
    .landing-scene-shell.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-scene-visual {
        min-height: 340px;
    }

    .landing-hero-title {
        font-size: clamp(3rem, 14vw, 4.6rem);
    }

    .landing-hero-static,
    .landing-hero-typed {
        display: block;
        text-align: center;
    }

    .landing-hero-static {
        margin-right: 0;
        margin-bottom: 0.14em;
    }

    .landing-hero-typed {
        min-width: 0;
    }

    .landing-hero-actions,
    .landing-scene-actions {
        flex-direction: column;
    }

    .landing-scroll-cue {
        bottom: 18px;
        width: 64px;
    }

    .landing-scroll-cue span {
        width: 18px;
        height: 18px;
    }

    .landing-btn {
        width: 100%;
    }

    .landing-project-card + .landing-project-card {
        margin-top: 14px;
        margin-left: 0;
    }

    .landing-manifesto {
        padding: 64px 24px 96px;
    }

    .landing-manifesto-shell {
        padding: 30px 24px;
        border-radius: 24px;
    }
}

body.home-route {
    overflow-x: clip;
    background: #050505;
}

body.home-route.stage-mode {
    overflow: hidden;
}

body.home-route:not(.stage-mode) .landing-dots {
    display: none;
}

.landing-page {
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.05), transparent 26%),
        radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.03), transparent 36%),
        linear-gradient(180deg, #040404 0%, #070707 48%, #040404 100%);
}

.landing-stage {
    position: relative;
    min-height: 100vh;
    height: auto;
    overflow: visible;
}

.landing-scene {
    position: relative;
    inset: auto;
    min-height: 100vh;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 100px 96px 84px;
}

body.home-route.stage-mode .landing-stage {
    height: 100vh;
    overflow: hidden;
}

body.home-route.stage-mode .landing-scene {
    position: absolute;
    inset: 0;
    min-height: auto;
    pointer-events: none;
    will-change: transform, opacity;
    transition:
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.82s;
}

body.home-route.stage-mode .landing-scene.is-before,
body.home-route.stage-mode .landing-scene.is-after {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

body.home-route.stage-mode .landing-scene.is-before {
    transform: translate3d(0, -11vh, 0) scale(0.972);
}

body.home-route.stage-mode .landing-scene.is-after {
    transform: translate3d(0, 11vh, 0) scale(0.972);
}

body.home-route.stage-mode .landing-scene.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    z-index: 2;
    transition-delay: 0s;
}

.landing-grid {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.055), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 72%);
}

.landing-symbol.symbol-hero::before {
    content: "";
    position: absolute;
    width: min(58vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 68%);
    opacity: 0.34;
    filter: blur(22px);
    transform: translateY(2vh);
}

.landing-mark {
    position: absolute;
    max-width: none;
    mix-blend-mode: screen;
    transform-origin: center;
    animation: landing-mark-drift 14s ease-in-out infinite;
}

.landing-mark-core {
    width: min(52vw, 680px);
    opacity: 0.18;
    transform: translateY(2vh);
}

.landing-mark-echo {
    width: min(70vw, 920px);
    opacity: 0.08;
    filter: blur(16px);
    transform: translateY(5vh) scale(1.06);
    animation-duration: 18s;
    animation-delay: -4s;
}

.landing-hero-copy {
    width: min(1020px, 100%);
}

.landing-hero-title {
    margin-bottom: 30px;
    font-size: clamp(4.4rem, 9vw, 7.2rem);
}

.landing-hero-description {
    max-width: 800px;
}

.landing-hero-support {
    max-width: 720px;
    margin-bottom: 36px;
}

.landing-scene-shell {
    gap: 56px;
}

.landing-scene-panel {
    max-width: 640px;
}

.landing-scene-panel p + p {
    margin-top: 18px;
}

.landing-code-panel,
.landing-terminal-panel,
.landing-project-card,
.landing-manifesto-card {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.landing-manifesto-scene .landing-scene-shell.manifesto {
    grid-template-columns: minmax(0, 0.78fr) minmax(500px, 0.94fr);
    gap: 64px;
    align-items: center;
}

.landing-manifesto-panel {
    max-width: 560px;
}

.landing-manifesto-card {
    width: min(640px, 100%);
    justify-self: end;
    padding: 42px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015)),
        rgba(11, 11, 11, 0.88);
}

.landing-manifesto-card .landing-eyebrow {
    margin-bottom: 24px;
}

.landing-manifesto-copy {
    margin-top: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
}

.landing-manifesto-copy br {
    display: block;
    content: "";
    margin-bottom: 0.3rem;
}

.landing-manifesto-note {
    margin-top: 24px;
}

.landing-project-stack {
    width: min(560px, 100%);
}

.landing-project-card {
    min-height: 190px;
}

.landing-project-card + .landing-project-card {
    margin-top: -22px;
    margin-left: 56px;
}

@keyframes landing-mark-drift {
    0%,
    100% {
        transform: translateY(2vh) scale(1);
    }

    50% {
        transform: translateY(-1vh) scale(1.02);
    }
}

@media (max-width: 1000px) {
    body.home-route.stage-mode {
        overflow: auto;
    }

    .landing-stage {
        height: auto;
        overflow: visible;
    }

    .landing-scene {
        padding: 64px 24px;
    }

    .landing-symbol.symbol-hero::before {
        width: min(94vw, 540px);
    }

    .landing-mark-core {
        width: min(92vw, 520px);
    }

    .landing-mark-echo {
        width: min(118vw, 660px);
    }

    .landing-scene-shell,
    .landing-scene-shell.reverse,
    .landing-manifesto-scene .landing-scene-shell.manifesto {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-manifesto-card {
        width: 100%;
        justify-self: auto;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .landing-project-card + .landing-project-card {
        margin-top: 14px;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-route,
    body.home-route.stage-mode {
        overflow: auto;
    }

    .landing-stage {
        height: auto !important;
        overflow: visible !important;
    }

    .landing-scene,
    body.home-route.stage-mode .landing-scene {
        position: relative;
        inset: auto;
        min-height: 100vh;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        transition: none;
    }

    .landing-mark {
        animation: none;
    }

    .landing-scroll-cue span {
        animation: none;
        opacity: 0.5;
        transform: rotate(45deg);
    }
}
