:root {
    --ink: #1a1a1a;
    --paper: #faf8f5;
    --wine: #722f37;
    --wine-light: #8b3a42;
    --gold: #c9a227;
    --gold-muted: #b8973d;
    --cream: #f5f0e8;
    --slate: #4a4a4a;
    --mist: #e8e4dc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 60vh;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
}

.hero-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--gold-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 400;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.hero-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-quote cite {
    display: block;
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    margin-top: 1rem;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== PAGE HEADER (non-home pages) ===== */
.page-header {
    background: var(--ink);
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: white;
}

.page-header p {
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
}

/* ===== NAVIGATION ===== */
nav {
    background: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--wine);
}

/* ===== CONTENT SECTIONS ===== */
.content {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--wine);
    margin-bottom: 1.5rem;
}

.content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin: 2.5rem 0 1rem;
}

.content p {
    margin-bottom: 1.5rem;
    color: var(--slate);
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--wine);
}

.info-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--wine);
    margin-bottom: 0.5rem;
}

.info-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===== BOOKS LIST ===== */
.books-list {
    list-style: none;
    margin: 2rem 0;
}

.books-list li {
    padding: 1.5rem;
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    border-left: 3px solid var(--gold);
}

.books-list .title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--ink);
}

.books-list .author {
    font-size: 0.9rem;
    color: var(--slate);
    margin-top: 0.25rem;
}

.books-list .year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--gold-muted);
}

/* ===== SCHEDULE TABLE ===== */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.schedule-table th {
    background: var(--wine);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
}

.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--mist);
    color: var(--slate);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table .week {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--gold-muted);
}

.schedule-table tr.current-week {
    background: rgba(201, 162, 39, 0.1);
}

.schedule-table tr.current-week td {
    font-weight: 500;
    color: var(--ink);
}

/* ===== TIMELINE EXAMPLES ===== */
.timeline-entry {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--gold);
}

.timeline-entry .year-title {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.timeline-entry .year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
}

.timeline-entry .book-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ink);
}

.timeline-entry .author {
    font-size: 0.95rem;
    color: var(--wine);
    margin-bottom: 1.5rem;
}

.timeline-entry h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wine);
    margin: 1.5rem 0 0.5rem;
}

.timeline-entry ul {
    margin-left: 1.5rem;
    color: var(--slate);
}

.timeline-entry li {
    margin-bottom: 0.4rem;
}

.timeline-entry .notes {
    background: var(--cream);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--slate);
}

.timeline-entry .notes strong {
    color: var(--ink);
}

/* ===== FORMAT OPTIONS ===== */
.format-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.format-option {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.format-option .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.format-option h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.format-option p {
    font-size: 0.85rem;
    color: var(--slate);
    margin: 0;
}

/* ===== PICKAXE SECTION ===== */
.pickaxe-wrapper {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.pickaxe-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin: 0;
}

/* ===== FOOTER ===== */
footer {
    background: var(--ink);
    color: rgba(255,255,255,0.6);
    padding: 2rem;
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
    }

    .content {
        padding: 2.5rem 1.5rem;
    }

    .pickaxe-wrapper iframe {
        height: 500px;
    }

    .hero {
        min-height: 50vh;
    }
}
