/* ClearPath Insights — mirrors the clearpathcapital.com (Fresnel) look */
:root {
  --green: #81bc41;
  --green-dark: #6a9e31;
  --text: #5c5c5c;
  --heading: #242424;
  --black: #000;
  --light: #eeeeee;
  --line: #e2e2e2;
  --footer: #292e33;
  --header-solid: rgba(41, 46, 51, 0.96);
  --navy: #2d2d6e;
  --gold: #b89c57;
  --up: #1a7a3c;
  --down: #c0392b;
  --font: "Abel", Helvetica, Arial, sans-serif;
  --max: 1170px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--heading); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-weight: 500; }
h2 { font-weight: 600; font-size: 28px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 14px; color: var(--green); font-weight: 700; }
.muted { color: #8a8a8a; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header.solid, body.no-hero .site-header { background: var(--header-solid); padding: 10px 0; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1300px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 62px; width: auto; transition: height .3s; }
.site-header.solid .brand img, body.no-hero .brand img { height: 50px; }
.brand-tag {
  color: #fff; border-left: 1px solid rgba(255,255,255,.35); padding-left: 12px;
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px; line-height: 1.2;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: #fff; text-transform: uppercase; letter-spacing: 2px;
  font-size: 15px; font-weight: 700; position: relative; padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--green); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 14px; height: 2px;
  background: var(--green); transform: translateX(-50%);
}
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; padding: 4px 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: #1b1e22 center/cover no-repeat;
}
.hero.short { min-height: 52vh; }
.hero video, .hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero video { opacity: 0; transition: opacity 1.2s; }
.hero video.ready { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)); z-index: 1; }
.hero .container { position: relative; z-index: 2; width: 100%; padding-top: 110px; padding-bottom: 60px; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 64px); margin-bottom: 18px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero p.lead { font-size: 19px; max-width: 900px; margin: 0 0 28px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero .eyebrow { color: #a6d86b; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero .meta { text-transform: uppercase; letter-spacing: 2px; font-size: 14px; color: #e6e6e6; }
.hero .meta .dot { margin: 0 10px; color: var(--green); }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--green); font-size: 28px; animation: bob 2s infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--green); color: #fff; border: 0; cursor: pointer;
  text-transform: uppercase; letter-spacing: 2px; font-weight: 500; font-size: 16px;
  font-family: var(--font); padding: 13px 30px; border-radius: 40px; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; border: 2px solid #fff; padding: 11px 28px; }
.btn.ghost:hover { background: #fff; color: var(--heading); }
.btn.small { font-size: 13px; padding: 9px 20px; }
.btn.ghost-dark { background: #fff; color: var(--heading); border: 1px solid #cfcfcf; }
.btn.ghost-dark:hover { border-color: var(--green); color: var(--green); background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.gray { background: var(--light); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { margin: 0; }
.green-band { background: var(--green); color: #fff; padding: 64px 0; text-align: center; }
.green-band h2 { color: #fff; font-weight: 500; font-size: clamp(28px, 4vw, 40px); }
.green-band p { max-width: 720px; margin: 0 auto 26px; font-size: 18px; }
.green-band .btn { background: #fff; color: var(--heading); }
.green-band .btn:hover { background: var(--heading); color: #fff; }

/* Two section tiles (image background, like "Our team serves as a resource in") */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tile {
  position: relative; min-height: 380px; padding: 56px 48px; color: #fff; display: flex; flex-direction: column;
  justify-content: flex-end; background: center/cover no-repeat; overflow: hidden;
}
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,28,.25), rgba(20,24,28,.85)); transition: background .3s; }
.tile:hover::before { background: linear-gradient(180deg, rgba(20,24,28,.35), rgba(20,24,28,.92)); }
.tile > * { position: relative; }
.tile h2 { color: #fff; font-weight: 500; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.tile p { max-width: 460px; margin: 0 0 22px; color: #eee; }
.tile .eyebrow { margin-bottom: 8px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s; color: var(--text);
}
.card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.10); transform: translateY(-3px); color: var(--text); }
.card .thumb { aspect-ratio: 16/10; background: #ddd center/cover no-repeat; }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card .cat { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--green); font-weight: 700; }
.card h3 { font-size: 23px; font-weight: 600; margin: 8px 0 10px; color: var(--heading); }
.card p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; }
.card .foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; color: #8a8a8a; text-transform: uppercase; letter-spacing: 1px; }
.card .more { color: var(--green); font-weight: 700; }

/* Filters */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font); background: #fff; border: 1px solid #cfcfcf; color: var(--text); cursor: pointer;
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px; padding: 8px 18px; border-radius: 30px;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.search {
  font-family: var(--font); font-size: 16px; padding: 10px 18px; border: 1px solid #cfcfcf; border-radius: 30px;
  min-width: 260px; outline: none; color: var(--heading);
}
.search:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(129,188,65,.18); }
.empty { text-align: center; padding: 40px 0; color: #8a8a8a; }

/* ---------- Weekly ---------- */
.weekly-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.06); color: var(--text);
}
.weekly-feature:hover { color: var(--text); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.wf-left { padding: 40px 44px; }
.wf-left h3 { font-size: 30px; font-weight: 600; margin: 10px 0 14px; }
.wf-left p { margin: 0 0 22px; }
.wf-right { background: #f6f6f6; padding: 36px 40px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.issue-badge { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--heading); font-weight: 700; }
.issue-badge .pill { background: var(--green); color: #fff; border-radius: 30px; padding: 3px 12px; letter-spacing: 1.5px; font-size: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.stat .k { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: #8a8a8a; }
.stat .v { font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--heading); }
.stat .v.up { color: var(--up); }
.stat .v.down { color: var(--down); }
.stat .s { font-size: 14px; color: #8a8a8a; }
.gold-rule { border: 0; border-top: 1px solid var(--gold); margin: 18px 0; }

.issue-list { display: flex; flex-direction: column; gap: 18px; }
.issue-row {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 28px; align-items: center; padding: 22px 26px;
  border: 1px solid var(--line); background: #fff; color: var(--text); transition: box-shadow .2s, border-color .2s;
}
.issue-row:hover { border-color: var(--green); box-shadow: 0 8px 24px rgba(0,0,0,.07); color: var(--text); }
.issue-row .date { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--green); font-weight: 700; }
.issue-row h4 { font-size: 21px; margin: 0 0 4px; font-weight: 600; }
.issue-row p { margin: 0; font-size: 15px; }

.issue-frame-wrap { background: rgb(244,244,244); padding: 30px 0 50px; }
.issue-frame { display: block; width: 100%; max-width: 720px; margin: 0 auto; border: 0; min-height: 1200px; background: transparent; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* Sent-email issues rendered in the Weekly Market Update design */
.wmu { max-width: 660px; margin: 0 auto; background: #fff; border-radius: 8px; overflow: hidden; font-family: Arial, sans-serif; color: #2d2d2d; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.wmu-head { background: rgb(221,219,255); padding: 28px 32px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wmu-head img { width: 260px; max-width: 55%; height: auto; }
.wmu-head > div { text-align: right; }
.wmu-title { font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: rgb(45,45,135); }
.wmu-date { font-size: 12px; color: rgb(90,90,160); margin-top: 6px; }
.wmu-body { padding: 8px 32px 24px; }
.wmu-label { font-size: 11px; letter-spacing: 1.4px; color: rgb(90,90,90); margin-top: 24px; }
.wmu-rule { border-top: 1px solid rgb(184,156,87); margin: 6px 0 12px; }
.wmu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
.wmu-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: rgb(248,248,248); border-radius: 6px; margin-top: 10px; }
.wmu-strip .wmu-cell { padding: 12px; border-right: 1px solid rgb(232,232,232); }
.wmu-strip .wmu-cell:last-child { border-right: 0; }
.wmu-strip .v { font-size: 18px; }
.wmu-cell { padding: 6px 0 10px; }
.wmu-cell .k { font-size: 11px; color: rgb(60,60,60); }
.wmu-cell .v { font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 700; color: rgb(34,34,34); margin-top: 3px; }
.wmu-cell .v.up { color: rgb(26,122,60); }
.wmu-cell .v.down { color: rgb(192,57,43); }
.wmu-cell .n { font-size: 11px; color: rgb(60,60,60); margin-top: 2px; }
.wmu-brief { border-left: 3px solid rgb(26,95,168); border-radius: 0 6px 6px 0; background: rgb(247,250,255); padding: 12px 16px; }
.wmu-brief p { font-size: 14px; line-height: 1.7; margin: 0 0 8px; color: rgb(25,25,25); }
.wmu-brief p:last-child { margin-bottom: 0; }
.wmu-card { border: 1px solid rgb(232,232,232); border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; }
.wmu-card h4 { font-family: Arial, sans-serif; font-size: 14px; font-weight: 700; color: rgb(34,34,34); margin: 8px 0 4px; line-height: 1.4; }
.wmu-card p { font-size: 13px; line-height: 1.6; color: rgb(45,45,45); margin: 0 0 6px; }
.wmu-card p:last-child { margin-bottom: 0; }
.wmu-card .wmu-stat { margin: 0 0 3px; }
.wmu-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px; background: rgb(245,245,245); color: rgb(102,102,102); }
.wmu-badge.up { background: rgb(220,242,229); color: rgb(26,122,60); }
.wmu-badge.down { background: rgb(251,229,226); color: rgb(192,57,43); }
.wmu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wmu-letter p { font-size: 15px; line-height: 1.75; color: rgb(45,45,45); margin: 16px 0 0; }
.wmu-bar { height: 6px; background: rgb(26,122,60); }
.wmu-foot { background: rgb(250,250,250); border-top: 1px solid rgb(238,238,238); padding: 14px 32px; font-size: 11px; line-height: 1.6; color: rgb(90,90,90); }
@media (max-width: 640px) {
  .wmu-head { flex-direction: column; align-items: flex-start; padding: 20px; }
  .wmu-head > div { text-align: left; }
  .wmu-body { padding: 4px 18px 20px; }
  .wmu-grid { grid-template-columns: repeat(2, 1fr); }
  .wmu-strip { grid-template-columns: repeat(2, 1fr); }
  .wmu-strip .wmu-cell:nth-child(2) { border-right: 0; }
  .wmu-cols { grid-template-columns: 1fr; }
  .wmu-foot { padding: 14px 18px; }
}

/* ---------- Article ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 64px 24px 30px; }
.article .lede-meta { display: flex; flex-wrap: wrap; gap: 18px; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; color: #8a8a8a; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 30px; }
.prose { font-size: 18px; line-height: 1.8; color: #4f4f4f; }
.prose p { margin: 0 0 1.2em; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: 1.6em 0 .6em; color: var(--heading); }
.prose h3 { font-size: 25px; font-weight: 600; }
.prose h4 { font-size: 21px; font-weight: 600; }
.prose h5 { font-size: 18px; font-weight: 600; color: #666; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 3px solid var(--green); background: #f7f7f7; font-style: italic; }
.prose img { margin: 1.4em auto; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }
.prose .hero { font-size: inherit; min-height: 0; display: block; color: inherit; background: none; }
.prose .hero::after { display: none; }
.prose p.disclaimer, .disclaimer-box { font-size: 14px; line-height: 1.6; color: #8a8a8a; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; }
.share span { text-transform: uppercase; letter-spacing: 2px; font-size: 14px; color: var(--heading); margin-right: 6px; }
.share a { border: 1px solid #cfcfcf; border-radius: 30px; padding: 6px 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); }
.share a:hover { border-color: var(--green); color: var(--green); }
.source-note { font-size: 15px; color: #8a8a8a; margin-top: 18px; }
.back-link { display: inline-block; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 2px; font-size: 14px; color: #fff; }
.back-link:hover { color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; padding: 64px 0 36px; font-size: 15px; }
.site-footer a { color: var(--green); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.footer-cols h4 { color: #fff; font-size: 24px; font-weight: 500; margin-bottom: 8px; }
.footer-cols p { margin: 0; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; line-height: 1.9; }
.footer-legal { font-size: 12.5px; line-height: 1.65; color: #d6d6d6; }
.footer-legal p { margin: 0 0 18px; }
.footer-legal strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #aaa; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .weekly-feature { grid-template-columns: 1fr; }
  .wf-right { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--header-solid);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 420px; }
  .nav a { width: 100%; text-align: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); }
  .nav a.active::after { display: none; }
  .brand-tag { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .issue-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .tile { padding: 40px 24px; min-height: 320px; }
  .wf-left, .wf-right { padding: 28px 22px; }
  .search { min-width: 0; width: 100%; }
  .brand img { height: 48px; }
  .article { padding: 44px 16px 20px; }
  .prose { font-size: 17px; }
  .issue-frame-wrap { padding: 0 0 30px; }
}
