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

html {
    font-size: 16px;
}

body {
    font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 6rem 0 4rem;
    border-bottom: 1px solid #e0e0e0;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.125rem;
    color: #4a4a4a;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.connect {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.connect-link {
    color: #5b21b6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.connect-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #5b21b6;
    transition: width 0.2s ease;
}

.connect-link:hover {
    color: #7c3aed;
}

.connect-link:hover::after {
    width: 100%;
}

.separator {
    color: #ccc;
}

/* Intro Section */
.intro {
    padding: 5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.intro-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #2a2a2a;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Clusters Section */
.clusters {
    padding: 5rem 0;
}

.clusters h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 1rem;
}

.clusters h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5b21b6 0%, #a78bfa 100%);
    border-radius: 2px;
}

/* Individual Cluster */
.cluster {
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid #e0e0e0;
}

.cluster:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.epigraph {
    margin-bottom: 3rem;
    padding-left: 2rem;
    border-left: 2px solid #e0e0e0;
}

.epigraph p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.epigraph cite {
    display: block;
    font-size: 0.9375rem;
    font-style: normal;
    color: #666;
}

.cluster-header h3 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.cluster:hover .cluster-header h3 {
    color: #5b21b6;
}

.cluster-meta {
    font-size: 0.9375rem;
    color: #666;
    margin-bottom: 2rem;
}

.cluster-subtitle {
    font-size: 1.125rem;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 2rem;
}

.cluster-description {
    margin-bottom: 3rem;
}

.cluster-description p {
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* Syllabus */
.syllabus {
    margin-bottom: 3rem;
}

.syllabus h4,
.readings h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.weeks {
    list-style: none;
    counter-reset: week-counter;
}

.weeks li {
    counter-increment: week-counter;
    margin-bottom: 0.875rem;
    padding-left: 3rem;
    position: relative;
    font-size: 1.0625rem;
}

.weeks li::before {
    content: counter(week-counter);
    position: absolute;
    left: 0;
    color: #999;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Reading List */
.readings {
    margin-top: 3rem;
}

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

.reading-list li {
    margin-bottom: 1.25rem;
    padding-left: 0;
    line-height: 1.6;
}

.reading-list .author {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.reading-list .title {
    display: block;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0.25rem;
}

.reading-list a {
    display: inline-block;
    font-size: 0.875rem;
    color: #4a4a4a;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: border-color 0.2s ease;
}

.reading-list a:hover {
    border-bottom-color: #1a1a1a;
}

/* Archived Clusters */
.archived-clusters {
    padding: 5rem 0;
    border-top: 1px solid #e0e0e0;
    background-color: #fafafa;
}

.archived-clusters h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    color: #666;
}

.cluster--archived {
    opacity: 0.75;
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cluster--archived .cluster-header h3 {
    font-size: 1.5rem;
    color: #4a4a4a;
}

.cluster--archived .cluster-meta {
    color: #999;
}

.cluster--archived .epigraph {
    border-left-color: #d0d0d0;
}

.cluster--archived .epigraph p {
    color: #666;
}

.cluster--archived .cluster-description p {
    color: #4a4a4a;
}

/* Call to Action Section */
.cta {
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
}

.cta p {
    font-size: 1rem;
    text-align: center;
    color: #666;
}

.cta-link {
    color: #5b21b6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

.cta-link:hover {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

/* Subscriber Note */
.subscriber-note {
    padding: 4rem 0;
    border-top: 1px solid #e0e0e0;
}

.subscriber-note .note {
    font-size: 0.9375rem;
    color: #666;
    text-align: center;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 4rem;
}

footer p {
    font-size: 0.875rem;
    color: #999;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1.5rem;
    }

    header {
        padding: 4rem 0 3rem;
    }

    header h1 {
        font-size: 2rem;
    }

    .intro {
        padding: 3.5rem 0;
    }

    .clusters {
        padding: 3.5rem 0;
    }

    .clusters h2 {
        margin-bottom: 3rem;
    }

    .cluster {
        margin-bottom: 4rem;
        padding-bottom: 4rem;
    }

    .weeks li {
        padding-left: 2.5rem;
    }

    .epigraph {
        padding-left: 1.5rem;
    }

    .cta {
        padding: 2.5rem 0;
    }

    .archived-clusters {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1.25rem;
    }

    header {
        padding: 3rem 0 2rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .epigraph {
        padding-left: 1rem;
    }
}
