* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Crimson Text', serif;
    font-size: 20px;
    line-height: 1.7;
    color: #2A2A2A;
    background: linear-gradient(to bottom, #FAFAFA, #F9FAFB);
    min-height: 100vh;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 80px 20px;
}

header {
    margin-bottom: 80px;
    text-align: center;
}

.logo {
    display: inline-block;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    opacity: 0.8;
}

.logo img {
    max-width: 300px;
    height: auto;
    display: block;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

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

.tagline {
    margin-top: 20px;
    font-size: 16px;
    color: #2A2A2A;
    opacity: 0.4;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: lowercase;
}

h1 {
    font-size: 56px;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #2A2A2A;
}

h2 {
    font-size: 32px;
    font-weight: normal;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #2A2A2A;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #E8D5F2;
    opacity: 0.3;
}

h3 {
    font-size: 24px;
    font-weight: normal;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2A2A2A;
}

p {
    margin-bottom: 30px;
}

.category {
    margin-bottom: 80px;
}

.article-list {
    list-style: none;
}

.article-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.article-list li::before {
    content: '—';
    position: absolute;
    left: -0.9em;
    color: #E8D5F2;
    font-size: 24px;
    line-height: 1;
}

.article-list a {
    color: #2A2A2A;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    display: inline-block;
}

.article-list a:hover {
    transform: scale(1.02);
    padding-left: 5px;
}

.article-container {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

article {
    max-width: 680px;
}

article p {
    text-align: justify;
    hyphens: auto;
}

article em {
    font-style: italic;
    color: #2A2A2A;
}

article strong {
    font-weight: bold;
    color: #2A2A2A;
}

article ul,
article ol {
    margin-bottom: 30px;
    padding-left: 40px;
}

article li {
    margin-bottom: 10px;
}

article hr {
    border: none;
    height: 1px;
    background: #E8D5F2;
    opacity: 0.2;
    margin: 60px 0;
}

blockquote {
    border-left: 3px solid #E8D5F2;
    padding-left: 30px;
    margin: 40px 0;
    font-style: italic;
    opacity: 0.9;
}

.loading {
    text-align: center;
    padding: 100px 0;
    color: #2A2A2A;
    opacity: 0.3;
    font-style: italic;
}

footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(232, 213, 242, 0.2);
}

.back-link {
    color: #2A2A2A;
    text-decoration: none;
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    display: inline-block;
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .logo img {
        max-width: 250px;
    }
    
    .tagline {
        font-size: 14px;
        letter-spacing: 1px;
    }
}

::selection {
    background: #E8D5F2;
    color: #2A2A2A;
    opacity: 0.2;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #E8D5F2;
    opacity: 0.3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E8D5F2;
    opacity: 0.5;
}

/* Textual Constellation Styles - e.e. cummings inspired */
.textual-constellation {
    position: relative;
    min-height: 120vh;
    overflow: visible;
    padding: 100px 0;
}

.poem-section {
    position: relative;
    margin: 80px 0;
    display: block;
}

.article-node {
    position: relative;
    display: inline-block;
    margin: 15px 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.article-node a {
    color: #2A2A2A;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    display: inline-block;
    line-height: 1.4;
}

.article-node a:hover {
    color: #2A2A2A;
    transform: scale(1.02);
    text-shadow: 0 0 20px rgba(232, 213, 242, 0.3);
}

/* Size variations */
.article-node.large a {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.article-node.medium a {
    font-size: 20px;
    font-weight: normal;
}

.article-node.small a {
    font-size: 16px;
    opacity: 0.8;
}

.article-node.tiny a {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 300;
}

/* Stylistic variations */
.article-node.bold a {
    font-weight: bold;
    letter-spacing: 1px;
}

.article-node.italic a {
    font-style: italic;
    font-family: 'Times New Roman', serif;
}

.article-node.mono a {
    font-family: 'Courier New', monospace;
    letter-spacing: -0.5px;
}

.article-node.philosophical a {
    font-variant: small-caps;
    letter-spacing: 0.5px;
}

.article-node.lonely a {
    opacity: 0.4;
    font-size: 24px;
    font-weight: 100;
    letter-spacing: 3px;
}

.article-node.connection a {
    font-weight: bold;
    opacity: 0.9;
}

.article-node.circuit a {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-node.overflow a {
    font-size: 22px;
    letter-spacing: -1px;
    word-spacing: -2px;
}

.article-node.dark a {
    opacity: 0.3;
    font-weight: 300;
}

.article-node.mysterious a {
    opacity: 0.2;
    font-style: italic;
    font-size: 13px;
}

.article-node.ethereal a {
    opacity: 0.5;
    font-weight: 100;
    letter-spacing: 2px;
}

.article-node.poetic a {
    font-style: italic;
    font-size: 12px;
    opacity: 0.4;
}

.article-node.minimalist a {
    font-weight: 100;
    font-size: 15px;
    opacity: 0.3;
    letter-spacing: 1px;
}

.article-node.drift a {
    animation: drift 20s infinite ease-in-out;
}

.article-node.scattered {
    animation: scatter 25s infinite ease-in-out;
}

/* Glyph styling */
.glyph {
    position: absolute;
    font-size: 32px;
    opacity: 0.15;
    color: #E8D5F2;
    pointer-events: none;
    z-index: -1;
}

.glyph.sun {
    top: -20px;
    left: -40px;
    font-size: 40px;
    opacity: 0.2;
}

.glyph.eye {
    top: 20px;
    right: -50px;
    font-size: 36px;
    opacity: 0.1;
}

.glyph.infinity {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    opacity: 0.2;
}

.glyph.wave {
    top: -30px;
    left: -20px;
    font-size: 20px;
    opacity: 0.15;
}

.glyph.moon {
    top: 40px;
    left: -30px;
    font-size: 28px;
    opacity: 0.1;
}

.glyph.command {
    top: -25px;
    right: -60px;
    font-size: 30px;
    opacity: 0.12;
}

.glyph.diamond {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    opacity: 0.2;
}

.connector {
    position: relative;
    font-size: 20px;
    opacity: 0.1;
    color: #E8D5F2;
    margin: 0 20px;
}

/* Subtle animations */
@keyframes drift {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes scatter {
    0%, 100% { transform: translateX(0px); }
    25% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}

/* Responsive */
@media (max-width: 768px) {
    .textual-constellation {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .poem-section {
        margin: 40px 0;
    }
    
    .article-node.large a {
        font-size: 22px;
    }
    
    .article-node.medium a {
        font-size: 18px;
    }
    
    .glyph {
        font-size: 24px;
    }
    
    .article-node {
        margin: 10px 0;
    }
}