/* Minimalist Design System */
:root {
    /* Typography */
    --font-serif: 'Times New Roman', Times, serif;
    --font-sans: 'Arial', Helvetica, sans-serif;

    /* Colors */
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-accent: #333333;
    --color-border: #e0e0e0;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Layout */
    --max-width: 800px;
}

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

body {
    font-family: var(--font-serif);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

a:hover {
    border-bottom-color: var(--color-text);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.8rem;
    margin-top: var(--spacing-md);
}

p {
    margin-bottom: 1.5rem;
}

blockquote {
    font-style: italic;
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-sm);
    border-left: 2px solid var(--color-text);
}

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Navigation */
.site-header {
    padding: var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.site-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    border-bottom: none;
}

.nav-links {
    margin-top: var(--spacing-sm);
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    list-style: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Project Grid (Minimal) */
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.project-item {
    margin-bottom: var(--spacing-lg);
}

.project-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Reading Mode */
.reading-mode {
    max-width: 65ch;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
}

.reading-mode p {
    margin-bottom: 1.5rem;
}

.reading-mode img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    display: block;
}

.reading-mode blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
}

/* PDF Embed */
.pdf-embed {
    width: 100%;
    height: 80vh;
    border: 1px solid var(--color-border);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    :root {
        --spacing-lg: 2rem;
    }

    h1 {
        font-size: 2rem;
    }
}