/* ========================================================
   VALUERATINGS.COM — DESIGN SYSTEM
   Parent brand: ERS.ai
   Purpose: Research publication hub for ERS rating performance
   Palette: Light body, dark hero, warm-neutral tones
   Typography: Editorial serif headlines + clean sans body
   ======================================================== */

:root {
  /* Brand Colors — derived from ERS palette but warmer/editorial */
  --navy:       #0f1a2e;
  --navy-mid:   #1a2940;
  --navy-light: #243550;
  --slate:      #3a4f6a;
  --steel:      #5a7394;
  --mist:       #8fa4bf;

  /* Accent — ERS green family */
  --accent:       #1a8a5c;
  --accent-light: #22b573;
  --accent-pale:  #e8f5ee;
  --accent-dark:  #146b47;

  /* Warm neutrals for the light sections */
  --warm-white:  #fafaf8;
  --warm-cream:  #f5f4f0;
  --warm-sand:   #edeae3;
  --warm-stone:  #d6d2c9;
  --text-primary:   #1c1c1c;
  --text-secondary: #4a4a4a;
  --text-muted:     #7a7a7a;
  --text-on-dark:   #e8e6e1;

  /* Borders & Surfaces */
  --border-light: #e0ddd6;
  --border-dark:  #2a3d56;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 2px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);

  /* Typography Scale */
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans:  'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 80px;
  --content-max: 1200px;
  --content-narrow: 800px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* --------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------- */
.container { width: 100%; max-width: 100%; margin: 0 auto; padding: 0 60px; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 60px; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label--light { color: var(--accent-light); }

.section-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-heading--light { color: #fff; }

.section-subhead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

.section-subhead--light { color: var(--text-on-dark); }

/* --------------------------------------------------------
   HEADER / NAVIGATION
   -------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.logo-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.logo-text span { color: var(--accent-light); }

.logo-powered {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9em;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover { color: #fff; }

.nav-links .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
}

.nav-links .nav-cta:hover { background: var(--accent-dark); }

.nav-ers-link {
  font-size: 0.9em !important;
  color: var(--steel) !important;
  border-left: 1px solid var(--border-dark);
  padding-left: 20px;
  margin-left: 4px;
}

.nav-ers-link:hover { color: var(--accent-light) !important; }

/* --------------------------------------------------------
   HERO SECTION — Dark, editorial
   -------------------------------------------------------- */
.hero {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 30%, rgba(26, 138, 92, 0.07), transparent),
    radial-gradient(ellipse 500px 500px at 85% 70%, rgba(90, 115, 148, 0.08), transparent);
  pointer-events: none;
}

/* Subtle grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-description {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-on-dark);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.hero-stat {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.hero-stat-number {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.9em;
  color: var(--mist);
  margin-top: 2px;
}

/* Hero sidebar — latest report card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
  backdrop-filter: blur(8px);
}

.hero-card-label {
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.hero-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero-card-excerpt {
  font-size: 0.9em;
  color: var(--mist);
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-card-meta {
  font-size: 0.9em;
  color: var(--steel);
  margin-bottom: 20px;
  display: flex;
  gap: 16px;
}

.hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--accent-light);
  transition: gap 0.2s;
}

.hero-card-link:hover { gap: 10px; }

/* --------------------------------------------------------
   SEARCH & FILTER BAR
   -------------------------------------------------------- */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  position: sticky;
  top: 64px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.filter-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9em;
  color: var(--text-primary);
  background: var(--warm-cream);
  transition: border-color 0.2s, background 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.search-box::before {
  content: '\2315';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
}

.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: var(--accent-pale);
  border-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 600;
}

.filter-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}

/* --------------------------------------------------------
   MAIN CONTENT AREA — Article Grid
   -------------------------------------------------------- */
.main-content {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.content-grid {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
}

/* --- Article List (left column) --- */
.articles-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text-primary);
}

.articles-header h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
}

.articles-header .sort-label {
  font-size: 0.9em;
  color: var(--text-muted);
}

.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
  cursor: pointer;
}

.article-card:hover { background: var(--warm-cream); margin: 0 -16px; padding: 28px 16px; border-radius: 8px; }

.article-thumb {
  width: 200px;
  height: 140px;
  background: var(--warm-sand);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.article-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 28px;
  color: var(--slate);
  background: linear-gradient(135deg, var(--warm-sand), var(--warm-cream));
}

.article-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.article-tag--rating { background: var(--accent); }
.article-tag--methodology { background: var(--slate); }
.article-tag--case-study { background: #b8860b; }
.article-tag--backtest { background: #8b4dbd; }

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.article-body h3:hover { color: var(--accent-dark); }

.article-excerpt {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9em;
  color: var(--text-muted);
}

.article-meta-dot { color: var(--warm-stone); }

.article-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-pale);
  color: var(--accent-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9em;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.page-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* --- Sidebar (right column) --- */
.sidebar {}

.sidebar-section {
  margin-bottom: 40px;
}

.sidebar-section-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-primary);
  margin-bottom: 20px;
}

/* Ratings quick-look */
.ratings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rating-tile {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px 10px 0;
  transition: all 0.2s;
  cursor: pointer;
}

.rating-tile:hover {
  border-color: var(--accent);
  box-shadow: var(--card-shadow);
}

.rating-tile-abbrev {
  flex: 0 0 80px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.rating-tile-name {
  font-size: 0.9em;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Topic tags */
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.9em;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.topic-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-pale); }

.topic-tag-count {
  font-size: 0.9em;
  color: var(--text-muted);
  background: var(--warm-cream);
  padding: 1px 6px;
  border-radius: 10px;
}

/* Newsletter CTA */
.newsletter-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: 12px;
  padding: 28px;
  color: #fff;
}

.newsletter-box h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 8px;
}

.newsletter-box p {
  font-size: 0.9em;
  color: var(--mist);
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-input {
  display: flex;
  gap: 8px;
}

.newsletter-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-dark);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9em;
}

.newsletter-input input::placeholder { color: var(--steel); }

.newsletter-input button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-input button:hover { background: var(--accent-light); }

/* --------------------------------------------------------
   FEATURED STUDIES BAND
   -------------------------------------------------------- */
.featured-band {
  background: var(--warm-cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--section-pad) 0;
}

.featured-header {
  text-align: center;
  margin-bottom: 48px;
}

.featured-header .section-subhead {
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

.featured-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.featured-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.featured-card-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featured-card-visual.bg-1 { background: linear-gradient(135deg, #0f1a2e, #1a3a4a); }
.featured-card-visual.bg-2 { background: linear-gradient(135deg, #1a2940, #2a1a40); }
.featured-card-visual.bg-3 { background: linear-gradient(135deg, #1a3020, #0f2030); }

.featured-card-stat {
  text-align: center;
}

.featured-card-stat-number {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-light);
}

.featured-card-stat-label {
  font-size: 0.9em;
  color: var(--mist);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.featured-card-body { padding: 24px; }

.featured-card-tag {
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.featured-card-body h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.featured-card-body p {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.6;
}

.featured-card-footer {
  padding: 0 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9em;
  color: var(--text-muted);
}

.featured-card-read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9em;
}

/* --------------------------------------------------------
   FOOTER
   -------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--mist);
  padding: 60px 0 32px;
}

.footer-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand-name span { color: var(--accent-light); }

.footer-brand p {
  font-size: 0.9em;
  line-height: 1.7;
  color: var(--steel);
  margin-bottom: 16px;
  max-width: 320px;
}

.footer-ers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
  color: var(--steel);
  border: 1px solid var(--border-dark);
  padding: 8px 14px;
  border-radius: 6px;
  transition: border-color 0.2s;
}

.footer-ers-badge:hover { border-color: var(--accent); color: var(--accent-light); }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.9em;
  color: var(--steel);
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  color: var(--steel);
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--steel); }
.footer-legal a:hover { color: var(--mist); }

/* --------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .sidebar-section { margin-bottom: 0; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .hero { padding: 110px 0 60px; }
  .hero-title { font-size: 30px; }
  .hero-meta { flex-direction: column; gap: 16px; }
  .article-card { grid-template-columns: 1fr; }
  .article-thumb { width: 100%; height: 180px; }
  .filter-inner { flex-direction: column; }
  .search-box { min-width: 100%; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------
   ANIMATIONS
   -------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeUp 0.6s ease-out both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.15s; }

.article-card {
  animation: fadeUp 0.4s ease-out both;
}
.article-card:nth-child(2) { animation-delay: 0.05s; }
.article-card:nth-child(3) { animation-delay: 0.1s; }
.article-card:nth-child(4) { animation-delay: 0.15s; }
.article-card:nth-child(5) { animation-delay: 0.2s; }

/* --------------------------------------------------------
   METHODOLOGY PAGE
   -------------------------------------------------------- */

/* Page hero — shorter variant */
.page-hero {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 30%, rgba(26, 138, 92, 0.07), transparent),
    radial-gradient(ellipse 500px 500px at 85% 70%, rgba(90, 115, 148, 0.08), transparent);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero-subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-on-dark);
  max-width: 640px;
}

/* Content sections */
.method-section {
  padding: var(--section-pad) 0;
}

.method-section--alt {
  background: var(--warm-cream);
}

.method-section--dark {
  background: var(--navy);
  color: #fff;
}

.method-section h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.method-section p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.method-section--dark p {
  color: var(--text-on-dark);
}

/* Blockquote */
.method-quote {
  background: var(--warm-cream);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
  max-width: 700px;
}

.method-quote p {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.method-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-muted);
}

/* Differentiator cards */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.diff-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
}

.diff-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Rating cards for methodology */
.ratings-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.m-rating-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border-top: 4px solid var(--accent);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.m-rating-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.m-rating-card--pri  { border-top-color: var(--navy); }
.m-rating-card--li   { border-top-color: #dc2626; }
.m-rating-card--fsn  { border-top-color: var(--accent); }
.m-rating-card--4d   { border-top-color: #b8860b; }
.m-rating-card--v1   { border-top-color: #16a34a; }
.m-rating-card--eliq { border-top-color: var(--slate); }
.m-rating-card--estr { border-top-color: var(--slate); }
.m-rating-card--edur { border-top-color: var(--slate); }
.m-rating-card--eval { border-top-color: var(--slate); }

.m-rating-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.m-rating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9em;
}

.m-rating-card--pri  .m-rating-card-icon { background: #e8edf4; color: var(--navy); }
.m-rating-card--li   .m-rating-card-icon { background: #fde8e8; color: #dc2626; }
.m-rating-card--fsn  .m-rating-card-icon { background: var(--accent-pale); color: var(--accent); }
.m-rating-card--4d   .m-rating-card-icon { background: #fef3c7; color: #92400e; }
.m-rating-card--v1   .m-rating-card-icon { background: #dcfce7; color: #16a34a; }
.m-rating-card--eliq .m-rating-card-icon,
.m-rating-card--estr .m-rating-card-icon,
.m-rating-card--edur .m-rating-card-icon,
.m-rating-card--eval .m-rating-card-icon { background: #f1f5f9; color: var(--slate); }

.m-rating-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.m-rating-card-summary {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
  margin: 0;
}

.m-rating-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.m-rating-card-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.3s;
  line-height: 1;
}

.m-rating-card.expanded .m-rating-card-arrow {
  transform: rotate(180deg);
}

.m-rating-short {
  font-size: 0.9em;
  font-weight: 600;
  color: var(--accent);
}

.m-rating-detail {
  display: none;
}

.m-rating-card.expanded .m-rating-detail {
  display: block;
}

.m-rating-card.expanded .m-rating-short {
  display: none;
}

.m-rating-detail p {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 12px;
}

.m-rating-detail ul {
  font-size: 0.9em;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 20px;
  margin: 0;
}

/* Rating scale bar */
.rating-scale {
  display: flex;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.rating-scale-item {
  flex: 1;
  min-width: 120px;
  border-radius: 6px;
  padding: 10px;
  color: #fff;
  text-align: center;
}

.rating-scale-item .grade { font-weight: 700; font-size: 18px; }
.rating-scale-item .label { font-size: 0.9em; opacity: 0.9; margin-top: 2px; }

/* Timeline */
.method-timeline {
  position: relative;
  padding-left: 48px;
  margin-top: 32px;
}

.method-timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.method-timeline-step {
  position: relative;
  margin-bottom: 36px;
}

.method-timeline-step:last-child {
  margin-bottom: 0;
}

.method-timeline-dot {
  position: absolute;
  left: -40px;
  width: 26px;
  height: 26px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9em;
}

.method-timeline-step h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.method-timeline-step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Audit band */
.audit-band {
  background: var(--navy);
  padding: var(--section-pad) 0;
  text-align: center;
}

.audit-band h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.audit-band p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-on-dark);
  max-width: 640px;
  margin: 0 auto 16px;
}

.audit-band .muted {
  color: var(--steel);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

.cta-band .btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--accent-dark);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-band .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* --------------------------------------------------------
   REPORT PAGES
   -------------------------------------------------------- */
.report-hero {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.report-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 30%, rgba(26, 138, 92, 0.07), transparent),
    radial-gradient(ellipse 500px 500px at 85% 70%, rgba(90, 115, 148, 0.08), transparent);
  pointer-events: none;
}

.report-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.report-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.report-hero-content {
  flex: 1 1 0;
  min-width: 0;
}

.report-hero-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 200px;
}

.report-band-label {
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mist);
}

.report-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}

.report-download-btn:hover { background: var(--accent-light); }

.report-category {
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-light);
}

.report-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.report-subtitle {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 16px;
  line-height: 1.3;
}

.report-description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-on-dark);
  max-width: 700px;
}

.report-body {
  padding: var(--section-pad) 0;
  background: var(--warm-white);
}

.report-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Report stats row */
.report-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
}

.report-stat {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.report-stat-value {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.report-stat-label {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* Report data table */
.report-table-section {
  margin-bottom: 48px;
}

.report-table-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.report-table-subtitle {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

.report-table thead th {
  text-align: left;
  font-weight: 700;
  font-size: 0.9em;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 12px;
  border-bottom: 2px solid var(--text-primary);
}

.report-table tbody tr {
  border-bottom: 1px solid var(--border-light);
}

.report-table tbody tr:last-child {
  border-bottom: 2px solid var(--text-primary);
}

.report-table td {
  padding: 12px;
  vertical-align: middle;
}

.report-table .spx-row {
  background: var(--warm-cream);
  font-style: italic;
}

/* Grade cells */
.report-grade {
  font-weight: 700;
  font-size: 1em;
  white-space: nowrap;
}

.report-grade-count {
  display: block;
  font-size: 0.9em;
  font-weight: 400;
  color: var(--text-muted);
}

/* Bar chart cells */
.report-bar-cell {
  min-width: 160px;
}

.report-bar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-bar {
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
}

.report-bar--accent { background: var(--accent); }
.report-bar--accent-light { background: var(--accent-light); opacity: 0.45; }
.report-bar--steel { background: var(--steel); }
.report-bar--red { background: #dc2626; }
.report-bar--gold { background: #b8860b; }
.report-bar--navy { background: var(--navy-light); }

.report-bar-value {
  font-weight: 600;
  white-space: nowrap;
}

.report-bar-value--negative { color: #dc2626; }
.report-bar-value--positive { color: var(--accent-dark); }

/* Legend */
.report-legend {
  display: flex;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.report-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9em;
  color: var(--text-muted);
}

.report-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

.report-legend--accent { background: var(--accent); }
.report-legend--accent-light { background: var(--accent-light); opacity: 0.45; }
.report-legend--steel { background: var(--steel); }
.report-legend--red { background: #dc2626; }

/* Report quote */
.report-quote {
  background: var(--warm-cream);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.report-quote p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.report-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--text-muted);
}

/* CTA strip */
.report-cta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9em;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.report-cta-strip a {
  color: var(--accent);
  font-weight: 600;
}

.report-cta-strip a:hover { color: var(--accent-dark); }

/* Disclaimer */
.report-disclaimer {
  font-size: 0.9em;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 24px;
}

/* Report responsive */
@media (max-width: 640px) {
  .report-hero { padding: 110px 0 48px; }
  .report-title { font-size: 26px; }
  .report-subtitle { font-size: 18px; }
  .report-stats { flex-direction: column; }
  .report-table { font-size: 0.85em; }
  .report-bar-cell { min-width: 100px; }
}

/* Methodology responsive */
@media (max-width: 1024px) {
  .diff-grid { grid-template-columns: 1fr; }
  .ratings-card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .page-hero { padding: 110px 0 48px; }
  .page-hero-title { font-size: 28px; }
  .ratings-card-grid { grid-template-columns: 1fr; }
  .rating-scale { flex-direction: column; }
}
