/* DocAustin / So There I Was - site styles */
:root {
  --ink: #26221f;
  --sub: #6f655c;
  --bg: #f7f4ef;
  --card: #ffffff;
  --line: #e5ddd2;
  --accent: #b83e3e;   /* OLEMCS family red */
  --navy: #2e4057;
  --header: #26221f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.65; font-size: 17px;
}
h1, h2, h3 { font-family: "Marcellus", Georgia, serif; font-weight: 400; line-height: 1.25; }
h1 { font-size: 2.3rem; } h2 { font-size: 1.6rem; } h3 { font-size: 1.25rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Header */
.site-header {
  background: var(--header); color: #fff; padding: 16px 0;
}
.site-header .wrap { display: flex; align-items: baseline; gap: 24px; }
.brand { font-family: "Marcellus", Georgia, serif; font-size: 1.35rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand .stiw { color: #d9b98c; font-style: italic; }
nav.main { margin-left: auto; display: flex; gap: 20px; }
nav.main a { color: #e8e2da; font-size: 0.95rem; }
nav.main a:hover { color: #fff; }
nav.main a.li-link { display: inline-flex; align-items: center; }
nav.main a.li-link svg { width: 18px; height: 18px; fill: #e8e2da; transition: fill .15s; }
nav.main a.li-link:hover svg { fill: #fff; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero { background: #1a1a1a; color: #fff; padding: 56px 0; }
.hero-grid { display: flex; align-items: center; gap: 40px; max-width: 900px; }
.hero-text { flex: 1 1 55%; }
.hero h1 { font-style: italic; font-size: 2.6rem; margin-bottom: 12px; }
.hero .tag { color: #cfc7bc; font-size: 1.1rem; }
.hero .hash { display: inline-block; margin-top: 18px; color: #d9b98c; font-size: 0.95rem;
  letter-spacing: 0.08em; }
.hero-img { flex: 1 1 45%; max-width: 380px; }
.hero-img img { display: block; width: 100%; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55); }

/* Sections */
main { padding: 48px 0 64px; }
.eyebrow { color: var(--accent); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }

/* Post cards (blog index + home latest) */
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 28px; margin-bottom: 18px;
}
.post-card h3 { margin-bottom: 6px; }
.post-card h3 a { color: var(--ink); }
.post-card .meta { color: var(--sub); font-size: 0.85rem; margin-bottom: 10px; }
.post-card p { font-size: 0.98rem; color: #45403a; }
.post-card .more { font-size: 0.9rem; font-weight: 600; }

/* Article */
article.post header { margin-bottom: 28px; }
article.post h1 { font-style: italic; margin-bottom: 8px; }
article.post .meta { color: var(--sub); font-size: 0.9rem; }
article.post p { margin-bottom: 18px; }
article.post h2 { margin: 32px 0 12px; }
article.post blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 20px 0;
  color: var(--sub); font-style: italic;
}

/* STIW post watermark block */
.stiw-mark {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.stiw-mark img { height: 44px; width: auto; }
.stiw-mark .wm { font-size: 0.85rem; color: var(--sub); }
.stiw-mark .wm a { color: var(--sub); text-decoration: underline; }
.stiw-mark .hash { margin-left: auto; color: var(--accent); font-weight: 700;
  letter-spacing: 0.06em; }

/* Footer */
.site-footer {
  background: var(--header); color: #b8b0a6; padding: 36px 0; text-align: center;
  font-size: 0.85rem;
}
.site-footer img { height: 52px; margin-bottom: 12px; }
.site-footer .foot-brand { color: #e8e2da; font-family: "Marcellus", Georgia, serif;
  font-size: 1rem; margin-bottom: 4px; }
.site-footer a { color: #d9b98c; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero-grid { flex-direction: column; text-align: center; }
  .hero-img { max-width: 300px; }
  .site-header .wrap { flex-wrap: wrap; }
  nav.main { margin-left: 0; }
}
