/* cognisentia — styles
   Palette drawn from the original site:
   Background: deep dark (#0a0a0a)
   Text: warm off-white (#e8ddd3)
   Accent: muted teal (#6b9e9e)
   Warm accent: dusty coral (#c4877a)
   Subtle: muted gold (#b8a88a)
*/

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #e8ddd3;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

main {
    max-width: 680px;
    width: 100%;
    padding: 4rem 2rem;
}

/* Hero */

.hero {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2a2520;
}

h1 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #e8ddd3;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: #6b9e9e;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Introduction */

.introduction {
    margin-bottom: 4rem;
}

.introduction p {
    margin-bottom: 1.2rem;
    color: #c8bdb3;
}

.introduction p:last-child {
    color: #b8a88a;
    font-style: italic;
    margin-top: 2rem;
}

/* Piece */

.piece {
    margin-bottom: 4rem;
    padding: 2.5rem 0;
    border-top: 1px solid #2a2520;
    border-bottom: 1px solid #2a2520;
}

.piece-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #6b9e9e;
    margin-bottom: 1.5rem;
}

.piece-title {
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: #c4877a;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.prose p {
    margin-bottom: 1.3rem;
    color: #d4cac0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.prose em {
    color: #e8ddd3;
}

.attribution {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #6b9e9e;
}

/* Footer */

footer {
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #5a524a;
    letter-spacing: 0.03em;
}

.colophon {
    margin-bottom: 0.3rem;
}

.collaborators {
    color: #4a423a;
}

/* Responsive */

@media (max-width: 600px) {
    html {
        font-size: 16px;
    }

    main {
        padding: 2.5rem 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }
}
