:root {
  --bg: #050608;
  --panel: #0a0b0e;
  --panel-soft: #101218;
  --text: #eee7dd;
  --muted: #a69b8f;
  --faint: #675f57;
  --gold: #b88b4f;
  --gold-soft: rgba(184,139,79,.22);
  --border: rgba(184,139,79,.28);
  --border-soft: rgba(255,255,255,.08);
  --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top, #101219 0, #050608 42rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
.site-shell { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus { left: 16px; top: 16px; z-index: 99; background: var(--text); color: var(--bg); padding: 8px 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5,6,8,.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: grid; gap: 4px; }
.site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.site-tagline { color: var(--muted); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.primary-menu a { color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }
.primary-menu a:hover { color: var(--gold); }
.button,
.primary-menu > li:last-child > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border: 1px solid var(--gold);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  background: transparent;
}
.primary-menu > li:last-child > a { color: var(--gold); }
.button--gold { background: var(--gold-soft); color: var(--text); }
.button--outline:hover, .button--gold:hover, .primary-menu > li:last-child > a:hover { background: var(--gold); color: #090909; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border); width: 44px; height: 44px; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 1px; background: var(--text); margin: 6px 8px; }

.home-hero { padding: 36px 0 16px; }
.hero-card {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1fr);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #090a0d, #11131a 52%, #06070a);
  overflow: hidden;
}
.hero-card__content { padding: clamp(28px, 5vw, 60px); align-self: center; }
.eyebrow, .post-meta {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 700;
}
.hero-card h1, .single-header h1, .archive-header h1, .section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}
.hero-card h1 { font-size: clamp(42px, 6vw, 72px); margin: 18px 0; max-width: 760px; }
.hero-card p { color: var(--muted); max-width: 640px; }
.hero-subtitle { font-size: 22px; color: var(--text) !important; }
.hero-card__image { min-height: 360px; position: relative; background: #111; }
.hero-card__image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) contrast(1.08); }
.hero-placeholder, .thumb-placeholder { width: 100%; height: 100%; min-height: 240px; display: block; background: linear-gradient(135deg, #171923, #090a0d); }

.home-grid { padding: 28px 0 12px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 18px 0; border-bottom: 1px solid var(--border); }
.section-heading h2 { margin: 0; padding-bottom: 12px; font-size: 24px; text-transform: uppercase; letter-spacing: .16em; }
.section-heading a { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-card { border: 1px solid var(--border-soft); background: rgba(10,11,14,.86); }
.post-card__thumb { display: block; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #111; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78) contrast(1.08); transition: transform .25s ease; }
.post-card:hover img { transform: scale(1.03); }
.post-card__body { padding: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.post-meta a { color: var(--gold); }
.post-card__title { font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.14; margin: 10px 0; }
.post-card p { color: var(--muted); margin: 0; font-size: 14px; }
.premium-badge { position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.7); border: 1px solid var(--gold); color: var(--gold); padding: 5px 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.sidebar-panel { border: 1px solid var(--border); padding: 26px; background: var(--panel); align-self: start; position: sticky; top: 124px; }
.sidebar-panel h2 { font-family: Georgia, "Times New Roman", serif; font-size: 30px; margin-top: 0; }
.sidebar-panel p { color: var(--muted); }
.video-section, .archive-layout { padding: 32px 0 64px; }

.archive-header { padding: 58px 0 18px; border-bottom: 1px solid var(--border); }
.archive-header h1 { font-size: clamp(42px, 5vw, 68px); margin: 12px 0; }
.archive-header p { color: var(--muted); }
.single-post, .page-content { max-width: 920px; padding: 54px 0 80px; }
.single-header { margin-bottom: 34px; }
.single-header h1 { font-size: clamp(44px, 7vw, 76px); margin: 16px 0; }
.single-subtitle { color: var(--muted); font-size: 22px; }
.single-featured-image { margin: 0 0 34px; border: 1px solid var(--border); }
.single-featured-image img { width: 100%; }
.single-content { font-size: 19px; color: #e4ded5; }
.single-content a { color: var(--gold); text-decoration: underline; }
.single-content p, .single-content ul, .single-content ol { margin-bottom: 1.25em; }
.single-content iframe { max-width: 100%; }
.premium-notice { border: 1px solid var(--gold); background: var(--gold-soft); padding: 22px; margin-bottom: 34px; }
.premium-notice p { color: var(--muted); }
.single-footer { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { border: 1px solid var(--border); padding: 5px 10px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; gap: 10px; }
.page-numbers { border: 1px solid var(--border); padding: 8px 12px; color: var(--muted); }
.page-numbers.current { color: var(--gold); }

.site-footer { border-top: 1px solid var(--border); padding: 44px 0; background: #040506; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; color: var(--muted); }
.footer-title { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 30px; margin-bottom: 8px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

@media (max-width: 980px) {
  .site-shell { width: min(100% - 28px, var(--max)); }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 14px; right: 14px; top: 82px; background: var(--panel); border: 1px solid var(--border); padding: 18px; flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-menu { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-card, .home-grid, .site-footer__grid { grid-template-columns: 1fr; }
  .post-grid, .post-grid--four { grid-template-columns: 1fr 1fr; }
  .sidebar-panel { position: static; }
}
@media (max-width: 640px) {
  .post-grid, .post-grid--four { grid-template-columns: 1fr; }
  .site-header__inner { min-height: 78px; }
  .site-title { font-size: 26px; }
  .site-tagline { display: none; }
  .hero-card { min-height: 0; }
  .hero-card__image { min-height: 220px; }
  .admin-bar .site-header { top: 0; }
}
