:root {
    --slate-950: #0f172a; --slate-800: #1e293b; --slate-700: #334155;
    --slate-600: #475569; --slate-500: #64748b; --slate-400: #94a3b8;
    --slate-300: #cbd5e1; --slate-200: #e2e8f0; --slate-100: #f1f5f9;
    --slate-50: #f8fafc; --ivory: #faf9f6; --warm-white: #fefdfb;
    --accent-teal: #0d9488; --accent-teal-dark: #0f766e; --accent-teal-light: #ccfbf1;
    --accent-amber: #d97706; --accent-amber-light: #fef3c7;
    --serif: 'Newsreader', 'Georgia', serif;
    --sans: 'Libre Franklin', 'Helvetica Neue', sans-serif;
    --max-w: 1200px; --nav-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--slate-800); background: var(--warm-white); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ═══ NAV ═══ */
nav { position: fixed; top: 0; width: 100%; height: var(--nav-h); background: rgba(254,253,251,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-200); z-index: 1000; transition: box-shadow 0.3s ease; }
nav.scrolled { box-shadow: 0 1px 20px rgba(15,23,42,0.06); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--slate-950); text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.5rem; }
.logo-mark { width: 28px; height: 28px; background: var(--accent-teal); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.95rem; font-weight: 700; font-family: var(--sans); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--slate-600); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.01em; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--accent-teal); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--slate-950); }
.nav-links a:hover::after { width: 100%; }
.nav-links .active-link { color: var(--slate-950); }
.nav-cta { background: var(--slate-950) !important; color: white !important; padding: 0.5rem 1.25rem; border-radius: 6px; font-size: 0.825rem !important; font-weight: 600 !important; transition: background 0.2s, transform 0.2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--slate-700) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--slate-800); transition: all 0.3s; border-radius: 1px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ BUTTONS ═══ */
.btn-primary { background: var(--accent-teal); color: white; padding: 0.8rem 1.75rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 1.0rem; transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; border: none; cursor: pointer; font-family: var(--sans); }
.btn-primary:hover { background: var(--accent-teal-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,148,136,0.25); }
.btn-secondary { color: var(--slate-600); padding: 0.8rem 1.75rem; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 1.0rem; border: 1px solid var(--slate-300); transition: all 0.2s; font-family: var(--sans); }
.btn-secondary:hover { color: var(--slate-950); border-color: var(--slate-400); background: var(--slate-50); }

/* ═══ SECTIONS ═══ */
section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-teal); font-weight: 600; margin-bottom: 0.75rem; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; color: var(--slate-950); letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.2; }
.section-subtitle { font-size: 1.15rem; color: var(--slate-500); max-width: 600px; line-height: 1.65; font-weight: 300; }
.view-all { display: inline-block; margin-top: 2rem; color: var(--accent-teal); text-decoration: none; font-weight: 600; font-size: 1.0rem; transition: color 0.2s; }
.view-all:hover { color: var(--accent-teal-dark); }

/* ═══ PAGE HEADER ═══ */
.page-header { padding: calc(var(--nav-h) + 4rem) 2rem 3rem; border-bottom: 1px solid var(--slate-200); }
.page-title { font-family: var(--serif); font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 700; color: var(--slate-950); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 0.75rem; }

/* ═══ HERO ═══ */
.hero-cinematic { height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; padding: 0; -webkit-transform: translateZ(0); }
.hero-video-bg { position: absolute; inset: 0; z-index: 0; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; -webkit-transform: translateZ(0); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 60%, rgba(15,23,42,0.1) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 600px; padding: var(--nav-h) 4rem 0; }
.hero-content h1 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.hero-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.7; font-weight: 300; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-hero-primary { background: white; color: var(--slate-950); padding: 0.8rem 1.75rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 1.0rem; transition: all 0.2s; }
.btn-hero-primary:hover { background: var(--slate-100); transform: translateY(-1px); }
.btn-hero-secondary { border: 1px solid rgba(255,255,255,0.3); color: white; padding: 0.8rem 1.75rem; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 1.0rem; transition: all 0.2s; }
.btn-hero-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; animation: bounce 2s ease infinite; }
.scroll-indicator span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); font-weight: 500; }
.scroll-indicator svg { opacity: 0.5; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (max-width: 768px) {
    .hero-cinematic { height: 80vh; }
    .hero-content { padding: 0 1.5rem; }
    .hero-overlay { background: linear-gradient(0deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%); }
}

/* ═══ FOCUS CARDS ═══ */
.focus-areas { background: var(--ivory); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.focus-card-b { padding: 2.5rem 1.75rem; background: white; border: 1px solid var(--slate-200); border-radius: 16px; text-align: center; transition: all 0.5s; cursor: pointer; position: relative; overflow: hidden; }
.focus-card-b::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s; }
.focus-card-b::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity 0.5s; }
.focus-card-b:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.focus-card-b:hover::before, .focus-card-b:hover::after { opacity: 1; }
.focus-card-b:hover h3, .focus-card-b:hover p { color: white; position: relative; z-index: 1; }
.focus-card-b:hover .focus-card-b-icon { background: rgba(255,255,255,0.2); color: white; transform: scale(1.1); position: relative; z-index: 1; }
.focus-card-b:nth-child(1)::before { background-image: url('/images/focus-energy.jpg'); }
.focus-card-b:nth-child(2)::before { background-image: url('/images/focus-economic.jpg'); }
.focus-card-b:nth-child(3)::before { background-image: url('/images/focus-sdg.jpg'); }
.focus-card-b:nth-child(4)::before { background-image: url('/images/focus-data.jpg'); }
.focus-card-b-icon { width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.4s; }
.focus-card-b:nth-child(1) .focus-card-b-icon { background: #ccfbf1; color: #0d9488; }
.focus-card-b:nth-child(2) .focus-card-b-icon { background: #e0e7ff; color: #6366f1; }
.focus-card-b:nth-child(3) .focus-card-b-icon { background: #fef3c7; color: #d97706; }
.focus-card-b:nth-child(4) .focus-card-b-icon { background: #d1fae5; color: #059669; }
.focus-card-b h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.65rem; transition: color 0.4s; }
.focus-card-b p { font-size: 0.85rem; color: var(--slate-500); line-height: 1.6; font-weight: 300; transition: color 0.4s; }

#research { background: #0f2f2e; }
#research .section-label { color: #5eead4; }
#research .section-title { color: white; }
#research .section-subtitle { color: rgba(255,255,255,0.6); }
#research .view-all { color: #5eead4; }
#research .view-all:hover { color: white; }
#research .research-card { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
#research .research-thumb { background: rgba(255,255,255,0.05); }
#research .research-body h3 { color: white; }
#research .research-body p { color: rgba(255,255,255,0.6); }
#research .research-meta { border-top-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); }

/* ═══ RESEARCH GRID ═══ */
.research-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.research-card { text-decoration: none; color: inherit; background: white; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.research-card:hover { box-shadow: 0 8px 30px rgba(15,23,42,0.08); transform: translateY(-3px); border-color: var(--slate-300); }
.research-thumb { height: 160px; background: var(--slate-100); display: flex; align-items: center; justify-content: center; }
.doc-icon { background: var(--slate-950); color: white; padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; }
.research-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.research-tag { display: inline-block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-teal); font-weight: 600; background: var(--accent-teal-light); padding: 0.25rem 0.65rem; border-radius: 4px; align-self: flex-start; margin-bottom: 0.65rem; }
.research-body h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.5rem; line-height: 1.3; }
.research-body p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.6; flex: 1; font-weight: 300; }
.research-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--slate-100); font-size: 0.75rem; color: var(--slate-400); }
.pdf-link { color: var(--accent-teal); font-weight: 600; }

/* ═══ INSIGHTS GRID (Homepage) ═══ */
.insights { background: var(--ivory); }
.insights-expand-grid { display: flex; gap: 1.25rem; height: 400px; align-items: center; }
.insight-expand-card { flex: 1; height: 380px; text-decoration: none; color: white; border-radius: 12px; overflow: hidden; position: relative; display: block; cursor: pointer; }
.insight-expand-card, .insight-expand-card.visible { transition: flex 0.6s ease, height 0.6s ease, filter 0.4s ease, box-shadow 0.4s ease, opacity 0.7s ease, transform 0.7s ease !important; }
.insights-expand-grid:hover .insight-expand-card { flex: 0.85; }
.insights-expand-grid .insight-expand-card:hover { flex: 1.4; box-shadow: 0 25px 60px rgba(0,0,0,0.25); }
.insight-expand-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s; }
.insight-expand-card:hover .insight-expand-img { transform: scale(1.06); }
.insight-expand-gradient { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.15) 50%, transparent 100%); }
.insight-expand-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; transition: opacity 0.3s ease, transform 0.3s ease; }
.insight-expand-card:hover .insight-expand-body { opacity: 0; transform: translateY(-20px); }
.insight-expand-body h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.insight-glass-panel { position: absolute; bottom: -100%; left: 1rem; right: 1rem; padding: 1.25rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s; }
.insight-expand-card:hover .insight-glass-panel { bottom: 1rem; }
.insight-glass-panel h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.insight-glass-panel p { font-size: 0.82rem; color: rgba(255,255,255,0.8); line-height: 1.55; font-weight: 300; margin-bottom: 0.5rem; }
.insight-glass-footer { display: flex; justify-content: space-between; align-items: center; }
.insight-read-more { font-size: 0.82rem; color: var(--accent-teal-light); font-weight: 600; }
/* ═══ BLOG LIST (Insights page) ═══ */
.blog-list { display: flex; flex-direction: column; gap: 2rem; }
.blog-item { display: grid; grid-template-columns: 1fr; gap: 2.5rem; text-decoration: none; color: inherit; padding: 1.75rem; border: 1px solid var(--slate-200); border-radius: 12px; background: white; transition: all 0.3s ease; align-items: center; }
.blog-item:has(.blog-item-img) { grid-template-columns: 300px 1fr; }
.blog-item:hover { box-shadow: 0 8px 30px rgba(15,23,42,0.08); transform: translateY(-3px); border-color: var(--slate-300); }
.blog-item-img { border-radius: 8px; height: 200px; position: relative; overflow: hidden; }
.blog-item-content { display: flex; flex-direction: column; justify-content: center; }
.blog-item-content .research-tag { align-self: flex-start; margin-bottom: 0.75rem; }
.blog-item-content h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.65rem; line-height: 1.3; letter-spacing: -0.01em; }
.blog-item-content p { font-size: 0.92rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 1rem; font-weight: 300; }

/* ═══ SERVICES ═══ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card-b { padding: 2.5rem 1.75rem; background: white; border: 1px solid var(--slate-200); border-radius: 16px; text-align: center; transition: all 0.5s; cursor: pointer; position: relative; overflow: hidden; }
.service-card-b::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s; }
.service-card-b::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity 0.5s; }
.service-card-b:hover { border-color: transparent; transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.service-card-b:hover::before, .service-card-b:hover::after { opacity: 1; }
.service-card-b:hover h3, .service-card-b:hover p { color: white; position: relative; z-index: 1; }
.service-card-b:hover .service-card-b-icon { background: rgba(255,255,255,0.2); color: white; transform: scale(1.1); position: relative; z-index: 1; }
.service-card-b:hover .service-link { color: white; position: relative; z-index: 1; }
.service-card-b:nth-child(1)::before { background-image: url('/images/svc-research.jpg'); }
.service-card-b:nth-child(2)::before { background-image: url('/images/svc-advisory.jpg'); }
.service-card-b:nth-child(3)::before { background-image: url('/images/svc-dataviz.jpg'); }
.service-card-b:nth-child(4)::before { background-image: url('/images/svc-training.jpg'); }
.service-card-b-icon { width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all 0.4s; }
.service-card-b:nth-child(1) .service-card-b-icon { background: #ccfbf1; color: #0d9488; }
.service-card-b:nth-child(2) .service-card-b-icon { background: #e0e7ff; color: #6366f1; }
.service-card-b:nth-child(3) .service-card-b-icon { background: #fef3c7; color: #d97706; }
.service-card-b:nth-child(4) .service-card-b-icon { background: #d1fae5; color: #059669; }
.service-card-b h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.65rem; transition: color 0.4s; }
.service-card-b p { font-size: 0.85rem; color: var(--slate-500); line-height: 1.6; font-weight: 300; transition: color 0.4s; margin-bottom: 1rem; }
.service-link { color: var(--accent-teal); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.4s; position: relative; z-index: 1; }

.services-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-detail { padding: 2.5rem; background: white; border: 1px solid var(--slate-200); border-radius: 12px; }
.service-detail h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.75rem; }
.service-detail p { font-size: 0.92rem; color: var(--slate-500); line-height: 1.65; font-weight: 300; margin-bottom: 1.25rem; }
.service-list { list-style: none; }
.service-list li { font-size: 0.95rem; color: var(--slate-600); padding: 0.4rem 0; padding-left: 1.25rem; position: relative; }
.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-teal); }

.cta-section { background: var(--ivory); }

/* ═══ ABOUT ═══ */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; }
.about-photo, .about-photo-full { border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--slate-400); font-size: 1.0rem; min-height: 300px; overflow: hidden; }
.about-content .section-label { margin-bottom: 0.5rem; }
.about-content h2 { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--slate-950); margin-bottom: 1rem; }
.about-content p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 0.75rem; font-weight: 300; }
.about-teaser { background: var(--ivory); }

.about-full-grid { display: grid; grid-template-columns: 350px 1fr; gap: 3rem; align-items: start; }
.about-bio p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 1rem; font-weight: 300; }
.about-bio h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--slate-950); margin: 2rem 0 0.75rem; }

.timeline-section { background: var(--ivory); }
.timeline { max-width: 700px; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--slate-200); }
.timeline-year { font-family: var(--serif); font-weight: 600; color: var(--accent-teal); font-size: 1.0rem; }
.timeline-content h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.35rem; }
.timeline-content p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.6; font-weight: 300; }

.education-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.edu-card { padding: 1.5rem; background: white; border: 1px solid var(--slate-200); border-radius: 12px; }
.edu-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.5rem; }
.edu-card p { font-size: 0.95rem; color: var(--slate-500); font-weight: 300; }

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--slate-700); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group textarea { width: 100%; padding: 0.95rem 1rem; border: 1px solid var(--slate-200); border-radius: 8px; font-family: var(--sans); font-size: 1.0rem; color: var(--slate-800); background: white; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-teal); }
.form-group textarea { resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { padding: 1.5rem; background: white; border: 1px solid var(--slate-200); border-radius: 12px; }
.contact-card h3 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--slate-950); margin-bottom: 0.5rem; }
.contact-card a, .contact-card p { display: block; font-size: 1.0rem; color: var(--slate-500); text-decoration: none; margin-bottom: 0.25rem; font-weight: 300; }
.contact-card a:hover { color: var(--accent-teal); }

/* ═══ POST ═══ */
.post .post-header { padding: calc(var(--nav-h) + 4rem) 2rem 3rem; border-bottom: 1px solid var(--slate-200); }
.post-header-inner { max-width: 740px; margin: 0 auto; }
.back-link { display: inline-block; color: var(--accent-teal); text-decoration: none; font-size: 0.95rem; font-weight: 500; margin-bottom: 1.25rem; transition: color 0.2s; }
.back-link:hover { color: var(--accent-teal-dark); }
.post .post-header h1 { font-family: var(--serif); font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--slate-950); line-height: 1.2; letter-spacing: -0.02em; margin: 0.75rem 0; }
.post-meta { display: flex; gap: 0.65rem; align-items: center; font-size: 0.95rem; color: var(--slate-400); flex-wrap: wrap; }
.post-body { max-width: 1100px; margin: 3rem auto; padding: 0 2rem; overflow: visible; }
.post-body > p, .post-body > h2, .post-body > h3, .post-body > ul, .post-body > ol, .post-body > blockquote { max-width: 740px; margin-left: auto; margin-right: auto; }
article.post { overflow: visible; }
.post-body h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--slate-950); margin: 2.5rem 0 1rem; }
.post-body h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--slate-950); margin: 2rem 0 0.75rem; }
.post-body p { font-size: 1.02rem; color: var(--slate-600); line-height: 1.8; margin-bottom: 1.25rem; font-weight: 300; }
.post-body ul, .post-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.post-body li { font-size: 1rem; color: var(--slate-600); line-height: 1.75; margin-bottom: 0.4rem; font-weight: 300; }
.post-body blockquote { border-left: 3px solid var(--accent-teal); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--slate-50); border-radius: 0 8px 8px 0; }
.post-body blockquote p { font-style: italic; color: var(--slate-700); margin-bottom: 0; }
.post-body img { max-width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.post-body iframe { width: 100%; min-height: 600px; border: none; margin: 1.5rem 0; border-radius: 8px; }
.post-body .tableauPlaceholder { width: 100% !important; margin: 1.5rem 0; }
.post-body .tableauPlaceholder object { width: 100% !important; min-height: 700px !important; display: block !important; }
.post-download { margin: 2rem 0; }
.post-download-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; }
.post-download-inner strong { font-family: var(--serif); font-size: 1rem; color: var(--slate-950); display: block; margin-bottom: 0.25rem; }
.post-download-inner p { font-size: 0.95rem; color: var(--slate-500); font-weight: 300; }

.author-bio { border-top: 1px solid var(--slate-200); max-width: 740px; margin: 3rem auto 2rem; padding: 2.5rem 2rem 2rem; }
.author-bio-inner { display: flex; gap: 1.5rem; align-items: center; }
.author-photo { width: 64px; height: 64px; background: var(--slate-950); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; overflow: hidden; }
.author-info strong { font-size: 1rem; color: var(--slate-950); display: block; margin-bottom: 0.25rem; }
.author-info p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.6; font-weight: 300; }
.author-links { margin-top: 0.5rem; display: flex; gap: 1rem; }
.author-links a { font-size: 0.8rem; color: var(--accent-teal); text-decoration: none; font-weight: 500; }
.author-links a:hover { color: var(--accent-teal-dark); }

/* ═══ FILTERS ═══ */
.filters-section { padding: 2rem; background: var(--ivory); }
.filter-bar { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 0.65rem; flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1.15rem; border: 1px solid var(--slate-200); border-radius: 20px; background: white; color: var(--slate-600); font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: var(--sans); }
.filter-btn:hover { border-color: var(--accent-teal); color: var(--accent-teal); }
.filter-btn.active { background: var(--slate-950); color: white; border-color: var(--slate-950); }

/* ═══ NEWSLETTER ═══ */
.newsletter { background: var(--slate-950); padding: 4rem 2rem; }
.newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: white; margin-bottom: 0.65rem; }
.newsletter p { color: var(--slate-400); margin-bottom: 1.75rem; font-size: 0.95rem; font-weight: 300; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 0.8rem 1.15rem; border: 1px solid var(--slate-700); border-radius: 6px; background: var(--slate-800); color: white; font-family: var(--sans); font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.newsletter-form input::placeholder { color: var(--slate-400); }
.newsletter-form input:focus { border-color: var(--accent-teal); }
.newsletter-form button { background: var(--accent-teal); color: white; border: none; padding: 0.8rem 1.5rem; border-radius: 6px; font-family: var(--sans); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--accent-teal-dark); }

/* ═══ FOOTER ═══ */
footer { background: var(--slate-950); border-top: 1px solid var(--slate-800); padding: 3rem 2rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.95rem; color: var(--slate-400); line-height: 1.6; font-weight: 300; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-400); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--slate-300); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: white; }
.footer-bottom { max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--slate-800); display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--slate-500); }
.social-links { display: flex; gap: 1.25rem; }
.social-links a { color: var(--slate-400); text-decoration: none; transition: color 0.2s; font-size: 0.95rem; }
.social-links a:hover { color: white; }

/* ═══ PAGE CONTENT (markdown) ═══ */
.page-content h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--slate-950); margin: 2rem 0 0.75rem; }
.page-content p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 1rem; font-weight: 300; }

/* ═══ ANIMATIONS ═══ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-detail-grid { grid-template-columns: 1fr; }
    .insights-expand-grid { flex-direction: column; height: auto; }
    .insight-expand-card, .insights-expand-grid:hover .insight-expand-card, .insights-expand-grid .insight-expand-card:hover { flex: none; width: 100%; height: 350px; filter: none; box-shadow: none; transform: none; }
    .about-grid, .about-full-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--warm-white); padding: 1.5rem 2rem; border-bottom: 1px solid var(--slate-200); box-shadow: 0 8px 30px rgba(15,23,42,0.08); }
    .hamburger { display: flex; }
    section { padding: 3.5rem 1.25rem; }
    .page-header { padding-top: calc(var(--nav-h) + 2.5rem); }
    .focus-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .blog-item, .blog-item:has(.blog-item-img) { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem; }
    .blog-item-img { height: 180px; }
    .blog-item-content h2 { font-size: 1.15rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .insight-expand-card { height: 320px !important; width: 100% !important; }
}