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

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        display: none;
    }

    .report {
        width: 100%;
    }
    body {
        font-size: 20px;
    }
    .cover-title {
        font-size: 3rem;
    }

    .cover-one-liner {
        font-size: 1.1rem;
    }

    .cover-people {
        flex-direction: column;
        gap: 10px;
    }

    .cover-links {
        flex-direction: column;
        gap: 10px;
    }
}

body {
    font-family: Georgia, serif;
    background: #f5f3ee;
    color: #1a1a2e;
}

/* cover img + content */
.cover-background {
    position: relative;
    min-height: 50vh;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        /* add a lot of gradients */
        linear-gradient(112deg, transparent 25%, rgba(201, 162, 60, 0.05) 70%, rgba(201, 162, 60, 0.11) 50%, rgba(201, 162, 60, 0.05) 60%, transparent 75%),
        radial-gradient(ellipse 55% 45% at 78% 18%, rgba(212, 168, 56, 0.2) 20%, transparent 65%),
        radial-gradient(ellipse 70% 60% at 12% 85%, rgba(12, 42, 110, 0.65) 0%, transparent 55%),
        radial-gradient(ellipse 90% 50% at 50% 54%, rgba(11, 35, 118, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 35% 30% at 92% 88%, rgba(195, 145, 30, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 35% at 5% 8%, rgba(30, 80, 160, 0.54) 0%, transparent 85%),
        radial-gradient(ellipse 55% 55% at 23% 73%, rgba(175, 143, 25, 0.54) 0%, transparent 100%),
        #1d0940;
}

.cover-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    padding: 60px 40px;
    color: #f0ead8;
}

.cover-header {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgb(233, 194, 94);
    margin-bottom: 24px;
}

.cover-title {
    font-size: 3rem;
    font-weight: 400;
    color: #f5efe0;
    margin-bottom: 20px;
}

.cover-one-liner {
    font-size: 1rem;
    color: rgba(212, 228, 255, 0.93);
    letter-spacing: 0.03em;
    margin-bottom: 40px;
}

.cover-people {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.cover-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cover-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.cover-button {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(212, 175, 80);
    border: 2px solid rgba(212, 175, 80);
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cover-button:hover {
    background: rgba(212, 175, 80, 0.1);
    border-color: rgba(212, 175, 80, 0.9);
    color: rgb(233, 194, 94);
}

.author-name {
    font-family: 'Courier New', monospace;
    font-size: 17px;
    color: rgba(212, 228, 255);
    letter-spacing: 0.08em;
}

.author-email {
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: rgb(233, 194, 94);
    letter-spacing: 0.04em;
}

.cover-mentor {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.page-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 48px;
}

/* sidebar */
.sidebar {
    width: 220px;
}

.sidebar-inner {
    padding: 48px 0;
    position: sticky;
    top: 48px;
}

/* table of contents */
.toc-label {
    font-family: 'Courier New', monospace;
    font-size: 17px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgb(43, 46, 46);
    margin-bottom: 16px;
    font-weight: bold;
}

.toc-list {
    /* remove bullets */
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 500;
}

.toc-list a {
    /* links for toc */
    text-decoration: none;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    color: #5a6070;
    padding: 5px 0 5px 12px;
    border-left: 2px solid transparent;
    display: block;
    transition: color 0.2s, border-color 0.2s;
}

.toc-list a.active,
.toc-list a:hover {
    color: #b8922a;
    border-left-color: #c9a84c;
}

/* content of report */
.report {
    flex: 1;
    min-width: 0;
    padding: 48px 0 80px;
}

.section {
    margin-bottom: 64px;
}

.section-label {
    font-family: 'Courier New', monospace;
    font-size: 10px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section h2 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #0a1628;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.5);
}

.section p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3a4455;
    margin-bottom: 16px;
}

.section ol {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #3a4455;
    margin-bottom: 16px;
    padding-left: 1.5em;
}

/* hook formatting */
.abstract-hook {
    font-size: 1.2rem;
    font-style: italic;
    color: #0a1628;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 3px solid rgba(201, 168, 76, 0.5);
}

.figure img {
    width: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    max-height: 300px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
}

.figure figcaption {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 0.05em;
    color: #3d4653;
    text-align: center;
}

.figure figcaption a {
    color: #c9a84c;
    text-decoration: none;
}

.figure figcaption a:hover {
    text-decoration: underline;
}

.section p a {
    color: #c9a84c;
    text-decoration: none;
}

.section p a:hover {
    text-decoration: underline;
}