/* Boardroom Altar · Prayer & Blog. Editorial blog layout in the boardroomaltar.com palette:
   night navy, brushed gold, Bodoni display + Hanken Grotesk text. */
:root {
  --night: #0A1424;
  --navy: #13233D;
  --navy-line: rgba(255, 255, 255, .14);
  --gold: #C99A3E;
  --gold-bright: #E3BC6A;
  --gold-ink: #8A6420;
  --morning: #F4F5F7;
  --paper: #FFFFFF;
  --ink: #0F1B2D;
  --slate: #566175;
  --mist: #B7C1CF;
  --line: #E3E7ED;
  --display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1200px;
  --narrow: 760px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--display); letter-spacing: -.015em; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h1 em, h2 em { font-style: italic; color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(var(--narrow), 100% - 2 * var(--gutter)); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--night); font-weight: 600; }
.skip-link:focus { top: 12px; }

.label {
  margin: 0 0 12px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-ink);
}
.label-light { color: var(--gold-bright); }
.kicker {
  margin: 0 0 18px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-bright);
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold-bright); color: var(--night); }
.button-gold:hover { background: #F0CD82; }
.button-dark { background: var(--night); color: #fff; }
.button-dark:hover { background: var(--navy); }
.button-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Header ---------- */
.topbar { background: var(--night); color: var(--mist); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-tag { font-family: var(--display); font-style: italic; font-size: .92rem; color: #D5DCE6; }
.topbar a { color: var(--gold-bright); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  display: block; width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: #fff url('/assets/logo.jpeg') 50% 22% / 150% no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
}
.brand-name { font-family: var(--display); font-size: 1.25rem; line-height: 1.05; white-space: nowrap; color: var(--night); }
.brand-name b { font-weight: 500; color: var(--gold-ink); }
.brand-name small {
  display: block; margin-top: 4px;
  font-family: var(--sans); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--slate);
}
.navigation { display: flex; align-items: center; gap: 28px; }
.navigation > a { position: relative; font-size: .96rem; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; padding: 6px 0; }
.navigation > a:not(.nav-button):hover { color: var(--gold-ink); }
.navigation > a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.navigation .nav-button { padding: 10px 20px; border-radius: 999px; background: var(--night); color: #fff; }
.navigation .nav-button:hover { background: var(--navy); }

/* ---------- Home: featured story ---------- */
.feature { padding: clamp(24px, 4vw, 44px) 0 clamp(40px, 5vw, 64px); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: stretch; }
.feature-main {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(420px, 46vw, 560px);
  display: flex; align-items: flex-end;
  border-radius: var(--radius); background: var(--night); color: #fff;
}
.feature-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature-main:hover .feature-bg { transform: scale(1.03); }
.feature-main::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 36, .05) 20%, rgba(10, 20, 36, .7) 55%, rgba(10, 20, 36, .96) 100%);
}
.feature-main.no-img::before { background: radial-gradient(80% 80% at 85% 0%, rgba(227, 188, 106, .22), transparent 60%); }
.feature-body { padding: clamp(24px, 4vw, 44px); max-width: 46rem; }
.feature-main .card-meta { color: #D5DCE6; }
.feature-main h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; }
.feature-main h1 a { text-decoration: none; }
.feature-main h1 a::after { content: ''; position: absolute; inset: 0; }
.feature-main h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.feature-excerpt { margin: 16px 0 0; font-size: 1.12rem; color: #DCE2EA; }
.feature-by { margin: 18px 0 0; font-size: .9rem; font-weight: 600; color: var(--mist); }

.feature-side { display: flex; flex-direction: column; gap: 20px; }
.verse-card {
  flex: 1; display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius);
  color: #F3F5F8;
  background: radial-gradient(90% 70% at 100% 0%, rgba(227, 188, 106, .2), transparent 60%), var(--navy);
}
.verse-head {
  display: flex; justify-content: space-between; margin: 0 0 18px; padding-bottom: 12px;
  border-bottom: 1px solid var(--navy-line);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright);
}
.verse-text { margin: 0; font-family: var(--display); font-size: 1.32rem; font-style: italic; line-height: 1.45; }
.verse-ref { margin: 16px 0 24px; font-weight: 700; color: var(--gold-bright); }
.verse-card .button { margin-top: auto; align-self: flex-start; }
.join-box { padding: 22px 24px; border-radius: var(--radius); background: var(--morning); border-left: 3px solid var(--gold); }
.join-box .label { margin-bottom: 6px; }
.join-box p:not(.label) { margin: 0 0 10px; font-size: .98rem; color: var(--slate); }
.join-box a { font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.join-box a:hover { text-decoration: underline; }

/* ---------- Home: the two sections side by side ---------- */
.home-split { padding: clamp(40px, 6vw, 72px) 0; background: var(--morning); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.split-col { min-width: 0; }
.col-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px; padding-bottom: 14px;
  border-bottom: 2px solid var(--night);
  position: relative;
}
.col-head::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--gold); }
.col-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.col-head a { font-size: .92rem; font-weight: 700; color: var(--gold-ink); text-decoration: none; white-space: nowrap; }
.col-head a:hover { text-decoration: underline; }

.col-lead { margin-bottom: 8px; padding-bottom: 24px; }
.col-lead .card-img { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; }
.col-lead .card-img img, .col-lead .card-img-empty { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.col-lead:hover .card-img img { transform: scale(1.03); }
.col-lead h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.18; }
.col-lead h3 a { text-decoration: none; }
.col-lead h3 a:hover { color: var(--gold-ink); }
.col-lead .card-excerpt { margin-top: 10px; }

.row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.row-img { display: block; overflow: hidden; border-radius: 10px; }
.row-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.row:hover .row-img img { transform: scale(1.05); }
.row-img-empty { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--night); text-decoration: none; }
.row-img-empty span { font-family: var(--display); color: var(--gold-bright); font-size: 1.3rem; }
.row-meta { margin: 0 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.row-cat { color: var(--gold-ink); margin-right: 8px; }
.row h3 { font-family: var(--display); font-size: 1.16rem; line-height: 1.25; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { color: var(--gold-ink); }
.row-sub { margin: 4px 0 0; font-size: .88rem; font-weight: 600; color: var(--gold-ink); }

.empty-col {
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: var(--paper); border: 1px dashed #C9D1DC; text-align: center;
}
.empty-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--gold-bright); font-size: 1.4rem; }
.empty-col h3 { margin: 18px 0 8px; font-family: var(--display); font-size: 1.6rem; }
.empty-col p { margin: 0 auto 22px; max-width: 30rem; color: var(--slate); font-size: 1rem; }
.empty-note { padding: 24px; border-radius: var(--radius); background: var(--paper); color: var(--slate); }
.empty-note a { color: var(--gold-ink); font-weight: 600; }

/* ---------- Home: themes strip ---------- */
.themes-band { padding: clamp(40px, 6vw, 72px) 0; }
.theme-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.theme-card {
  display: flex; flex-direction: column; gap: 6px; min-height: 120px;
  padding: 18px 16px; border-radius: 12px; text-decoration: none;
  background: var(--morning); border-top: 3px solid var(--gold);
  transition: background-color .2s, transform .2s;
}
.theme-card:hover { background: var(--night); color: #fff; transform: translateY(-2px); }
.theme-card span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.theme-card:hover span { color: var(--gold-bright); }
.theme-card strong { font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.25; }

/* ---------- Cards (blog + prayer index pages) ---------- */
.home-section { padding: clamp(48px, 7vw, 88px) 0; }
.home-section.alt { background: var(--morning); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head a { font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; background: transparent; }
.card-img { display: block; overflow: hidden; border-radius: var(--radius); }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 18px 0 0; }
.card-meta { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.card h3 { font-family: var(--display); font-size: 1.45rem; line-height: 1.2; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold-ink); }
.card-ref { margin: 8px 0; font-size: .92rem; font-weight: 600; color: var(--gold-ink); }
.card-excerpt { margin: 0; font-size: 1rem; color: var(--slate); }
.card-byline { margin: 12px 0 0; font-size: .85rem; font-weight: 600; color: var(--slate); }
.card-img-empty {
  display: grid; place-items: center; aspect-ratio: 16 / 9; text-decoration: none;
  background: radial-gradient(80% 80% at 80% 0%, rgba(227, 188, 106, .25), transparent 60%), var(--night);
}
.card-img-empty span { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.card-img-empty b { font-weight: 500; color: var(--gold-bright); }
.blog-lead { margin-bottom: 40px; }
.blog-lead .card-large { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.blog-lead .card-large .card-body { padding: 0; }
.card-large h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.tag { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; letter-spacing: .1em; text-decoration: none; }
.tag-prayer { background: var(--night); color: var(--gold-bright); }
.tag-blog { background: rgba(201, 154, 62, .16); color: var(--gold-ink); }
.tag-gold { background: var(--gold-bright); color: var(--night); }
a.tag-blog:hover { background: rgba(201, 154, 62, .28); }
a.tag-prayer:hover { background: var(--navy); }

.chip {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold-ink);
  font-size: .82rem; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.chip:hover { background: rgba(201, 154, 62, .12); }
.chip-on { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--night) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Post + article pages: reading column + sidebar ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 88px); }
.post { min-width: 0; max-width: 760px; }
.crumbs { margin: 0 0 20px; font-size: .84rem; font-weight: 600; color: var(--slate); }
.crumbs a { color: var(--gold-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; }
.post-dek { margin: 18px 0 0; font-size: 1.22rem; line-height: 1.55; color: var(--slate); }
.byline { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; line-height: 1.45; color: var(--slate); }
.byline strong { color: var(--ink); }
.byline-mark { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #fff url('/assets/logo.jpeg') 50% 22% / 150% no-repeat; box-shadow: inset 0 0 0 1px var(--line); }

.post-body { padding-top: 32px; }
.post-image { margin: 0 0 36px; }
.post-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-image figcaption { margin-top: 8px; font-size: .8rem; color: var(--slate); text-align: right; }
.post-image figcaption a { color: inherit; }
.scripture {
  margin: 0 0 40px; padding: 28px clamp(22px, 4vw, 36px);
  border-radius: var(--radius); background: var(--morning);
  border-left: 4px solid var(--gold);
}
.scripture.after-image { margin-top: 0; }
.scripture p { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-style: italic; line-height: 1.45; }
.scripture cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--gold-ink); }
.reflection > p:first-child::first-letter {
  float: left; margin: 6px 12px 0 0;
  font-family: var(--display); font-size: 4.2rem; line-height: .8; color: var(--gold-ink);
}
.prose p { margin: 0 0 1.25em; }
.prose h2, .prose h3 { font-family: var(--display); margin: 1.6em 0 .5em; line-height: 1.2; }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.45rem; }
.prose a { color: var(--gold-ink); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--display); font-size: 1.3rem; font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-body.after-image { margin-top: 0; }
.article-tags { margin-top: 32px; }

.prayer {
  margin: 44px 0; padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius); color: #F3F5F8;
  background: radial-gradient(80% 60% at 100% 0%, rgba(227, 188, 106, .16), transparent 60%), var(--navy);
}
.prayer .label { color: var(--gold-bright); }
.prayer p { margin: 0 0 1em; font-family: var(--display); font-size: 1.22rem; line-height: 1.6; }
.prayer p:last-child { margin-bottom: 0; }
.declarations ul { list-style: none; margin: 0; padding: 0; }
.declarations li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); font-weight: 600; }
.declarations li::before { content: '✦'; position: absolute; left: 4px; top: 14px; color: var(--gold); }
.action { margin: 40px 0 0; padding: 24px 26px; border-radius: var(--radius); background: var(--morning); border-left: 4px solid var(--gold); }
.action p { margin: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.share span { margin-right: 6px; font-weight: 700; color: var(--slate); }
.share a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; text-decoration: none; color: var(--ink); }
.share a:hover { border-color: var(--gold); color: var(--gold-ink); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pager a { display: block; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-size: 1.1rem; line-height: 1.3; }
.pager a:hover { border-color: var(--gold); }
.pager small { display: block; margin-bottom: 6px; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.pager-next { text-align: right; grid-column: 2; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.side-box { padding: 24px; border-radius: var(--radius); background: var(--morning); }
.side-title {
  margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid var(--night);
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.side-about { text-align: center; }
.side-about .brand-mark { margin: 0 auto 12px; width: 64px; height: 64px; border-radius: 50%; }
.side-about h2 { font-size: 1.4rem; }
.side-about h2 b { font-weight: 500; color: var(--gold-ink); }
.side-about p { margin: 10px 0 14px; font-size: .94rem; line-height: 1.6; color: var(--slate); }
.side-about a, .side-more { font-size: .9rem; font-weight: 700; color: var(--gold-ink); text-decoration: none; }
.side-about a:hover, .side-more:hover { text-decoration: underline; }
.side-more { display: inline-block; margin-top: 12px; }
.sidebar .row { grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; }
.sidebar .row:first-of-type { border-top: 0; }
.sidebar .row h3 { font-size: 1rem; }
.sidebar .row-sub { font-size: .8rem; }
.side-join { color: #fff; background: radial-gradient(80% 60% at 100% 0%, rgba(227, 188, 106, .2), transparent 60%), var(--night); }
.side-join h2 { font-size: 1.7rem; }
.side-join h2 em { color: var(--gold-bright); }
.side-join p:not(.label) { margin: 10px 0 18px; font-size: .94rem; line-height: 1.6; color: #C6CFDB; }

/* ---------- Archive pages ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); color: #fff; background: radial-gradient(70% 80% at 90% 0%, rgba(227, 188, 106, .14), transparent 60%), var(--night); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; }
.page-head h1 em { color: var(--gold-bright); }
.page-head p { color: #C6CFDB; }
.page-head a { color: var(--gold-bright); }
.page-head .chip { color: var(--gold-bright); }
.archive { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); }
.month { font-size: 1.7rem; margin: 36px 0 12px; }
.month:first-child { margin-top: 0; }
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.archive-list time { font-size: .9rem; font-weight: 600; color: var(--slate); }
.archive-list a { font-family: var(--display); font-size: 1.2rem; text-decoration: none; line-height: 1.3; }
.archive-list a:hover { color: var(--gold-ink); }
.archive-list span { font-size: .88rem; color: var(--gold-ink); font-weight: 600; white-space: nowrap; }

/* ---------- CTA + footer ---------- */
.cta { padding: clamp(56px, 8vw, 96px) 0; color: #fff; background: radial-gradient(80% 60% at 85% 0%, rgba(227, 188, 106, .16), transparent 60%), var(--night); }
.cta h2 em { color: var(--gold-bright); }
.cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.cta-inner p:not(.label) { max-width: 36rem; margin: 16px 0 0; color: #C6CFDB; }
.site-footer { padding: 48px 0 32px; color: var(--mist); background: #070F1C; font-size: .95rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { margin: 0; font-family: var(--display); font-size: 1.4rem; color: #fff; }
.footer-brand b { font-weight: 500; color: var(--gold-bright); }
.footer-tag { margin: 4px 0 0; font-style: italic; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.site-footer nav a { text-decoration: none; color: #E3E8EF; }
.site-footer nav a:hover { color: var(--gold-bright); }
.footer-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--navy-line); font-size: .85rem; color: #8C96A5; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .theme-grid { grid-template-columns: repeat(4, 1fr); }
  .post-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 960px) {
  .hide-md { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-side { flex-direction: row; }
  .feature-side > * { flex: 1; }
  .split-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .blog-lead .card-large { grid-template-columns: 1fr; gap: 0; }
  .blog-lead .card-large .card-body { padding-top: 18px; }
  .post-layout { grid-template-columns: 1fr; }
  .post { max-width: none; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hide-sm { display: none; }
  .topbar-inner { font-size: .76rem; }
  .navigation { gap: 16px; }
  .navigation > a:not(.nav-button) { font-size: .9rem; }
  .feature-side { flex-direction: column; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .archive-list li { grid-template-columns: 70px 1fr; }
  .archive-list span { grid-column: 2; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { grid-column: auto; text-align: left; }
  .row { grid-template-columns: 96px 1fr; gap: 14px; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .brand-name { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .navigation { gap: 12px; }
  .navigation > a:not(.nav-button) { font-size: .86rem; }
  .navigation .nav-button { padding: 8px 14px; font-size: .88rem; }
  .feature-main { min-height: 440px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
