:root {
  --navy: #13283B;
  --navy-deep: #0C1A28;
  --teal: #00BBD9;
  --teal-muted: #0A8FA6;
  --coral: #E8613A;
  --cream: #F9F8F4;
  --warm-white: #FDFCF9;
  --sand: #F0EDE6;
  --stone: #D4CFC5;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-tertiary: #7A7A7A;
  --border-light: #E8E4DC;
  --accent-gold: #C4963C;
}
:root {
  --gh-font-heading: "Outfit", sans-serif;
  --gh-font-body: "DM Sans", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--warm-white);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ═══ HEADER ═══ */
.header { background: var(--navy); position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--teal); }
.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 120px; }
.logo-img { height: 90px; display: block; }
.logo-img-footer { height: 48px; display: block; margin-bottom: 12px; }
.nav-main { display: flex; gap: 0; align-items: center; height: 100%; }
.nav-main a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0 16px; height: 100%;
  display: flex; align-items: center; transition: all 0.2s;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.nav-main a:hover { color: #fff; border-bottom-color: var(--teal); }
.nav-main a.active { color: #fff; border-bottom-color: var(--coral); }
.header-cta {
  background: var(--coral); color: #fff; border: none;
  padding: 9px 22px; font-size: 0.78rem; font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer; transition: all 0.2s;
}
.header-cta:hover { background: #D4502A; }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all 0.3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.nav-mobile { display: none; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
.nav-open .nav-mobile { display: block; }
.nav-mobile a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 24px; transition: color 0.2s; }
.nav-mobile a:hover, .nav-mobile a.active { color: #fff; }
.nav-mobile-cta { background: var(--coral); color: #fff !important; margin: 12px 24px 4px; padding: 12px 24px !important; text-align: center; font-weight: 700 !important; letter-spacing: 0.08em; }

/* ═══ HERO ═══ */
.hero { background: var(--navy); color: #fff; padding: 52px 0 48px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: linear-gradient(135deg, rgba(0,187,217,0.05) 0%, rgba(232,97,58,0.03) 100%); pointer-events: none; }
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero-text h1 span { color: var(--teal); }
.hero-text p { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.65; max-width: 520px; }
.hero-stats { display: flex; gap: 36px; margin-top: 24px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.hero-stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); margin-top: 2px; }
.hero-signup { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 32px; }
.hero-signup h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 5px; }
.hero-signup p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; line-height: 1.5; }
.signup-form { display: flex; flex-direction: column; gap: 10px; }
.signup-form input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); padding: 12px 14px; color: #fff; font-size: 0.9rem; font-family: inherit; outline: none; transition: border-color 0.2s; }
.signup-form input::placeholder { color: rgba(255,255,255,0.3); }
.signup-form input:focus { border-color: var(--teal); }
.signup-btn { background: var(--coral); color: #fff; border: none; padding: 12px; font-size: 0.85rem; font-weight: 700; font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s; }
.signup-btn:hover { background: #D4502A; }
.signup-note { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-align: center; margin-top: 4px; }

/* ═══ READER LOGOS ═══ */
.reader-logos { background: var(--cream); border-bottom: 1px solid var(--border-light); padding: 20px 0; }
.reader-logos-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 24px; }
.reader-logos-label { font-family: 'Outfit', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-tertiary); font-weight: 600; white-space: nowrap; }
.reader-logos-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reader-logos-strip span { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--stone); letter-spacing: 0.04em; text-transform: uppercase; }
.reader-logos-strip span::after { content: '·'; margin-left: 12px; color: var(--border-light); }
.reader-logos-strip span:last-child::after { content: ''; margin-left: 0; }

/* ═══ TOPIC RIBBON ═══ */
.topic-ribbon { background: var(--warm-white); border-bottom: 1px solid var(--border-light); overflow-x: auto; }
.topic-ribbon-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; gap: 0; }
.topic-link { font-family: 'Outfit', sans-serif; padding: 12px 20px; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all 0.2s; }
.topic-link:hover { color: var(--text-primary); border-bottom-color: var(--navy); }
.topic-link.active-topic { color: var(--coral); border-bottom-color: var(--coral); }

/* ═══ MAIN ═══ */
.main { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Section headers */
.sh { display: flex; align-items: baseline; justify-content: space-between; padding: 36px 0 16px; border-bottom: 2px solid var(--navy); margin-bottom: 28px; }
.sh-title { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.sh-more { font-family: 'Outfit', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--coral); text-decoration: none; font-weight: 600; }
.sh-more:hover { color: var(--navy); }

/* ═══ FEATURED ═══ */
.feat-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; margin-bottom: 48px; }
.feat-lead { padding-bottom: 28px; border-bottom: 1px solid var(--border-light); }
.feat-lead-img { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy) 0%, #1E3A52 50%, var(--teal-muted) 100%); margin-bottom: 16px; position: relative; overflow: hidden; }
.feat-lead-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(transparent, rgba(0,0,0,0.4)); }
.img-badge { position: absolute; bottom: 16px; left: 20px; z-index: 2; color: #fff; font-family: 'Outfit', sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; background: var(--coral); padding: 3px 10px; }
.cat { font-family: 'Outfit', sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--coral); margin-bottom: 6px; }
.art-title { font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.2; margin-bottom: 10px; color: var(--text-primary); }
.art-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.art-title a:hover { color: var(--coral); }
.art-title.lg { font-size: 1.65rem; }
.art-title.sm { font-size: 1rem; line-height: 1.3; }
.art-excerpt { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); margin-bottom: 12px; }
.art-excerpt.sm { font-size: 0.88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { font-size: 0.75rem; color: var(--text-tertiary); display: flex; align-items: center; gap: 10px; }
.meta-author { font-weight: 600; color: var(--text-secondary); }
.meta-dot { color: var(--stone); }
.meta-tag { font-family: 'Outfit', sans-serif; background: var(--sand); padding: 2px 7px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--text-tertiary); }
.sidebar { display: flex; flex-direction: column; }
.sidebar-item { padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.sidebar-item:first-child { padding-top: 0; }
.sidebar-item .cat { font-size: 0.65rem; margin-bottom: 4px; }

/* ═══ TESTIMONIALS ═══ */
.testimonials { background: var(--cream); margin: 0 -32px; padding: 40px 64px; margin-bottom: 48px; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.testimonials-title { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); text-align: center; margin-bottom: 28px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: #fff; padding: 24px; border: 1px solid var(--border-light); }
.testimonial-quote { font-style: italic; font-size: 0.92rem; line-height: 1.55; color: var(--text-secondary); margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-name { font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--text-primary); }
.testimonial-role { font-size: 0.72rem; color: var(--text-tertiary); }

/* ═══ MID SIGNUP ═══ */
.mid-signup { background: var(--navy); margin: 0 -32px; padding: 40px 64px; display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 48px; }
.mid-signup-text h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.mid-signup-text p { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.mid-signup-form { display: flex; gap: 0; flex-shrink: 0; }
.mid-signup-form input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-right: none; padding: 12px 18px; color: #fff; font-size: 0.88rem; width: 260px; font-family: inherit; outline: none; }
.mid-signup-form input::placeholder { color: rgba(255,255,255,0.3); }
.mid-signup-form input:focus { border-color: var(--teal); }
.mid-signup-form button { background: var(--coral); color: #fff; border: none; padding: 12px 24px; font-size: 0.78rem; font-weight: 700; font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s; }
.mid-signup-form button:hover { background: #D4502A; }

/* ═══ FRAMEWORKS ═══ */
.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.fw-card { background: var(--cream); border: 1px solid var(--border-light); padding: 28px 24px; transition: all 0.25s; }
.fw-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(19,40,59,0.07); }
.fw-num { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--sand); line-height: 1; margin-bottom: 10px; }
.fw-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.fw-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.fw-tag { font-family: 'Outfit', sans-serif; display: inline-block; background: var(--navy); color: var(--teal); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 8px; font-weight: 700; }

/* ═══ COURSES ═══ */
.courses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.course-card { display: grid; grid-template-columns: 180px 1fr; background: #fff; border: 1px solid var(--border-light); overflow: hidden; transition: all 0.25s; }
.course-card:hover { border-color: var(--coral); box-shadow: 0 6px 24px rgba(19,40,59,0.05); }
.course-img { width: 100%; height: 100%; min-height: 160px; }
.ci-1 { background: linear-gradient(135deg, #1E3A52, var(--teal-muted)); }
.ci-2 { background: linear-gradient(135deg, var(--coral), #C4963C); }
.ci-3 { background: linear-gradient(135deg, #2C3E50, #1A1A1A); }
.ci-4 { background: linear-gradient(135deg, var(--teal-muted), #13283B); }
.course-body { padding: 20px; }
.course-label { font-family: 'Outfit', sans-serif; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 6px; }
.course-label.free { color: var(--teal); }
.course-label.premium { color: var(--coral); }
.course-body h4 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; color: var(--navy); }
.course-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.45; margin-bottom: 10px; }
.course-detail { font-size: 0.75rem; color: var(--text-tertiary); display: flex; gap: 14px; }

/* ═══ RESEARCH ═══ */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.research-card { padding: 24px; border: 1px solid var(--border-light); background: #fff; transition: all 0.25s; }
.research-card:hover { box-shadow: 0 6px 24px rgba(19,40,59,0.05); border-color: var(--navy); }
.research-card.sponsored { border-left: 3px solid var(--accent-gold); }
.research-badge { font-family: 'Outfit', sans-serif; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; padding: 3px 7px; margin-bottom: 12px; display: inline-block; }
.research-badge.original { background: var(--navy); color: var(--teal); }
.research-badge.sponsored-badge { background: rgba(196,150,60,0.12); color: var(--accent-gold); }
.research-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--navy); }
.research-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 12px; }
.research-meta { font-size: 0.72rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; }

/* ═══ VOICES ═══ */
.voices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.voice-card { text-align: center; padding: 24px 16px; border: 1px solid var(--border-light); background: #fff; transition: all 0.25s; }
.voice-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(19,40,59,0.05); }
.voice-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; }
.va-1 { background: linear-gradient(135deg, var(--navy), var(--teal-muted)); }
.va-2 { background: linear-gradient(135deg, var(--coral), #C4963C); }
.va-3 { background: linear-gradient(135deg, var(--teal-muted), var(--navy)); }
.va-4 { background: linear-gradient(135deg, #2C3E50, var(--coral)); }
.voice-card h4 { font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 3px; color: var(--navy); }
.voice-role { font-size: 0.75rem; color: var(--text-tertiary); margin-bottom: 10px; line-height: 1.35; }
.voice-topic { font-size: 0.78rem; color: var(--text-secondary); font-style: italic; line-height: 1.4; }

/* ═══ JOBS ═══ */
.jobs-section { margin-bottom: 48px; }
.job-row { display: grid; grid-template-columns: 120px 1fr 160px 120px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-light); transition: background 0.2s; }
.job-row:hover { background: var(--cream); }
.job-type { font-family: 'Outfit', sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--teal-muted); }
.job-info h4 { font-family: 'Outfit', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 1px; }
.job-info p { font-size: 0.78rem; color: var(--text-tertiary); }
.job-company { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); }
.job-cta { text-align: right; }
.job-cta a { font-family: 'Outfit', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; color: var(--coral); text-decoration: none; }
.job-cta a:hover { color: var(--navy); }

/* ═══ FINAL SIGNUP ═══ */
.final-signup { background: var(--navy); padding: 64px 32px; text-align: center; color: #fff; margin: 0 -32px; }
.final-signup h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 10px; }
.final-signup p { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 540px; margin: 0 auto 28px; line-height: 1.6; }
.final-signup-form { display: flex; max-width: 460px; margin: 0 auto; }
.final-signup-form input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-right: none; padding: 14px 18px; color: #fff; font-size: 0.92rem; font-family: inherit; outline: none; }
.final-signup-form input::placeholder { color: rgba(255,255,255,0.3); }
.final-signup-form input:focus { border-color: var(--teal); }
.final-signup-form button { background: var(--coral); color: #fff; border: none; padding: 14px 28px; font-size: 0.82rem; font-weight: 700; font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.08em; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.final-signup-form button:hover { background: #D4502A; }

/* ═══ FOOTER ═══ */
.footer { background: var(--navy-deep); padding: 48px 0 32px; color: rgba(255,255,255,0.45); }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.55; color: rgba(255,255,255,0.35); max-width: 300px; }
.footer-col h5 { font-family: 'Outfit', sans-serif; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.25); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { max-width: 1240px; margin: 32px auto 0; padding: 16px 32px 0; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-signup { max-width: 460px; }
  .feat-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
.voices-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { padding: 0 16px; height: 64px; }
  .logo-img { height: 44px; }
  .nav-main { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding: 28px 0 24px; }
  .hero-inner { padding: 0 16px; }
  .hero-text h1 { font-size: 1.55rem; line-height: 1.2; }
  .hero-text p { font-size: 0.92rem; }
  .hero-stats { gap: 24px; margin-top: 18px; }
  .hero-stat-number { font-size: 1.2rem; }
  .hero-signup { padding: 24px; }
  .hero-signup h3 { font-size: 1.05rem; }
  .main { padding: 0 16px; }
  .sh { padding: 24px 0 12px; }
  .sh-title { font-size: 1.1rem; }
  .fw-grid, .research-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .reader-logos-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 16px; }
  .reader-logos-strip { gap: 8px; }
  .reader-logos-strip span { font-size: 0.75rem; }
  .topic-ribbon-inner { padding: 0 16px; gap: 0; -webkit-overflow-scrolling: touch; }
  .topic-link { padding: 10px 14px; font-size: 0.72rem; }
  .feat-lead-img { aspect-ratio: 16/10; }
  .art-title.lg { font-size: 1.3rem; }
  .art-excerpt { font-size: 0.9rem; }
  .sidebar-item { padding: 14px 0; }
  .mid-signup { flex-direction: column; margin: 0 -16px; padding: 28px 16px; text-align: center; }
  .mid-signup-text h3 { font-size: 1.1rem; }
  .mid-signup-form { flex-direction: column; width: 100%; }
  .mid-signup-form input { width: 100%; border-right: 1px solid rgba(255,255,255,0.12); }
  .testimonials { margin: 0 -16px; padding: 28px 16px; }
  .testimonial { padding: 18px; }
  .testimonial-quote { font-size: 0.85rem; }
  .job-row { grid-template-columns: 1fr 1fr; gap: 6px; }
  .job-type { display: none; }
  .job-cta { text-align: left; }
  .final-signup { padding: 36px 16px; margin: 0 -16px; }
  .final-signup h2 { font-size: 1.5rem; }
  .final-signup p { font-size: 0.9rem; }
  .final-signup-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding: 16px 16px 0; }
  .course-card { grid-template-columns: 1fr; }
  .course-img { min-height: 100px; }
  .gh-article-title { font-size: 1.8rem; }
  .gh-article { padding: 24px 16px 40px; }
  .gh-article-excerpt { font-size: 1.05rem; }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero-text { animation: fadeUp 0.5s ease-out; }
.hero-signup { animation: fadeUp 0.5s ease-out 0.1s both; }

/* ═══ GHOST CONTENT ═══ */
/* Post body content rendering */
.gh-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-primary);
}
.gh-content > * + * { margin-top: 1.5em; }
.gh-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  margin-top: 2.5em;
}
.gh-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-top: 2em;
}
.gh-content h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 1.5em;
}
.gh-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.gh-content a:hover { color: var(--navy); }
.gh-content blockquote {
  border-left: 3px solid var(--teal);
  padding-left: 20px;
  margin-left: 0;
  font-style: italic;
  color: var(--text-secondary);
}
.gh-content ul, .gh-content ol { padding-left: 1.5em; }
.gh-content li + li { margin-top: 0.5em; }
.gh-content img { max-width: 100%; height: auto; }
.gh-content figcaption {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 8px;
}
.gh-content pre {
  background: var(--navy);
  color: #e0e0e0;
  padding: 20px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
}
.gh-content code {
  background: var(--cream);
  padding: 2px 6px;
  font-size: 0.9em;
  border: 1px solid var(--border-light);
}
.gh-content pre code { background: none; border: none; padding: 0; }
.gh-content hr {
  border: none;
  border-top: 2px solid var(--border-light);
  margin: 2.5em 0;
}
.gh-content .kg-image-card,
.gh-content .kg-gallery-card,
.gh-content .kg-embed-card {
  margin-top: 2em;
  margin-bottom: 2em;
}
.gh-content .kg-width-wide { margin-left: -5%; margin-right: -5%; }
.gh-content .kg-width-full { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.gh-content .kg-bookmark-card {
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.gh-content .kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: inherit;
}
.gh-content .kg-bookmark-content { padding: 16px; flex: 1; }
.gh-content .kg-bookmark-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.gh-content .kg-bookmark-description {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gh-content .kg-bookmark-thumbnail {
  width: 200px;
  min-height: 100%;
  object-fit: cover;
}

/* ═══ POST / PAGE LAYOUT ═══ */
.gh-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}
.gh-article-header { margin-bottom: 32px; }
.gh-article-header .cat { margin-bottom: 8px; }
.gh-article-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.gh-article-excerpt {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.gh-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.gh-article-meta .meta-author { font-weight: 600; color: var(--text-secondary); }
.gh-article-feature-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 32px;
}

/* ═══ TAG ARCHIVE ═══ */
.gh-tag-header {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.gh-tag-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
}
.gh-tag-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.gh-tag-feed {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .gh-tag-feed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .gh-tag-feed { grid-template-columns: 1fr; padding: 24px 16px; }
  .gh-article-title { font-size: 2rem; }
  .gh-article { padding: 32px 16px 48px; }
}

/* ═══ AUTHOR PAGE ═══ */
.gh-author-header {
  background: var(--navy);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.gh-author-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 3px solid var(--teal);
}
.gh-author-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.gh-author-header p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ═══ PAGINATION ═══ */
.gh-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 36px 0 48px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gh-pagination a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
}
.gh-pagination a:hover { color: var(--navy); }
.gh-pagination .page-number { color: var(--text-tertiary); }

/* ═══ POST CARD (reusable in grids) ═══ */
.gh-post-card {
  background: #fff;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.25s;
}
.gh-post-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(19,40,59,0.07);
}
.gh-post-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.gh-post-card-content { padding: 20px; }
.gh-post-card-content .cat { margin-bottom: 6px; }
.gh-post-card-content .art-title { margin-bottom: 8px; }
.gh-post-card-content .art-excerpt {
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gh-post-card-content .meta { margin-top: 12px; }

/* ═══ MEMBERSHIP / PORTAL ═══ */
.gh-portal-close { display: none; }

/* ═══ DARK MODE (auto) ═══ */
@media (prefers-color-scheme: dark) {
  :root {
    --warm-white: #0C1A28;
    --cream: #111E2E;
    --sand: #1A2B3D;
    --stone: #2A3B4D;
    --text-primary: #E8E4DC;
    --text-secondary: #B0AAA0;
    --text-tertiary: #7A7A7A;
    --border-light: #1E2E40;
  }
  body { background: var(--warm-white); }
  .testimonial, .gh-post-card, .research-card, .voice-card, .course-card { background: var(--cream); }
  .fw-card { background: var(--cream); }
  .fw-card h4, .research-card h4, .course-body h4 { color: var(--teal); }
  .art-title a { color: var(--text-primary); }
  .art-title a:hover { color: var(--teal); }
  .sh-title { color: var(--teal); }
  .sh { border-bottom-color: var(--teal); }
  .cat { color: var(--teal); }
  .gh-content a { color: var(--teal); }
  .gh-content a:hover { color: var(--coral); }
  .gh-content blockquote { border-left-color: var(--teal); color: var(--text-secondary); }
  .gh-content h2, .gh-content h3 { color: var(--teal); }
  .gh-article-title { color: var(--text-primary); }
  .topic-link:hover { color: var(--text-primary); border-bottom-color: var(--teal); }
  .reader-logos { background: var(--cream); border-bottom-color: var(--border-light); }
  .topic-ribbon { background: var(--warm-white); border-bottom-color: var(--border-light); }
  .testimonials { background: var(--cream); border-color: var(--border-light); }
  .gh-pagination a:hover { color: var(--teal); }
  .job-row:hover { background: var(--cream); }
  .signup-form input { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
  .gh-content code { background: var(--cream); border-color: var(--border-light); }
  .fw-num { color: var(--stone); }
  img { opacity: 0.92; }
}

.reader-logos-strip { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; overflow: hidden; }
.reader-logo-img { height: 24px; width: auto; filter: grayscale(100%); opacity: 0.4; transition: opacity 0.2s; }
.reader-logo-img:hover { opacity: 0.7; }
