/* ==========================================================================
           WPS - Design System Variables (High-Contrast Tech Framework)
           ========================================================================== */
        :root {
            --color-bg-base: #050505;
            --color-bg-surface: #121212;
            --color-bg-elevated: #1a1a1a;
            
            --color-accent: #22b7d8;
            --color-accent-dim: rgba(34, 183, 216, 0.15);
            --color-accent-hover: #2ad0f5;
            
            --color-ink-primary: #f5f5f7;
            --color-ink-secondary: #a1a1a6;
            --color-ink-tertiary: #6e6e73;
            
            --color-border: rgba(255, 255, 255, 0.08);
            --color-border-hover: rgba(255, 255, 255, 0.15);
            --color-border-accent: rgba(34, 183, 216, 0.3);
            
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 20px;
            --radius-xl: 32px;
            
            --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
            --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            --shadow-accent: 0 8px 24px rgba(34, 183, 216, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
            
            --transition: 0.25s ease;
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --layout-max: 1200px;
        }

        /* ==========================================================================
           Reset & Base
           ========================================================================== */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--color-bg-base);
            color: var(--color-ink-primary);
            font-family: var(--font-family);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img, svg {
            display: block;
            max-width: 100%;
            height: auto;
        }

        /* ==========================================================================
           Utility Classes & Mandatory Constraints
           ========================================================================== */
        .flex-batch {
            display: flex;
            flex-wrap: wrap;
        }

        .flex-batch > * {
            min-width: 0;
        }

        .grid-batch {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .ink-wrap {
            word-break: break-word;
            overflow-wrap: break-word;
            white-space: normal;
        }

        .ink-keep {
            word-break: keep-all;
            overflow-wrap: break-word;
        }

        .casing {
            width: 100%;
            max-width: var(--layout-max);
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* ==========================================================================
           Typography
           ========================================================================== */
        .head-xl {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -0.02em;
            color: var(--color-ink-primary);
            margin-bottom: 1.5rem;
        }

        .head-lg {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.01em;
            color: var(--color-ink-primary);
            margin-bottom: 1rem;
        }

        .head-md {
            font-size: 1.25rem;
            font-weight: 600;
            line-height: 1.4;
            color: var(--color-ink-primary);
            margin-bottom: 0.75rem;
        }

        .ink-lead {
            font-size: clamp(1.125rem, 2vw, 1.25rem);
            color: var(--color-ink-secondary);
            margin-bottom: 2.5rem;
            max-width: 800px;
        }

        .ink-body {
            font-size: 1rem;
            color: var(--color-ink-secondary);
        }

        .ink-accent {
            background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ==========================================================================
           Header & Navigation (Forced Reuse Styles)
           ========================================================================== */
        .apex {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(5, 5, 5, 0.75);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border-bottom: 1px solid var(--color-border);
        }

        .ribbon {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            max-width: var(--layout-max);
            margin: 0 auto;
            padding: 1rem 2rem;
        }

        .ribbon > * {
            min-width: 0;
        }

        .mark {
            display: flex;
            align-items: center;
        }

        .mark img {
            height: 32px;
            width: auto;
        }

        .roll {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

        .roll > * {
            min-width: 0;
        }

        .path {
            color: var(--color-ink-secondary);
            text-decoration: none;
            font-size: 0.9375rem;
            font-weight: 500;
            transition: color var(--transition);
        }

        .path:hover,
        .path.active {
            color: var(--color-ink-primary);
        }

        /* ==========================================================================
           Components (Variants of Home)
           ========================================================================== */
        
        /* Buttons / Action Entrances */
        .seal {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.875rem 1.75rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: var(--radius-md);
            border: 1px solid var(--color-border);
            background: var(--color-bg-elevated);
            color: var(--color-ink-primary);
            cursor: pointer;
            transition: all var(--transition);
            transform: translateY(0);
        }

        .seal:hover {
            transform: translateY(-2px);
            border-color: var(--color-border-hover);
            background: var(--color-bg-surface);
        }

        .seal-primary {
            background: var(--color-accent);
            color: #000;
            border: none;
            box-shadow: var(--shadow-accent);
        }

        .seal-primary:hover {
            background: var(--color-accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(34, 183, 216, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
            border-color: transparent;
        }

        /* Card Surfaces */
        .deck {
            background: rgba(18, 18, 18, 0.5);
            backdrop-filter: blur(24px);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-xl);
            padding: clamp(2rem, 4vw, 4rem);
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .folio {
            background: var(--color-bg-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            transition: all var(--transition);
            display: flex;
            flex-direction: column;
            transform: translateY(0);
        }

        .folio:hover {
            transform: translateY(-5px);
            border-color: var(--color-border-accent);
            background: var(--color-bg-elevated);
            box-shadow: var(--shadow-md);
        }

        .memo {
            background: transparent;
            border-left: 2px solid var(--color-border);
            padding: 1rem 0 1rem 2rem;
            position: relative;
            transition: border-color var(--transition);
        }

        .memo:hover {
            border-color: var(--color-accent);
        }

        /* Tags / Badges */
        .node {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            background: var(--color-accent-dim);
            color: var(--color-accent);
            border-radius: 100px;
            font-size: 0.875rem;
            font-weight: 500;
            border: 1px solid rgba(34, 183, 216, 0.2);
            transition: all var(--transition);
            transform: translateY(0);
        }

        .node:hover {
            background: rgba(34, 183, 216, 0.25);
            transform: translateY(-2px);
        }

        /* Icons / Glyphs */
        .glyph {
            width: 48px;
            height: 48px;
            border-radius: var(--radius-md);
            background: var(--color-accent-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(34, 183, 216, 0.2);
            color: var(--color-accent);
        }

        .glyph svg {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        /* ==========================================================================
           Layout Sections (Semantic Mix A)
           ========================================================================== */
        
        /* Stage (Hero area) */
        .stage {
            padding: 8rem 0 4rem;
            min-height: 85vh;
            align-items: center;
            position: relative;
        }

        .stage::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80vw;
            height: 500px;
            background: radial-gradient(ellipse at top, var(--color-accent-dim) 0%, transparent 70%);
            pointer-events: none;
            z-index: -1;
        }

        .stage-casing {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .stage-actions {
            gap: 1rem;
            justify-content: center;
            margin-top: 1rem;
        }

        /* Tray (Gallery area) */
        .tray {
            padding: 6rem 0;
            background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 18, 0.3) 100%);
        }

        .tray-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .tray-ink {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .tray-tags {
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .lens {
            border-radius: var(--radius-lg);
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 100%;
            height: auto;
            transform: translateY(0);
            transition: transform 0.5s ease;
        }

        .deck:hover .lens {
            transform: scale(1.02);
        }

        /* Vault (Features area) */
        .vault {
            padding: 6rem 0;
            position: relative;
        }

        .vault-casing {
            text-align: center;
        }

        .vault .grid-batch {
            margin-top: 4rem;
            text-align: left;
        }

        /* Folder (Steps area) */
        .folder {
            padding: 6rem 0;
            border-top: 1px solid var(--color-border);
            background: var(--color-bg-surface);
        }

        .folder-layout {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 4rem;
        }

        .tape {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* Root (Footer) */
        .root {
            padding: 4rem 0;
            border-top: 1px solid var(--color-border);
            background: var(--color-bg-base);
            color: var(--color-ink-tertiary);
            font-size: 0.875rem;
        }

        .root-layout {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            text-align: center;
        }

        .root-mark {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-ink-secondary);
            letter-spacing: 0.1em;
        }

        .root-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .root-links > * {
            min-width: 0;
        }

        .root-links a {
            transition: color var(--transition);
        }

        .root-links a:hover {
            color: var(--color-ink-primary);
        }

        /* ==========================================================================
           Responsive Design
           ========================================================================== */
        @media (max-width: 1024px) {
            .tray-layout,
            .folder-layout {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .head-xl {
                font-size: clamp(2rem, 6vw, 3rem);
            }
        }

        @media (max-width: 768px) {
            .stage {
                padding: 6rem 0 3rem;
                min-height: auto;
            }

            .ribbon {
                flex-direction: column;
                gap: 1rem;
            }

            .roll {
                gap: 1rem;
                justify-content: center;
            }

            .deck {
                padding: 1.5rem;
            }
            
            .grid-batch {
                grid-template-columns: 1fr;
            }
        }

.ribbon-apex{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(5, 5, 5, 0.8);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 1000;
        }

.ribbon-apex .ribbon-ribbon{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1440px;
            margin: 0 auto;
            padding: 1rem 5vw;
            min-height: 72px;
        }

.ribbon-apex .ribbon-mark{
            display: flex;
            align-items: center;
            height: 32px;
        }

.ribbon-apex .ribbon-mark img{
            height: 100%;
            width: auto;
        }

.ribbon-apex .ribbon-roll{
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }

.ribbon-apex .ribbon-path{
            padding: 0.5rem 1rem;
            font-size: 0.9375rem;
            font-weight: 500;
            color: #a1a1a6;
            border-radius: 8px;
            transition: all 0.25s ease;
        }

.ribbon-apex .ribbon-path:hover{
            color: #f5f5f7;
            background: rgba(255,255,255,0.05);
        }

.ribbon-apex .ribbon-path.active{
            color: #f5f5f7;
            background: rgba(255,255,255,0.08);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        }

@media (max-width: 768px){.ribbon-apex .ribbon-roll{
                width: 100%;
                justify-content: center;
                margin-top: 1rem;
                padding-top: 1rem;
                border-top: 1px solid rgba(255, 255, 255, 0.08);
            }}

.ribbon-apex {
    background: rgb(5, 5, 5);
    background-image: none;
}

.base-root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    word-break: break-word;
    color: var(--color-ink-primary);
}
.base-root,
.base-root *,
.base-root *::before,
.base-root *::after {
    box-sizing: border-box;
}

.base-root nav,
.base-root div,
.base-root section,
.base-root article,
.base-root aside,
.base-root p,
.base-root h1,
.base-root h2,
.base-root h3,
.base-root h4,
.base-root h5,
.base-root h6,
.base-root a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.base-root p,
.base-root h1,
.base-root h2,
.base-root h3,
.base-root h4,
.base-root h5,
.base-root h6 {
    text-decoration: none;
}

.base-root img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.base-root {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.base-root a,
.base-root a:hover,
.base-root a:focus,
.base-root a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.base-root .base-ink-dim{
            font-size: 0.875rem;
            color: #6e6e73;
        }

.base-root .base-path{
            padding: 0.5rem 1rem;
            font-size: 0.9375rem;
            font-weight: 500;
            color: #a1a1a6;
            border-radius: 8px;
            transition: all 0.25s ease;
        }

.base-root .base-path:hover{
            color: #f5f5f7;
            background: rgba(255,255,255,0.05);
        }

.base-root .base-path.active{
            color: #f5f5f7;
            background: rgba(255,255,255,0.08);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        }

.base-root{
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 4rem 5vw;
            background: #050505;
            text-align: center;
        }

.base-root .base-root-mark{
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 2px;
            color: #f5f5f7;
            margin-bottom: 1rem;
        }