:root {
  --bg: #faf6f0;
  --text: #2e2a26;
  --muted: #6b6259;
  --accent: #b4693e;
  --accent-soft: #e8d9c8;
  --card-bg: #ffffff;
  --border: #e6ddd1;
  --max-width: 880px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.2;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.nav-toggle-checkbox { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}
@media (max-width: 640px) {
  .nav-toggle-label { display: flex; }
  .site-header nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    border-top: 1px solid var(--border);
    margin-top: 14px;
    padding-top: 6px;
  }
  .nav-toggle-checkbox:checked ~ nav { display: flex; }
  .site-header nav a { margin-left: 0; padding: 14px 4px; border-bottom: 1px solid var(--border); }
}

.site-header nav a {
  margin-left: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 500;
  display: inline-block;
}

main.wrap {
  padding-top: 40px;
  padding-bottom: 60px;
  min-height: 60vh;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 auto;
}

/* Homepage photo hero banner */
.hero-banner {
  margin: -40px calc(50% - 50vw) 0;
  padding: 0 calc(50vw - 50%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-banner-overlay {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(30,22,16,0.35), rgba(30,22,16,0.55));
}
.hero-banner h1 {
  color: #fff;
  font-size: 2.3rem;
  margin: 0 0 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.hero-banner p {
  color: #f5ede4;
  font-size: 1.1rem;
  max-width: 55ch;
  margin: 0 auto 22px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #9a5732; text-decoration: none; color: #fff; }

.section { margin: 60px 0; }
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-heading h2 { margin: 0; }
.section > h2 { margin-bottom: 14px; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

.about-blurb {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
}
.about-blurb-text { flex: 1; }
.about-blurb p { color: var(--muted); max-width: 70ch; font-size: 1.05rem; margin: 0; }
.about-blurb-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.about-blurb-badge span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
}

@media (max-width: 640px) {
  .about-blurb { flex-direction: column; text-align: center; padding: 24px; gap: 20px; }
  .about-blurb-badge { width: 104px; height: 104px; }
  .author-teaser { padding: 20px; }
  .newsletter { padding: 28px 20px; }
}

.author-teaser {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
}
.author-teaser-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-teaser h2 { margin: 0 0 8px; font-size: 1.2rem; }
.author-teaser p { margin: 0 0 8px; color: var(--muted); }

.newsletter {
  text-align: center;
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 40px 24px;
}
.newsletter h2 { margin: 0 0 8px; }
.newsletter p { color: var(--muted); margin: 0 0 20px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 1rem;
  min-width: 260px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.card-thumb {
  height: 180px;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { padding: 16px 18px 20px; }
.card-body h2 { font-size: 1.05rem; margin: 0 0 8px; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumbs span[aria-hidden] { margin: 0 6px; }
.breadcrumbs span:last-child { color: var(--text); }

.post-hero {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
  display: block;
}
.post h1 { font-size: 2rem; margin-bottom: 6px; }
.post-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.post-body h2 { margin-top: 34px; font-size: 1.4rem; }
.post-body p { color: var(--text); }

.product-box {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
}
.product-box .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.product-box strong { font-size: 1.05rem; }
.product-box a.buy-link {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 12px 28px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(180,105,62,0.25);
}
.product-box a.buy-link:hover {
  background: #9a5732;
  text-decoration: none;
}

.disclosure-note {
  margin-top: 40px;
  padding: 14px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.author-bio {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-bio-name {
  margin: 0 0 4px;
  font-weight: 700;
}
.author-bio-name a { color: var(--text); }
.author-bio-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.author-avatar-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.static-page .post-body ul { padding-left: 1.2rem; }

.site-footer {
  background: #2e2117;
  color: #cbbfae;
  font-size: 0.9rem;
  padding-top: 48px;
}
.site-footer .brand { color: #fdf8f2; }
.site-footer a { color: #cbbfae; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin: 12px 0 0; max-width: 34ch; color: #a99a85; font-size: 0.88rem; }
.footer-col h3 {
  color: #fdf8f2;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }

.site-footer .wrap:last-child {
  padding-top: 20px;
  padding-bottom: 32px;
  text-align: center;
}
.site-footer .fine-print { max-width: 60ch; margin: 0 auto 10px; color: #a99a85; font-size: 0.8rem; }
.site-footer .copyright { margin: 0; font-size: 0.8rem; color: #a99a85; }

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}
