/* MoPD — Original digital platform design (not Civica / not mopd.gov.et clone) */

:root {
  --mp-forest: #0a1f14;
  --mp-forest-mid: #143325;
  --mp-forest-soft: #1e4d35;
  --mp-sage: #3a7d58;
  --mp-mint: #4db87a;
  --mp-mint-glow: rgba(77, 184, 122, 0.35);
  --mp-gold: #c9a227;
  --mp-cream: #f5f1ea;
  --mp-paper: #ffffff;
  --mp-ink: #152019;
  --mp-muted: #5c6b62;
  --mp-line: rgba(21, 32, 25, 0.1);
  --mp-font: 'Josefin Sans', 'Noto Sans Ethiopic', sans-serif;
  --mp-display: 'Josefin Sans', 'Noto Sans Ethiopic', sans-serif;
  --mp-wrap: min(1240px, 100% - 40px);
  --mp-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* bridge for inner pages + shock.js */
  --cv-font: var(--mp-font);
  --cv-primary: var(--mp-forest);
  --cv-primary-mid: var(--mp-forest-mid);
  --cv-accent-bright: var(--mp-mint);
  --cv-cream: var(--mp-cream);
  --cv-white: var(--mp-paper);
  --sx-wrap: var(--mp-wrap);
  --sx-bg: var(--mp-forest);
  --sx-bg-light: var(--mp-cream);
  --sx-surface: var(--mp-paper);
  --sx-accent: var(--mp-mint);
  --sx-accent-dim: var(--mp-sage);
  --sx-ink: var(--mp-ink);
  --sx-ink-muted: var(--mp-muted);
  --sx-line-dark: var(--mp-line);
  --sx-display: var(--mp-display);
  --sx-font: var(--mp-font);
}

body.site-shock {
  font-family: var(--mp-font);
  background: var(--mp-cream);
  color: var(--mp-muted);
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.mp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 16px 0;
  transition: background 0.35s var(--mp-ease), box-shadow 0.35s, padding 0.35s;
}

.mp-header.is-solid {
  background: rgba(10, 31, 20, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

body[data-page="home"] .mp-header:not(.is-solid) {
  background: linear-gradient(180deg, rgba(10, 31, 20, 0.55) 0%, transparent 100%);
}

.mp-header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(12px, 2vw, 44px);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.mp-header__brand {
  flex: 0 0 auto;
}

.mp-header__brand img {
  height: 70px;
  max-width: min(280px, 34vw);
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  transition: height 0.3s;
}

.mp-header.is-solid .mp-header__brand img {
  height: 62px;
}

.mp-nav {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  margin-left: auto;
}

.mp-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  gap: clamp(2px, 0.5vw, 8px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mp-nav__item {
  position: relative;
  flex: 0 0 auto;
}

.mp-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px clamp(12px, 1.4vw, 20px);
  font-size: 1.0625rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
}

.mp-nav__link:hover,
.mp-nav__link.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mp-nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  padding: 8px;
  background: var(--mp-paper);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(10, 31, 20, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  list-style: none;
}

.mp-nav__item:hover .mp-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mp-nav__sub a {
  display: block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mp-ink);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.mp-nav__sub a:hover {
  background: var(--mp-cream);
  color: var(--mp-sage);
}

.mp-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

  .mp-lang {
    display: flex;
    gap: 2px;
    padding: 3px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    flex-shrink: 0;
  }

.mp-lang__btn {
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.mp-lang__btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--mp-font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--mp-ease), box-shadow 0.25s, background 0.25s;
  cursor: pointer;
}

.mp-btn--fill {
  background: var(--mp-mint);
  color: var(--mp-forest);
  border-color: var(--mp-mint);
}

.mp-btn--fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--mp-mint-glow);
}

.mp-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.mp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.mp-btn--dark:hover {
  background: var(--mp-forest-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 31, 20, 0.2);
}

.mp-btn--outline {
  background: transparent;
  color: var(--mp-forest);
  border-color: var(--mp-line);
}

.mp-btn--outline:hover {
  border-color: var(--mp-sage);
  color: var(--mp-sage);
}

.mp-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mp-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--mp-ease), opacity 0.25s;
}

.mp-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mp-menu-btn[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Inner pages: solid header always */
body:not([data-page="home"]) .mp-header {
  background: var(--mp-forest);
  padding: 10px 0;
}

/* ========== HERO ========== */
.mp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--mp-forest);
}

.mp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mp-hero__media .sx-hero__video-poster,
.mp-hero__media .sx-hero__video-player,
.mp-hero__media .sx-hero__video-cover,
.mp-hero__media .sx-hero__video-shield {
  position: absolute;
  inset: 0;
}

.mp-hero__media .sx-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 31, 20, 0.92) 0%, rgba(10, 31, 20, 0.35) 45%, rgba(10, 31, 20, 0.55) 100%),
    linear-gradient(90deg, rgba(10, 31, 20, 0.75) 0%, transparent 55%);
  z-index: 2;
}

.mp-hero__content {
  position: relative;
  z-index: 3;
  width: var(--mp-wrap);
  margin-inline: auto;
  padding: 128px 0 340px;
}

.mp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mp-mint);
  margin-bottom: 20px;
}

.mp-hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--mp-mint);
}

.mp-hero__title {
  font-family: var(--mp-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 20ch;
  margin-bottom: 24px;
}

.mp-hero__title em,
.mp-hero__accent {
  font-style: normal;
  color: var(--mp-mint);
}

.mp-hero__desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 32px;
}

.mp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mp-hero__ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 31, 20, 0.75);
  backdrop-filter: blur(12px);
}

.mp-hero__ticker-inner {
  width: var(--mp-wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.mp-hero__ticker-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mp-mint);
  white-space: nowrap;
}

.mp-ticker__track {
  position: relative;
  min-height: 48px;
  overflow: hidden;
}

.mp-ticker__slide,
.sx-hero__feed-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--mp-ease), transform 0.5s var(--mp-ease);
  pointer-events: none;
}

.mp-ticker__slide.is-active,
.sx-hero__feed-card.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.mp-ticker__tag {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mp-forest);
  background: var(--mp-mint);
  border-radius: 4px;
}

.mp-ticker__slide h2,
.sx-hero__feed-card h2 {
  font-family: var(--mp-font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-ticker__link,
.sx-hero__feed-link {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mp-mint);
}

.mp-ticker__nav {
  display: flex;
  gap: 6px;
}

.mp-ticker__btn,
.sx-hero__feed-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}

.mp-ticker__btn:hover,
.sx-hero__feed-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ========== SECTIONS ========== */
.mp-section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.mp-wrap {
  width: var(--mp-wrap);
  margin-inline: auto;
}

.mp-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mp-sage);
  margin-bottom: 14px;
}

.mp-heading {
  font-family: var(--mp-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--mp-ink);
}

.mp-heading--light {
  color: #fff;
}

/* Metrics strip */
.mp-metrics {
  background: var(--mp-paper);
  border-bottom: 1px solid var(--mp-line);
  padding: 0;
}

.mp-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.mp-metric {
  padding: clamp(28px, 4vw, 40px) 24px;
  text-align: center;
  border: 1px solid var(--mp-line);
}

.mp-metric:last-child {
  border-right: 1px solid var(--mp-line);
}

.mp-metric strong {
  display: block;
  font-family: var(--mp-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--mp-forest);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.mp-metric span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mp-muted);
}

/* Bento mission grid */
.mp-bento {
  background: var(--mp-cream);
}

.mp-bento__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.mp-bento__visual {
  grid-row: 1 / 3;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 480px;
}

.mp-bento__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

.mp-bento__visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  max-width: 240px;
}

.mp-bento__visual-badge strong {
  display: block;
  font-family: var(--mp-display);
  font-size: 2rem;
  color: var(--mp-forest);
  line-height: 1;
}

.mp-bento__visual-badge span {
  font-size: 0.8125rem;
  color: var(--mp-muted);
  margin-top: 4px;
  display: block;
}

.mp-bento__intro {
  background: var(--mp-paper);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--mp-line);
}

.mp-bento__intro p {
  margin-top: 16px;
  line-height: 1.75;
  font-size: 1rem;
}

.mp-bento__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mp-tile {
  background: var(--mp-paper);
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.35s var(--mp-ease), box-shadow 0.35s, border-color 0.35s;
}

.mp-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 31, 20, 0.1);
  border-color: rgba(58, 125, 88, 0.3);
}

.mp-tile__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 184, 122, 0.12);
  color: var(--mp-sage);
  border-radius: 10px;
  margin-bottom: 16px;
}

.mp-tile h3 {
  font-family: var(--mp-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mp-ink);
  margin-bottom: 8px;
}

.mp-tile p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.mp-tile a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mp-sage);
}

/* Dev plan feature */
.mp-devplan {
  background: var(--mp-forest);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.mp-devplan::before {
  content: '2030';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mp-display);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.mp-devplan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.mp-devplan__content .mp-eyebrow {
  color: var(--mp-mint);
}

.mp-devplan__content p {
  margin: 20px 0 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

.mp-devplan__timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-devplan__timeline li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.mp-devplan__timeline li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mp-mint);
  flex-shrink: 0;
}

.mp-devplan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mp-devplan__visual {
  position: relative;
}

.mp-devplan__visual img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.mp-devplan__stat-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 20px 28px;
  background: var(--mp-mint);
  color: var(--mp-forest);
  border-radius: 14px;
  font-family: var(--mp-display);
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 16px 40px var(--mp-mint-glow);
}

.mp-devplan__stat-float small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Command center bento */
.mp-command {
  background: var(--mp-paper);
}

.mp-command__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 16px;
  margin-top: 40px;
}

.mp-cmd {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: var(--mp-cream);
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  transition: transform 0.3s var(--mp-ease), background 0.3s, border-color 0.3s, color 0.3s;
  min-height: 140px;
  position: relative;
  color: var(--mp-ink);
  overflow: visible;
  text-decoration: none;
}

.mp-cmd h3,
.mp-cmd p,
.mp-cmd__arrow {
  position: relative;
  z-index: 2;
}

.mp-cmd:hover {
  transform: translateY(-3px);
  background: var(--mp-forest);
  border-color: var(--mp-forest);
}

.mp-cmd:hover h3,
.mp-cmd:hover p {
  color: #fff;
}

.mp-cmd--md:hover h3,
.mp-cmd--sm:hover h3,
.mp-cmd--md:hover p,
.mp-cmd--sm:hover p {
  color: #fff;
}

.mp-cmd:hover .mp-cmd__arrow {
  color: var(--mp-mint);
}

.mp-cmd--lg {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 280px;
  background: linear-gradient(135deg, var(--mp-forest-mid), var(--mp-forest));
  border-color: transparent;
  color: #fff;
  overflow: hidden;
}

.mp-cmd--lg:hover {
  background: linear-gradient(135deg, var(--mp-forest-soft), var(--mp-forest-mid));
}

.mp-cmd--md { grid-column: span 3; }
.mp-cmd--sm { grid-column: span 3; }

.mp-cmd h3 {
  font-family: var(--mp-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mp-ink);
  margin-bottom: 6px;
  transition: color 0.3s;
}

.mp-cmd p {
  font-size: 0.8125rem;
  color: var(--mp-muted);
  line-height: 1.5;
  transition: color 0.3s;
}

.mp-cmd__arrow {
  margin-top: 12px;
  font-size: 1.25rem;
  color: var(--mp-sage);
  transition: color 0.3s, transform 0.3s;
}

/* Large card: white text on green (must follow .mp-cmd h3/p above) */
.mp-cmd--lg h3,
.mp-cmd--lg p {
  color: #fff;
}

.mp-cmd--lg .mp-cmd__arrow {
  color: var(--mp-mint);
}

.mp-cmd:hover .mp-cmd__arrow {
  transform: translateX(4px);
}

/* News editorial */
.mp-news {
  background: var(--mp-cream);
}

.mp-news__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.mp-news__featured {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--mp-forest);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mp-news__featured-img {
  position: absolute;
  inset: 0;
}

.mp-news__featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.6s var(--mp-ease), opacity 0.6s;
}

.mp-news__featured:hover .mp-news__featured-img img {
  transform: scale(1.04);
  opacity: 0.85;
}

.mp-news__featured-body {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: linear-gradient(0deg, rgba(10, 31, 20, 0.95) 0%, transparent 100%);
}

.mp-news__featured time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mp-mint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mp-news__featured h3 {
  font-family: var(--mp-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  margin: 10px 0 16px;
  line-height: 1.2;
}

.mp-news__featured h3 a {
  color: inherit;
}

.mp-news__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mp-news__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--mp-paper);
  border: 1px solid var(--mp-line);
  border-radius: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mp-news__item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(10, 31, 20, 0.08);
}

.mp-news__item-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--mp-forest-mid);
}

.mp-news__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-news__item time {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--mp-sage);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mp-news__item h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--mp-ink);
  line-height: 1.35;
  margin-top: 6px;
}

.mp-news__item h3 a:hover {
  color: var(--mp-sage);
}

.mp-section-foot {
  margin-top: 40px;
  text-align: center;
}

/* Climate band */
.mp-climate {
  position: relative;
  background: var(--mp-forest);
  overflow: hidden;
}

.mp-climate__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(77, 184, 122, 0.15), transparent),
    var(--mp-forest);
}

.mp-climate__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}

.mp-climate__content {
  max-width: 560px;
}

.mp-climate__content p {
  margin: 20px 0 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.mp-climate__stats {
  display: flex;
  gap: 48px;
}

.mp-climate__stat strong {
  display: block;
  font-family: var(--mp-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--mp-mint);
  line-height: 1;
}

.mp-climate__stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 140px;
}

.mp-climate__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Leadership scroll */
.mp-leaders {
  background: var(--mp-paper);
  overflow: hidden;
}

.mp-leaders__scroll {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mp-leaders__scroll::-webkit-scrollbar {
  display: none;
}

.mp-leader {
  flex: 0 0 min(280px, 75vw);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mp-cream);
  border: 1px solid var(--mp-line);
  transition: transform 0.35s var(--mp-ease);
}

.mp-leader:hover {
  transform: translateY(-6px);
}

.mp-leader__photo {
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--mp-forest-mid);
}

.mp-leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--mp-ease);
}

.mp-leader:hover .mp-leader__photo img {
  transform: scale(1.05);
}

.mp-leader__body {
  padding: 20px;
}

.mp-leader__body h3 {
  font-family: var(--mp-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mp-ink);
}

.mp-leader__body h3 a:hover {
  color: var(--mp-sage);
}

.mp-leader__body p {
  font-size: 0.8125rem;
  color: var(--mp-sage);
  font-weight: 500;
  margin-top: 4px;
}

/* Partners */
.mp-partners {
  background: var(--mp-cream);
  padding: 56px 0;
}

.mp-partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.mp-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 36px;
  background: var(--mp-paper);
  border: 1px solid var(--mp-line);
  border-radius: 14px;
  min-width: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.mp-partner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 31, 20, 0.08);
}

.mp-partner img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.mp-partner span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mp-muted);
  text-align: center;
}

/* Connect */
.mp-connect {
  background: var(--mp-forest);
  color: #fff;
}

.mp-connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.mp-connect__form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.mp-connect__form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

.mp-connect__form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.mp-connect__form input:focus {
  outline: none;
  border-color: var(--mp-mint);
  background: rgba(255, 255, 255, 0.12);
}

.mp-connect__info {
  padding-top: 8px;
}

.mp-connect__info .contact__list a {
  color: var(--mp-mint);
}

/* ========== FOOTER ========== */
.mp-footer {
  background: #060f0a;
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 32px;
}

.mp-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-footer__logo {
  height: 48px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 16px;
}

.mp-footer__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.mp-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mp-footer__links h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mp-mint);
  margin-bottom: 16px;
}

.mp-footer__links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 5px 0;
  transition: color 0.2s;
}

.mp-footer__links a:hover {
  color: #fff;
}

.mp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.8125rem;
}

.mp-footer__legal {
  display: flex;
  gap: 20px;
}

.mp-footer__legal a:hover {
  color: var(--mp-mint);
}

/* Progress bar */
.sx-progress {
  background: var(--mp-mint) !important;
}

/* Reveal */
.mp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--mp-ease), transform 0.7s var(--mp-ease);
}

.mp-reveal.is-in,
.sx-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Video hero overrides — cover-fit without heavy upscale */
.mp-hero .sx-hero__video-player .sx-hero__video {
  transform: translate(-50%, -50%);
  image-rendering: auto;
}

.mp-hero .sx-hero__video-player {
  overflow: hidden;
}

.mp-hero .sx-hero__video-cover {
  background-image: url('../img/hero/hero-video-poster.jpg');
  background-size: cover;
  background-position: center;
}

/* Hide old Civica header/footer when mp-* present */
.mp-header ~ .sx-header,
.mp-footer ~ .sx-footer,
body:has(.mp-header) .sx-header,
body:has(.mp-footer) .sx-footer {
  display: none !important;
}

/* Video hero (local background loop) */
.mp-hero .sx-hero__video-poster {
  position: absolute;
  inset: 0;
  background-color: var(--mp-forest);
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: opacity 0.6s ease;
}

.mp-hero .sx-hero__video-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.mp-hero .sx-hero__video-player {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.mp-hero .sx-hero__video-cover {
  position: absolute;
  inset: 0;
  z-index: 8;
  background-color: var(--mp-forest);
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: auto;
}

.mp-hero .sx-hero__video-player.is-playing .sx-hero__video-cover {
  opacity: 0;
  pointer-events: none;
}

.mp-hero .sx-hero__video-player .sx-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

.mp-hero .sx-hero__video-shield {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: auto;
  background:
    linear-gradient(to bottom, rgba(10, 31, 20, 0.35) 0%, transparent 25%),
    linear-gradient(to top, rgba(10, 31, 20, 0.45) 0%, transparent 30%);
}

/* Mobile menu (mp-header context) */
.sx-menu__panel {
  background: var(--mp-forest) !important;
  padding:
    max(20px, env(safe-area-inset-top))
    max(20px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(20px, env(safe-area-inset-left));
}

.sx-menu__close {
  display: none !important;
}

.sx-menu__nav {
  gap: 10px;
  margin-top: 52px;
}

.sx-menu__lang {
  display: flex;
  gap: 6px;
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sx-menu__lang .mp-lang__btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.95rem;
}

.sx-menu__group {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.sx-menu__group-toggle,
.sx-menu__top-link {
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-size: 1.05rem;
}

.sx-menu__group-toggle svg {
  color: var(--mp-mint);
  opacity: 1;
}

.sx-menu__group-links a {
  font-family: var(--mp-font);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78) !important;
  padding: 14px 16px;
  line-height: 1.4;
}

.sx-menu__group-links a:hover {
  background: rgba(77, 184, 122, 0.14) !important;
  color: var(--mp-mint) !important;
}

.sx-menu__top-link {
  border-color: rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 18px 20px;
}

.sx-menu__top-link:hover {
  border-color: rgba(77, 184, 122, 0.35) !important;
  color: var(--mp-mint) !important;
}

.sx-menu__top-link--accent {
  background: var(--mp-mint) !important;
  color: var(--mp-forest) !important;
  border-color: var(--mp-mint) !important;
  margin-top: 12px;
}

.sx-menu__top-link--accent:hover {
  color: var(--mp-forest) !important;
  border-color: var(--mp-mint) !important;
}

body.mp-menu-open .mp-header {
  z-index: 2001;
}

body.mp-menu-open {
  overflow: hidden;
}

.sx-top {
  background: var(--mp-mint) !important;
  color: var(--mp-forest) !important;
}

/* Contact info in connect section */
.mp-connect .contact__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.mp-connect .contact__list li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.mp-connect .contact__list strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .mp-nav { display: none; }
  .mp-menu-btn { display: flex; }

  .mp-header__inner {
    gap: 10px;
    padding-inline: 12px;
  }

  .mp-header__brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mp-header__brand img {
    height: 52px;
    max-width: min(220px, 52vw);
  }

  .mp-header.is-solid .mp-header__brand img {
    height: 48px;
  }

  .mp-header__actions {
    margin-left: auto;
    gap: 6px;
    flex-shrink: 0;
  }

  .mp-header__actions > .mp-btn--fill {
    display: none;
  }

  .mp-header__actions > .mp-nav__link {
    padding: 10px;
  }

  .mp-lang__btn {
    padding: 6px 9px;
    font-size: 0.8rem;
  }

  .sx-menu__panel {
    width: min(100%, 400px);
  }

  .mp-bento__grid {
    grid-template-columns: 1fr;
  }

  .mp-bento__visual {
    grid-row: auto;
    min-height: 320px;
  }

  .mp-bento__tiles {
    grid-template-columns: 1fr;
  }

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

  .mp-cmd--lg,
  .mp-cmd--md,
  .mp-cmd--sm {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 160px;
  }

  .mp-cmd--lg {
    grid-column: span 2;
    min-height: 240px;
  }

  .mp-news__layout {
    grid-template-columns: 1fr;
  }

  .mp-devplan__grid,
  .mp-connect__grid,
  .mp-climate__grid {
    grid-template-columns: 1fr;
  }

  .mp-climate__stats {
    gap: 32px;
  }

  .mp-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mp-header {
    padding: 10px 0;
  }

  .mp-header__inner {
    gap: 8px;
    padding-inline: 10px;
  }

  .mp-header__brand img {
    height: 44px;
    max-width: min(180px, 46vw);
  }

  .mp-header.is-solid .mp-header__brand img {
    height: 40px;
  }

  .mp-lang {
    padding: 2px;
  }

  .mp-lang__btn {
    padding: 5px 7px;
    font-size: 0.75rem;
  }

  .mp-header__actions {
    gap: 4px;
  }

  .sx-menu__panel {
    width: 100%;
    padding-inline: 16px;
  }

  .sx-menu__group-toggle,
  .sx-menu__top-link {
    font-size: 1rem;
    padding: 16px 18px;
  }

  .mp-hero__content {
    padding: 120px 0 300px;
  }

  .mp-hero__ticker-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mp-ticker__nav {
    justify-self: end;
  }

  .mp-metrics__grid {
    grid-template-columns: 1fr;
  }

  .mp-metric {
    border: 1px solid var(--mp-line);
  }

  .mp-command__grid {
    grid-template-columns: 1fr;
  }

  .mp-cmd--lg {
    grid-column: span 1;
  }

  .mp-footer__links {
    grid-template-columns: 1fr 1fr;
  }

  .mp-connect__form {
    flex-direction: column;
  }
}
