:root { --accent: #facc15; --bg: #0f172a; --panel: #151e32; --line: rgba(255,255,255,.08); --ink: #cbd5e1; --muted: #94a3b8; --white: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--white); line-height: 1.2; margin: 0; }
h1, .prose h2, .cta h2, .related h2, .author-box h2 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(15,23,42,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font: 700 clamp(1.05rem, 3.6vw, 1.45rem)/1.2 "Playfair Display", Georgia, serif; color: var(--white); text-decoration: none; letter-spacing: .03em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: clamp(14px, 4vw, 40px); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

.hero { padding: clamp(56px, 9vw, 110px) 20px clamp(44px, 7vw, 72px); text-align: center; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4rem); margin: 16px auto 18px; max-width: 840px; }
.hero p { color: var(--muted); font-size: 1.1rem; margin: 0 auto; max-width: 640px; }
.hero a { color: var(--accent); }

.listing { max-width: 1140px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 20px; min-height: 50vh; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s; }
.card:hover { border-color: var(--accent); }
.card-image { display: block; overflow: hidden; }
.card-image img { width: 100%; aspect-ratio: 40 / 21; object-fit: cover; transition: transform .5s; }
.card:hover .card-image img { transform: scale(1.04); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.card h2 { font: 700 1.18rem/1.35 Inter, system-ui, sans-serif; margin-bottom: 12px; }
.card h2 a { text-decoration: none; }
.card:hover h2 a { color: var(--accent); }
.card p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0 0 18px; flex: 1; }
.card-foot { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); }
.card-foot a { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 60px 20px; border: 1px dashed var(--line); }

.pagination { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px; font-size: .85rem; color: var(--muted); }
.pagination a { padding: 9px 16px; border: 1px solid var(--line); color: var(--white); font-weight: 700; text-decoration: none; }
.pagination a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.post { padding-bottom: 72px; }
.post-head { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vw, 76px) 20px 36px; text-align: center; }
.crumbs { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(2.05rem, 6vw, 3.5rem); margin-bottom: 22px; }
.post-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.post-meta a { color: var(--white); }
.post-meta span { margin: 0 6px; }
.post-image { max-width: 1000px; margin: 0 auto 48px; padding: 0 20px; }
.post-image img { width: 100%; border: 1px solid var(--line); }
.post-column { max-width: 740px; margin: 0 auto; padding: 0 20px; }

.prose { margin-bottom: 56px; font-size: 1.07rem; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.55rem, 4vw, 2rem); margin: 2.6em 0 .7em; }
.prose h3 { font-size: 1.28rem; font-weight: 600; margin: 1.9em 0 .6em; }
.prose p { margin: 0 0 1.35em; line-height: 1.85; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.prose li { margin-bottom: .55em; line-height: 1.75; }
.prose li::marker { color: var(--accent); }
.prose strong { color: #e2e8f0; font-weight: 600; }
.prose a { color: var(--accent); text-underline-offset: 3px; }

.cta { padding: clamp(26px, 5vw, 42px); margin-bottom: 44px; background: #10182b; border: 1px solid var(--accent); border-radius: 20px; }
.cta h2 { font-size: clamp(1.55rem, 4.4vw, 2rem); margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0 0 22px; }
.cta ul { list-style: none; margin: 0 0 28px; padding: 0; }
.cta li { position: relative; padding-left: 28px; margin-bottom: 11px; color: #e2e8f0; }
.cta li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cta-button { display: block; padding: 15px 20px; background: var(--accent); color: var(--bg); text-align: center; font-weight: 700; text-decoration: none; border-radius: 11px; transition: transform .2s; }
.cta-button:hover { transform: translateY(-2px); }

.author-box { display: flex; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--panel); border: 2px solid var(--accent); color: var(--white); font-size: 1.4rem; font-weight: 600; }
.author-box h2 { font-size: 1.4rem; margin-bottom: 4px; }
.author-role { color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.author-box p:not(.author-role) { color: var(--muted); font-size: .92rem; line-height: 1.65; margin: 0 0 16px; }
.outline-button { display: inline-block; padding: 8px 16px; border: 1px solid rgba(255,255,255,.2); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.outline-button:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.related { padding-top: 40px; }
.related h2 { font-size: 1.55rem; margin-bottom: 18px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.related a { text-decoration: none; }
.related a:hover { color: var(--accent); }

.footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.footer strong { color: var(--white); }
.footer p { margin: 0 0 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a:hover { color: var(--accent); }
.small { font-size: .78rem; }

@media (max-width: 560px) {
  .author-box { flex-direction: column; gap: 16px; }
}
