/* Shared styles for the Nora Capital Group site (homepage + article page). */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #F6F1E9; font-family: "IBM Plex Sans", sans-serif; color: #2B2622; -webkit-font-smoothing: antialiased; }
::selection { background: #E9C9B6; }
input::placeholder { color: #A79E8E; }

a { color: #C2683D; }

/* ---- Rendered Markdown (article body) ---- */
.article-body p { font-family: 'Newsreader', serif; font-size: 18px; line-height: 1.72; color: #33302A; margin: 0 0 22px; }
.article-body h2 { font-family: 'Lora', serif; font-weight: 600; font-size: 25px; color: #211D19; margin: 34px 0 14px; letter-spacing: -0.01em; }
.article-body h3 { font-family: 'Lora', serif; font-weight: 600; font-size: 20px; color: #211D19; margin: 28px 0 12px; }
.article-body a { color: #C2683D; text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { font-weight: 600; color: #211D19; }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol { font-family: 'Newsreader', serif; font-size: 18px; line-height: 1.72; color: #33302A; margin: 0 0 22px; padding-left: 1.3em; }
.article-body li { margin: 0 0 9px; }
.article-body blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 3px solid #E0D6C4; font-family: 'Newsreader', serif; font-style: italic; font-size: 19px; color: #4A4238; }
.article-body code { font-family: 'IBM Plex Mono', monospace; font-size: 0.85em; background: #EFE7D8; padding: 1px 5px; border-radius: 4px; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 8px 0 26px; border-radius: 8px; border: 1px solid #E5DCCC; }
.article-body p:has(> img) { margin-bottom: 0; }

/* ---- Shared layout ---- */
.page { min-height: 100vh; background: #F6F1E9; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(246,241,233,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid #E5DCCC; }
.site-header-inner { max-width: 1180px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: 'Lora', serif; font-weight: 600; font-size: 28px; letter-spacing: -0.02em; color: #2B2622; }
.brand span { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 0.22em; color: #9A8E7A; text-transform: uppercase; padding-bottom: 3px; }
.mono { font-family: 'IBM Plex Mono', monospace; }

/* ---- Article page ---- */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.back-link { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.03em; color: #9A8E7A; text-decoration: none; margin-bottom: 26px; }
.back-link:hover { color: #C2683D; }
.article-hero { aspect-ratio: 16/7; border-radius: 10px; overflow: hidden; border: 1px solid #E5DCCC; margin-bottom: 30px; }
.article-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.article-title { font-family: 'Lora', serif; font-weight: 600; font-size: 40px; line-height: 1.12; letter-spacing: -0.02em; color: #211D19; margin: 12px 0 18px; }
.article-byline { display: flex; align-items: center; gap: 14px; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid #E9E1D2; }
.article-avatar { width: 40px; height: 40px; border-radius: 999px; background: #E6DCC9; display: flex; align-items: center; justify-content: center; font-family: 'Newsreader', serif; font-size: 17px; color: #7A6F5C; }
.article-lede { font-family: 'Newsreader', serif; font-size: 20px; line-height: 1.55; color: #4A4238; margin: 0 0 24px; font-style: italic; }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid #E9E1D2; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #A79E8E; }
.state-note { max-width: 760px; margin: 0 auto; padding: 90px 24px; text-align: center; color: #8E8474; font-size: 15px; }

@media (max-width: 640px) {
  .article-title { font-size: 30px; }
  .site-header-inner { padding: 14px 20px; }
}
