
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Courier+Prime:wght@400;700&display=swap');

:root {
  --bg:       #f3ece0;
  --card:     #faf6ee;
  --text:     #1c1710;
  --muted:    #8b7d6d;
  --accent:   #c94d12;
  --accent2:  #e8722a;
  --border:   #d6c8b4;
  --sidebar:  #ede5d4;
  --white:    #fdfaf5;
  --shadow:   0 2px 12px rgba(30,18,5,.10);
  --radius:   4px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  font-size: 19px;
  line-height: 1.75;
}

/* ── Header ── */
.site-header {
  background: var(--text);
  color: var(--white);
  padding: 2rem 0 1.5rem;
  border-bottom: 4px solid var(--accent);
}
.site-header .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-brand a {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-brand a:hover { color: var(--accent2); }
.site-tagline {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  color: #b8a898;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.site-nav a {
  font-family: 'Courier Prime', monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c8b8a8;
  text-decoration: none;
  margin-left: 2rem;
  transition: color .2s;
}
.site-nav a:hover { color: var(--accent2); }
.site-nav a:first-child { margin-left: 0; }

/* ── Layout ── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

/* ── Post Cards (index) ── */
.post-list { list-style: none; }
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.post-card:hover {
  box-shadow: 0 6px 24px rgba(30,18,5,.14);
  transform: translateY(-2px);
}
.post-card-img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.post-card-body { padding: 1.5rem 1.75rem 1.75rem; }
.post-meta {
  font-family: 'Courier Prime', monospace;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.post-meta .category {
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.7rem;
  margin-right: 0.6rem;
}
.post-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.post-card h2 a {
  color: var(--text);
  text-decoration: none;
}
.post-card h2 a:hover { color: var(--accent); }
.post-excerpt {
  color: #4a3f32;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.read-more {
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--accent);
  transition: color .2s, border-color .2s;
}
.read-more:hover { color: var(--accent2); border-color: var(--accent2); }

/* ── Image-only small cards ── */
.post-card.image-only .post-card-body { padding: 1rem 1.25rem; }
.post-card.image-only h2 { font-size: 1.1rem; }

/* ── Single Post ── */
.post-single {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
}
.post-single h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.post-single .post-meta { margin-bottom: 1.5rem; }
.post-single .divider {
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
  border: none;
  margin: 1.5rem 0 2rem;
}
.post-single p { margin-bottom: 1.1rem; }
.post-single h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--accent);
}
.post-single figure {
  margin: 1.75rem 0;
  text-align: center;
}
.post-single figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.post-single figcaption {
  font-family: 'Courier Prime', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}
.post-single a { color: var(--accent); }
.post-single a:hover { color: var(--accent2); }
.post-single ul, .post-single ol {
  margin: 1rem 0 1rem 2rem;
}
.post-single li { margin-bottom: 0.4rem; }
.post-single blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  color: var(--muted);
  font-style: italic;
  margin: 1.5rem 0;
}
.post-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1.75rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.post-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.slideshow-note {
  background: #f0e8d8;
  border: 1px dashed var(--border);
  padding: 0.75rem 1.25rem;
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  color: var(--muted);
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
}
.post-nav a { color: var(--accent); text-decoration: none; }
.post-nav a:hover { color: var(--accent2); }

/* ── Sidebar ── */
.sidebar { position: sticky; top: 2rem; }
.widget {
  background: var(--sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.widget h3 {
  font-family: 'Courier Prime', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.widget ul { list-style: none; }
.widget li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.widget a { color: var(--text); text-decoration: none; }
.widget a:hover { color: var(--accent); }
.widget p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.75rem; }
.widget .btn {
  display: inline-block;
  font-family: 'Courier Prime', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

/* ── About Page ── */
.page-single {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
}
.page-single h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}
.page-single hr {
  height: 3px;
  background: linear-gradient(to right, var(--accent), transparent);
  border: none;
  margin: 1.5rem 0 2rem;
}
.page-single p { margin-bottom: 1.1rem; }
.page-single a { color: var(--accent); }
.page-single .contact {
  background: #f0e8d8;
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  font-family: 'Courier Prime', monospace;
}

/* ── Footer ── */
.site-footer {
  background: var(--text);
  color: #8b7d6d;
  padding: 2rem 0;
  text-align: center;
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  margin-top: 3rem;
  border-top: 4px solid var(--accent);
}
.site-footer a { color: var(--accent2); text-decoration: none; }

/* ── Year headings on index ── */
.year-heading {
  font-family: 'Courier Prime', monospace;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.5rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.year-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .post-single { padding: 1.5rem; }
  .page-single { padding: 1.5rem; }
  .site-header .inner { flex-direction: column; align-items: flex-start; }
  .site-nav a:first-child { margin-left: 0; }
  .site-nav a { margin-left: 1.25rem; }
}
