:root {
  --ink: #171d2c;
  --ink-2: #242c3d;
  --gold: #c7a13a;
  --gold-2: #e4c774;
  --cream: #f4f1e9;
  --paper: #fbfaf7;
  --white: #fff;
  --text: #242a34;
  --muted: #626a78;
  --line: rgba(23, 29, 44, .13);
  --green: #2a7457;
  --shadow: 0 24px 70px rgba(23, 29, 44, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font: 15px/1.65 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 11px 15px; background: var(--white); border-radius: 9px; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(251, 250, 247, .94); backdrop-filter: blur(14px); }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 760; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(199, 161, 58, .6); border-radius: 12px; color: var(--gold-2); background: var(--ink); font: 21px/1 Georgia, serif; }
.brand-copy small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; font-weight: 650; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 11px 15px; border-radius: 10px; background: var(--ink); color: var(--white) !important; }

.page-hero { padding: 96px 0 68px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 12%, rgba(199,161,58,.12), transparent 30%), var(--paper); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: #866a1e; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; background: var(--gold); content: ""; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.13; letter-spacing: -.025em; }
h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(29px, 4vw, 44px); }
h3 { font-size: 23px; }
.lead { max-width: 730px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 64px 0 100px; }
.post-card { overflow: hidden; min-height: 100%; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--cream); }
.post-card-body { padding: 24px; }
.post-card-category { margin-bottom: 10px; color: #866a1e; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.post-card h2, .post-card h3 { margin-bottom: 11px; font-size: 24px; }
.post-card p { margin: 0 0 20px; color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.post-link { color: #7e641c; font-size: 13px; font-weight: 800; }
.empty-posts { grid-column: 1/-1; padding: 42px; border: 1px dashed var(--line); border-radius: 18px; text-align: center; color: var(--muted); }

.article-header { padding: 88px 0 46px; }
.article-header .wrap, .article-body { max-width: 860px; }
.article-header h1 { font-size: clamp(40px, 6vw, 68px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.article-image { width: min(calc(100% - 48px), 1080px); margin: 0 auto 54px; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; background: var(--cream); }
.article-body { width: min(calc(100% - 48px), 760px); margin: 0 auto; padding-bottom: 96px; font-size: 18px; line-height: 1.8; }
.article-body h2 { margin: 52px 0 17px; font-size: 34px; }
.article-body h3 { margin: 36px 0 12px; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 24px; }
.article-body li + li { margin-top: 9px; }
.article-body blockquote { margin: 34px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); color: var(--ink); font: 24px/1.5 Georgia, serif; }
.article-body a { color: #745b18; text-decoration: underline; text-underline-offset: 3px; }
.related-reading { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); }
.related-reading h2 { margin: 0 0 20px; font-size: 30px; }
.related-reading-list { display: grid; gap: 12px; }
.related-reading-list a { display: grid; gap: 5px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--white); font-size: 12px; text-decoration: none; }
.related-reading-list a:hover { border-color: var(--gold); }
.related-reading-list span { color: #866a1e; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.related-reading-list strong { color: var(--ink); font: 20px/1.3 Georgia, serif; }
.article-cta { margin-top: 52px; padding: 30px; border-radius: 16px; color: var(--white); background: var(--ink); }
.article-cta h2 { margin: 0 0 10px; color: var(--white); font-size: 28px; }
.article-cta p { margin-bottom: 20px; color: rgba(255,255,255,.72); font-size: 15px; }
.button { display: inline-flex; padding: 12px 17px; border-radius: 10px; color: var(--ink) !important; background: var(--gold-2); font-size: 13px; font-weight: 800; text-decoration: none !important; }

.site-footer { padding: 46px 0; color: rgba(255,255,255,.65); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; }
.footer-links a:hover { color: var(--white); }

@media (max-width: 860px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 600px) {
  .wrap, .article-image, .article-body { width: min(calc(100% - 32px), var(--max)); }
  .page-hero, .article-header { padding-top: 64px; }
  .post-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .brand-copy { font-size: 13px; }
  .nav-cta { padding: 10px 12px; }
  .article-body { font-size: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
