:root {
  --navy: #0F2A4A;
  --navy-deep: #0A1E36;
  --gold: #C9A24B;
  --gold-text: #8A6A1F;
  --ivory: #F7F4EC;
  --white: #FFFFFF;
  --muted: #5B6677;
  --line: #E3DDCC;
  --soft: #B9C4D4;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--navy); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; }
.rule { width: 72px; height: 3px; background: var(--gold); border: 0; margin: 20px 0 0; }

/* Header */
header { background: var(--navy); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(201,162,75,0.35); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand b { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: 0.14em; font-weight: 600; line-height: 1.05; }
.brand span { display: block; font-size: 11px; letter-spacing: 0.5em; color: var(--gold); font-weight: 500; }
nav { display: flex; gap: 28px; }
nav a { color: var(--soft); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--ivory); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 4px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8B563; }

/* Page title band */
.band { background: var(--navy); color: var(--ivory); padding: 64px 0 56px; }
.band .eyebrow { color: var(--gold); }
.band h1 { font-size: clamp(38px, 5.4vw, 60px); margin-top: 16px; max-width: 18em; }
.band p.lead { margin-top: 20px; color: var(--soft); font-size: 19px; max-width: 34em; }
.band .meta { margin-top: 24px; font-size: 14px; color: var(--soft); letter-spacing: 0.04em; }

/* Blog list */
.posts { padding: 64px 0 88px; }
.posts .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--white); padding: 30px 28px 26px; border-radius: 2px; text-decoration: none; }
.post-card:hover { border-color: var(--gold); }
.post-card .tag { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.post-card h2 { font-size: 32px; }
.post-card p { color: var(--muted); font-size: 16px; }
.post-card .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; }
.post-card .date { font-size: 14px; color: var(--muted); }

/* Article */
article.post { padding: 56px 0 24px; }
.prose { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.prose h2 { font-size: 38px; margin-top: 52px; }
.prose h3 { font-size: 28px; margin-top: 36px; }
.prose p { margin-top: 18px; font-size: 18px; line-height: 1.7; }
.prose ul, .prose ol { margin: 18px 0 0; padding-left: 1.3em; font-size: 18px; line-height: 1.7; }
.prose li { margin-top: 8px; }
.prose strong { font-weight: 600; }
.callout { margin-top: 28px; background: var(--navy); color: var(--ivory); padding: 28px 32px; border-radius: 2px; }
.callout b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1.15; }
.callout p { margin-top: 10px; font-size: 17px; color: var(--ivory); }
.note { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--white); font-size: 15px; color: var(--muted); line-height: 1.6; }
.note p { margin: 0; font-size: 15px; line-height: 1.6; }
.author { max-width: 720px; margin: 48px auto 0; padding: 28px 24px 72px; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: center; }
.author img { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.author b { font-family: var(--serif); font-size: 24px; display: block; line-height: 1.1; }
.author span { font-size: 15px; color: var(--muted); display: block; margin-top: 4px; }
.back { display: inline-block; margin-top: 0; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--gold-text); }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }

footer { background: var(--navy-deep); color: var(--soft); padding: 36px 0 44px; font-size: 14px; }
footer .wrap { display: flex; flex-direction: column; gap: 10px; }
footer strong { color: var(--ivory); font-family: var(--serif); letter-spacing: 0.12em; font-size: 17px; font-weight: 600; }
footer p { max-width: 62em; }

@media (max-width: 820px) {
  nav { display: none; }
  .band { padding: 44px 0 40px; }
  .prose h2 { font-size: 32px; margin-top: 40px; }
  .prose p, .prose ul, .prose ol { font-size: 17px; }
  .posts { padding: 44px 0 64px; }
  .callout { padding: 24px 22px; }
}
