/* Single-source site chrome (header + footer). Loaded by the React app and by
   the static pages. Scoped to .lc-* classes so it does not leak into either the
   React page bodies or the static Elementor markup. */

:root {
  --lc-teal: #00CCB4;
  --lc-teal-2: #00D082;
  --lc-ink: #FFFFFF;
  --lc-ink-soft: rgba(255, 255, 255, 0.66);
  --lc-bg: #000000;
  --lc-panel: #0D0D0D;
  --lc-line: rgba(255, 255, 255, 0.10);
  --lc-display: 'Montserrat', system-ui, sans-serif;
  --lc-body: 'Open Sans', system-ui, sans-serif;
  --lc-header-h: 92px;
}

/* ───────────────── Header ───────────────── */
.lc-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.lc-header.lc-scrolled {
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--lc-line);
}
.lc-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lc-logo { display: inline-flex; align-items: center; }
.lc-logo img { height: 56px; width: auto; display: block; }

.lc-nav { display: flex; align-items: center; gap: 34px; }
.lc-nav > a {
  font-family: var(--lc-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--lc-ink);
  text-decoration: none;
  line-height: 1;
  transition: color .15s ease;
}
.lc-nav > a:hover,
.lc-nav > a.lc-active { color: var(--lc-teal); }

.lc-cta {
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7adcb4 0%, var(--lc-teal-2) 100%);
  color: #04261d !important;
  font-weight: 700;
}
.lc-cta:hover { color: #04261d !important; filter: brightness(1.06); }

/* language toggle (EN / BM) — styled to match the .lc-cta pill. The selectors
   are scoped under .lc-header and use !important on the typographic/box props
   so the static pages' global Elementor `button` styles can't override them
   (that mismatch is why it looked different in static vs React). */
.lc-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--lc-line);
}
.lc-header .lc-lang-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  text-transform: none !important;
  text-shadow: none !important;
  font-family: var(--lc-display) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
  min-height: 0 !important;
  width: auto !important;
  padding: 9px 16px !important;
  color: var(--lc-ink) !important;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, filter .15s ease;
}
.lc-header .lc-lang-btn:hover:not(.lc-lang-active) { color: var(--lc-teal) !important; }
.lc-header .lc-lang-btn.lc-lang-active {
  background: linear-gradient(135deg, #7adcb4 0%, var(--lc-teal-2) 100%) !important;
  color: #04261d !important;
}
.lc-header .lc-lang-btn.lc-lang-active:hover { filter: brightness(1.06); }

/* burger (mobile only) */
.lc-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.lc-burger span {
  width: 26px; height: 2px; background: var(--lc-ink);
  transition: transform .25s ease, opacity .2s ease;
}
.lc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  /* On mobile the header is a solid bar (not a transparent overlay), so page
     content sits cleanly below it instead of being hidden under it. The matching
     content offset is applied per-runtime: static pages via the build's mobile
     style, the React app via its own layout. */
  .lc-header {
    background: rgba(6, 6, 8, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--lc-line);
  }
  html, body { overflow-x: hidden; }

  .lc-burger { display: flex; }
  .lc-nav {
    position: fixed;
    inset: var(--lc-header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 6, 8, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 28px 24px;
    border-top: 1px solid var(--lc-line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .lc-nav.lc-open { transform: none; opacity: 1; pointer-events: auto; }
  .lc-nav > a { padding: 16px 0; border-bottom: 1px solid var(--lc-line); }
  .lc-cta { margin-top: 16px; text-align: center; }
  .lc-lang { margin-top: 16px; align-self: flex-start; }
}

/* ───────────────── Footer ───────────────── */
.lc-footer {
  background: var(--lc-bg);
  border-top: 1px solid var(--lc-line);
  font-family: var(--lc-body);
  color: var(--lc-ink-soft);
}
.lc-footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 28px 36px; }
.lc-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.lc-footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.lc-footer-brand p { font-size: 14px; line-height: 1.7; max-width: 340px; margin: 0 0 20px; }

.lc-social { display: flex; gap: 12px; }
.lc-social a {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--lc-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--lc-ink-soft);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.lc-social a:hover { color: #04261d; background: var(--lc-teal); border-color: var(--lc-teal); }
.lc-social svg { width: 16px; height: 16px; fill: currentColor; }

.lc-footer-col h5 {
  font-family: var(--lc-display);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--lc-ink); margin: 0 0 16px;
}
.lc-footer-col ul { list-style: none; margin: 0; padding: 0; }
.lc-footer-col li { margin-bottom: 11px; }
.lc-footer-col a, .lc-footer-col span { font-size: 14px; color: var(--lc-ink-soft); text-decoration: none; }
.lc-footer-col a:hover { color: var(--lc-teal); }

.lc-footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--lc-line);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 13px; color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .lc-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lc-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .lc-footer-grid { grid-template-columns: 1fr; }
}

/* ───────────────── Modal (static-site popups) ───────────────── */
.lc-modal[hidden] { display: none; }
.lc-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.lc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}
.lc-modal-dialog {
  position: relative;
  width: 100%; max-width: 720px;
  max-height: 86vh; overflow-y: auto;
  background: var(--lc-panel);
  border: 1px solid var(--lc-line);
  border-radius: 16px;
  padding: 40px 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  font-family: var(--lc-body);
  color: var(--lc-ink-soft);
}
.lc-modal-x {
  position: absolute; top: 14px; right: 16px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--lc-line);
  color: var(--lc-ink); font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lc-modal-x:hover { background: var(--lc-teal); color: #04261d; }
.lc-modal-title {
  font-family: var(--lc-display);
  color: var(--lc-ink); font-size: 26px; font-weight: 700;
  margin: 0 0 18px;
}
.lc-modal-body p { font-size: 15px; line-height: 1.75; margin: 0 0 16px; }
.lc-modal-body ul { margin: 0 0 16px; padding-left: 22px; }
.lc-modal-body li { font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
.lc-modal-body strong { color: var(--lc-ink); }
@media (max-width: 560px) {
  .lc-modal { padding: 14px; }
  .lc-modal-dialog { padding: 30px 22px; }
  .lc-modal-title { font-size: 22px; }
}

/* ──────── Coalition partner directory (accordion panels) ──────── */
/* Some expanded category panels ship a default 1px box border, others don't —
   drop it on all so they're uniform. The individual partner cards keep their
   own borders. */
.lc-partner-region { border: 0 !important; }
.lc-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  padding: 24px 4px 10px;
}
.lc-partner-card {
  position: relative;
  padding: 18px 20px 16px 22px;
  border-radius: 14px;
  border: 1px solid var(--lc-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.lc-partner-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #3aa0ea, var(--lc-teal));
}
.lc-partner-name {
  font-family: var(--lc-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #3aa0ea, var(--lc-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lc-partner-meta {
  font-family: var(--lc-body);
  font-size: 13px;
  color: var(--lc-ink-soft);
}
@media (max-width: 560px) {
  .lc-partner-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ──────── Statistic card "trend" badges (↑ pills) ────────
   The captured Elementor pills size to the column, so the short row-1 labels
   ("↑ +14% vs yesterday") fit on one line but the longer row-2 ones
   ("↑ Coverage: 10.1% of total", "↑ Generational signal strong") wrapped to
   two lines and looked messy. Make every pill hug its text on a single line at
   a slightly smaller, uniform size. The pill background sits on the
   widget-container (tagged `.lc-badge-pill` by the build); its parent widget is
   tagged `.lc-badge-widget`. We neutralise the widget's per-element width so the
   pill is a uniform 3/4 of the card, and use min-width so a longer-than-3/4 label
   grows the pill instead of overflowing. No CSS :has() — works in every browser. */
.elementor-widget-text-editor.lc-badge-widget {
  width: 100% !important;       /* fill the card (was 63% on row 1); the column is
                                   a centring flex container, so auto would
                                   shrink-wrap and break the pill's 75% */
  max-width: 100% !important;
  align-self: stretch !important;
}
.elementor-widget-container.lc-badge-pill {
  width: 75% !important;
  min-width: -moz-fit-content;
  min-width: fit-content;   /* never clip a longer label */
  max-width: 100% !important;
  margin-inline: auto !important;
}
p.lc-badge {
  display: block;
  white-space: nowrap !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-align: center;
}

/* ──────── Live archetype donut (statistic velocity section) ──────── */
.lc-donut { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lc-donut svg { max-width: 300px; width: 100%; height: auto; }
.lc-donut-legend {
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; margin-top: 14px;
}
.lc-donut-leg {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--lc-body); font-size: 13px; color: var(--lc-ink-soft);
}
.lc-donut-leg strong { color: var(--lc-ink); }
.lc-donut-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* ──────── Contact page (mobile): centre the info icon-boxes ────────
   On mobile the Email/Phone/Address icon-boxes keep their desktop widths and are
   left-anchored in a flex-start parent, so the narrower ones (Phone) look shifted
   to the left while the wider ones (Email) look centred. The wrapper's
   align-items:center is also reset to `normal` at this breakpoint. Make each box
   span the column and centre its icon + text uniformly. Scoped to the contact
   page (.elementor-918) and to mobile, so desktop is untouched. */
@media (max-width: 767px) {
  .elementor-918 .elementor-widget-icon-box {
    width: 100% !important;
    align-self: center !important;
  }
  .elementor-918 .elementor-widget-icon-box .elementor-icon-box-wrapper {
    align-items: center !important;
    text-align: center !important;
  }
}

/* ──────── Network page (/coalition): "Four tiers" counter overlap ────────
   Each tier count is a ported Elementor counter where the number (1→52) and the
   "/ N Cap" title are forced side-by-side (row-reverse, flex:1/flex:1) with a
   14px title line-height (< its 25px font). It reads fine on desktop, but the
   4-up tier row (flex-wrap:nowrap) does not collapse on tablet, so cards shrink
   until the number and label overlap and "/ N CAP" self-wraps. Fix: clean up the
   counter's inline layout, and let the row wrap to 2-up (tablet) / 1-up (phones).
   Scoped to the tier row (.elementor-element-e9543e0) so nothing else changes. */
.elementor-element-e9543e0 .elementor-widget-counter .elementor-counter {
  align-items: baseline !important;
  gap: 0 8px !important;
  justify-content: center !important;
}
.elementor-element-e9543e0 .elementor-widget-counter .elementor-counter-number-wrapper {
  flex: 0 0 auto !important;
}
.elementor-element-e9543e0 .elementor-widget-counter .elementor-counter-title {
  flex: 0 0 auto !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  align-items: baseline !important;
  justify-content: center !important;
}
@media (max-width: 1024px) {
  .elementor-element-e9543e0 { flex-wrap: wrap !important; justify-content: center !important; }
  .elementor-element-e9543e0 > .elementor-element { flex: 1 1 44% !important; max-width: none !important; }
}
@media (max-width: 600px) {
  .elementor-element-e9543e0 > .elementor-element { flex-basis: 100% !important; }
}
