:root {
  --flour: #EFE6D3;
  --paper: #F8F2E4;
  --dark: #2B1E12;
  --dark-2: #3C2B1A;
  --text: #33241A;
  --text-soft: #63503C;
  --crust: #8B5A2B;
  --crust-dark: #6A4118;
  --wheat: #C89B62;
  --olive: #66603B;
  --line: #D8C7A5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: var(--text);
  background: var(--flour);
}
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 600; color: var(--dark-2); }

header {
  background: var(--dark);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 3px solid var(--wheat);
}
.logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: #F6EDDD; text-decoration: none; }
.logo span { color: var(--wheat); }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
@media (max-width: 640px) {
  header { flex-direction: column; text-align: center; padding: 12px 16px; }
  .header-actions { width: 100%; }
  .header-actions .btn-primary { width: 100%; text-align: center; margin-top: 4px; }
}
.header-link { color: var(--wheat); font-weight: 600; font-size: 17px; text-decoration: none; padding: 8px 6px; }
.header-link:hover { text-decoration: underline; }
.btn-primary {
  display: inline-block;
  background: var(--crust);
  color: #FDF8ED;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 17px;
  border: 1px solid var(--crust-dark);
  box-shadow: 0 3px 0 var(--crust-dark);
}
.btn-primary:hover { background: var(--crust-dark); }
.btn-primary:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; }

main { max-width: 720px; margin: 0 auto; padding: 48px 24px 40px; }
.crumb { font-size: 16px; margin-bottom: 20px; }
.crumb a { color: var(--crust-dark); }
article h1 { font-size: clamp(30px, 4.5vw, 40px); line-height: 1.2; margin-bottom: 10px; }
.byline { font-size: 16px; color: var(--text-soft); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--wheat); }
article h2 { font-size: 25px; margin: 34px 0 12px; }
article p { margin-bottom: 18px; }
article ul, article ol { margin: 0 0 18px 26px; }
article li { margin-bottom: 8px; }
article a { color: var(--crust-dark); }
.cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--crust);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 40px;
}
.cta h2 { margin: 0 0 8px; font-size: 22px; }
.cta p { color: var(--text-soft); margin-bottom: 18px; }

.post-list { list-style: none; margin: 0; }
.post-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--crust);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.post-list .date { font-size: 16px; color: var(--olive); font-weight: 600; }
.post-list h2 { font-size: 22px; margin: 4px 0 6px; }
.post-list a { color: var(--dark-2); text-decoration: none; }
.post-list a:hover { text-decoration: underline; }
.post-list p { color: var(--text-soft); font-size: 17px; margin: 0; }

footer { background: var(--dark); text-align: center; padding: 26px 24px 34px; font-size: 16px; color: #D9C9AC; margin-top: 48px; }
footer a { color: var(--wheat); }
