/* CSS Variables & Theme Definition */
        :root {
            --color-bg: #070709;
            --color-surface: #121217;
            --color-surface-hover: #1a1a24;
            --color-accent: #e02580;
            --color-accent-dim: rgba(224, 37, 128, 0.15);
            --color-text-main: #fcfcfd;
            --color-text-muted: #a1a1aa;
            --color-border: rgba(255, 255, 255, 0.08);
            
            --font-serif: 'Playfair Display', 'Songti SC', 'Noto Serif SC', serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 24px;
            
            --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
            --shadow-glow: 0 0 40px rgba(224, 37, 128, 0.1);
            
            --transition: all 0.25s ease;
            --max-width: 1360px;
        }

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

        body {
            font-family: var(--font-sans);
            background-color: var(--color-bg);
            color: var(--color-text-main);
            line-height: 1.6;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 15% 0%, rgba(224, 37, 128, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 85% 100%, rgba(224, 37, 128, 0.05) 0%, transparent 40%);
            background-attachment: fixed;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

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

        /* Typography */
        .crown {
            font-family: var(--font-serif);
            font-weight: 600;
            line-height: 1.2;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
            color: var(--color-text-main);
        }

        .yarn {
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
            color: var(--color-text-muted);
            line-height: 1.8;
        }

        /* Layout Utilities */
        .realm {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .flock {
            display: flex;
            flex-wrap: wrap;
        }

        .knot {
            min-width: 0;
        }

        /* Header & Navigation (Peak & Rein) */
        .peak {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(7, 7, 9, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--color-border);
        }

        .loom {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
            min-width: 0;
        }

        .crest {
            display: flex;
            align-items: center;
            min-width: 0;
        }

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

        .silkway {
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
            min-width: 0;
        }

        .thread {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--color-text-muted);
            position: relative;
            padding: 8px 0;
        }

        .thread:hover, .thread.active {
            color: var(--color-text-main);
        }

        .thread::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-accent);
            transition: var(--transition);
        }

        .thread:hover::after, .thread.active::after {
            width: 100%;
        }

        /* Hero Section (Aura) - Asymmetric Grid */
        .aura {
            padding-top: 160px;
            padding-bottom: 80px;
            position: relative;
        }

        .aura-hide {
            display: grid;
            grid-template-columns: 6.5fr 3.5fr;
            gap: 60px;
            align-items: center;
        }

        .lens-hide {
            position: relative;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-soft), var(--shadow-glow);
            transform: translateY(0);
            transition: var(--transition);
        }

        .lens-hide:hover {
            transform: translateY(-5px);
        }

        .lens-hide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
            z-index: 1;
            pointer-events: none;
        }

        .lens-hide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 16/10;
        }

        .yarn-hide {
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
        }

        .aura-crown {
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            margin-bottom: 24px;
            background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .aura-yarn {
            font-size: 1.1rem;
            margin-bottom: 40px;
            max-width: 90%;
        }

        .spark {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 36px;
            background-color: var(--color-accent);
            color: #fff;
            border-radius: 100px;
            font-weight: 500;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(224, 37, 128, 0.3);
            border: 1px solid rgba(255,255,255,0.1);
            width: max-content;
        }

        .spark:hover {
            background-color: #c91f71;
            box-shadow: 0 6px 20px rgba(224, 37, 128, 0.4);
            transform: translateY(-2px);
        }

        /* Features Section (Canvas) */
        .canvas {
            padding: 100px 0;
            border-top: 1px solid var(--color-border);
            position: relative;
        }

        .canvas-peak {
            margin-bottom: 60px;
            max-width: 600px;
        }

        .canvas-crown {
            font-size: 2.2rem;
            margin-bottom: 16px;
        }

        .canvas-flock {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 32px;
        }

        .swatch {
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            padding: 40px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .swatch::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--color-accent), transparent);
            opacity: 0;
            transition: var(--transition);
        }

        .swatch:hover {
            background: var(--color-surface-hover);
            transform: translateY(-5px);
            box-shadow: var(--shadow-soft);
        }

        .swatch:hover::before {
            opacity: 1;
        }

        .glyph {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--color-accent-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            color: var(--color-accent);
        }

        .swatch-crown {
            font-size: 1.4rem;
            margin-bottom: 12px;
            font-family: var(--font-sans);
        }

        /* Showcase Section (Vista) */
        .vista {
            padding: 100px 0;
            background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 23, 0.5) 100%);
        }

        .vista-peak {
            text-align: center;
            margin-bottom: 80px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .vista-flock {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
        }

        .motif {
            border-radius: var(--radius-md);
            overflow: hidden;
            background: var(--color-surface);
            border: 1px solid var(--color-border);
        }

        .motif-lens {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-bottom: 1px solid var(--color-border);
            transition: var(--transition);
        }

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

        .motif-yarn {
            padding: 32px;
        }

        .motif-crown {
            font-size: 1.5rem;
            margin-bottom: 12px;
        }

        /* Navigation/Acquire Section (Atelier) */
        .atelier-zone {
            padding: 120px 0;
            text-align: center;
            position: relative;
        }

        .atelier-zone::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(224,37,128,0.05) 0%, transparent 70%);
            z-index: -1;
            pointer-events: none;
        }

        .shard-flock {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            margin-top: 60px;
        }

        .shard {
            min-width: 0;
            flex: 1;
            min-width: 280px;
            max-width: 380px;
            padding: 40px 30px;
            background: rgba(255,255,255,0.02);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            text-align: left;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .shard:hover {
            background: rgba(255,255,255,0.04);
            border-color: rgba(224, 37, 128, 0.3);
            transform: translateY(-4px);
        }

        .shard-crown {
            font-size: 1.3rem;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .clasp {
            margin-top: auto;
            padding-top: 24px;
            color: var(--color-accent);
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .clasp svg {
            transition: var(--transition);
        }

        .shard:hover .clasp svg {
            transform: translateX(4px);
        }

        /* Site Paths / Aside (Vault) */
        .vault-zone {
            padding: 80px 0;
            border-top: 1px solid var(--color-border);
            background: #0a0a0c;
        }

        .vault-peak {
            margin-bottom: 40px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .vault-peak::before {
            content: '';
            width: 4px;
            height: 24px;
            background: var(--color-accent);
            border-radius: 2px;
        }

        .vault-flock {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .vault-knot {
            padding: 24px;
            border-radius: var(--radius-sm);
            background: rgba(255,255,255,0.01);
            border: 1px solid transparent;
            transition: var(--transition);
        }

        .vault-knot:hover {
            background: rgba(255,255,255,0.03);
            border-color: var(--color-border);
        }

        .vault-crown {
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: #fff;
        }

        .vault-yarn {
            font-size: 0.9rem;
            color: var(--color-text-muted);
            margin-bottom: 16px;
            line-height: 1.5;
        }

        .vault-sash {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .vault-tag {
            font-size: 0.75rem;
            padding: 4px 10px;
            background: rgba(255,255,255,0.05);
            border-radius: 100px;
            color: #a1a1aa;
        }

        /* Footer (Hem) */
        .hem-zone {
            padding: 60px 0 40px;
            border-top: 1px solid var(--color-border);
            background: #050507;
        }

        .hem-flock {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 32px;
        }

        .legacy {
            font-family: var(--font-serif);
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--color-text-main);
            letter-spacing: 1px;
        }

        .seam {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            font-size: 0.9rem;
            color: var(--color-text-muted);
        }

        .imprint {
            width: 100%;
            text-align: center;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 0.85rem;
            color: #71717a;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .aura-hide {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .lens-hide {
                order: -1;
            }
            .vista-flock {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .aura {
                padding-top: 120px;
            }
            .canvas-flock, .shard-flock {
                flex-direction: column;
            }
            .silkway {
                display: none; /* In a real scenario, this would be a hamburger menu */
            }
            .hem-flock {
                flex-direction: column;
                text-align: center;
            }
            .seam {
                justify-content: center;
            }
        }

.rein-peak{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(7, 7, 9, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.rein-peak .rein-loom{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            height: 80px;
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
            min-width: 0;
        }

.rein-peak .rein-crest{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.rein-peak .rein-crest img{
            height: 32px;
            width: auto;
        }

.rein-peak .rein-silkway{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
            min-width: 0;
        }

.rein-peak .rein-thread{
            font-size: 0.9rem;
            font-weight: 500;
            color: #a1a1aa;
            position: relative;
            padding: 8px 0;
        }

.rein-peak .rein-thread:hover, .rein-peak .rein-thread.rein-active{
            color: #fcfcfd;
        }

.rein-peak .rein-thread::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #e02580;
            transition: all 0.25s ease;
        }

.rein-peak .rein-thread:hover::after, .rein-peak .rein-thread.rein-active::after{
            width: 100%;
        }

@media (max-width: 768px){.rein-peak .rein-silkway{
                display: none; 
            }}

.rein-peak {
    background: rgb(7, 7, 9);
    background-image: none;
}

.legacy-hem-zone {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text-main);
}
.legacy-hem-zone,
.legacy-hem-zone *,
.legacy-hem-zone *::before,
.legacy-hem-zone *::after {
    box-sizing: border-box;
}

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

.legacy-hem-zone p,
.legacy-hem-zone h1,
.legacy-hem-zone h2,
.legacy-hem-zone h3,
.legacy-hem-zone h4,
.legacy-hem-zone h5,
.legacy-hem-zone h6 {
    text-decoration: none;
}

.legacy-hem-zone img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.legacy-hem-zone {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.legacy-hem-zone a,
.legacy-hem-zone a:hover,
.legacy-hem-zone a:focus,
.legacy-hem-zone a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.legacy-hem-zone .legacy-yarn{
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
            color: #a1a1aa;
            line-height: 1.8;
        }

.legacy-hem-zone .legacy-realm{
            width: 100%;
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 24px;
        }

.legacy-hem-zone .legacy-thread{
            font-size: 0.9rem;
            font-weight: 500;
            color: #a1a1aa;
            position: relative;
            padding: 8px 0;
        }

.legacy-hem-zone .legacy-thread:hover{
            color: #fcfcfd;
        }

.legacy-hem-zone .legacy-thread::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: #e02580;
            transition: all 0.25s ease;
        }

.legacy-hem-zone .legacy-thread:hover::after{
            width: 100%;
        }

.legacy-hem-zone{
            padding: 60px 0 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: #050507;
        }

.legacy-hem-zone .legacy-hem-flock{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 32px;
        }

.legacy-hem-zone .legacy-legacy{
            font-family: 'Playfair Display', 'Songti SC', 'Noto Serif SC', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #fcfcfd;
            letter-spacing: 1px;
        }

.legacy-hem-zone .legacy-seam{
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            font-size: 0.9rem;
            color: #a1a1aa;
        }

.legacy-hem-zone .legacy-imprint{
            width: 100%;
            text-align: center;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            font-size: 0.85rem;
            color: #71717a;
        }

@media (max-width: 768px){.legacy-hem-zone .legacy-hem-flock{
                flex-direction: column;
                text-align: center;
            }

.legacy-hem-zone .legacy-seam{
                justify-content: center;
            }}