/* ============================================================
   LORD FIIFI QUAYLE — AFRICA MACRO INTELLIGENCE
   Main Stylesheet v1.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Mono:wght@300;400;500&family=Instrument+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:       #0a0f1e;
  --navy-mid:   #111827;
  --navy-light: #1a2540;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --cream:      #f7f3eb;
  --text-muted: #8a9ab5;
  --border:     rgba(201,168,76,0.18);
  --border-dim: rgba(201,168,76,0.08);
  --green:      #4ade80;
  --red:        #f87171;
  --amber:      #fbbf24;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Instrument Sans', sans-serif;
  background:var(--navy);
  color:var(--cream);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }

/* ── NAV ── */
#site-nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 5vw; height:72px;
  background:rgba(10,15,30,0.93);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
  transition:background 0.3s;
}
.nav-logo {
  font-family:'Playfair Display', serif;
  font-size:1.05rem; font-weight:700;
  color:var(--gold); letter-spacing:0.04em;
}
.nav-logo span { color:var(--cream); font-weight:400; }
.nav-links {
  display:flex; gap:2.2rem; align-items:center; list-style:none;
}
.nav-links a {
  font-size:0.76rem; font-weight:500;
  letter-spacing:0.12em; text-transform:uppercase;
  color:var(--text-muted); transition:color 0.2s;
}
.nav-links a:hover,
.nav-links a.current-menu-item { color:var(--gold); }
.nav-cta {
  font-size:0.74rem !important; font-weight:600 !important;
  color:var(--navy) !important;
  background:var(--gold); padding:0.55rem 1.4rem;
  border-radius:2px; transition:background 0.2s;
}
.nav-cta:hover { background:var(--gold-light) !important; }
.nav-hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; padding:4px;
}
.nav-hamburger span {
  display:block; width:24px; height:2px;
  background:var(--cream); border-radius:2px;
  transition:all 0.3s;
}

/* ── TICKER ── */
.site-ticker {
  position:fixed; top:72px; left:0; right:0; z-index:199;
  background:rgba(201,168,76,0.07);
  border-bottom:1px solid var(--border);
  padding:0.55rem 0; overflow:hidden; white-space:nowrap;
}
.ticker-track {
  display:inline-block;
  animation:ticker 50s linear infinite;
  font-family:'DM Mono', monospace;
  font-size:0.68rem; letter-spacing:0.06em; color:var(--gold);
}
@keyframes ticker { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
.ticker-item { margin-right:4rem; }
.ticker-up   { color:var(--green); }
.ticker-down { color:var(--red); }

/* ── PAGE OFFSET ── */
.page-offset { padding-top:106px; } /* nav 72px + ticker 34px */

/* ── HERO ── */
.site-hero {
  min-height:100vh;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:106px 5vw 8vh;
  position:relative; overflow:hidden;
}
.hero-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(201,168,76,0.05) 0%, transparent 50%),
    linear-gradient(160deg,#0a0f1e 0%,#111827 50%,#0d1526 100%);
}
.hero-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size:80px 80px;
  mask-image:linear-gradient(to bottom,transparent 0%,black 30%,black 70%,transparent 100%);
}
.hero-content { position:relative; z-index:2; max-width:860px; }
.hero-eyebrow {
  font-family:'DM Mono', monospace;
  font-size:0.7rem; letter-spacing:0.22em; text-transform:uppercase;
  color:var(--gold); margin-bottom:1.8rem;
  display:flex; align-items:center; gap:1rem;
}
.hero-eyebrow::before {
  content:''; display:block; width:40px; height:1px; background:var(--gold);
}
.hero-title {
  font-family:'Playfair Display', serif;
  font-size:clamp(3rem,6vw,5.5rem); font-weight:900;
  line-height:1.06; color:var(--cream); margin-bottom:1.6rem;
  letter-spacing:-0.01em;
}
.hero-title em { font-style:italic; color:var(--gold); }
.hero-sub {
  font-family:'Cormorant Garamond', serif;
  font-size:clamp(1.1rem,2vw,1.45rem); font-weight:300;
  line-height:1.65; color:var(--text-muted);
  max-width:600px; margin-bottom:3rem;
}
.hero-actions { display:flex; gap:1.2rem; flex-wrap:wrap; }
.hero-stats {
  position:absolute; right:5vw; bottom:8vh;
  display:flex; flex-direction:column; gap:1.5rem; z-index:2;
}
.stat-card {
  background:rgba(255,255,255,0.03); border:1px solid var(--border);
  padding:1.2rem 1.6rem; border-radius:4px;
  text-align:right; min-width:160px; backdrop-filter:blur(8px);
}
.stat-val { font-family:'DM Mono',monospace; font-size:1.5rem; font-weight:500; color:var(--gold); display:block; }
.stat-label { font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-muted); margin-top:0.3rem; display:block; }
.stat-change { font-family:'DM Mono',monospace; font-size:0.72rem; margin-top:0.2rem; display:block; }
.text-up  { color:var(--green); }
.text-dn  { color:var(--red); }

/* ── BUTTONS ── */
.btn-primary {
  display:inline-block;
  font-size:0.78rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase;
  background:var(--gold); color:var(--navy);
  padding:0.9rem 2.2rem; border-radius:2px;
  transition:background 0.2s, transform 0.2s;
}
.btn-primary:hover { background:var(--gold-light); transform:translateY(-1px); }
.btn-ghost {
  display:inline-block;
  font-size:0.78rem; font-weight:500; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--cream); border:1px solid rgba(247,243,235,0.25);
  padding:0.9rem 2.2rem; border-radius:2px;
  transition:border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); }

/* ── SECTION BASE ── */
.section-wrap { padding:7rem 5vw; }
.section-wrap--dark    { background:var(--navy); }
.section-wrap--mid     { background:var(--navy-mid); }
.section-wrap--darkest { background:#050810; }
.section-label {
  font-family:'DM Mono', monospace;
  font-size:0.68rem; letter-spacing:0.22em; text-transform:uppercase;
  color:var(--gold); margin-bottom:1rem;
  display:flex; align-items:center; gap:0.8rem;
}
.section-label::before { content:''; display:block; width:28px; height:1px; background:var(--gold); }
.section-title {
  font-family:'Playfair Display', serif;
  font-size:clamp(2rem,3.5vw,3rem); font-weight:700;
  line-height:1.15; color:var(--cream); margin-bottom:1rem;
}
.section-title em { font-style:italic; color:var(--gold); }
.section-desc {
  font-family:'Cormorant Garamond', serif;
  font-size:1.15rem; font-weight:300; line-height:1.7;
  color:var(--text-muted); max-width:520px; margin-bottom:3.5rem;
}

/* ── FRAMEWORKS GRID ── */
.frameworks-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1.5px; border:1.5px solid var(--border);
  border-radius:6px; overflow:hidden;
}
.fw-card {
  background:rgba(255,255,255,0.02);
  padding:2.8rem 2.2rem;
  border-right:1.5px solid var(--border);
  position:relative; overflow:hidden;
  transition:background 0.3s;
}
.fw-card:nth-child(3n) { border-right:none; }
.fw-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:var(--gold); transform:scaleX(0); transform-origin:left;
  transition:transform 0.4s ease;
}
.fw-card:hover { background:rgba(201,168,76,0.04); }
.fw-card:hover::before { transform:scaleX(1); }
.fw-num { font-family:'DM Mono',monospace; font-size:0.65rem; letter-spacing:0.15em; color:var(--gold); opacity:0.5; margin-bottom:1.4rem; }
.fw-icon { font-size:1.8rem; margin-bottom:1.2rem; display:block; }
.fw-card h3 { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; color:var(--cream); margin-bottom:0.8rem; line-height:1.3; }
.fw-card p  { font-family:'Cormorant Garamond',serif; font-size:1rem; font-weight:300; line-height:1.65; color:var(--text-muted); }
.fw-link {
  display:inline-flex; align-items:center; gap:0.5rem;
  margin-top:1.5rem; font-size:0.72rem; letter-spacing:0.1em;
  text-transform:uppercase; font-weight:600; color:var(--gold);
  transition:gap 0.2s;
}
.fw-link:hover { gap:0.8rem; }

/* ── ARTICLES / INTELLIGENCE ── */
.intel-header {
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom:3rem; flex-wrap:wrap; gap:1.5rem;
}
.intel-filters { display:flex; gap:0.5rem; flex-wrap:wrap; }
.filter-btn {
  font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:600;
  padding:0.45rem 1.1rem; border-radius:100px;
  border:1px solid var(--border); background:transparent; color:var(--text-muted);
  cursor:pointer; transition:all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background:var(--gold); color:var(--navy); border-color:var(--gold);
}
.articles-grid {
  display:grid; grid-template-columns:2fr 1fr;
  gap:1.5px; border:1.5px solid var(--border);
  border-radius:6px; overflow:hidden;
}
.art-featured {
  background:rgba(255,255,255,0.02); padding:3rem;
  border-right:1.5px solid var(--border);
  display:flex; flex-direction:column; justify-content:space-between;
  min-height:460px; position:relative; overflow:hidden;
  transition:background 0.3s;
}
.art-featured:hover { background:rgba(201,168,76,0.03); }
.art-side { display:flex; flex-direction:column; }
.art-mini {
  background:rgba(255,255,255,0.02); padding:1.8rem 2rem;
  border-bottom:1.5px solid var(--border); flex:1; transition:background 0.2s;
}
.art-mini:last-child { border-bottom:none; }
.art-mini:hover { background:rgba(201,168,76,0.03); }
.art-cat {
  font-family:'DM Mono',monospace; font-size:0.63rem;
  letter-spacing:0.15em; text-transform:uppercase;
  color:var(--gold); margin-bottom:0.8rem; display:block;
}
.art-featured h3 {
  font-family:'Playfair Display',serif; font-size:1.75rem; font-weight:700;
  line-height:1.2; color:var(--cream); margin-bottom:1rem; position:relative; z-index:1;
}
.art-featured .art-excerpt {
  font-family:'Cormorant Garamond',serif; font-size:1.05rem;
  font-weight:300; line-height:1.7; color:var(--text-muted);
  position:relative; z-index:1; max-width:520px;
}
.art-mini h4 {
  font-family:'Playfair Display',serif; font-size:1rem; font-weight:600;
  line-height:1.3; color:var(--cream); margin-bottom:0.5rem;
}
.art-mini .art-excerpt {
  font-family:'Cormorant Garamond',serif; font-size:0.9rem;
  font-weight:300; line-height:1.55; color:var(--text-muted);
}
.art-meta {
  display:flex; align-items:center; gap:1rem; margin-top:1.5rem;
  position:relative; z-index:1;
}
.art-date { font-family:'DM Mono',monospace; font-size:0.68rem; color:var(--text-muted); }
.art-read {
  font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:600;
  color:var(--gold); display:inline-flex; align-items:center; gap:0.4rem; margin-left:auto;
  transition:gap 0.2s;
}
.art-read:hover { gap:0.7rem; }

/* ── POSTS ARCHIVE (Intelligence page) ── */
.posts-archive { padding:4rem 5vw; background:var(--navy-mid); }
.posts-archive-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1.5px; border:1.5px solid var(--border);
  border-radius:6px; overflow:hidden;
}
.post-card {
  background:rgba(255,255,255,0.02); padding:2.2rem;
  border-right:1.5px solid var(--border);
  border-bottom:1.5px solid var(--border);
  transition:background 0.25s;
}
.post-card:nth-child(3n) { border-right:none; }
.post-card:hover { background:rgba(201,168,76,0.04); }
.post-card h4 {
  font-family:'Playfair Display',serif; font-size:1.05rem; font-weight:600;
  line-height:1.3; color:var(--cream); margin-bottom:0.7rem;
}
.post-card .post-excerpt {
  font-family:'Cormorant Garamond',serif; font-size:0.92rem;
  font-weight:300; line-height:1.6; color:var(--text-muted); margin-bottom:1rem;
}
.post-pagination {
  display:flex; justify-content:center; gap:0.5rem;
  padding:3rem 0; align-items:center;
}
.post-pagination a, .post-pagination span {
  font-family:'DM Mono',monospace; font-size:0.75rem;
  padding:0.6rem 1rem; border:1px solid var(--border);
  border-radius:3px; color:var(--text-muted); transition:all 0.2s;
}
.post-pagination a:hover, .post-pagination .current {
  background:var(--gold); color:var(--navy); border-color:var(--gold);
}

/* ── SINGLE POST ── */
.single-post { padding-top:106px; }
.post-hero {
  padding:5rem 5vw 4rem; background:var(--navy);
  border-bottom:1px solid var(--border); position:relative; overflow:hidden;
}
.post-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.post-hero .art-cat { position:relative; z-index:2; }
.post-hero h1 {
  font-family:'Playfair Display',serif;
  font-size:clamp(2.2rem,5vw,4rem); font-weight:900;
  line-height:1.1; color:var(--cream);
  max-width:860px; margin-bottom:1.5rem;
  position:relative; z-index:2;
}
.post-hero-meta {
  display:flex; align-items:center; gap:2rem; flex-wrap:wrap;
  position:relative; z-index:2;
}
.post-author { display:flex; align-items:center; gap:0.8rem; }
.post-author img { width:36px; height:36px; border-radius:50%; border:1px solid var(--border); object-fit:cover; }
.post-author-name { font-size:0.82rem; font-weight:600; color:var(--cream); }
.post-author-title { font-size:0.72rem; color:var(--text-muted); }
.post-date-tag { font-family:'DM Mono',monospace; font-size:0.68rem; color:var(--text-muted); }
.post-reading-time { font-family:'DM Mono',monospace; font-size:0.68rem; color:var(--gold); }

.post-body-wrap {
  display:grid; grid-template-columns:1fr 300px;
  gap:5rem; padding:5rem 5vw; max-width:1200px; margin:0 auto;
}
.post-content { min-width:0; }
.post-content p {
  font-family:'Cormorant Garamond',serif;
  font-size:1.2rem; font-weight:300; line-height:1.9;
  color:var(--text-muted); margin-bottom:1.6rem;
}
.post-content h2 {
  font-family:'Playfair Display',serif; font-size:1.8rem; font-weight:700;
  color:var(--cream); margin:2.5rem 0 1rem; line-height:1.2;
}
.post-content h3 {
  font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:600;
  color:var(--cream); margin:2rem 0 0.8rem; line-height:1.25;
}
.post-content h4 { font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:600; color:var(--gold); margin:1.5rem 0 0.6rem; }
.post-content strong { color:var(--cream); font-weight:600; }
.post-content em { color:var(--gold); font-style:italic; }
.post-content blockquote {
  border-left:3px solid var(--gold); padding:1rem 0 1rem 2rem;
  margin:2rem 0; background:rgba(201,168,76,0.04);
}
.post-content blockquote p {
  font-family:'Playfair Display',serif; font-size:1.3rem;
  font-style:italic; color:var(--cream); margin-bottom:0;
}
.post-content ul, .post-content ol {
  padding-left:1.5rem; margin-bottom:1.5rem;
}
.post-content ul li, .post-content ol li {
  font-family:'Cormorant Garamond',serif; font-size:1.1rem;
  font-weight:300; line-height:1.7; color:var(--text-muted);
  margin-bottom:0.5rem;
}
.post-content a { color:var(--gold); text-decoration:underline; text-underline-offset:3px; }
.post-content hr { border:none; border-top:1px solid var(--border); margin:3rem 0; }
.post-content figure { margin:2.5rem 0; }
.post-content figure img { border-radius:4px; border:1px solid var(--border); }
.post-content figcaption { font-family:'DM Mono',monospace; font-size:0.7rem; color:var(--text-muted); margin-top:0.6rem; text-align:center; }

.post-sidebar { position:sticky; top:120px; height:fit-content; }
.sidebar-card {
  background:rgba(255,255,255,0.02); border:1px solid var(--border);
  border-radius:6px; padding:1.8rem; margin-bottom:1.5rem;
}
.sidebar-title {
  font-family:'DM Mono',monospace; font-size:0.62rem;
  letter-spacing:0.18em; text-transform:uppercase;
  color:var(--gold); margin-bottom:1.2rem;
}
.sidebar-post { margin-bottom:1rem; padding-bottom:1rem; border-bottom:1px solid var(--border); }
.sidebar-post:last-child { margin-bottom:0; padding-bottom:0; border-bottom:none; }
.sidebar-post .art-cat { font-size:0.58rem; margin-bottom:0.4rem; }
.sidebar-post h6 { font-family:'Playfair Display',serif; font-size:0.88rem; font-weight:600; color:var(--cream); line-height:1.3; }
.sidebar-post h6 a { transition:color 0.2s; }
.sidebar-post h6 a:hover { color:var(--gold); }

/* ── PULLQUOTE ── */
.pullquote-section {
  background:var(--gold); padding:6rem 5vw; text-align:center;
}
.pullquote-section blockquote {
  font-family:'Playfair Display',serif;
  font-size:clamp(1.5rem,3vw,2.5rem); font-weight:700;
  line-height:1.3; font-style:italic;
  color:var(--navy); max-width:900px; margin:0 auto 1.5rem;
}
.pullquote-attr {
  font-family:'DM Mono',monospace; font-size:0.72rem;
  letter-spacing:0.15em; text-transform:uppercase;
  color:rgba(10,15,30,0.55);
}

/* ── BOOK SECTION ── */
.book-layout { display:grid; grid-template-columns:1fr 1.6fr; gap:6rem; align-items:center; }
.book-mockup {
  width:100%; max-width:300px;
  background:linear-gradient(135deg,#1a2540 0%,#0a0f1e 100%);
  border:1px solid var(--border); border-radius:4px;
  padding:2.5rem 2rem;
  box-shadow:-20px 20px 60px rgba(0,0,0,0.6);
}
.book-mockup .bt { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:900; color:var(--gold); line-height:1.2; margin-bottom:0.5rem; }
.book-mockup .bs { font-family:'Cormorant Garamond',serif; font-size:0.9rem; font-weight:300; color:var(--text-muted); margin-bottom:2rem; }
.book-mockup .bstripe { height:3px; background:var(--gold); margin-bottom:1.5rem; }
.book-mockup .ba { font-family:'DM Mono',monospace; font-size:0.7rem; letter-spacing:0.1em; color:var(--text-muted); }
.book-info h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3vw,2.6rem); font-weight:700; line-height:1.15; color:var(--cream); margin-bottom:1.2rem; }
.book-info h2 em { font-style:italic; color:var(--gold); }
.book-info p { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:300; line-height:1.75; color:var(--text-muted); margin-bottom:1.2rem; }
.book-tags { display:flex; gap:0.6rem; flex-wrap:wrap; margin-bottom:2.2rem; }
.book-tag { font-family:'DM Mono',monospace; font-size:0.65rem; letter-spacing:0.12em; text-transform:uppercase; padding:0.35rem 0.9rem; border:1px solid var(--border); border-radius:100px; color:var(--text-muted); }
.book-actions { display:flex; gap:1rem; flex-wrap:wrap; }

/* ── TERMINAL ── */
.terminal-layout { display:grid; grid-template-columns:1.2fr 1fr; gap:6rem; align-items:center; }
.terminal-window { background:#0d1117; border:1px solid rgba(201,168,76,0.2); border-radius:8px; overflow:hidden; box-shadow:0 40px 80px rgba(0,0,0,0.6); }
.terminal-bar { background:#161b22; padding:0.8rem 1.2rem; display:flex; align-items:center; gap:0.5rem; border-bottom:1px solid rgba(201,168,76,0.1); }
.t-dot { width:10px; height:10px; border-radius:50%; }
.t-url { font-family:'DM Mono',monospace; font-size:0.68rem; color:rgba(201,168,76,0.5); margin-left:0.8rem; }
.terminal-body { padding:1.8rem; font-family:'DM Mono',monospace; }
.t-line { font-size:0.75rem; line-height:2; color:var(--green); }
.t-dim   { color:rgba(201,168,76,0.4); }
.t-gold  { color:var(--gold); }
.t-white { color:#e2e8f0; }
.t-red2  { color:var(--red); }
.t-cyan  { color:#67e8f9; }
.t-section { margin-top:0.8rem; border-top:1px solid rgba(201,168,76,0.1); padding-top:0.8rem; }
.t-cursor { display:inline-block; width:8px; height:14px; background:var(--gold); animation:blink 1s step-end infinite; vertical-align:middle; }
@keyframes blink { 50% { opacity:0; } }
.terminal-info h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,2.8vw,2.4rem); font-weight:700; line-height:1.2; color:var(--cream); margin-bottom:1rem; }
.terminal-info p { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:300; line-height:1.7; color:var(--text-muted); margin-bottom:2rem; }
.t-features { display:flex; flex-direction:column; gap:1rem; margin-bottom:2.5rem; }
.t-feat { display:flex; align-items:flex-start; gap:1rem; font-size:0.88rem; color:var(--text-muted); line-height:1.5; }
.t-feat::before { content:'→'; color:var(--gold); flex-shrink:0; }

/* ── ABOUT ── */
.about-layout { display:grid; grid-template-columns:1fr 1.5fr; gap:7rem; align-items:start; }
.about-portrait img { width:100%; max-width:340px; border-radius:4px; border:1px solid rgba(201,168,76,0.25); box-shadow:-16px 24px 60px rgba(0,0,0,0.55); display:block; object-fit:cover; }
.about-text h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,2.8vw,2.5rem); font-weight:700; line-height:1.15; color:var(--cream); margin-bottom:1.5rem; }
.about-text p { font-family:'Cormorant Garamond',serif; font-size:1.1rem; font-weight:300; line-height:1.8; color:var(--text-muted); margin-bottom:1.2rem; }
.credentials { display:flex; flex-direction:column; border:1px solid var(--border); border-radius:4px; overflow:hidden; margin-top:2.5rem; }
.cred { padding:1.1rem 1.5rem; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:1.2rem; background:rgba(255,255,255,0.01); transition:background 0.2s; }
.cred:last-child { border-bottom:none; }
.cred:hover { background:rgba(201,168,76,0.03); }
.cred-icon { font-size:1rem; flex-shrink:0; width:24px; text-align:center; }
.cred-text { font-size:0.85rem; color:var(--cream); line-height:1.3; }
.cred-text span { color:var(--text-muted); font-size:0.78rem; display:block; margin-top:0.15rem; }

/* ── MEDIA ── */
.media-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5px; border:1.5px solid var(--border); border-radius:6px; overflow:hidden; margin-bottom:4rem; }
.media-card { background:rgba(255,255,255,0.02); padding:2.2rem; border-right:1.5px solid var(--border); transition:background 0.25s; }
.media-card:last-child { border-right:none; }
.media-card:hover { background:rgba(201,168,76,0.04); }
.media-type { font-family:'DM Mono',monospace; font-size:0.62rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); opacity:0.7; margin-bottom:1rem; display:block; }
.media-card h4 { font-family:'Playfair Display',serif; font-size:1rem; font-weight:600; line-height:1.35; color:var(--cream); margin-bottom:0.6rem; }
.media-card p { font-family:'Cormorant Garamond',serif; font-size:0.92rem; font-weight:300; line-height:1.55; color:var(--text-muted); }
.media-outlet { font-family:'DM Mono',monospace; font-size:0.65rem; color:var(--text-muted); margin-top:1rem; display:block; }
.speaking-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5px; border:1.5px solid var(--border); border-radius:6px; overflow:hidden; }
.speaking-card { background:rgba(255,255,255,0.02); padding:2rem 2.4rem; border-right:1.5px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:2rem; transition:background 0.25s; }
.speaking-card:nth-child(2n) { border-right:none; }
.speaking-card:hover { background:rgba(201,168,76,0.03); }
.speaking-card h5 { font-family:'Playfair Display',serif; font-size:1rem; font-weight:600; color:var(--cream); margin-bottom:0.4rem; }
.speaking-card p { font-size:0.82rem; color:var(--text-muted); }
.speaking-date { font-family:'DM Mono',monospace; font-size:0.68rem; color:var(--gold); text-align:right; flex-shrink:0; }

/* ── CONTACT ── */
.contact-layout { display:grid; grid-template-columns:1fr 1.2fr; gap:6rem; align-items:start; }
.contact-info h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3vw,2.6rem); font-weight:700; line-height:1.15; color:var(--cream); margin-bottom:1rem; }
.contact-info > p { font-family:'Cormorant Garamond',serif; font-size:1.05rem; font-weight:300; line-height:1.7; color:var(--text-muted); margin-bottom:2.5rem; }
.contact-track { padding:1.4rem 1.6rem; border:1px solid var(--border); border-radius:4px; margin-bottom:0.8rem; background:rgba(255,255,255,0.01); transition:background 0.2s,border-color 0.2s; }
.contact-track:hover { background:rgba(201,168,76,0.04); border-color:rgba(201,168,76,0.3); }
.track-type { font-family:'DM Mono',monospace; font-size:0.63rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin-bottom:0.5rem; display:block; }
.contact-track h5 { font-size:0.9rem; font-weight:600; color:var(--cream); margin-bottom:0.3rem; }
.contact-track p { font-family:'Cormorant Garamond',serif; font-size:0.88rem; font-weight:300; color:var(--text-muted); line-height:1.4; }
.contact-form { background:rgba(255,255,255,0.02); border:1px solid var(--border); border-radius:6px; padding:2.8rem; }
.form-group { margin-bottom:1.4rem; }
.form-group label { display:block; font-family:'DM Mono',monospace; font-size:0.63rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); margin-bottom:0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%; background:rgba(255,255,255,0.03); border:1px solid var(--border);
  border-radius:3px; padding:0.85rem 1rem;
  font-family:'Instrument Sans',sans-serif; font-size:0.88rem; color:var(--cream);
  outline:none; transition:border-color 0.2s; -webkit-appearance:none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:rgba(201,168,76,0.5); }
.form-group textarea { min-height:120px; resize:vertical; }
.form-group select option { background:var(--navy-mid); }
.form-submit {
  width:100%; background:var(--gold); color:var(--navy); border:none; padding:1rem;
  font-family:'Instrument Sans',sans-serif; font-size:0.78rem; font-weight:600;
  letter-spacing:0.12em; text-transform:uppercase; border-radius:3px;
  cursor:pointer; transition:background 0.2s;
}
.form-submit:hover { background:var(--gold-light); }

/* ── NEWSLETTER ── */
.newsletter-section {
  background:var(--navy-light);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:4.5rem 5vw;
  display:flex; align-items:center; justify-content:space-between;
  gap:3rem; flex-wrap:wrap;
}
.newsletter-text h3 { font-family:'Playfair Display',serif; font-size:1.6rem; font-weight:700; color:var(--cream); margin-bottom:0.5rem; }
.newsletter-text p { font-family:'Cormorant Garamond',serif; font-size:1rem; font-weight:300; color:var(--text-muted); }
.newsletter-form { display:flex; gap:0.6rem; flex:1; max-width:480px; }
.newsletter-form input { flex:1; background:rgba(255,255,255,0.04); border:1px solid var(--border); border-radius:3px; padding:0.85rem 1.2rem; font-family:'Instrument Sans',sans-serif; font-size:0.88rem; color:var(--cream); outline:none; }
.newsletter-form input::placeholder { color:var(--text-muted); }
.newsletter-form button { background:var(--gold); color:var(--navy); border:none; padding:0.85rem 1.8rem; font-size:0.75rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; border-radius:3px; cursor:pointer; white-space:nowrap; transition:background 0.2s; }
.newsletter-form button:hover { background:var(--gold-light); }

/* ── FOOTER ── */
#site-footer { background:#050810; padding:4rem 5vw 2.5rem; border-top:1px solid var(--border); }
.footer-top { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:4rem; margin-bottom:3.5rem; }
.footer-brand .footer-logo { font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:700; color:var(--gold); display:block; margin-bottom:1rem; }
.footer-brand .footer-logo span { color:var(--cream); font-weight:400; }
.footer-brand p { font-family:'Cormorant Garamond',serif; font-size:0.95rem; font-weight:300; line-height:1.65; color:var(--text-muted); margin-bottom:1.5rem; }
.social-links { display:flex; gap:0.8rem; }
.social-link { width:34px; height:34px; border:1px solid var(--border); border-radius:3px; display:flex; align-items:center; justify-content:center; font-size:0.75rem; color:var(--text-muted); text-decoration:none; transition:border-color 0.2s,color 0.2s; }
.social-link:hover { border-color:var(--gold); color:var(--gold); }
.footer-col h6 { font-family:'DM Mono',monospace; font-size:0.62rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:1.2rem; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:0.7rem; }
.footer-col ul li a { font-size:0.85rem; color:var(--text-muted); transition:color 0.2s; }
.footer-col ul li a:hover { color:var(--cream); }
.footer-bottom { border-top:1px solid var(--border); padding-top:1.8rem; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-family:'DM Mono',monospace; font-size:0.65rem; color:var(--text-muted); }

/* ── VIEW ALL LINK ── */
.view-all-link { display:inline-flex; align-items:center; gap:0.5rem; margin-top:2.5rem; font-size:0.75rem; letter-spacing:0.12em; text-transform:uppercase; font-weight:600; color:var(--gold); transition:gap 0.2s; }
.view-all-link:hover { gap:0.8rem; }

/* ── PAGE HERO ── */
.page-hero { padding:5rem 5vw 4rem; background:var(--navy); border-bottom:1px solid var(--border); position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 80% at 80% 50%,rgba(201,168,76,0.06) 0%,transparent 60%); }
.page-hero .section-label, .page-hero h1, .page-hero p { position:relative; z-index:2; }
.page-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(2.5rem,5vw,4rem); font-weight:900; line-height:1.1; color:var(--cream); margin-bottom:1rem; }
.page-hero p { font-family:'Cormorant Garamond',serif; font-size:1.15rem; font-weight:300; line-height:1.65; color:var(--text-muted); max-width:600px; }

/* ── ANIMATIONS ── */
.fade-in { opacity:0; transform:translateY(20px); transition:opacity 0.6s ease,transform 0.6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .frameworks-grid { grid-template-columns:1fr 1fr; }
  .fw-card:nth-child(2n) { border-right:none; }
  .fw-card { border-bottom:1.5px solid var(--border); }
  .articles-grid { grid-template-columns:1fr; }
  .art-featured { border-right:none; border-bottom:1.5px solid var(--border); }
  .book-layout, .terminal-layout, .about-layout, .contact-layout { grid-template-columns:1fr; gap:3rem; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .hero-stats { display:none; }
  .post-body-wrap { grid-template-columns:1fr; }
  .post-sidebar { position:static; }
  .media-grid { grid-template-columns:1fr 1fr; }
  .media-card:nth-child(2n) { border-right:none; }
  .speaking-grid { grid-template-columns:1fr; }
  .speaking-card { border-right:none; border-bottom:1.5px solid var(--border); }
  .posts-archive-grid { grid-template-columns:1fr 1fr; }
  .post-card:nth-child(2n) { border-right:none; }
}
@media(max-width:768px) {
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .footer-top { grid-template-columns:1fr; gap:2.5rem; }
  .newsletter-section { flex-direction:column; }
  .newsletter-form { max-width:100%; }
  .frameworks-grid { grid-template-columns:1fr; }
  .media-grid { grid-template-columns:1fr; }
  .media-card { border-right:none; border-bottom:1.5px solid var(--border); }
  .posts-archive-grid { grid-template-columns:1fr; }
  .post-card { border-right:none; }
}
/* Mobile Menu Overlay — appended to main.css */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10,15,30,0.98);
  backdrop-filter: blur(20px);
  z-index: 190;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav-links {
  list-style: none;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.8rem;
}
.mobile-nav-links a {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--cream); letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--gold); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
