@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0F1B2D;
  --navy2: #162236;
  --navy3: #1E2F47;
  --green: #1A9E6B;
  --green-light: #22C55E;
  --green-dim: rgba(26,158,107,0.12);
  --green-border: rgba(26,158,107,0.25);
  --cream: #F4F1EA;
  --cream2: #EDE9DF;
  --text: #CBD5E1;
  --muted: #64748B;
  --border: rgba(255,255,255,0.07);
  --white: #FFFFFF;
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--navy); color: var(--text); font-family: var(--font-sans); font-size: 16px; line-height: 1.7; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; background: rgba(15,27,45,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--green-light); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text); text-decoration: none; transition: color 0.2s; letter-spacing: 0.02em; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { background: var(--green) !important; color: var(--white) !important; padding: 9px 20px; border-radius: 4px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: #157a53 !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
.nav-mobile { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy2); border-bottom: 1px solid var(--border); flex-direction: column; padding: 20px 28px; gap: 16px; z-index: 899; }
.nav-mobile a { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border: none; color: var(--green-light); font-weight: 600; }
.nav-mobile.open { display: flex; }

/* LAYOUT */
.page-wrap { padding-top: 68px; min-height: 100vh; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; color: var(--white); }
h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 3vw, 30px); }
h4 { font-size: 20px; }
p { color: var(--text); line-height: 1.8; }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-light); margin-bottom: 14px; }
.lead { font-size: 18px; line-height: 1.8; color: var(--text); }

/* BUTTONS */
.btn { display: inline-block; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-decoration: none; padding: 14px 36px; border-radius: 4px; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 4px 20px rgba(26,158,107,0.3); }
.btn-primary:hover { background: #157a53; transform: translateY(-1px); box-shadow: 0 8px 30px rgba(26,158,107,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid var(--green-border); }
.btn-outline:hover { border-color: var(--green); color: var(--green-light); }

/* CARDS */
.card { background: var(--navy2); border: 1px solid var(--border); border-radius: 8px; padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--green-border); transform: translateY(-3px); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--green-dim); color: var(--green-light); border: 1px solid var(--green-border); }

/* DIVIDER */
hr.divider { border: none; height: 1px; background: var(--border); margin: 0; }

/* ARTICLE CONTENT */
.article-body h2 { font-size: clamp(22px, 3vw, 32px); margin: 52px 0 18px; }
.article-body h3 { font-size: clamp(18px, 2.5vw, 24px); margin: 40px 0 14px; }
.article-body p { margin-bottom: 22px; font-size: 16px; line-height: 1.9; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 22px; color: var(--text); line-height: 1.9; }
.article-body li { margin-bottom: 10px; font-size: 16px; }
.article-body blockquote { border-left: 3px solid var(--green); padding: 20px 24px; margin: 36px 0; background: var(--navy2); border-radius: 0 6px 6px 0; font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--cream); line-height: 1.6; }
.article-body strong { color: var(--white); font-weight: 600; }
.key-box { background: var(--navy2); border: 1px solid var(--green-border); border-radius: 8px; padding: 24px 28px; margin: 36px 0; }
.key-box h4 { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-light); margin-bottom: 14px; }
.key-box ul { padding-left: 20px; margin: 0; }
.key-box li { font-size: 14px; color: var(--text); margin-bottom: 8px; }

/* FOOTER */
footer { background: var(--navy2); border-top: 1px solid var(--border); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 260px; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-light); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-light); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .container, .container-narrow { padding: 0 18px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* IMAGE RELIABILITY FIXES */
img { max-width: 100%; display: block; }
.topic-img, .article-thumb-img, .article-hero-img, .inline-img, .hero-image img, .article-thumb img, .mission-visual img {
  background-color: var(--navy3);
  background-image: linear-gradient(135deg, var(--navy3) 0%, var(--navy2) 100%);
}
.topic-img, .article-thumb-img { width: 100%; height: 150px; object-fit: cover; display: block; }
.article-thumb-img { height: 140px; }