/* ============================================================
   CAAEE.org - Center for Allergy, Asthma & Eczema Education
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --serif: 'DM Serif Display', Georgia, serif;
  --body-serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ink: #2C3033;
  --paper: #FAFAF7;
  --accent: #2A8C6A;
  --accent-dark: #1F6E52;
  --accent-light: #D6F0E5;
  --gray-100: #F0EFEA;
  --gray-200: #e8e6e1;
  --gray-300: #D9D8D3;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --rule: #D9D8D3;
  --curex-gold: #E8A44A;
  --nav-height: 64px;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Disabled links */
a.disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}

/* ============================================================
   SITE NAVIGATION
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.hidden { transform: translateY(-100%); }
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { height: 54px; width: auto; }
.nav-logo {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nav-logo .logo-accent { color: var(--accent); }
.nav-logo .logo-full {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 1px;
  text-transform: none;
}

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links li a {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gray-500); padding: 16px 16px; display: block;
  transition: color 0.2s; position: relative;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--accent); }
.nav-links li a.active::after {
  content: ''; position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 2px; background: var(--accent);
}
.nav-links li a.disabled { opacity: 0.35; }
.nav-links li a.disabled:hover { color: var(--gray-500); }

.nav-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  color: white; background: var(--accent);
  padding: 10px 24px; border-radius: 8px; display: inline-block; transition: all 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink);
}
.nav-hamburger svg { display: block; }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-height);
  left: 0; right: 0; bottom: 0; background: rgba(250,250,247,0.98);
  z-index: 999; padding: 32px 28px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  font-family: var(--sans); font-size: 18px; font-weight: 600;
  color: var(--gray-500); display: block; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s;
}
.mobile-menu ul li a:hover, .mobile-menu ul li a.active { color: var(--ink); }
.mobile-menu ul li a.disabled { opacity: 0.35; pointer-events: none; }
.mobile-menu .mobile-cta {
  display: block; text-align: center; margin-top: 28px;
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  color: var(--ink); background: var(--curex-gold); padding: 14px 24px;
}

/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header { background: linear-gradient(135deg, #1B2A2F 0%, #243338 100%); padding: 16px 0 12px; text-align: center; }
.site-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.site-title {
  font-family: var(--sans); font-size: clamp(16px, 2.5vw, 20px); font-weight: 600;
  color: rgba(255,255,255,0.9); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2;
}
.site-title .title-accent { color: var(--accent); }
.site-tagline {
  font-family: var(--sans); font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.45); margin-top: 4px;
}
.header-date {
  font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.25); margin-top: 8px;
}
.header-rule { width: 60px; height: 2px; background: var(--accent); margin: 12px auto 0; border-radius: 1px; }

/* ============================================================
   CATEGORY TABS
   ============================================================ */

.category-bar { border-bottom: 1px solid var(--gray-200); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.category-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; gap: 0;
}
.cat-tab {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500);
  padding: 14px 20px; border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: pointer; transition: all 0.2s;
  background: none; border-top: none; border-left: none; border-right: none;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.cat-tab.disabled { opacity: 0.4; cursor: default; }
.cat-tab.disabled:hover { color: var(--gray-500); }

/* ============================================================
   HOMEPAGE LAYOUT
   ============================================================ */

.home-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.featured-section { padding: 24px 0 20px; border-bottom: 1px solid var(--gray-200); }
.featured-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.featured-image { aspect-ratio: 4/3; background: var(--gray-200); overflow: hidden; position: relative; border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.featured-image img, .featured-image .feat-img-bg { width: 100%; height: 100%; object-fit: cover; }
.feat-img-bg { background: url('hero.png') center center / cover no-repeat; }
.featured-image .feat-badge {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: white; background: var(--accent); padding: 5px 12px; border-radius: 6px;
}
.featured-content .feat-kicker {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.featured-content h2 {
  font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); font-weight: 800;
  line-height: 1.2; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em;
}
.featured-content h2 a { transition: color 0.2s; }
.featured-content h2 a:hover { color: var(--accent); }
.featured-content .feat-excerpt {
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  color: var(--gray-600); margin-bottom: 12px;
}
.featured-content .feat-meta {
  font-family: var(--sans); font-size: 12px; color: var(--gray-500);
  display: flex; align-items: center; gap: 12px;
}
.feat-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); }
.feat-meta .read-time { color: var(--accent); font-weight: 600; }
.featured-content .feat-read-btn {
  display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--accent); border: 2px solid var(--accent);
  padding: 8px 20px; margin-top: 14px; transition: all 0.2s; border-radius: 8px;
}
.feat-read-btn:hover { background: var(--accent); color: white; }

/* Article grid */
.articles-section { padding: 24px 0; }
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200);
}
.section-title {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-500);
}

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { display: block; transition: transform 0.25s, box-shadow 0.25s; background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); }
.article-card:not(.disabled):hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.article-card.disabled { cursor: default; }
.card-image {
  aspect-ratio: 16/10; background: var(--gray-200); margin-bottom: 0;
  overflow: hidden; position: relative;
}
.card-image .feat-img-bg {
  width: 100%; height: 100%; background-size: cover; background-position: center;
}
.card-image .card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; color: var(--gray-300);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.card-kicker {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
  padding: 14px 16px 0 16px;
}
.article-card h3 {
  font-family: var(--serif); font-size: 17px; font-weight: 400;
  line-height: 1.3; color: var(--ink); margin-bottom: 6px; transition: color 0.2s;
  padding: 0 16px;
}
.article-card:not(.disabled):hover h3 { color: var(--accent); }
.card-excerpt {
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: var(--gray-600); margin-bottom: 8px; padding: 0 16px;
}
.card-meta { font-family: var(--sans); font-size: 11px; color: var(--gray-500); padding: 0 16px 14px; }
.card-meta .coming-soon {
  font-style: italic; color: var(--gray-300);
}

/* Two-col with sidebar */
.two-col-section {
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
  padding: 24px 0; border-top: 1px solid var(--gray-200);
}
.story-list { list-style: none; max-height: 280px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gray-300) transparent; }
.story-list::-webkit-scrollbar { width: 4px; }
.story-list::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
.story-list::-webkit-scrollbar-track { background: transparent; }
.story-list li { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.story-list li:first-child { padding-top: 0; }
.story-list li span.story-link { display: block; }
.story-list .story-kicker {
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.story-list h4 {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  line-height: 1.3; color: var(--ink); transition: color 0.2s;
}
.story-list .story-meta { font-family: var(--sans); font-size: 11px; color: var(--gray-500); margin-top: 4px; }
.story-list .story-meta .coming-soon { font-style: italic; color: var(--gray-300); }

/* Sidebar */
.sidebar .sidebar-box {
  background: white; border: 1px solid var(--gray-200); padding: 20px; margin-bottom: 16px; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.sidebar-box-header {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200);
}
.sidebar-cta-text {
  font-family: var(--sans); font-size: 14px; line-height: 1.6;
  color: var(--gray-600); margin-bottom: 16px;
}
.sidebar-btn {
  display: block; text-align: center; font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: white; background: var(--accent); padding: 12px 20px; transition: all 0.2s; border-radius: 8px;
}
.sidebar-btn:hover { background: var(--accent-dark); }

.trending-list { list-style: none; counter-reset: trending; }
.trending-list li { counter-increment: trending; padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.trending-list li:last-child { border-bottom: none; }
.trending-list li a, .trending-list li span.trend-link {
  display: flex; gap: 14px; align-items: flex-start;
}
.trending-list li a::before, .trending-list li span.trend-link::before {
  content: counter(trending, decimal-leading-zero);
  font-family: var(--serif); font-size: 28px; font-weight: 800;
  color: var(--gray-200); line-height: 1; flex-shrink: 0; min-width: 32px;
}
.trending-list h5 {
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  line-height: 1.35; color: var(--ink); transition: color 0.2s;
}
.trending-list li a:hover h5 { color: var(--accent); }
.trending-list li span.trend-link h5 { color: var(--gray-500); }

/* ============================================================
   NEWSLETTER
   ============================================================ */

.newsletter-bar { background: linear-gradient(135deg, #1B2A2F 0%, #243338 100%); color: white; padding: 36px 0; margin-top: 0; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; padding: 0 28px; }
.newsletter-inner h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 8px; color: white; }
.newsletter-inner p { font-family: var(--sans); font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; font-family: var(--sans); font-size: 14px; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08);
  color: white; outline: none; border-radius: 8px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; color: white; background: var(--accent);
  padding: 12px 24px; border: none; cursor: pointer; transition: background 0.2s; border-radius: 8px;
}
.newsletter-form button:hover { background: var(--accent-dark); }
.newsletter-success {
  font-family: var(--sans); font-size: 14px; color: var(--accent);
  margin-top: 12px; display: none;
}
.newsletter-success.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background: #E8F5EE; border-top: 1px solid #C8E6D6; color: var(--gray-500); padding: 32px 0 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 28px; }
.footer-brand .footer-logo {
  font-family: var(--sans); font-size: 16px; font-weight: 800;
  color: var(--ink); margin-bottom: 10px; letter-spacing: 0.04em;
}
.footer-brand .footer-logo .logo-accent { color: var(--accent); }
.footer-brand p { font-family: var(--sans); font-size: 13px; line-height: 1.6; color: var(--gray-500); }
.footer-col h5 {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-family: var(--sans); font-size: 13px; color: var(--gray-500); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-col ul li span.disabled-link {
  font-family: var(--sans); font-size: 13px; color: var(--gray-300); cursor: default;
}
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 11px;
}
.footer-bottom .disclosure { font-style: italic; color: var(--gray-300); max-width: 500px; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-container { max-width: 1000px; margin: 0 auto; padding: 0 28px; }

.article-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--gray-200); margin-bottom: 36px; }
.article-hero .kicker { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: inline-block; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.article-hero h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 44px); font-weight: 800; line-height: 1.15; color: var(--ink); margin-bottom: 20px; letter-spacing: -0.02em; }
.article-hero .deck { font-family: var(--body-serif); font-size: 20px; line-height: 1.55; color: var(--gray-600); font-weight: 300; }

.byline-block { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin-bottom: 24px; font-family: var(--sans); }
.byline-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--gray-200), var(--gray-300)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--gray-600); flex-shrink: 0; }
.byline-info { line-height: 1.4; }
.byline-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.byline-title { font-size: 12px; color: var(--gray-500); }
.byline-meta { margin-left: auto; text-align: right; font-size: 12px; color: var(--gray-500); }
.byline-meta .read-time { color: var(--accent); font-weight: 600; }

.article-body p { margin-bottom: 14px; }
.article-body p.lede { font-size: 21px; line-height: 1.65; color: var(--gray-700); }
.article-body p.lede::first-letter { font-family: var(--serif); font-size: 64px; float: left; line-height: 0.8; margin: 6px 10px 0 0; color: var(--accent); font-weight: 800; }
.article-body strong { font-weight: 600; }
.article-body a.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: color 0.2s; }
.article-body a.inline-link:hover { color: var(--accent-dark); }
.article-body h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.3; margin: 28px 0 12px; color: var(--ink); }
.article-body h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 24px 0 10px; }

.scan-list { margin: 18px 0 24px; padding-left: 0; list-style: none; }
.scan-list li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 17px; line-height: 1.6; }
.scan-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

.pull-quote { margin: 24px 0; padding: 28px 32px; border-left: 4px solid var(--accent); background: var(--gray-100); }
.pull-quote blockquote { font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); margin-bottom: 12px; }
.pull-quote cite { font-family: var(--sans); font-size: 13px; font-style: normal; color: var(--gray-500); font-weight: 500; }

.stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0; border: 1px solid var(--gray-200); background: white; }
.stat-item { text-align: center; padding: 24px 16px; border-right: 1px solid var(--gray-200); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-label { font-family: var(--sans); font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; line-height: 1.4; }

.chart-container { margin: 36px 0; background: white; border: 1px solid var(--gray-200); padding: 28px 24px 20px; }
.chart-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.chart-title { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); }
.chart-title span { display: block; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: normal; text-transform: none; margin-top: 4px; }
.chart-source { font-family: var(--sans); font-size: 10px; color: var(--gray-300); }
.chart-svg { width: 100%; height: auto; }

.article-figure { margin: 24px 0; position: relative; border-radius: 12px; overflow: hidden; }
.article-figure .figure-img { width: 100%; height: 420px; background: url('../hero.png') center center / cover no-repeat; position: relative; overflow: hidden; }
.article-figure figcaption { font-family: var(--sans); font-size: 13px; color: var(--gray-500); padding: 10px 0 0; line-height: 1.5; }
.article-figure figcaption .credit { text-transform: uppercase; font-size: 10px; letter-spacing: 0.08em; font-weight: 600; color: var(--gray-300); }

.how-it-works { margin: 24px 0; padding: 32px 28px; background: white; border: 1px solid var(--gray-200); }
.how-it-works h3 { margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-200); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 8px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); font-family: var(--serif); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-title { font-family: var(--sans); font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.step-desc { font-family: var(--sans); font-size: 13px; color: var(--gray-600); line-height: 1.55; }

.inline-cta { margin: 24px 0; padding: 24px 28px; background: linear-gradient(135deg, #1B2A2F, #243338); color: white; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.inline-cta-text { font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.5; }
.inline-cta-text strong { color: var(--curex-gold); }
.cta-btn-sm { display: inline-block; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink); background: var(--curex-gold); padding: 12px 28px; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; flex-shrink: 0; }
.cta-btn-sm:hover { background: #d9a325; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240, 180, 41, 0.3); }

.comparison-box { margin: 24px 0; border: 1px solid var(--gray-200); background: white; overflow: hidden; }
.comparison-header { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); padding: 16px 28px; border-bottom: 1px solid var(--gray-200); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-col { padding: 24px 28px; }
.comparison-col:first-child { border-right: 1px solid var(--gray-200); }
.comparison-col h4 { font-family: var(--sans); font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.comparison-col.old h4 { color: var(--gray-500); }
.comparison-col.new h4 { color: var(--accent); }
.comparison-col ul { list-style: none; padding: 0; }
.comparison-col ul li { font-family: var(--sans); font-size: 14px; line-height: 1.5; padding: 6px 0 6px 22px; position: relative; color: var(--gray-700); }
.comparison-col.old ul li::before { content: '\2715'; position: absolute; left: 0; color: var(--gray-300); font-size: 12px; font-weight: 700; }
.comparison-col.new ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent); font-size: 14px; font-weight: 700; }

.cta-module { margin: 28px 0; padding: 32px 40px; background: #1B2A2F; color: white; text-align: center; position: relative; overflow: hidden; border-radius: 12px; }
.cta-module::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 50%, rgba(42, 140, 106, 0.2), transparent 60%); pointer-events: none; }
.cta-module .cta-eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; position: relative; }
.cta-module h3 { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; position: relative; }
.cta-module .cta-sub { font-family: var(--sans); font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 480px; margin: 0 auto 24px; position: relative; }
.cta-btn { display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: white; background: var(--accent); padding: 16px 40px; text-decoration: none; border: none; cursor: pointer; transition: all 0.25s ease; position: relative; border-radius: 10px; }
.cta-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(42, 140, 106, 0.4); }
.cta-fine { font-family: var(--sans); font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 14px; position: relative; }

.related-section { margin: 28px 0; padding-top: 32px; border-top: 3px double var(--rule); }
.related-section h4 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.related-card { border: 1px solid var(--gray-200); padding: 20px; background: white; transition: border-color 0.2s; text-decoration: none; display: block; }
.related-card:hover { border-color: var(--accent); }
.related-card.disabled { pointer-events: none; opacity: 0.5; }
.related-card .card-tag { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.related-card h5 { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--ink); }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 1001; width: 0%; transition: width 0.1s linear; }

/* Credibility strip */
.credibility-strip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 20px;
  background: var(--accent-light); border-radius: 10px;
  font-family: var(--sans); text-align: center;
}
.cred-item { display: flex; align-items: center; gap: 8px; }
.cred-stars { color: var(--curex-gold); font-size: 16px; letter-spacing: 2px; }
.cred-rating { font-size: 15px; font-weight: 700; color: var(--ink); }
.cred-divider { width: 40px; height: 1px; background: var(--accent); opacity: 0.3; }
.cred-count { font-size: 22px; font-weight: 800; color: var(--accent); font-family: var(--serif); }
.cred-label { font-size: 14px; color: var(--gray-600); font-weight: 500; }

.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .featured-grid { grid-template-columns: 1fr; gap: 24px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .article-hero h1 { font-size: 26px; }
  .article-hero .deck { font-size: 17px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
  .step-grid { grid-template-columns: 1fr; gap: 24px; }
  .related-grid { grid-template-columns: 1fr; }
  .byline-meta { display: none; }
  .article-figure { margin: 24px 0; }
  .article-figure figcaption { padding: 10px 0 0; }
  .article-figure .figure-img { height: 280px; }
  .cta-module { margin: 28px 0; padding: 32px 24px; }
  .pull-quote { margin: 32px 0; padding: 24px; }
  .inline-cta { flex-direction: column; text-align: center; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-col:first-child { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { display: none; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h5 { margin-bottom: 8px; }
  .footer-col ul li { margin-bottom: 4px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
