/* =========================================================
   Meridian Consulting — Shared Stylesheet
   Layout language blends Porsche Consulting (bold full-bleed
   stage, editorial "In Focus"/"Success Story" modules) with
   Bain & Company (mega-menu nav, stat-driven proof blocks,
   topic-chip insights grid).
   ========================================================= */

:root {
  --primary: #155ac1;
  --primary-dark: #A50016;
  --cta: #D5001C;
  --bg: #e6f1ff;
  --bg2: #F2F2F2;
  --white: #FFFFFF;
  --ink: #1A1A1E;
  --ink-soft: #4B4B52;
  --gray-line: #E2E2E5;
  --font: "Tiempos", Georgia, serif;
  --maxw: 1240px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--ink);
}

.btn-arrow::after {
  content: "→";
  transition: transform .2s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.link-arrow::after {
  content: "→";
  transition: transform .2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--ink);
  color: #cfcfd4;
  font-size: 12px;
}

.utility-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-bar a {
  color: #cfcfd4;
  white-space: nowrap;
}

.utility-bar a:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .utility-bar .container {
    gap: 12px;
    font-size: 10.5px;
    overflow-x: auto;
    justify-content: flex-start;
  }
}

/* ---------- Header / Mega nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--gray-line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
}

.container.nav-row {
  max-width: 1440px;
}

/* give the header more breathing room than the 1240px content container */
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.logo .dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-actions .btn {
  padding: 11px 22px;
  font-size: 14px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gray-line);
  background: none;
  cursor: pointer;
  font-size: 15px;
  flex: 0 0 auto;
}

.icon-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.burger {
  display: none;
}

/* Below this width the full desktop nav no longer has room to breathe
   (mega-menu labels + Contact CTA), so switch to the slide-out drawer. */
@media (max-width: 1220px) {
  nav.main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}

/* On small phones, trim the header down to logo + menu button so nothing
   overlaps or gets cut off; Contact is still reachable from the drawer. */
@media (max-width: 560px) {
  .nav-row {
    height: 66px;
  }

  .logo {
    font-size: 18px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn,
  .header-actions .icon-btn:not(.burger) {
    display: none;
  }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--bg);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--gray-line);
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.page-header h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  max-width: 820px;
}

.page-header p.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 680px;
}

.page-header-center {
  text-align: center;
}

.page-header-center h1 {
  max-width: none;
}

.page-header-center p.lede {
  margin-left: auto;
  margin-right: auto;
}

.article-header-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Mid-article inline "download the report" callout */
.inline-download-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg2);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 22px 26px;
  margin: 36px 0;
}

.inline-download-cta span {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

@media (max-width:480px) {
  .inline-download-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Cards: Insight / Article ---------- */
.card-grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 980px) {

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, .10);
  transform: translateY(-4px);
}

.insight-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.insight-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.insight-card:hover .thumb img {
  transform: scale(1.06);
}

.insight-card .body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 10px;
}

.insight-card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.insight-card h3 a {
  color: inherit;
}

.insight-card h3 a:hover {
  color: var(--ar2-primary);
}

.insight-card p {
  color: var(--ink-soft);
  font-size: 18px;
  margin-bottom: 14px;
}

.card-meta {
  font-size: 12.5px;
  color: #8a8a90;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--gray-line);
}

/* Category row: format pill + topic label, sits above the headline */
.card-cat {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.format-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--bg);
  color: var(--primary);
}

.cat-topic {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Download PDF / Read CTAs on each card */
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
  gap: 8px;
}

/* ---------- Featured insight highlight ---------- */
.featured-insight {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #26262c;
  margin-bottom: 56px;
  transition: box-shadow .25s ease, transform .25s ease;
}

.featured-insight:hover {
  box-shadow: 0 24px 48px rgba(0, 0, 0, .18);
  transform: translateY(-3px);
}

.featured-graphic {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, #ff4d5e);
  min-height: 280px;
}

.featured-chart {
  width: 100%;
  height: 100%;
  display: block;
}

.featured-chart .grid-line {
  stroke: rgba(255, 255, 255, .18);
  stroke-width: 1;
}

.featured-chart .chart-line {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .9;
}

.featured-chart .chart-dot {
  fill: #fff;
}

.featured-content {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #FF8A97;
  background: rgba(213, 0, 28, .16);
  border: 1px solid rgba(213, 0, 28, .4);
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.featured-content h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}

.featured-content p {
  color: #c7c7cd;
  font-size: 15.5px;
  max-width: 560px;
  margin-bottom: 18px;
}

.featured-meta {
  font-size: 13px;
  color: #8a8a90;
  margin-bottom: 22px;
}

.featured-link {
  color: var(--primary);
}

@media (max-width:860px) {
  .featured-insight {
    grid-template-columns: 1fr;
  }

  .featured-graphic {
    min-height: 180px;
  }

  .featured-content {
    padding: 32px;
  }
}

/* ---------- Insights toolbar: Topic + Format filter facets ---------- */
.insights-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--gray-line);
}

.filter-groups {
  flex: 1;
  min-width: 280px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.filter-row+.filter-row {
  margin-top: 14px;
}

.filter-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #8a8a90;
  width: 60px;
  flex-shrink: 0;
}

.results-count {
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}

@media (max-width:560px) {
  .insights-toolbar {
    align-items: flex-start;
  }

  .filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .filter-label {
    width: auto;
  }
}

/* ---------- What Moves Our Clients (practice tiles) ---------- */
.tile-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-line);
  border: 1px solid var(--gray-line);
}

.tile {
  background: #fff;
  padding: 34px 26px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .25s ease;
}

.tile:hover {
  background: var(--bg);
}

.tile .num {
  font-size: 13px;
  color: #9a9aa0;
  font-weight: 700;
}

.tile h3 {
  font-size: 20px;
  margin: 18px 0 10px;
}

.tile p {
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .tile-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tile-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- What Moves Our Clients: scroll-driven section ---------- */
.clients-scroll {
  position: relative;
  background: #0a0a0c;
  height: 400vh;
  /* 100vh per panel x 4 panels */
}

.clients-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0a0a0c;
  color: #fff;
}

.clients-bg-stripes {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .55;
  background-image: repeating-linear-gradient(-45deg, rgba(213, 0, 28, .35) 0 2px, transparent 2px 30px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 75%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 40%, #000 75%, #000 100%);
}

.clients-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.clients-text .eyebrow {
  margin-bottom: 18px;
}

.clients-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.clients-progress .idx-current {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}

.clients-progress .idx-total {
  font-size: 15px;
  font-weight: 700;
  color: #8a8a90;
}

.idx-line {
  position: relative;
  width: 2px;
  height: 64px;
  background: #333338;
  border-radius: 2px;
  overflow: hidden;
}

.idx-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: var(--primary);
  transition: height .35s ease;
}

.client-panels {
  position: relative;
  min-height: 280px;
}

.client-panel {
  position: absolute;
  inset: 0 60px 0 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}

.client-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.client-panel h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  color: #fff;
  line-height: 1.15;
  max-width: 540px;
}

.client-panel p {
  color: #c7c7cd;
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 28px;
}

.clients-media {
  position: relative;
  height: 64vh;
  max-height: 620px;
  border-radius: 4px;
  overflow: hidden;
}

.media-frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: grayscale(.2) contrast(1.05);
  transition: opacity .7s ease;
}

.media-frame.active {
  opacity: 1;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(213, 0, 28, .32), transparent 60%);
  mix-blend-mode: screen;
}

.chevrons {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chevrons span {
  width: 58px;
  height: 22px;
  background: var(--primary);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 45%, 50% 100%, 0 45%);
  opacity: .92;
}

@media (max-width: 980px) {
  .clients-scroll {
    height: auto;
  }

  /* Redundant horizontal padding here as a safety net alongside the
     .container padding on .clients-inner, so the text never sits flush
     against the screen edge. */
  .clients-sticky {
    position: relative;
    height: auto;
    padding: 64px 20px;
  }

  .clients-inner {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
    gap: 32px;
  }

  /* The stripe fade is a left→right mask tuned for the desktop two-column
     layout (hidden behind the text, visible behind the image). Stacked on
     mobile, that same horizontal fade cuts straight across the text lines
     instead of the image, so the stripes visibly overlap the copy. Hide it
     here and let .clients-media supply its own red accent instead. */
  .clients-bg-stripes {
    display: none;
  }

  /* The "only show .active, hide the rest" pattern depends on the JS
     scroll-progress calc that deliberately never runs below 980px (there's
     nothing to scroll-jack on a stacked mobile layout) — so relying on
     .active toggling here left panels 2-4 permanently display:none with no
     way to reach them. Simplest reliable fix: stop hiding panels on mobile
     and just stack all four as plain cards. */
  .client-panels {
    min-height: 0;
  }

  .client-panel {
    position: relative;
    display: block;
    inset: auto;
    opacity: 1;
    transform: none;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }

  .client-panel:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .client-panel h2 {
    max-width: none;
    font-size: 24px;
  }

  .client-panel p {
    max-width: none;
  }

  /* The "01 / 04" position marker implied a single visible panel that
     advances on scroll; with all four shown at once it no longer means
     anything, so drop it on mobile instead of leaving a confusing "01". */
  .clients-progress {
    display: none;
  }

  .clients-media {
    height: 42vh;
    margin-top: 8px;
  }
}

/* ---------- Filter chips (topics) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--gray-line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------- Stat strip ---------- */
.stat {
  text-align: left;
  border-left: 3px solid var(--primary);
  padding-left: 18px;
}

.stat .num {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat .label {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Success story banded rows ---------- */
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
}

.story-row .img {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.story-row .content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-row .impact {
  display: flex;
  gap: 32px;
  margin: 18px 0 20px;
  flex-wrap: wrap;
}

.story-row .impact div .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
}

.story-row .impact div .label {
  font-size: 12.5px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .story-row {
    grid-template-columns: 1fr;
  }

  .story-row .img {
    min-height: 220px;
  }

  .story-row .content {
    padding: 30px;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.cta-banner .eyebrow {
  color: #FFC7D0;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 8px;
}

.cta-banner p {
  color: #ffd9de;
  font-size: 18px;
  margin-bottom: 30px;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--bg2);
  padding: 56px 0;
}

.newsletter .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.newsletter p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input[type=email] {
  padding: 13px 16px;
  border: 1px solid var(--gray-line);
  border-radius: 4px;
  min-width: 280px;
  font-size: 14px;
  font-family: inherit;
}

/* ---------- Footer ----------
   Layout now runs on Bootstrap's .row/.col-* grid (see markup: col-12
   col-lg-3 for the brand block, col-6 col-lg for the four link columns) —
   below lg that gives the brand its own full-width row then a clean 2x2
   link grid; at lg+ it's a five-column row. This CSS just supplies spacing
   and typography on top. */
footer.site-footer {
  background: var(--ink);
  color: #c7c7cc;
}

.footer-top {
  padding: 64px 0 40px;
}

.footer-top h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.footer-top a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #a9a9ae;
}

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

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: #8f8f95;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid #3a3a40;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #303035;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #77777d;
}

.footer-bottom a {
  color: #9a9aa0;
}

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

.footer-legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .footer-brand {
    padding-bottom: 28px;
    margin-bottom: 8px;
    border-bottom: 1px solid #303035;
  }
}

/* ---------- Utility sections ---------- */
.section-pad {
  padding: 88px 0;
}

.bg-tint {
  background: var(--bg);
}

.bg-gray {
  background: var(--bg2);
}

/* ---------- Article page specific ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 64px 1fr 300px;
  gap: 48px;
  align-items: start;
}

.share-rail {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-body {
  font-size: 18px;
  color: #2a2a30;
  max-width: 720px;
}

.article-body h2 {
  font-size: 28px;
  margin-top: 1.6em;
}

.article-body h3 {
  font-size: 22px;
  margin-top: 1.4em;
}

.article-body p {
  margin-bottom: 1.2em;
}

.pull-quote {
  border-left: 4px solid var(--primary);
  padding: 6px 0 6px 28px;
  margin: 36px 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.article-figure {
  margin: 32px 0;
}

.article-figure figcaption {
  font-size: 13px;
  color: #8a8a90;
  margin-top: 10px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.author-card {
  background: var(--bg2);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.author-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}

.related-list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-line);
  font-size: 14.5px;
  font-weight: 600;
}

.related-list a:hover {
  color: var(--primary);
}

@media (max-width: 1100px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .share-rail {
    display: none;
  }
}

/* ---------- About page specific ---------- */
.value-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 30px;
}

.value-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 18px;
}

.leader-card {
  text-align: left;
}

.leader-card .photo {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.leader-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card h4 {
  margin-bottom: 2px;
  font-size: 16px;
}

.leader-card .role {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
}

.location-list {
  border-top: 1px solid var(--gray-line);
}

.location-list>div {
  padding: 16px 10px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 14.5px;
}

/* ---------- Site-wide scroll-reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  [data-reveal],
  .hero .eyebrow,
  .hero h1,
  .hero p.lede,
  .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Empowering Our Clients (industry tab stage) ---------- */
.empower-head {
  padding: 88px 0 0;
  text-align: left;
}

.empower-head .eyebrow {
  display: block;
}

.empower-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 0;
}

.empower-divider {
  position: relative;
  height: 80px;
  background: #fff;
  overflow: hidden;
}

.empower-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, var(--primary) 0 3px, transparent 3px 22px);
  opacity: .85;
  /* Triangle that tapers to the same bottom-left point the black wedge
     starts from, so the stripe band narrows to nothing exactly where
     the black area takes over — no gap, no overlap. */
  clip-path: polygon(34% 0, 54% 0, 0% 100%);
}

.empower-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a0a0c;
  /* Bottom edge spans the full width (0%-100%) so the divider is solid
     black by the time it reaches .empower-stage below — no seam/notch
     at the boundary. Left edge is the diagonal cut, from 54% at the
     top down to 0% at the bottom. */
  clip-path: polygon(54% 0, 100% 0, 100% 100%, 0% 100%);
}

.empower-stage {
  background: #0a0a0c;
  color: #fff;
  padding: 56px 0 88px;
}

.empower-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.empower-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid #2a2a2e;
  padding-top: 22px;
}

.empower-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #a9a9ae;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  padding: 13px 2px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}

.empower-tab:hover {
  color: #fff;
}

.empower-tab.active {
  color: #fff;
  font-weight: 800;
  border-bottom-color: var(--primary);
}

.empower-tab-nav {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.tab-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #3a3a40;
  background: none;
  color: #c7c7cd;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
}

.tab-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.empower-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  background: #141416;
}

.empower-frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .7s ease, transform .9s ease;
}

.empower-frame.active {
  opacity: 1;
  transform: scale(1);
}

.empower-content {
  position: relative;
  min-height: 420px;
}

.empower-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}

.empower-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.empower-panel .tag {
  color: #FF8A97;
}

.empower-panel h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff;
  margin-bottom: 14px;
}

.empower-panel p {
  color: #c7c7cd;
  margin-bottom: 22px;
  max-width: 420px;
}

.empower-panel .link-arrow {
  color: var(--primary);
}

@media (max-width: 980px) {
  .empower-grid {
    grid-template-columns: 1fr;
  }

  .empower-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 18px;
    border-top: none;
    padding-top: 0;
  }

  .empower-tab {
    padding: 6px 0;
  }

  .empower-tab-nav {
    display: none;
  }

  .empower-media,
  .empower-content {
    min-height: 320px;
  }
}

/* =========================================================
   AUTOBEI REDESIGN — header, mega menu, homepage, footer.
   Namespaced custom properties (--ar2-*) so this section never
   collides with the tokens above (still used by page-about.php,
   page-insights.php, single.php, search.php, archive.php, 404.php).
   Shared atoms (.btn, .btn-primary, .eyebrow, .arrow) below are
   intentionally NOT namespaced — they're reused as-is on those older
   templates too, so the whole site gets one consistent button/eyebrow
   style instead of two clashing systems.
   ========================================================= */
:root {
  --ar2-primary: #155AC1;
  --ar2-primary-dark: #0E4090;
  --ar2-primary-light: #EAF1FC;
  --ar2-secondary: #353535;
  --ar2-bg: #FFFFFF;
  --ar2-bg-alt: #F4F5F7;
  --ar2-text: #1B1D1F;
  --ar2-text-muted: #6B6F76;
  --ar2-border: #E4E6EA;
  --ar2-maxw: 1320px;
  --ar2-font-body: 'Inter', system-ui, sans-serif;
  --ar2-font-display: 'Fraunces', 'Inter', system-ui, serif;
  --red: var(--ar2-primary);
  --gray-line: var(--ar2-border);
}

.wrap {
  max-width: var(--ar2-maxw);
  margin: 0 auto;
  padding: 0 10px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ar2-font-display);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ar2-font-body);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ar2-primary);
  margin-bottom: 16px;
}

a.eyebrow {
  transition: opacity .2s ease;
}

a.eyebrow:hover {
  opacity: .7;
  text-decoration: underline;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--ar2-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  font-family: var(--ar2-font-body);
}

.btn-primary {
  background: var(--ar2-primary);
  color: #fff;
  border-color: var(--ar2-primary);
}

.btn-primary:hover {
  background: var(--ar2-primary-dark);
  border-color: var(--ar2-primary-dark);
  color: #fff;
}

.btn-line {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--ar2-secondary);
  font-weight: 700;
  border-bottom: 2px solid var(--ar2-primary);
  padding-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.btn-line:hover {
  color: var(--ar2-primary);
}

.btn-dark {
  background: var(--ar2-secondary);
  color: #fff;
  border-color: var(--ar2-secondary);
}

.btn-dark:hover {
  background: #000;
}

.arrow {
  display: inline-block;
  transition: transform .2s;
}

.btn:hover .arrow,
.btn-line:hover .arrow {
  transform: translateX(4px);
}

.section {
  padding: 110px 0;
}

.section-alt {
  background: var(--ar2-bg-alt);
}

.section-tight {
  padding: 80px 0;
}

/* ===== TOP BAR + HEADER ===== */
.top-bar {
  background: var(--ar2-secondary);
  color: #c3c6ca;
  font-size: 12px;
}

.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar-links {
  display: flex;
  gap: 22px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #fff;
  transition: box-shadow .25s ease;
}

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

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height .25s ease;
  gap: 24px;
}

header.site-header.scrolled .nav-row {
  height: 70px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ar2-font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ar2-secondary);
  flex-shrink: 0;
}

.site-header .logo .mark {
  width: 40px;
  height: 40px;
  background: var(--ar2-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--ar2-font-body);
  flex-shrink: 0;
}

.site-header .logo .logo-image {
  max-height: 44px;
  width: auto;
}

nav.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

nav.main-nav>ul {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

nav.main-nav>ul>li {
  height: 100%;
  display: flex;
  align-items: center;
}

nav.main-nav>ul>li>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  height: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--ar2-secondary);
  cursor: pointer;
  position: relative;
}

nav.main-nav>ul>li>a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--ar2-primary);
  transform: scaleX(0);
  transition: transform .2s;
}

nav.main-nav>ul>li:hover>a::after,
nav.main-nav>ul>li.open>a::after,
nav.main-nav>ul>li.active>a::after {
  transform: scaleX(1);
}

nav.main-nav>ul>li:hover>a,
nav.main-nav>ul>li.open>a,
nav.main-nav>ul>li.active>a {
  color: var(--ar2-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header .icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ar2-border);
  color: var(--ar2-secondary);
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
  background: none;
}

.site-header .icon-btn:hover {
  border-color: var(--ar2-primary);
  color: var(--ar2-primary);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ar2-border);
  cursor: pointer;
  background: none;
  flex-shrink: 0;
}

.burger span {
  width: 16px;
  height: 2px;
  background: var(--ar2-secondary);
}

/* mega menu */
.mega {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--ar2-mega-top, 88px);
  background: #fff;
  border-top: 1px solid var(--ar2-border);
  box-shadow: 0 24px 48px rgba(15, 20, 30, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: top .25s ease, opacity .22s ease, visibility .22s ease, transform .22s ease;
  z-index: 250;
}

li.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega .wrap {
  display: flex;
  gap: 56px;
  padding-top: 44px;
  padding-bottom: 44px;
  flex-wrap: wrap;
}

.mega .wrap>div:not(.mega-feature) {
  flex: 1 1 160px;
  min-width: 160px;
}

.mega h6 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ar2-text-muted);
  margin-bottom: 18px;
}

.mega a.mega-link {
  display: block;
  padding: 9px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ar2-secondary);
  border-bottom: 1px solid var(--ar2-border);
}

.mega a.mega-link:hover {
  color: var(--ar2-primary);
}

.mega-feature {
  flex: 1 1 280px;
  max-width: 340px;
  background: var(--ar2-bg-alt);
  padding: 26px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.mega-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.mega-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 20, .1), rgba(10, 14, 20, .85));
}

.mega-feature .inner {
  position: relative;
  z-index: 2;
}

.mega-feature .eyebrow {
  color: #a9c6f2;
  margin-bottom: 8px;
}

.mega-feature h4 {
  color: #fff;
  font-size: 19px;
  margin: 0;
}

/* simple submenu (plain dropdown, no mega panel) */
nav.main-nav .has-sub {
  position: relative;
}

nav.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ar2-border);
  box-shadow: 0 16px 32px rgba(15, 20, 30, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  z-index: 250;
}

nav.main-nav .has-sub.open .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav.main-nav .sub-menu li {
  height: auto;
}

nav.main-nav .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ar2-secondary);
  white-space: nowrap;
}

nav.main-nav .sub-menu li a:hover,
nav.main-nav .sub-menu li.active a {
  color: var(--ar2-primary);
  background: var(--ar2-bg-alt, #F4F5F7);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  top: var(--ar2-mega-top, 88px);
  background: rgba(10, 14, 20, .35);
  opacity: 0;
  visibility: hidden;
  transition: top .25s ease, opacity .25s, visibility .25s;
  z-index: 240;
}

.nav-scrim.show {
  opacity: 1;
  visibility: visible;
}

/* ===== HERO (slide carousel) ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
  background: #0b0f14;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .7s ease;
}

.hero-media img.active {
  opacity: 1;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(6, 9, 13, .94) 0%, rgba(6, 9, 13, .8) 26%, rgba(6, 9, 13, .4) 52%, rgba(6, 9, 13, .08) 76%), linear-gradient(180deg, rgba(6, 9, 13, .15) 0%, rgba(6, 9, 13, 0) 30%, rgba(6, 9, 13, .55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  max-width: var(--ar2-maxw);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.hero-kicker {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #e6e8eb;
  margin-bottom: 18px;
  letter-spacing: .01em;
}

.hero-content h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 600;
  max-width: 760px;
  color: #fff;
  margin: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  background: none;
  padding: 0;
}

.hero-cta[hidden] {
  display: none;
}

.hero-cta .arrow {
  font-size: 16px;
}

.hero-slidebar {
  position: relative;
  z-index: 2;
  padding: 26px 0 30px;
  background: linear-gradient(0deg, rgba(6, 9, 13, .55) 0%, rgba(6, 9, 13, .28) 70%, rgba(6, 9, 13, 0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-slidebar-inner {
  max-width: var(--ar2-maxw);
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.hero-slides {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  flex: 1;
}

.hero-slide-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding-top: 12px;
  position: relative;
  font-family: var(--ar2-font-body);
  text-align: left;
  transition: color .2s;
}

.hero-slide-btn .bar {
  display: block;
  width: 100%;
  min-width: 90px;
  height: 2px;
  background: rgba(255, 255, 255, .25);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.hero-slide-btn .bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--ar2-primary);
}

.hero-slide-btn:hover {
  color: #fff;
}

.hero-slide-btn.active {
  color: #fff;
}

.hero-scroll-btn {
  background: none;
  border: none;
  color: #cfd2d6;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-family: var(--ar2-font-body);
  flex-shrink: 0;
}

.hero-scroll-btn .chev-circle {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}

@media (max-width:860px) {
  .hero-slidebar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-slides {
    gap: 28px;
  }

  .hero-slide-btn .bar {
    min-width: 60px;
  }
}

@media (max-width:560px) {
  .hero-slides {
    gap: 20px;
  }

  .hero-slide-btn {
    font-size: 12px;
  }
}

/* ===== MARQUEE ===== */
.marquee-band {
  background: var(--ar2-secondary);
  overflow: hidden;
  padding: 20px 0;
}

.marquee {
  display: flex;
  width: max-content;
  animation: ar2scrollmq 32s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee span {
  color: #fff;
  font-family: var(--ar2-font-display);
  font-size: 19px;
  padding: 0 34px;
  white-space: nowrap;
  opacity: .85;
  display: flex;
  align-items: center;
  gap: 34px;
}

.marquee span::after {
  content: '\2726';
  color: var(--ar2-primary);
  font-size: 13px;
}

@keyframes ar2scrollmq {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== IN FOCUS ===== */
.focus-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

.focus-main {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.focus-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s ease;
}

.focus-main:hover img {
  transform: scale(1.05);
}

.focus-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 12, 18, .92) 100%);
}

.focus-main .fc-body {
  position: relative;
  z-index: 2;
  padding: 38px;
}

.focus-main h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  color: #fff;
  margin: 12px 0 14px;
}

.focus-main p {
  color: #d7dade;
  font-size: 18px;
  margin: 0;
}

.focus-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.focus-card {
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--ar2-border);
  padding-top: 24px;
}

.focus-card:first-child {
  border-top: none;
  padding-top: 0;
}

.focus-card .thumb {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.focus-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}

.focus-card:hover .thumb img {
  transform: scale(1.08);
}

.focus-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  margin-top: 0;
}

.focus-card h3 a:hover {
  color: var(--ar2-primary);
}

.focus-card p {
  font-size: 18px;
  color: var(--ar2-text-muted);
  margin: 0;
}

/* ===== MAD-LIB SELECTOR ===== */
.selector {
  background: var(--ar2-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.selector::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
  top: -260px;
  left: -160px;
}

.selector .wrap {
  position: relative;
  z-index: 2;
}

.selector h2 {
  font-size: clamp(28px, 4vw, 46px);
  max-width: 760px;
  color: #fff;
  margin-bottom: 14px;
}

.selector>.wrap>p {
  color: #d6e3fa;
  font-size: 18px;
  margin-bottom: 56px;
}

.madlib {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.madlib-step span.num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #bcd3f5;
}

.madlib-step h3 {
  font-size: 20px;
  color: #fff;
  margin: 10px 0 22px;
  font-family: var(--ar2-font-body);
  font-weight: 700;
}

.madlib-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.madlib-options button {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.madlib-options button:hover {
  background: rgba(255, 255, 255, .18);
}

.madlib-options button.picked {
  background: #fff;
  color: var(--ar2-primary);
  border-color: #fff;
}

.madlib-submit {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.madlib-result {
  font-size: 18px;
  color: #dbe7fb;
}

/* ===== SEGMENT ROWS ===== */
.segment-row {
  border-top: 1px solid var(--ar2-border);
}

.segment-row .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: 96px;
  padding-bottom: 96px;
}

.segment-row:nth-child(even) .wrap {
  direction: rtl;
}

.segment-row:nth-child(even) .wrap>* {
  direction: ltr;
}

.segment-media {
  position: relative;
  height: 440px;
}

.segment-media .img-back {
  position: absolute;
  width: 74%;
  height: 74%;
  top: 0;
  right: 0;
  overflow: hidden;
}

.segment-media .img-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-media .img-front {
  position: absolute;
  width: 52%;
  height: 58%;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 20px 44px rgba(15, 20, 30, .18);
}

.segment-media .img-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.segment-row:nth-child(even) .segment-media .img-back {
  right: auto;
  left: 0;
}

.segment-row:nth-child(even) .segment-media .img-front {
  left: auto;
  right: 0;
}

.segment-copy {
  padding: 0 60px;
}

.segment-copy h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 18px;
  max-width: 460px;
  margin-top: 0;
}

.segment-copy p {
  color: var(--ar2-text-muted);
  font-size: 18px;
  margin-bottom: 26px;
  max-width: 440px;
}

.segment-tagrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.segment-tagrow span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ar2-primary);
  background: var(--ar2-primary-light);
  padding: 6px 12px;
}

/* ===== IMPACT CARDS ===== */
.impact-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.impact-scroll::-webkit-scrollbar {
  display: none;
}

.impact-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--ar2-border);
}

.impact-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.impact-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}

.impact-card:hover .thumb img {
  transform: scale(1.06);
}

.impact-card .body {
  padding: 26px;
}

.impact-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ar2-primary);
}

.impact-card h4 {
  font-size: 17.5px;
  margin: 10px 0 18px;
  line-height: 1.35;
}

.impact-stats {
  display: flex;
  gap: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--ar2-border);
  margin-bottom: 18px;
}

.impact-stats div b {
  display: block;
  font-family: var(--ar2-font-display);
  font-size: 24px;
  color: var(--ar2-secondary);
}

.impact-stats div span {
  font-size: 11.5px;
  color: var(--ar2-text-muted);
}

.impact-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.impact-nav button {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ar2-border);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: all .2s;
}

.impact-nav button:hover {
  border-color: var(--ar2-secondary);
}

/* ===== FILTER GRID ===== */
.tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--ar2-border);
  padding-bottom: 28px;
}

.tab-row .tab {
  padding: 10px 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ar2-text-muted);
  cursor: pointer;
  position: relative;
  padding-bottom: 12px;
}

.tab-row .tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ar2-secondary);
  transform: scaleX(0);
  transition: transform .2s;
}

.tab-row .tab.active {
  color: var(--ar2-secondary);
}

.tab-row .tab.active::after {
  transform: scaleX(1);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.filter-item {
  background: #fff;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  border: 1px solid var(--ar2-border);
  transition: all .3s ease;
}

.filter-item:hover {
  border-color: var(--ar2-primary);
  box-shadow: 0 18px 36px rgba(15, 20, 30, .12);
  transform: translateY(-5px);
}

.filter-item.hidden {
  display: none;
}

.filter-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .5s ease;
}

.filter-item:hover img {
  transform: scale(1.04);
}

.filter-item .fi-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-size: 15px;
  font-weight: 700;
  color: var(--ar2-secondary);
  background: rgba(255, 255, 255, .92);
  padding: 6px 12px;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-item .fi-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--ar2-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ar2-secondary);
  opacity: 0;
  transform: translateY(-6px);
  transition: all .25s ease;
  z-index: 2;
}

.filter-item:hover .fi-arrow {
  opacity: 1;
  transform: translateY(0);
  background: var(--ar2-primary);
  color: #fff;
  border-color: var(--ar2-primary);
}

/* ===== SPOTLIGHT ===== */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ar2-secondary);
  color: #fff;
  overflow: hidden;
}

.spotlight-copy {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-copy .eyebrow {
  color: #8fb6ee;
}

.spotlight-copy .eyebrow::before {
  background: #8fb6ee;
}

.spotlight-copy h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  max-width: 460px;
  color: #fff;
  margin-bottom: 20px;
}

.spotlight-copy p {
  max-width: 440px;
  color: #c9cdd3;
  font-size: 18px;
  margin: 0;
}

.spotlight-media {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.spotlight-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.spotlight-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(53, 53, 53, .4) 0%, rgba(53, 53, 53, 0) 22%), linear-gradient(0deg, rgba(8, 12, 18, .6), transparent 45%);
}

.spotlight-cta {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

@media (max-width:1080px) {
  .spotlight {
    grid-template-columns: 1fr;
  }

  .spotlight-media {
    min-height: 320px;
  }

  .spotlight-copy {
    padding: 56px 40px;
  }
}

/* ===== LATEST REPORTS (thumb + tag + title rows, no heart) ===== */
.insight-cols {
  display: grid;
  grid-template-columns: repeat(var(--insight-cols, 2), 1fr);
  gap: 0 64px;
  margin-top: 0;
}

.insight-col {
  border-top: 1px solid var(--ar2-border);
}

.insight-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ar2-border);
}

.insight-row .thumb {
  width: 92px;
  height: 92px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ar2-bg-alt);
}

.insight-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}

.insight-row:hover .thumb img {
  transform: scale(1.08);
}

.insight-row .tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ar2-primary);
  margin-bottom: 0px;
}

.insight-row h3 {
  font-size: 16px;
  margin-top: 7px;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.35;
}

.insight-row h3 a:hover {
  color: var(--ar2-primary);
}

@media (max-width:1080px) {
  .insight-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:860px) {
  .insight-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .insight-row {
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 18px 0;
  }

  .insight-row .thumb {
    width: 64px;
    height: 64px;
  }

  .insight-row .tag {
    font-size: 10px;
  }

  .insight-row h3 {
    font-size: 14.5px;
  }
}

/* ===== DUAL CTA ===== */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dual-cta a {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px 56px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.dual-cta a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s ease;
  z-index: -2;
}

.dual-cta a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}

.dual-cta a:hover img {
  transform: scale(1.08);
}

.dual-cta a:nth-child(odd)::after {
  background: linear-gradient(190deg, rgba(21, 90, 193, .25) 0%, rgba(9, 32, 71, .75) 45%, rgba(6, 16, 32, .95) 100%);
}

.dual-cta a:nth-child(even)::after {
  background: linear-gradient(190deg, rgba(30, 30, 30, .3) 0%, rgba(15, 15, 15, .75) 45%, rgba(6, 6, 6, .95) 100%);
}

.dual-cta a {
  border-top: 4px solid transparent;
}

.dual-cta a:nth-child(odd) {
  border-top-color: #fff;
}

.dual-cta a:nth-child(even) {
  border-top-color: var(--ar2-primary);
}

.dual-cta .num {
  position: relative;
  z-index: 2;
  font-family: var(--ar2-font-display);
  font-size: 14px;
  font-weight: 600;
  color: #cfe0fb;
  margin-bottom: auto;
  padding-top: 4px;
}

.dual-cta .inner {
  position: relative;
  z-index: 2;
}

.dual-cta .inner .eyebrow {
  color: #cfe0fb;
}

.dual-cta .inner .eyebrow::before {
  background: #cfe0fb;
}

.dual-cta h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  color: #fff;
  margin-bottom: 14px;
  max-width: 380px;
  margin-top: 0;
}

.dual-cta p {
  color: #d7dde5;
  font-size: 18px;
  max-width: 360px;
  margin-bottom: 24px;
}

.dual-cta .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ar2-secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 13px 22px;
  transition: all .25s;
}

.dual-cta a:hover .pill {
  background: var(--ar2-primary);
  color: #fff;
}

/* ===== TRUST GRID ===== */
.trust-band {
  background: var(--ar2-secondary);
  color: #fff;
}

.trust-band .eyebrow {
  color: #8fb6ee;
}

.trust-band .eyebrow::before {
  background: #8fb6ee;
}

.trust-band h2 {
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  margin-top: 56px;
}

.trust-card {
  background: #232323;
  padding: 40px 18px;
  text-align: center;
  transition: background .25s ease;
}

.trust-card:hover {
  background: #2c2c2c;
}

.trust-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid rgba(255, 255, 255, .28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--ar2-font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  transition: all .25s ease;
}

.trust-card:hover .trust-badge {
  background: var(--ar2-primary);
  border-color: var(--ar2-primary);
  transform: scale(1.06);
}

.trust-card b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.trust-card span {
  font-size: 18px;
  color: #9ea2a8;
  line-height: 1.4;
}

@media (max-width:1080px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:560px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== CLOSING CTA ===== */
.closing-cta {
  position: relative;
  padding: 160px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.closing-cta .bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.closing-cta .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.closing-cta .bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, .82) 0%, rgba(8, 12, 18, .7) 40%, rgba(8, 12, 18, .94) 100%);
}

.closing-cta .glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 90, 193, .4), transparent 70%);
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.closing-cta .eyebrow {
  justify-content: center;
  color: #8fb6ee;
}

.closing-cta .eyebrow::before {
  display: none;
}

.closing-cta h2 {
  font-size: clamp(34px, 5.2vw, 64px);
  margin-bottom: 10px;
  color: #fff;
}

.closing-cta h3 {
  font-size: clamp(20px, 2.6vw, 18px);
  color: #c9cdd3;
  font-weight: 500;
  margin-bottom: 44px;
  margin-top: 0;
}

.closing-cta .btn-primary {
  padding: 18px 40px;
}

/* ===== NEWSLETTER ===== */
.newsletter-band {
  background: var(--ar2-secondary);
  color: #fff;
}

.newsletter-band .wrap {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.newsletter-band h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 34px);
  max-width: 420px;
  margin: 0;
}

.newsletter-band form {
  flex: 1;
  min-width: 300px;
  max-width: 460px;
}

.newsletter-band input[type="email"] {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: var(--ar2-font-body);
  outline: none;
  margin-bottom: 14px;
}

.newsletter-band input::placeholder {
  color: #aeb4bb;
}

.newsletter-band input:focus {
  border-color: #fff;
}

.newsletter-band .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #b7bcc2;
  margin-bottom: 20px;
}

.newsletter-band .consent-row input {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
}

.newsletter-band .form-note {
  font-size: 12px;
  color: #8fdba0;
  margin-top: 10px;
  display: none;
}

.newsletter-band .form-note.show {
  display: block;
}

.newsletter-form-shortcode {
  flex: 1;
  min-width: 300px;
  max-width: 460px;
}

/* ===== FOOTER ===== */
footer#contact {
  background: #141414;
  color: #c9cbce;
  padding-top: 88px;
}

footer#contact .footer-top {
  display: grid;
  grid-template-columns: 300px repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ar2-font-display);
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-logo .mark {
  width: 36px;
  height: 36px;
  background: var(--ar2-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ar2-font-body);
  flex-shrink: 0;
}

footer#contact p {
  font-size: 16px;
  color: #95989d;
  line-height: 1.75;
  margin: 0 0 1em;
}

footer#contact h5 {
  font-family: var(--ar2-font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  margin-top: 0;
}

footer#contact .flinks li {
  margin-bottom: 13px;
}

footer#contact .flinks a {
  font-size: 16px;
  color: #b2b5b9;
  transition: all .2s;
}

footer#contact .flinks a:hover {
  color: var(--ar2-primary);
  padding-left: 3px;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  color: #b2b5b9;
  margin-bottom: 18px;
}

.footer-contact li b {
  color: #fff;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #c9cbce;
}

.social-row a:hover {
  background: var(--ar2-primary);
  border-color: var(--ar2-primary);
  color: #fff;
}

footer#contact .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 12.5px;
  color: #7d8085;
  flex-wrap: wrap;
  gap: 12px;
}

footer#contact .footer-bottom .legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

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

/* ===== FLOATERS ===== */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  background: var(--ar2-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s;
  z-index: 300;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ar2-primary);
}

.chat-bubble {
  position: fixed;
  left: 26px;
  bottom: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ar2-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(21, 90, 193, .4);
  z-index: 300;
  font-size: 22px;
  border: none;
  text-decoration: none;
  transition: transform .2s ease;
}

.chat-bubble:hover {
  transform: scale(1.06);
}

.chat-bubble svg {
  width: 28px;
  height: 28px;
}

.chat-bubble.is-whatsapp {
  background: #25D366;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ar2-secondary);
  color: #e5e6e8;
  padding: 18px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 400;
  transform: translateY(100%);
  transition: transform .4s ease;
  font-size: 13.5px;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner a {
  text-decoration: underline;
}

.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: var(--ar2-secondary);
  color: #fff;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  z-index: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(-10px);
  transition: all .3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SITE MODAL (popup-form CTA buttons — see single.php .post-cta-row) ===== */
.site-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-modal[hidden] {
  display: none;
}

.site-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, .6);
}

.site-modal-panel {
  position: relative;
  background: #fff;
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 40px 36px;
  box-shadow: 0 30px 70px rgba(15, 20, 30, .3);
}

.site-modal-panel h3 {
  font-size: 22px;
  margin-bottom: 18px;
  padding-right: 24px;
}

.site-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ar2-border);
  background: #fff;
  color: var(--ar2-secondary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-modal-close:hover {
  border-color: var(--ar2-primary);
  color: var(--ar2-primary);
}

.site-modal-form input[type="text"],
.site-modal-form input[type="email"],
.site-modal-form input[type="tel"],
.site-modal-form textarea,
.site-modal-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ar2-border);
  font-size: 14px;
  font-family: var(--ar2-font-body);
  margin-bottom: 14px;
}

.site-modal-form button[type="submit"],
.site-modal-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 26px;
  border: 1.5px solid var(--ar2-primary);
  background: var(--ar2-primary);
  color: #fff;
  cursor: pointer;
}

.pdf-gate-intro {
  color: var(--ar2-text-muted);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.pdf-gate-status {
  font-size: 13.5px;
  margin-top: 12px;
  min-height: 18px;
}

.pdf-gate-status.is-success {
  color: #1a7f4b;
}

.pdf-gate-status.is-error {
  color: #c0362c;
}

body.site-modal-open {
  overflow: hidden;
}

/* ===== MOBILE NAV PANEL ===== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 400;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: 10px 0 40px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--ar2-border);
  flex-shrink: 0;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ar2-font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ar2-secondary);
}

.mobile-nav-logo .mark {
  width: 36px;
  height: 36px;
  background: var(--ar2-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--ar2-font-body);
  flex-shrink: 0;
}

.mobile-nav-logo .logo-image {
  max-height: 36px;
  width: auto;
}

.mobile-nav>ul {
  padding: 10px 20px 20px;
}

.mobile-nav li {
  border-bottom: 1px solid var(--ar2-border);
}

.mobile-nav>ul>li>a {
  display: flex;
  justify-content: space-between;
  padding: 16px 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ar2-text);
}

.mobile-nav .sub {
  padding-left: 14px;
  display: none;
}

.mobile-nav .sub.open {
  display: block;
}

.mobile-nav .sub a {
  padding: 12px 4px;
  font-size: 14px;
  color: var(--ar2-text-muted);
  display: block;
}

.mobile-nav-foot {
  margin-top: auto;
  padding: 22px 20px 28px;
  border-top: 1px solid var(--ar2-border);
  flex-shrink: 0;
}

.mobile-nav-contact {
  font-size: 18px;
  color: var(--ar2-text-muted);
  line-height: 1.7;
}

.mobile-nav-contact a {
  color: var(--ar2-primary);
  font-weight: 600;
}

.nav-overlay-mobile {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 20, .5);
  z-index: 390;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.nav-overlay-mobile.show {
  opacity: 1;
  visibility: visible;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1080px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .segment-row .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .segment-row:nth-child(even) .wrap {
    direction: ltr;
  }

  .segment-copy {
    padding: 0;
    order: 2;
  }

  .segment-media {
    order: 1;
    height: 360px;
  }

  .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dual-cta {
    grid-template-columns: 1fr;
  }

  footer#contact .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    row-gap: 40px;
  }

  .madlib {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width:860px) {

  nav.main-nav,
  .top-bar {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 88vh;
    padding: 120px 0 60px;
  }

  .impact-card {
    flex: 0 0 300px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width:560px) {
  .wrap {
    padding: 0 22px;
  }

  .filter-grid {
    grid-template-columns: 1fr;
  }

  /* Footer on mobile: every column (brand block included) goes full width
     and stacks — the fixed 300px brand column + auto-fit tracks used on
     desktop don't have room to breathe at phone widths. Link columns
     (.footer-col, added by the PHP loop) become click-to-expand accordions;
     the brand block (first child, no .footer-col class) just stacks plainly
     with no toggle since it has no heading to click. */
  footer#contact .footer-top {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 8px;
  }

  footer#contact .footer-top>div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  footer#contact .footer-top>div:first-child {
    padding-top: 0;
    border-top: none;
  }

  .footer-col-toggle {
    margin: 0 !important;
    padding: 10px 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
  }

  .footer-col-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(255, 255, 255, .6);
    border-bottom: 1.5px solid rgba(255, 255, 255, .6);
    transform: rotate(45deg);
    transition: transform .2s ease;
    flex-shrink: 0;
  }

  .footer-col.open .footer-col-toggle::after {
    transform: rotate(-135deg);
  }

  .footer-col .flinks,
  .footer-col .footer-contact {
    display: none;
    margin-top: 12px;
  }

  .footer-col.open .flinks,
  .footer-col.open .footer-contact {
    display: block;
  }

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

  footer#contact .footer-bottom {
    padding: 18px 0;
  }
}

/* =========================================================
   POST DETAIL PAGE (single.php) — Autobei design.
   ========================================================= */
.post-hero {
  padding: 50px 0 50px;
  background: #fff;
  color: var(--ar2-secondary);
  border-bottom: 1px solid var(--ar2-border);
}

.post-hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--ar2-font-body);
  font-size: 15px;
  color: var(--ar2-primary);
}

.post-hero-eyebrow:hover {
  text-decoration: underline;
}

.post-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 56px;
  align-items: start;
  margin-bottom: 28px;
}

.post-hero-grid.has-dek {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.post-hero h1 {
  margin: 0;
  font-family: var(--ar2-font-body);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: #000;
}

.post-hero-dek {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.4;
  color: #000;
}

.post-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--ink-soft, #6B6F76);
  font-size: 15px;
  margin-bottom: 20px;
}

.post-meta-row .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.post-cta-row .btn-outline {
  background: transparent;
  border: 1.5px solid var(--ar2-primary);
  color: var(--ar2-primary);
}

.post-cta-row .btn-outline:hover {
  background: var(--ar2-primary);
  color: #fff;
}

@media (max-width: 860px) {
  .post-hero-grid.has-dek {
    grid-template-columns: 1fr;
  }
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.post-body {
  max-width: 760px;
}

.post-body .lede {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ar2-secondary);
  margin-bottom: 28px;
}

.post-body h2 {
  font-size: clamp(22px, 2.6vw, 29px);
  margin: 46px 0 18px;
  scroll-margin-top: 110px;
}

.post-body h3 {
  font-size: 19px;
  margin: 34px 0 14px;
  scroll-margin-top: 110px;
}

.post-body h4 {
  font-size: 14px;
  margin: 28px 0 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ar2-primary);
  font-weight: 700;
  font-family: var(--ar2-font-body);
  scroll-margin-top: 110px;
}

.post-body p {
  color: var(--ar2-text);
  font-size: 20px;
  line-height: 1.85;
  margin-bottom: 20px;
}

.post-body li {
  font-size: 20px;
  line-height: 1.85;
}

.post-body strong {
  color: var(--ar2-secondary);
  font-weight: 700;
}

.post-body a {
  color: var(--ar2-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body figure {
  margin: 30px 0;
}

.post-body figure img {
  width: 100%;
  border: 0;
  border-radius: 0;
}

.post-body figcaption {
  font-size: 12.5px;
  color: var(--ar2-text-muted);
  margin-top: 10px;
  text-align: center;
}

.post-actions {
  display: flex;
  gap: 32px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.post-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ar2-text-muted);
  font-family: var(--ar2-font-body);
  text-decoration: none;
}

.post-action .pa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-action .pa-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.post-action .pa-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.post-action:hover {
  color: var(--ar2-primary);
}

.post-action.is-saved,
.post-action.is-copied {
  color: var(--ar2-primary);
}

/* Content Blocks (template-parts/content-blocks.php) restyled to match —
   scoped under .post-body so page-builder.php's Flexible Page template
   (which uses the same block system) keeps its own look untouched. */
.post-body .content-block-stats-grid {
  display: flex;
  border: 1px solid var(--ar2-border);
  margin: 8px 0 26px;
  flex-wrap: wrap;
  padding: 0;
}

.post-body .content-block-stat {
  flex: 1;
  min-width: 130px;
  padding: 22px 20px;
  border-right: 1px solid var(--ar2-border);
  gap: 4px;
}

.post-body .content-block-stat:last-child {
  border-right: none;
}

.post-body .content-block-stat-value {
  font-family: var(--ar2-font-display);
  font-size: 28px;
  color: var(--ar2-primary);
  margin-bottom: 4px;
  font-weight: 600;
}

.post-body .content-block-stat-label {
  font-size: 11.5px;
  color: var(--ar2-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.post-body .content-block-quote {
  border-left: 3px solid var(--ar2-primary);
  padding: 2px 0 2px 24px;
  margin: 34px 0;
}

.post-body .content-block-quote p {
  font-family: var(--ar2-font-display);
  font-size: 21px;
  line-height: 1.5;
  color: var(--ar2-secondary);
  font-style: normal;
  margin-bottom: 10px;
}

.post-body .content-block-quote footer {
  font-size: 13px;
  color: var(--ar2-text-muted);
}

.post-body .content-block-checklist-icon {
  background: var(--ar2-primary);
}

.post-body .content-block-cta {
  background: var(--ar2-primary-light);
}

.post-body .content-block-faq .accordion-button:not(.collapsed) .accordion-chevron {
  color: var(--ar2-primary);
}

.toc-widget nav ul {
  border-top: 1px solid var(--ar2-border);
}

.toc-widget nav li {
  border-bottom: 1px solid var(--ar2-border);
}

.toc-widget nav a {
  display: block;
  padding: 11px 2px;
  font-size: 13.5px;
  color: var(--ar2-text-muted);
}

.toc-widget nav a:hover,
.toc-widget nav a.active {
  color: var(--ar2-primary);
}

.toc-widget nav .toc-sub {
  padding-left: 14px;
}

.toc-widget nav .toc-sub a {
  font-size: 12.5px;
  padding: 8px 2px;
}

.sidebar-col {
  align-self: start;
}

@media (min-width:1081px) {
  .sidebar-col {
    position: sticky;
    top: 110px;
  }
}

.sidebar-widget {
  background: #fff;
  border: 1px solid var(--ar2-border);
  border-top: 3px solid var(--ar2-primary);
  padding: 26px;
  margin-bottom: 22px;
}

.sidebar-widget h5 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ar2-secondary);
  margin-bottom: 6px;
  font-family: var(--ar2-font-body);
}

.sidebar-widget .widget-sub {
  font-size: 18px;
  color: var(--ar2-text-muted);
  margin-bottom: 18px;
}

.sidebar-cta {
  background: var(--ar2-secondary);
  border-top-color: var(--ar2-secondary);
  color: #fff;
  padding: 30px 26px;
}

.sidebar-cta .cta-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 16px;
}

.sidebar-cta h5 {
  color: #fff;
}

.sidebar-cta p {
  color: #c9cdd3;
  font-size: 16px;
  margin-bottom: 20px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ar2-border);
  border-bottom: 1px solid var(--ar2-border);
  margin: 56px 0 0;
}

.post-nav a {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-nav a:first-child {
  border-right: 1px solid var(--ar2-border);
}

.post-nav .dir {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ar2-text-muted);
}

.post-nav .ptitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--ar2-secondary);
}

.post-nav a:hover .ptitle {
  color: var(--ar2-primary);
}

.post-nav .next-col {
  text-align: right;
  align-items: flex-end;
}

.recommended {
  padding-top: 90px;
  padding-bottom: 90px;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.recommended-grid .report-card .thumb {
  aspect-ratio: 16/11;
}

.recommended-grid .report-card .body {
  padding: 18px;
}

.recommended-grid .report-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.recommended-grid .report-card p {
  display: none;
}

.recommended-grid .report-card .rc-link {
  font-size: 15px;
}

/* Report card — shared by the recommended-reports grid here and (later) a
   category/reports listing page. */
.report-card {
  background: #fff;
  border: 1px solid var(--ar2-border);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}

.report-card:hover {
  border-color: var(--ar2-primary);
  box-shadow: 0 18px 36px rgba(15, 20, 30, .1);
  transform: translateY(-4px);
}

.report-card .thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ar2-bg-alt);
  display: block;
}

.report-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}

.report-card:hover .thumb img {
  transform: scale(1.06);
}

.report-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.report-card .tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ar2-primary);
  margin-bottom: 10px;
}

.report-card h3 {
  font-size: 16.5px;
  line-height: 1.35;
  margin-bottom: 10px;
  font-weight: 600;
  margin-top: 0;
}

.report-card h3 a:hover {
  color: var(--ar2-primary);
}

.report-card p {
  font-size: 13.5px;
  color: var(--ar2-text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.report-card .rc-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ar2-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.report-card .rc-link:hover {
  color: var(--ar2-primary);
}

.report-card .rc-link .arrow {
  display: inline-block;
  transition: transform .2s;
}

.report-card .rc-link:hover .arrow {
  transform: translateX(4px);
}

.convo-cta {
  position: relative;
  padding: 130px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.convo-cta .bg-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.convo-cta .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.convo-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 12, 18, .82) 0%, rgba(8, 12, 18, .7) 40%, rgba(8, 12, 18, .94) 100%);
}

.convo-cta .glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 90, 193, .4), transparent 70%);
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.convo-cta .eyebrow {
  justify-content: center;
  color: #8fb6ee;
}

.convo-cta .eyebrow::before {
  display: none;
}

.convo-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 30px;
}

@media (max-width:1080px) {
  .post-layout {
    grid-template-columns: 1fr;
  }

  .post-body {
    max-width: none;
  }

  .recommended-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:720px) {
  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav a:first-child {
    border-right: none;
    border-bottom: 1px solid var(--ar2-border);
  }

  .post-nav .next-col {
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width:560px) {
  .recommended-grid {
    grid-template-columns: 1fr;
  }

  .post-hero {
    padding: 130px 0 32px;
  }
}