/* ==========================================================================
           WPS Design System - Visual Family Inherited & Extended
           ========================================================================== */
        :root {
            /* Color System */
            --bg-base: #f7f6f3;
            --bg-surface: #ffffff;
            --bg-alt: #ebe9e4;
            --accent-brand: #dc7963;
            --accent-hover: #c4624d;
            --ink-main: #2f3437;
            --ink-muted: #6b7280;
            --ink-inverse: #ffffff;
            --border-subtle: rgba(47, 52, 55, 0.08);
            
            /* Typography */
            --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
            
            /* Metrics & Effects */
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
            --shadow-float: 0 8px 30px rgba(0,0,0,0.08);
            --shadow-deep: 0 20px 40px rgba(0,0,0,0.12);
            --transition-smooth: all 0.35s ease;
            --layout-max: 1280px;
        }

        /* Base Reset */
        *, *::before, *::after { box-sizing: border-box; }
        body {
            margin: 0;
            padding: 0;
            font-family: var(--font-stack);
            background-color: var(--bg-base);
            color: var(--ink-main);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }
        a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
        h1, h2, h3, p { margin: 0; word-break: break-word; overflow-wrap: break-word; }
        h1, h2, h3 { white-space: normal; font-weight: 600; letter-spacing: -0.02em; }

        /* Global Layout Binder */
        .binder-global {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* ==========================================================================
           Navigation (Strict Reuse)
           ========================================================================== */
        .apex {
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-subtle);
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 2rem;
        }
        .apex > * { min-width: 0; }
        .stamp {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }
        .stamp img {
            height: 32px;
            width: auto;
            display: block;
        }
        .ribbon {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }
        .ribbon > * { min-width: 0; }
        .node {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--ink-muted);
            padding: 0.5rem 0;
            position: relative;
        }
        .node:hover { color: var(--ink-main); }
        .node.active {
            color: var(--accent-brand);
            font-weight: 600;
        }
        .node.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--accent-brand);
            border-radius: 2px;
        }

        /* Main Vault */
        .vault-binder {
            flex: 1;
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* ==========================================================================
           Block 1: Gallery Hero (Intro)
           ========================================================================== */
        .canvas-intro {
            padding: 6rem 2rem 8rem;
            background: linear-gradient(135deg, var(--bg-surface) 0%, #f0ede6 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .canvas-intro > * { min-width: 0; }
        .case-canvas {
            max-width: var(--layout-max);
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4rem;
            position: relative;
            z-index: 2;
        }
        .case-canvas > * { min-width: 0; }
        
        .file-ink {
            flex: 1;
            min-width: 320px;
        }
        .glyph-seal {
            display: inline-flex;
            align-items: center;
            padding: 0.4rem 1rem;
            background: rgba(220, 121, 99, 0.1);
            color: var(--accent-brand);
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
        .lead-prime {
            font-size: clamp(2.5rem, 4vw, 4rem);
            line-height: 1.2;
            color: var(--ink-main);
            margin-bottom: 1.5rem;
        }
        .ink-summary {
            font-size: 1.125rem;
            color: var(--ink-muted);
            margin-bottom: 2.5rem;
            max-width: 500px;
            word-break: keep-all;
        }
        .batch-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .batch-actions > * { min-width: 0; }
        .macro-primary {
            background: var(--accent-brand);
            color: var(--ink-inverse);
            padding: 1rem 2.5rem;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 1rem;
            box-shadow: 0 4px 12px rgba(220, 121, 99, 0.3);
            border: 1px solid transparent;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .macro-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(220, 121, 99, 0.4);
        }
        .macro-secondary {
            background: var(--bg-surface);
            color: var(--ink-main);
            padding: 1rem 2rem;
            border-radius: var(--radius-md);
            font-weight: 600;
            font-size: 1rem;
            border: 1px solid var(--border-subtle);
            box-shadow: var(--shadow-soft);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .macro-secondary:hover {
            background: var(--bg-alt);
            transform: translateY(-2px);
        }

        /* Abstract Template Gallery via CSS/SVG */
        .deck-visual {
            flex: 1;
            min-width: 320px;
            position: relative;
            height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1000px;
        }
        .clip-mockup {
            position: absolute;
            background: var(--bg-surface);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-float);
            border: 1px solid var(--border-subtle);
            transition: var(--transition-smooth);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .mockup-ppt {
            width: 360px;
            height: 202px; /* 16:9 approx */
            z-index: 3;
            transform: rotate(-2deg) translateY(0);
        }
        .mockup-resume {
            width: 240px;
            height: 340px; /* A4 approx */
            z-index: 2;
            right: 0;
            top: 20px;
            transform: rotate(6deg) translateX(20px);
        }
        .mockup-chart {
            width: 280px;
            height: 220px;
            z-index: 1;
            left: 0;
            bottom: 40px;
            transform: rotate(-8deg) translateX(-20px);
        }
        .deck-visual:hover .mockup-ppt { transform: rotate(0deg) translateY(-10px) scale(1.05); z-index: 4; box-shadow: var(--shadow-deep); }
        .deck-visual:hover .mockup-resume { transform: rotate(10deg) translateX(40px) translateY(-5px); }
        .deck-visual:hover .mockup-chart { transform: rotate(-12deg) translateX(-40px) translateY(5px); }

        /* Internal Mockup Details (CSS Art) */
        .mockup-apex { height: 30%; background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%); }
        .mockup-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
        .mockup-line { height: 8px; background: #f3f4f6; border-radius: 4px; }
        .mockup-line.w-full { width: 100%; }
        .mockup-line.w-half { width: 50%; }
        .mockup-line.w-short { width: 30%; }
        .mockup-circle { width: 40px; height: 40px; border-radius: 50%; background: #e5e7eb; margin-bottom: 0.5rem; }
        .mockup-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 100%; padding-top: 1rem; }
        .mockup-band { flex: 1; background: #dbeafe; border-radius: 4px 4px 0 0; }
        .mockup-band.h1 { height: 40%; }
        .mockup-band.h2 { height: 70%; background: #bfdbfe; }
        .mockup-band.h3 { height: 90%; background: var(--accent-brand); opacity: 0.8; }
        .mockup-band.h4 { height: 50%; }


        /* ==========================================================================
           Block 2: Categories Grid (Capabilities)
           ========================================================================== */
        .sheet-capabilities {
            padding: 6rem 2rem;
            background: var(--bg-base);
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .sheet-capabilities > * { min-width: 0; }
        .case-grid {
            max-width: var(--layout-max);
            width: 100%;
        }
        .lead-major {
            font-size: clamp(2rem, 3vw, 2.5rem);
            text-align: center;
            margin-bottom: 1rem;
        }
        .ink-desc {
            text-align: center;
            color: var(--ink-muted);
            margin-bottom: 4rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .batch-folios {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }
        .folio-pane {
            background: var(--bg-surface);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border-subtle);
            padding: 2.5rem;
            transition: var(--transition-smooth);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        .folio-pane:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-float);
            border-color: rgba(220, 121, 99, 0.2);
        }
        .glyph-case {
            width: 56px;
            height: 56px;
            border-radius: var(--radius-md);
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-subtle);
            color: var(--ink-main);
        }
        .folio-pane:hover .glyph-case {
            background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
            color: var(--accent-brand);
            border-color: rgba(220, 121, 99, 0.2);
        }
        .lead-minor {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }
        .ink-body {
            color: var(--ink-muted);
            font-size: 0.95rem;
            flex: 1;
        }
        .node-node {
            margin-top: 1.5rem;
            color: var(--accent-brand);
            font-weight: 600;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .node-node svg { transition: transform 0.3s ease; }
        .folio-pane:hover .node-node svg { transform: translateX(4px); }

        /* ==========================================================================
           Block 3: Application Guide (Steps)
           ========================================================================== */
        .pane-steps {
            padding: 6rem 2rem;
            background: var(--bg-surface);
            border-top: 1px solid var(--border-subtle);
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .pane-steps > * { min-width: 0; }
        .case-flow {
            max-width: var(--layout-max);
            width: 100%;
        }
        .batch-timeline {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 4rem;
            position: relative;
        }
        .batch-timeline > * { min-width: 0; }
        
        /* Subtle connector line for desktop */
        @media (min-width: 769px) {
            .batch-timeline::before {
                content: '';
                position: absolute;
                top: 28px;
                left: 15%;
                right: 15%;
                height: 2px;
                background: linear-gradient(90deg, transparent, var(--border-subtle) 20%, var(--border-subtle) 80%, transparent);
                z-index: 0;
            }
        }

        .cell-step {
            flex: 1;
            min-width: 260px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            z-index: 1;
        }
        .glyph-step {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--bg-surface);
            border: 2px solid var(--bg-alt);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--ink-muted);
            margin-bottom: 1.5rem;
            transition: var(--transition-smooth);
            box-shadow: 0 0 0 8px var(--bg-surface); /* Clear space over line */
        }
        .cell-step:hover .glyph-step {
            border-color: var(--accent-brand);
            color: var(--accent-brand);
            background: rgba(220, 121, 99, 0.05);
        }
        .lead-step {
            font-size: 1.125rem;
            margin-bottom: 0.5rem;
        }
        
        /* ==========================================================================
           Footer (Base)
           ========================================================================== */
        .base {
            background: var(--bg-surface);
            border-top: 1px solid var(--border-subtle);
            padding: 4rem 2rem 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        .base > * { min-width: 0; }
        .case-base {
            max-width: var(--layout-max);
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }
        .case-base > * { min-width: 0; }
        .stamp-ink {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            color: var(--ink-main);
        }
        .batch-links {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: center;
        }
        .batch-links > * { min-width: 0; }
        .node-base {
            color: var(--ink-muted);
            font-size: 0.9rem;
        }
        .node-base:hover { color: var(--accent-brand); }
        .ink-copyright {
            color: var(--ink-muted);
            font-size: 0.85rem;
            text-align: center;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-subtle);
            width: 100%;
        }

        /* ==========================================================================
           Responsive Rules
           ========================================================================== */
        @media (max-width: 768px) {
            .apex { padding: 1rem; justify-content: center; gap: 1rem; }
            .ribbon { justify-content: center; gap: 1rem; }
            .canvas-intro { padding: 4rem 1.5rem; }
            .case-canvas { gap: 2rem; text-align: center; }
            .batch-actions { justify-content: center; }
            .deck-visual { display: none; /* Hide complex CSS art on small screens to save space */ }
            .sheet-capabilities, .pane-steps { padding: 4rem 1.5rem; }
            .batch-folios { grid-template-columns: 1fr; }
            .batch-timeline { flex-direction: column; gap: 3rem; }
        }

.ribbon-apex {
    font-family: var(--font-stack);
    line-height: 1.7;
    color: var(--ink-main);
}
.ribbon-apex,
.ribbon-apex *,
.ribbon-apex *::before,
.ribbon-apex *::after {
    box-sizing: border-box;
}

.ribbon-apex [role="navigation"],
.ribbon-apex div,
.ribbon-apex section,
.ribbon-apex article,
.ribbon-apex aside,
.ribbon-apex p,
.ribbon-apex h1,
.ribbon-apex h2,
.ribbon-apex h3,
.ribbon-apex h4,
.ribbon-apex h5,
.ribbon-apex h6,
.ribbon-apex a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

.ribbon-apex a.ribbon-node {
    --aisite-shell-nav-padding: 0.5rem 0;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.ribbon-apex a.ribbon-node,
.ribbon-apex a.ribbon-node:hover,
.ribbon-apex a.ribbon-node:focus,
.ribbon-apex a.ribbon-node:active,
.ribbon-apex a.ribbon-node.active,
.ribbon-apex a.ribbon-node[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.ribbon-apex, .ribbon-apex .ribbon-ribbon{
            display: flex;
            flex-wrap: wrap;
        }

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

.ribbon-apex{
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(47, 52, 55, 0.08);
            position: sticky;
            top: 0;
            z-index: 100;
            padding: 1rem 3vw;
            align-items: center;
            justify-content: space-between;
        }

.ribbon-apex .ribbon-stamp{
            width: 120px;
            display: flex;
            align-items: center;
        }

.ribbon-apex .ribbon-stamp img{
            width: 100%;
            height: auto;
            display: block;
        }

.ribbon-apex .ribbon-ribbon{
            gap: 2rem;
            align-items: center;
        }

.ribbon-apex .ribbon-node{
            font-size: 0.95rem;
            font-weight: 500;
            color: #5e6469;
            padding: 0.5rem 0;
            position: relative;
        }

.ribbon-apex .ribbon-node:hover{
            color: #dc7963;
        }

.ribbon-apex .ribbon-node.active{
            color: #2f3437;
            font-weight: 600;
        }

.ribbon-apex .ribbon-node.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #dc7963;
            border-radius: 2px;
        }

@media (max-width: 768px){.ribbon-apex .ribbon-ribbon{ display: none;  }}

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

.note-base {
    font-family: var(--font-stack);
    line-height: 1.7;
    color: var(--ink-main);
}
.note-base,
.note-base *,
.note-base *::before,
.note-base *::after {
    box-sizing: border-box;
}

.note-base [role="navigation"],
.note-base div,
.note-base section,
.note-base article,
.note-base aside,
.note-base p,
.note-base h1,
.note-base h2,
.note-base h3,
.note-base h4,
.note-base h5,
.note-base h6,
.note-base a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

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

.note-base{
            display: flex;
            flex-wrap: wrap;
        }

.note-base > *{
            min-width: 0;
        }

.note-base{
            width: 100%;
            background: #1e2022;
            color: rgba(255,255,255,0.7);
            padding: 4vw 5vw;
            flex-direction: column;
            align-items: center;
        }

.note-base .note-base-inner{
            width: 100%;
            max-width: 1280px;
            display: flex;
            justify-content: space-between;
            gap: 3rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 3rem;
            margin-bottom: 2rem;
        }

.note-base .note-base-brand{
            font-size: 2rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: 2px;
            margin-bottom: 1rem;
        }

.note-base .note-base-cols{
            display: flex;
            gap: 4rem;
            flex-wrap: wrap;
        }

.note-base .note-base-col{
            display: flex;
            flex-direction: column;
            gap: 1rem;
            min-width: 120px;
        }

.note-base .note-base-lead{
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

.note-base .note-base-node{
            font-size: 0.9rem;
        }

.note-base .note-base-node:hover{
            color: #fff;
        }

.note-base .note-base-ink{
            width: 100%;
            max-width: 1280px;
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
        }

@media (max-width: 768px){.note-base .note-base-inner{ flex-direction: column; }

.note-base .note-base-ink{ flex-direction: column; gap: 1rem; text-align: center; }}