:root {
  --black: #0f0f0f;
  --white: #fafaf7;
  --cream: #f0ede6;
  --accent: #c8522a;
  --muted: #888880;
  --border: #e0ddd6;
  --card: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--black);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-badge {
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
@media (max-width: 600px) { nav { padding: 16px 20px; } }

.ad-banner {
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
  padding: 16px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: 0 40px 0;
}
@media (max-width: 600px) { .ad-banner { margin: 0 20px; } }
.ad-inline {
  background: var(--cream);
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
  padding: 16px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: 32px 0;
}

.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}

.post-header {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--black); }

.hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.post-header h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--black);
}
.post-deck {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 20px;
}
.post-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.post-body { font-size: 16px; line-height: 1.75; }
.post-body p { margin-bottom: 20px; }
.post-body h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 40px 0 14px;
  line-height: 1.25;
}
.post-body h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.post-body ul, .post-body ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.post-body li { margin-bottom: 8px; line-height: 1.65; }
.post-body strong { font-weight: 500; color: var(--black); }
.post-body em { font-style: italic; }
.post-body code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 13px;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
}
.post-body a { color: var(--accent); text-decoration: none; }
.post-body a:hover { text-decoration: underline; }

.callout {
  background: var(--cream);
  border-left: 3px solid var(--accent);
  padding: 18px 20px;
  margin: 28px 0;
  font-size: 15px;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}
.callout strong { color: var(--black); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 14px;
}
table th {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
}
table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table tr:last-child td { border-bottom: none; }
table tr:nth-child(even) { background: var(--cream); }

.post-cta {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin: 56px 0 40px;
  text-align: center;
}
.post-cta h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.post-cta p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  margin-bottom: 22px;
}
.btn-cta {
  display: inline-block;
  padding: 13px 26px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s;
}
.btn-cta:hover { opacity: 0.88; }

.related-posts { margin-top: 48px; }
.related-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
.related-card:hover { border-color: var(--black); }
.related-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.related-title {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
  color: var(--black);
  font-weight: 700;
}

footer {
  text-align: center;
  padding: 24px 40px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--black); }
