/* ==========================================================================
   Shenton Research — shared design system
   One stylesheet for index.html, research.html and all research/*.html pages.
   Generated pages are built by build_dzt_website.py — keep class names in
   sync with the builder templates.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Source Serif 4';
  src: url('/fonts/sourceserif4-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('/fonts/sourceserif4-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #071B30;
  --navy-900: #0A2540;
  --navy-700: #16405F;
  --navy-100: #DCE6EF;
  --ivory: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #1F2933;
  --ink-soft: #5B6773;
  --line: #E5E1D8;          /* warm hairline on ivory */
  --accent: #2F8CEA;        /* logo azure */
  --accent-deep: #1F6FC4;   /* azure darkened for text on light bg (AA) */
  /* SmartKarma verticals */
  --cat-quant: #3E6C96;      /* Quantitative Research */
  --cat-ecm: #0A2540;        /* ECM */
  --cat-rebal: #5D5A96;      /* Index Rebalance */
  --cat-event: #9C5B3A;      /* Event-Driven */
  --cat-bottomup: #2F6E52;   /* Equity Bottom-Up */
  --cat-thematic: #2F6E7E;   /* Thematic */
  /* legacy category names (pre-vertical pages) */
  --cat-research: #0A2540;
  --cat-sector: #2F6E52;

  --font-serif: 'Source Serif 4', 'Songti SC', 'Noto Serif CJK SC', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', 'TeX Gyre Heros', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* faint ascending chart-line motif for navy bands */
  --chartline: url("data:image/svg+xml,%3Csvg%20xmlns='http%3A//www.w3.org/2000/svg'%20width='720'%20height='240'%3E%3Cpolyline%20points='0,200%2080,170%20160,185%20240,140%20320,150%20400,110%20480,125%20560,80%20640,95%20720,40'%20fill='none'%20stroke='rgba(255,255,255,0.09)'%20stroke-width='2'/%3E%3Cpolyline%20points='0,224%2080,208%20160,216%20240,188%20320,194%20400,168%20480,174%20560,144%20640,152%20720,118'%20fill='none'%20stroke='rgba(255,255,255,0.045)'%20stroke-width='2'/%3E%3C/svg%3E");

  --fs-hero: clamp(2.1rem, 4.5vw, 3.3rem);
  --fs-h2: clamp(1.6rem, 2.6vw, 2.2rem);
  --fs-h3: 1.25rem;

  /* legacy aliases used by older inline markup */
  --primary: #0A2540;
  --primary-hover: #16405F;
  --white: #ffffff;
  --bg-light: #FAF7F2;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.65;
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
::selection { background: var(--navy-100); }

/* keyboard focus */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 18px;
}
/* print-heritage double rule under section headings */
.section-heading::after {
  content: '';
  display: block;
  width: 64px;
  margin-top: 16px;
  border-top: 3px solid var(--navy-900);
  border-bottom: 1px solid var(--navy-900);
  height: 3px;
}
.contact-lede .section-heading::after { margin-left: auto; margin-right: auto; }
.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 72ch;
}
.num { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* legacy button names still in older markup */
.btn-view-all, .cta-btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--navy-900); color: #fff;
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600;
  border: none; border-radius: 3px; cursor: pointer;
  transition: background 0.2s;
}
.btn-view-all:hover, .cta-btn:hover { background: var(--navy-700); }

/* ---------- Navbar (navy bar, all pages) ---------- */
.navbar {
  position: sticky; top: 0; width: 100%; height: 72px;
  z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px;
  background: var(--navy-900);
  border-top: 3px solid var(--accent);   /* site-wide brand keyline */
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar .logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  position: relative;
  font-size: 0.9375rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 6px 0; margin: 0 18px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent);
  transition: right 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.menu-toggle {
  display: none; font-size: 26px; cursor: pointer;
  background: none; border: none; color: #fff; line-height: 1;
}

/* ---------- Research cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.research-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-900);
  border-radius: 4px;
  padding: 26px 26px 22px;
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
}
.research-card:hover {
  box-shadow: 0 10px 30px rgba(10,37,64,0.10);
  transform: translateY(-3px);
}
.research-card[data-category="Quantitative Research"],
.research-card[data-category="Quantitative"] { border-top-color: var(--cat-quant); }
.research-card[data-category="ECM"] { border-top-color: var(--cat-ecm); }
.research-card[data-category="Index Rebalance"] { border-top-color: var(--cat-rebal); }
.research-card[data-category="Event-Driven"] { border-top-color: var(--cat-event); }
.research-card[data-category="Equity Bottom-Up"] { border-top-color: var(--cat-bottomup); }
.research-card[data-category="Thematic"] { border-top-color: var(--cat-thematic); }
.research-card[data-category="Research"],
.research-card[data-category="Equity Research"] { border-top-color: var(--cat-research); }
.research-card[data-category="Sector Update"] { border-top-color: var(--cat-sector); }

.card-category {
  align-self: flex-start;
  display: inline-block; padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.6875rem; font-weight: 600; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
  background: var(--navy-100); color: var(--navy-900);
}
.research-card[data-category="Quantitative Research"] .card-category,
.research-card[data-category="Quantitative"] .card-category { background: rgba(62,108,150,0.12); color: var(--cat-quant); }
.research-card[data-category="ECM"] .card-category { background: rgba(10,37,64,0.08); color: var(--cat-ecm); }
.research-card[data-category="Index Rebalance"] .card-category { background: rgba(93,90,150,0.12); color: var(--cat-rebal); }
.research-card[data-category="Event-Driven"] .card-category { background: rgba(156,91,58,0.12); color: var(--cat-event); }
.research-card[data-category="Equity Bottom-Up"] .card-category { background: rgba(47,110,82,0.12); color: var(--cat-bottomup); }
.research-card[data-category="Thematic"] .card-category { background: rgba(47,110,126,0.12); color: var(--cat-thematic); }
.research-card[data-category="Research"] .card-category,
.research-card[data-category="Equity Research"] .card-category { background: rgba(10,37,64,0.08); color: var(--cat-research); }
.research-card[data-category="Sector Update"] .card-category { background: rgba(47,110,82,0.12); color: var(--cat-sector); }

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 600; line-height: 1.35;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.card-date {
  font-size: 0.8125rem; color: var(--ink-soft); margin-bottom: 12px;
  font-feature-settings: "tnum";
}
.card-abstract {
  font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-tickers {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto; padding-top: 16px;
}
.ticker-tag {
  display: inline-block; padding: 3px 9px;
  background: var(--navy-100);
  border-radius: 3px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--navy-900);
  font-feature-settings: "tnum";
}

/* ---------- Listing page (research.html) ---------- */
.page-header {
  background:
    var(--chartline) right -40px bottom -30px / 720px 240px no-repeat,
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 72px 40px 56px;
  text-align: left;
}
.page-header .container { padding: 0; }
.page-header h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2); font-weight: 600; line-height: 1.2;
  margin-bottom: 8px;
}
/* white variant of the double-rule heading device */
.page-header h1::after {
  content: '';
  display: block;
  width: 64px;
  margin: 16px 0 0;
  border-top: 3px solid rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.9);
  height: 3px;
}
.page-header .page-sub {
  font-size: 1rem; color: var(--navy-100);
  font-feature-settings: "tnum";
  max-width: 70ch;
  margin-top: 12px;
}

.filters {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px; padding: 22px 24px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  max-width: 1140px; margin: 0 auto;
}
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line); border-radius: 3px;
  background: var(--paper);
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter-btn.active {
  background: var(--navy-900); color: #fff; border-color: var(--navy-900);
  box-shadow: 0 0 0 2px rgba(47,140,234,0.35);
}
.search-box {
  flex: 1 1 220px;
  min-width: 180px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line); border-radius: 3px;
  background: var(--paper);
  font-family: var(--font-sans); font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,140,234,0.18); }
.search-box::placeholder { color: var(--ink-soft); }

/* ---------- Article pages (research/*.html) ---------- */
.report-header {
  background:
    var(--chartline) right -40px bottom -30px / 720px 240px no-repeat,
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 64px 40px 48px;
}
.report-header .container { max-width: 800px; margin: 0 auto; padding: 0; }
.report-header .category {
  display: inline-block; padding: 5px 12px;
  border-radius: 3px;
  font-size: 0.6875rem; font-weight: 600; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
}
.report-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600; line-height: 1.25;
  margin-bottom: 14px;
}
.report-meta { font-size: 0.875rem; color: var(--navy-100); font-feature-settings: "tnum"; }
.report-meta span { margin-right: 20px; }

.share-buttons { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.share-label { font-size: 0.8125rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff; background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.share-btn:hover { border-color: transparent; }
.share-btn.linkedin:hover { background: #0077B5; }
.share-btn.twitter:hover { background: #000; }
.share-btn.facebook:hover { background: #1877F2; }
.share-btn.email:hover { background: var(--navy-700); }
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }

.report-body { max-width: 800px; margin: 0 auto; padding: 48px 24px 72px; }
.back-link {
  display: inline-block; margin-bottom: 28px;
  color: var(--accent-deep); font-size: 0.875rem; font-weight: 500;
}
.back-link:hover { text-decoration: underline; }
.report-body .abstract {
  font-family: var(--font-serif);
  font-size: 1.15rem; line-height: 1.75; color: var(--ink);
  max-width: 72ch;
  margin-bottom: 32px;
}
.report-body .abstract strong { font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.report-body .card-tickers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; }
.report-body .ticker-tag { font-size: 0.8125rem; padding: 5px 12px; }

.stock-names {
  margin-bottom: 32px; padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 4px;
}
.stock-names h3 {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 8px;
}
.stock-names p { font-size: 0.9375rem; color: var(--ink); }

.cta-box {
  text-align: center; padding: 44px 32px;
  background:
    radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(120deg, var(--navy-950), var(--navy-900) 60%, var(--navy-700));
  border-radius: 4px; margin: 36px 0 0;
}
.cta-box p {
  font-family: var(--font-serif);
  font-size: 1.2rem; color: #fff; margin-bottom: 20px;
}
.cta-box .cta-btn { background: var(--accent); }
.cta-box .cta-btn:hover { background: var(--accent-deep); }

/* ---------- Modal ---------- */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(7,27,48,0.65); z-index: 1000;
  justify-content: center; align-items: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--paper); border-radius: 6px; padding: 36px;
  max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--ink-soft); line-height: 1;
}
.modal-close:hover { color: var(--ink); }
.modal h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy-900); margin-bottom: 5px; }
.modal .modal-subtitle { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 20px; }
.modal .report-info {
  background: var(--ivory); border: 1px solid var(--line);
  padding: 12px 15px; border-radius: 4px;
  margin-bottom: 20px; font-size: 0.875rem; color: var(--ink-soft);
}
.modal .report-info strong { color: var(--navy-900); }
.modal label {
  display: block; font-size: 0.8125rem; font-weight: 600;
  color: var(--ink); margin-bottom: 5px; margin-top: 15px;
}
.modal input, .modal textarea, .modal select {
  width: 100%; padding: 10px 12px;
  font-family: var(--font-sans);
  font-size: 0.9375rem; background: var(--ivory);
  border: 1px solid var(--line); border-radius: 3px; outline: none;
  color: var(--ink);
  transition: border-color 0.2s;
}
.modal input:focus, .modal textarea:focus, .modal select:focus { border-color: var(--accent); }
.modal textarea { height: 80px; resize: vertical; }
.modal .email-error { display: none; color: #B0413E; font-size: 0.8125rem; margin-top: 4px; }
.modal .submit-btn {
  display: block; width: 100%; margin-top: 20px; padding: 13px;
  background: var(--navy-900); color: #fff; border: none; border-radius: 3px;
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.modal .submit-btn:hover { background: var(--navy-700); }
.modal .submit-btn:disabled { background: var(--ink-soft); cursor: not-allowed; }
.modal .success-msg { display: none; text-align: center; padding: 30px 0; }
.modal .success-msg h3 { font-family: var(--font-serif); color: var(--cat-sector); margin-bottom: 10px; }

/* ---------- Footer (all pages) ---------- */
.footer-widgets {
  background: var(--ivory);
  padding: 56px 24px 48px;
  text-align: center; color: var(--ink-soft); font-size: 0.875rem;
  border-top: 1px solid var(--line);
}
.footer-widgets h3 {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 28px;
}
.dist-channels {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 56px;
}
.dist-channel { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dist-channel img { height: 40px; width: auto; opacity: 0.85; transition: opacity 0.2s; }
.dist-channel img:hover { opacity: 1; }
.dist-channel img.logo-tall { height: 34px; }
/* all-caps wordmarks sized so text height matches the smartkarma/LSEG wordmarks */
.dist-channel img[alt="Bloomberg"], .dist-channel img[alt="FactSet"] { height: 22px; }
.smartkarma-link { position: relative; display: inline-block; }
.smartkarma-link img { transition: transform 0.25s ease; }
.smartkarma-link:hover img { transform: scale(1.04); }
.smartkarma-tooltip {
  position: absolute;
  bottom: 100%; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--navy-900);
  color: #fff;
  font-size: 0.75rem; font-weight: 400; letter-spacing: normal;
  text-transform: none; white-space: nowrap;
  padding: 8px 14px; border-radius: 4px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.smartkarma-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-900);
}
.smartkarma-link:hover .smartkarma-tooltip,
.smartkarma-link:focus .smartkarma-tooltip {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(-14px);
}
.copyright {
  background: var(--navy-950); color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 22px 20px; font-size: 0.8125rem;
  line-height: 1.7;
}
.copyright-tagline {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Homepage sections
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: center;
  background-image:
    var(--chartline),
    linear-gradient(100deg, rgba(7,27,48,0.92) 0%, rgba(7,27,48,0.82) 45%, rgba(10,37,64,0.62) 100%),
    url('/images/banner.jpg');
  background-size: 720px 240px, cover, cover;
  background-position: right -40px bottom -30px, center 30%, center 30%;
  background-repeat: no-repeat;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1140px; width: 100%;
  margin: 0 auto;
  padding: 96px 24px 80px;
  text-align: left;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  font-family: var(--font-serif);
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 17ch;
  margin-bottom: 22px;
}
.hero .hero-sub {
  font-size: 1.125rem; line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 58ch;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Coverage pillars ---------- */
.coverage {
  padding: 88px 0 72px;
  background:
    radial-gradient(720px 340px at 8% 0%, rgba(47,140,234,0.055), transparent 70%),
    repeating-linear-gradient(0deg, rgba(10,37,64,0.030) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(10,37,64,0.030) 0 1px, transparent 1px 56px),
    var(--ivory);
}
.coverage-intro { margin-bottom: 44px; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px 28px;
  position: relative;
  display: flex; flex-direction: column;
}
.pillar::before {
  content: '';
  position: absolute; top: -1px; left: 28px; width: 48px; height: 3px;
  background: var(--accent);
}
.pillar .pillar-num {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--accent-deep);
  font-feature-settings: "tnum";
  display: block; margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-h3); font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 10px;
}
.pillar p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.65; }
.pillar .pillar-link { margin-top: auto; padding-top: 16px; }
.pillar .pillar-link a { color: var(--accent-deep); font-weight: 600; font-size: 0.875rem; }
.pillar .pillar-link a:hover { text-decoration: underline; }

.proof-strip {
  margin-top: 52px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
}
.proof-item { text-align: left; }
.proof-item .proof-value {
  font-family: var(--font-serif);
  font-size: 1.9rem; font-weight: 600;
  color: var(--navy-900);
  font-feature-settings: "tnum";
  line-height: 1.1;
}
.proof-item .proof-label {
  font-size: 0.8125rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ---------- About ---------- */
.about {
  padding: 88px 0; background: var(--paper); border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.about::before {
  content: 'SHENTON';
  position: absolute; top: -70px; right: -30px;
  font-family: var(--font-serif);
  font-size: 20rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(10,37,64,0.033);
  pointer-events: none;
  user-select: none;
}
.about .container { position: relative; }
.about-text { max-width: 72ch; }
.about-text p { font-size: 1.0625rem; color: var(--ink); margin-bottom: 18px; }
.about-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 40px;
}
.about-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px;
}
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 600; color: var(--navy-900);
  margin-bottom: 10px;
}
.about-card p { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Team / analyst ---------- */
.team { padding: 88px 0; background: var(--ivory); border-top: 1px solid var(--line); }
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}
.team-bio p { font-size: 1.0625rem; color: var(--ink); margin-bottom: 16px; }
.team-bio .analyst-name {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600; color: var(--navy-900);
  display: block; margin-bottom: 2px;
}
.team-bio .analyst-title {
  font-size: 0.875rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
  display: block; margin-bottom: 18px;
}
.media-quotes h4 {
  font-size: 0.8125rem; font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 32px;
  align-items: center;
}
.media-grid img {
  height: 30px; width: auto; max-width: 150px;
  object-fit: contain; object-position: left center;
  justify-self: start;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}
.media-grid img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Latest research ---------- */
.latest-research { padding: 88px 0; background: var(--paper); border-top: 1px solid var(--line); }
.latest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.latest-more { text-align: center; padding-top: 40px; }

/* ---------- Most read ---------- */
.most-read {
  padding: 88px 0;
  background:
    radial-gradient(700px 320px at 92% 0%, rgba(47,140,234,0.07), transparent 70%),
    var(--ivory);
  border-top: 1px solid var(--line);
}
.most-read-list {
  list-style: none;
  margin-top: 28px;
  max-width: 820px;
}
.most-read-list li { border-bottom: 1px solid var(--line); }
.most-read-list li:first-child { border-top: 1px solid var(--line); }
.most-read-list a {
  display: flex; align-items: baseline; gap: 22px;
  padding: 18px 6px;
  transition: background 0.15s;
}
.most-read-list a:hover { background: rgba(47,140,234,0.05); }
.most-read-list .mr-rank {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  color: var(--accent-deep);
  flex: 0 0 2.2rem;
}
.most-read-list .mr-body { display: flex; flex-direction: column; gap: 3px; }
.most-read-list .mr-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 600; line-height: 1.35;
  color: var(--navy-900);
}
.most-read-list a:hover .mr-title { color: var(--accent-deep); }
.most-read-list .mr-meta { font-size: 0.8125rem; color: var(--ink-soft); font-feature-settings: "tnum"; }

/* ---------- Contact ---------- */
.contact { padding: 88px 0 96px; background: var(--ivory); border-top: 1px solid var(--line); }
.contact-lede { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-lede .section-heading { margin-bottom: 8px; }
.contact-subtext { color: var(--ink-soft); margin-bottom: 32px; }
.contact-form {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: flex; gap: 16px; }
.form-row input { flex: 1; }
.contact-form .h-captcha { display: flex; justify-content: center; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,140,234,0.15); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button {
  background: var(--navy-900); color: #fff;
  border: none; border-radius: 3px;
  padding: 13px 34px;
  font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
  display: block; margin: 0 auto;
}
.contact-form button:hover { background: var(--navy-700); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 44px; }
  .media-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .navbar { padding: 0 20px; height: 60px; }
  .navbar .logo img { height: 36px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--navy-950);
    flex-direction: column; padding: 16px 0; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 20px; margin: 0; font-size: 1rem; width: 100%; text-align: center; }
  .nav-links a::after { display: none; }

  .hero { min-height: 0; }
  .hero-content { padding: 72px 20px 64px; }
  .hero .hero-sub { font-size: 1rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .coverage, .about, .team, .latest-research, .contact { padding: 60px 0; }
  .about-cards { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-strip { justify-content: flex-start; gap: 28px 40px; }

  .page-header { padding: 48px 20px 40px; }
  .filters { padding: 16px 20px; }
  .search-box { flex-basis: 100%; margin-left: 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .latest-cards { grid-template-columns: 1fr; }

  .report-header { padding: 44px 20px 36px; }
  .report-body { padding: 36px 20px 56px; }

  .form-row { flex-direction: column; gap: 16px; }
  .dist-channels { gap: 32px; }

  /* 16px inputs prevent iOS focus zoom */
  .contact-form input, .contact-form textarea,
  .modal input, .modal textarea, .modal select,
  .search-box { font-size: 1rem; }
}
