/* ─── Claritas shared site styles ──────────────────────────
   Tokens, nav, pills, eyebrow, engage block, footer — shared
   across every page except the homepage (which stays inline).
   ─────────────────────────────────────────────────────────── */

:root {
  --bg: #FAFAF7;
  --ink: #0a0a0a;
  --ink-2: #2c2c2c;
  --ink-soft: #5b5b5b;
  --muted: #8a8a8a;
  --line: #e8e6df;

  --purple: #654288;
  --purple-deep: #4a2f66;
  --purple-soft: #f1ecf6;
  --magenta: #c64c8c;
  --orange: #FFAC25;
  --orange-soft: #ffe9c2;
  --cream: #FAEDBC;

  --shadow-card: 0 1px 2px rgba(10,10,10,0.04), 0 12px 32px -12px rgba(10,10,10,0.08);
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1480px; margin: 0 auto; padding: 0 48px; }
.wrap.wide { max-width: 1680px; }
.wrap.narrow { max-width: 980px; }
.wrap.text { max-width: 760px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--purple); margin-bottom: 20px;
  text-transform: none;
}
.eyebrow.cap {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ───── nav ───── */
nav.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,250,247,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232,230,223,0.6);
}
nav.top .inner {
  display: flex; align-items: center; gap: 40px; height: 64px;
}
.logo {
  display: inline-flex; flex-direction: column;
  line-height: 1; gap: 1px;
}
.logo-main {
  font-weight: 700; font-size: 22px; letter-spacing: -0.04em;
  color: var(--purple);
  display: inline-flex; align-items: center;
}
.logo-sub {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--orange);
  align-self: flex-end;
  line-height: 1;
}
.logo .i-stack {
  position: relative; display: inline-block;
}
.logo .dot {
  position: absolute;
  top: -3px; left: 50%;
  width: 7px; height: 7px;
  background: var(--orange); border-radius: 50%;
  transform: translateX(-50%);
}
nav.top ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 28px; flex: 1;
}
nav.top a.link {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 0; position: relative;
  transition: color .18s ease;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
nav.top a.link:hover,
nav.top a.link.is-active { color: var(--purple); }
nav.top a.link.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--purple);
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: all .18s ease;
  white-space: nowrap;
}
.pill.ghost { color: var(--ink-2); }
.pill.ghost:hover { background: rgba(0,0,0,0.04); }
.pill.solid {
  background: var(--ink); color: var(--bg);
}
.pill.solid:hover { background: var(--purple); }
.pill.solid .arr { transition: transform .2s ease; display: inline-block; }
.pill.solid:hover .arr { transform: translateX(3px); }
.pill.purple { background: var(--purple); color: white; }
.pill.purple:hover { background: var(--purple-deep); }
.pill.outline {
  background: white; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line) inset, 0 1px 2px rgba(0,0,0,0.02);
}
.pill.outline:hover {
  box-shadow: 0 0 0 1px var(--ink) inset;
}

.nav-contact {
  display: inline-flex; align-items: center; gap: 18px;
  padding-left: 18px; margin-left: 6px;
  border-left: 1px solid var(--line);
}
.nav-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: color .2s ease;
}
.nav-contact a:hover { color: var(--purple); }
.nav-contact svg {
  width: 14px; height: 14px;
  color: var(--purple);
  flex-shrink: 0;
}
@media (max-width: 1100px) { .nav-contact { display: none; } }
@media (max-width: 1200px) {
  nav.top .inner { gap: 24px; }
  nav.top ul { gap: 18px; }
  nav.top a.link { font-size: 13px; }
}

/* ───── section heads (consistent) ───── */
.head-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-bottom: 56px; align-items: end; max-width: 1100px;
}
.head-2col h2 {
  font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
  letter-spacing: -0.025em; font-weight: 600;
  margin: 0; max-width: 18ch;
}
.head-2col p {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-soft); margin: 0; max-width: 46ch;
}
@media (max-width: 880px) {
  .head-2col { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  section.page-hero { padding: 56px 0 48px; }
}

/* ───── engage block ───── */
section.engage {
  padding: 120px 0 110px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
section.engage::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(101,66,136,0.10), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(255,172,37,0.18), transparent 55%);
  pointer-events: none;
}
.engage-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; align-items: end;
  position: relative; z-index: 1;
}
.engage-eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--purple);
  margin-bottom: 20px;
}
.engage h2 {
  font-family: "Newsreader", "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 500; margin: 0 0 20px;
  max-width: 18ch; color: var(--ink);
}
.engage h2 em {
  font-style: italic; color: var(--purple);
  font-weight: 500;
}
.engage > .wrap > .engage-grid > div > p {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 28px;
  max-width: 52ch;
}
.engage-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.engage-ctas .pill { padding: 14px 22px; font-size: 15px; }
.engage-aside {
  font-family: "Newsreader", "Times New Roman", serif;
  font-style: italic; font-size: 19px;
  line-height: 1.45; color: var(--ink-2);
  padding-left: 22px;
  border-left: 1px solid var(--ink);
  max-width: 30ch;
  margin: 0;
}
.engage-aside-sig {
  display: block; margin-top: 14px;
  font-style: normal; font-family: "Inter", sans-serif;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 880px) {
  section.engage { padding: 64px 0 56px; }
  .engage-grid { grid-template-columns: 1fr; gap: 36px; }
  .engage-aside { padding-left: 18px; font-size: 17px; }
}

/* ───── site footer ───── */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 72px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand .logo-main { color: white; }
.foot-brand .logo-sub { color: var(--orange); }
.foot-tag {
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.62);
  max-width: 32ch; margin: 4px 0 10px;
}
.foot-creds {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.foot-cred {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.foot-cred::before {
  content: ""; width: 5px; height: 5px;
  background: var(--orange); border-radius: 50%;
  flex-shrink: 0;
}
.foot-col h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
}
.foot-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.foot-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color .2s ease;
}
.foot-col a:hover { color: var(--orange); }
.foot-contact a {
  display: block; font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  transition: color .2s ease;
}
.foot-contact a:hover { color: var(--orange); }
.foot-address {
  font-size: 12.5px; line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal a:hover { color: var(--orange); }
.foot-copyright {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.01em;
}
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: all .2s ease;
}
.foot-social a:hover {
  color: var(--ink);
  background: var(--orange);
  border-color: var(--orange);
}
.foot-social svg { width: 14px; height: 14px; }
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  footer.site-footer { padding: 56px 0 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 28px; padding-bottom: 36px; }
  .footer-bottom { font-size: 11px; gap: 14px; }
  .foot-copyright { width: 100%; order: 3; }
}

/* ───── responsive nav ───── */
@media (max-width: 880px) {
  nav.top ul { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  nav.top .inner { gap: 10px; height: 60px; }
  nav.top .pill.ghost { display: none; }
  nav.top .pill.solid {
    padding: 9px 14px; font-size: 13px;
    white-space: nowrap;
  }
  .logo-main { font-size: 19px; letter-spacing: -0.035em; }
  .logo-sub { font-size: 9.5px; }
}

/* ───── Article reading layout (shared across insight-*.html pages) ───── */
article.read {
  padding: 100px 0 110px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
  background: var(--bg);
}
.read-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
  transition: gap .2s ease;
}
.read-back:hover { gap: 14px; }
.read-meta {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.read-meta .sep { color: var(--ink-soft); opacity: 0.5; font-weight: 400; }
.read-title {
  font-family: "Newsreader", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 500; color: var(--ink);
  margin: 0 0 28px;
  max-width: 22ch;
}
.read-title em { font-style: italic; color: var(--purple); }
.read-deck {
  font-size: 20px; line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400; letter-spacing: -0.005em;
  margin: 0 0 56px;
  max-width: 60ch;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ink);
}
.read-body {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 56px;
}
.read-aside {
  position: sticky; top: 96px;
  align-self: start;
}
.read-aside .label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.read-aside .author {
  font-size: 14px; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
}
.read-aside .role {
  font-size: 12px; color: var(--ink-soft);
  margin-bottom: 18px;
}
.read-aside .read-time {
  font-size: 12px; color: var(--ink-soft);
  padding-top: 12px; border-top: 1px solid var(--line);
}
.read-prose {
  font-family: "Newsreader", "Times New Roman", Georgia, serif;
  font-size: 19px; line-height: 1.65;
  color: var(--ink-2);
  max-width: 64ch;
}
.read-prose h3 {
  font-family: "Newsreader", serif;
  font-size: 26px; font-weight: 500;
  line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.read-prose p { margin: 0 0 22px; }
.read-prose p em { font-style: italic; color: var(--purple); }
.read-prose .pull {
  font-size: 26px; line-height: 1.25;
  font-weight: 400; color: var(--ink);
  font-style: italic;
  border-left: 2px solid var(--purple);
  padding: 14px 0 14px 28px;
  margin: 36px 0 36px;
}
.read-prose .takeaway {
  background: var(--cream);
  padding: 28px 32px;
  margin: 36px 0;
  font-family: "Inter", sans-serif;
  font-size: 15px; line-height: 1.6;
  color: var(--ink); font-style: normal;
}
.read-prose .takeaway-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 10px;
  display: block;
}
.read-prose .takeaway ul { margin: 0; padding-left: 18px; }
.read-prose .takeaway li { margin-bottom: 6px; }

/* Related articles strip at bottom of each article */
.read-related {
  padding: 80px 0 100px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.read-related .label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 28px;
}
.related-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.related-card {
  display: flex; flex-direction: column;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .25s ease, border-color .2s ease;
}
.related-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.related-card .cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.related-card .ttl {
  font-family: "Newsreader", serif;
  font-size: 22px; font-weight: 500;
  line-height: 1.2; color: var(--ink);
  margin: 0 0 8px;
}
.related-card .meta {
  font-size: 12px; color: var(--ink-soft);
  margin-top: auto; padding-top: 16px;
}

@media (max-width: 880px) {
  article.read { padding: 56px 0 72px; }
  .read-body { grid-template-columns: 1fr; gap: 24px; }
  .read-aside { position: static; }
  .read-prose { font-size: 17px; }
  .read-prose h3 { font-size: 22px; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ── Stripe-style logo marquee (global because logos are injected by JS) ── */
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 64px; align-items: center;
  width: max-content; padding: 4px 0;
  animation: marquee-scroll 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.cl {
  flex-shrink: 0; height: 40px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0.95;
  transition: opacity .25s ease, transform .25s ease;
  cursor: default;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
}
.cl:hover { opacity: 1; transform: translateY(-1px); }
.cl small { font-size: 11px; font-weight: 500; opacity: 0.7; margin-left: 4px; letter-spacing: 0; }
.cl em { font-style: normal; }
.cl img {
  height: 32px; width: auto; max-width: 140px;
  object-fit: contain;
  filter: saturate(0.85) contrast(0.95);
  transition: filter .25s ease, transform .25s ease;
}
.cl:hover img { filter: saturate(1) contrast(1); }
@media (max-width: 640px) {
  .marquee-track { gap: 40px; }
  .cl { height: 32px; font-size: 15px; }
  .cl img { height: 24px; max-width: 110px; }
}
