/* --- Core Color Story (Directly Synchronized with Carrd) --- */
:root {
    --bg-color: #f1efe9;       /* The exact warm, literary book-leaf ivory from Carrd */
    --text-primary: #2c2a29;   /* Sharp, deep ink-charcoal black */
    --text-muted: #5e5b58;     /* Muted slate for metadata and subtitles */
    --border-color: #d7d3c9;   /* Soft, low-contrast rule dividers */
    --hover-bg: #1c1b1a;       /* Pure ink black for interactive states */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    line-height: 1.65;
    padding: 80px 24px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* --- Masthead Navigation (The New Yorker / Atlantic Frame) --- */
.masthead {
    text-align: center;
    margin-bottom: 70px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.header-divider {
    height: 1px;
    background-color: var(--text-primary);
    margin: 35px auto 0 auto;
    opacity: 0.9;
}

/* --- Asymmetric Magazine Layout Grid --- */
.magazine-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    margin-top: 20px;
}

/* --- Structural Columns --- */
.column-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
}

/* Forces the specific projects divider label downward to form white space */
.inline-cta-box + .column-label {
    margin-top: 55px !important; 
}

/* --- Left Column: Elucidated Prose & Manifesto --- */
.story-paragraph {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: justify;
}

/* Drop-cap configuration for premium print feel */
.story-paragraph.drop-cap::first-letter {
    font-family: 'Playfair Display', serif;
    float: left;
    font-size: 4rem;
    line-height: 0.85;
    padding-top: 4px;
    padding-right: 6px; /* Optimized tight margin for beautiful curly close curly quote anchor */
    font-weight: 500;
    color: var(--text-primary);
}

.poetry-block {
    font-style: italic;
    border-left: 2px solid var(--text-primary);
    padding-left: 16px;
    margin: 30px 0;
}

/* Structural Layout Spacing */
.inline-cta-box {
    margin-top: 35px;
    margin-bottom: 35px;
}

/* Monograph Focus Card */
.featured-project {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid var(--border-color);
    padding: 30px;
    margin-top: 10px;
}

.featured-project h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 10px;
}

.project-status-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

/* --- Right Column: Chronological Honors Ledger --- */
.ledger-list {
    list-style: none;
}

.ledger-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ledger-list li:first-child {
    padding-top: 0;
}

.ledger-list li:last-child {
    border-bottom: none;
}

.ledger-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.ledger-award {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* --- Structural Section Dividers --- */
.section-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 60px 0;
}

/* --- Centralized Contact Architecture --- */
.contact-block {
    text-align: center;
    max-width: 650px;
    margin: 40px auto;
}

.contact-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.contact-block p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Action Buttons (Upgraded from the generic Carrd blocks) */
.editorial-btn, .contact-button-link {
    display: inline-block;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.contact-button-link {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.editorial-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.contact-button-link:hover {
    background-color: transparent;
    color: var(--text-primary);
}

/* --- Colophon Footer --- */
.site-footer {
    text-align: center;
    margin-top: 120px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.colophon {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- Responsive Layout Engine for Tablet/Mobile Devices --- */
@media (max-width: 900px) {
    body {
        padding: 50px 20px;
    }
    .magazine-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .logo {
        font-size: 1.9rem;
        letter-spacing: 4px;
    }
    .story-paragraph {
        font-size: 1.15rem;
    }
}
