:root {
    --bg: #FAFAF8;
    --text: #1a1a1a;
    --text-secondary: #555;
    --text-light: #888;
    --accent: #b45309;
    --accent-hover: #92400e;
    --accent-soft: #f5f0e8;
    --link: #b45309;
    --border: #e5e5e0;
    --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lora', Georgia, serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* NAV */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}
.nav-inner {
    max-width: 800px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center; height: 56px;
}
.nav-name {
    font-family: 'Lora', serif; font-weight: 600; font-size: 1rem;
    color: var(--text); text-decoration: none;
}
.nav-name:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
    text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }
.nav-links a.active { color: var(--accent); }

/* LAYOUT */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-content {
    padding-top: 80px;
    padding-bottom: 60px;
    min-height: calc(100vh - 120px);
}

/* HERO */
.hero {
    padding-top: 20px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hero-text .tagline {
    font-size: 1.05rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 6px;
}

.hero-text .role {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.bio {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 14px;
}

.subscribe-embed {
    margin-top: 24px;
}

.hero-photo .photo-frame {
    width: 220px; height: 270px; border-radius: 14px;
    overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.hero-photo .photo-frame img {
    width: 100%; height: 100%; object-fit: cover;
}

/* RECENT PUBLICATIONS */
.recent-section {
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
}

.recent-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.recent-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recent-list li a {
    display: block;
    text-decoration: none;
}

.recent-list li a:hover { text-decoration: none; }

.recent-list li .post-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    transition: color 0.2s;
}

.recent-list li a:hover .post-title {
    color: var(--accent);
}

.recent-list li .post-meta {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.recent-list li .post-excerpt {
    font-size: 0.87rem;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.65;
}

/* PAGE HEADERS */
.page-header {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-header p a { font-weight: 500; }

/* SUBSCRIBE BOX */
.subscribe-box {
    margin: 0 0 32px;
    padding: 24px;
    background: var(--accent-soft);
    border-radius: 8px;
    text-align: center;
}

.subscribe-box p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* WRITING LIST */
.writing-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.writing-list li a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(229,229,224,0.5);
    text-decoration: none;
}

.writing-list li:first-child a {
    border-top: 1px solid rgba(229,229,224,0.5);
}

.writing-list li a:hover { text-decoration: none; }

.writing-list li .post-title {
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.writing-list li a:hover .post-title {
    color: var(--accent);
}

.writing-list li .post-date {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
}

/* CONTACT */
.contact-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-links-row {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-links-row a {
    font-weight: 600;
}

/* FOOTER */
footer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.78rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

/* LOADING */
.loading {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 700px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .hero-photo { order: -1; display: flex; justify-content: center; }
    .hero-photo .photo-frame { width: 180px; height: 220px; }
    .hero-text h1 { font-size: 1.8rem; }
    .nav-links { gap: 20px; }
    .subscribe-embed { display: flex; justify-content: center; }
}
