@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("assets/fonts/ibm-plex-sans-v23-latin-regular.woff2") format("woff2"),
    url("/fonts/ibm-plex-sans-v23-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("assets/fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"),
    url("/fonts/IBMPlexSansArabic-Regular.woff2") format("woff2");
}

:root {
  --blue: #006fba;
  --blue-2: #006fba;
  --navy: #0d1f49;
  --gold: #ffce00;
  --gold-2: #ffce00;
  --ink: #172133;
  --muted: #687386;
  --line: #d8e1ee;
  --surface: #ffffff;
  --soft: #f3f6fb;
  --soft-blue: #eaf1fa;
  --good: #1f8a5b;
  --control-bg: #0f2a68;
  --control-bg-2: #163a86;
  --control-border: rgba(220, 170, 10, .34);
  --display-title-size: 54px;
  --section-title-size: 40px;
  --subtitle-size: 32px;
  --body-size: 20px;
  --control-size: 15px;
  --metadata-size: 13px;
  --font-weight-brand: 800;
  --font-weight-sub: 600;
  --font-weight-body: 400;
  --shadow: none;
  --tight-shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background: #fff;
  color: var(--ink);
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  color: inherit;
  text-decoration: none;
  text-align: center;
}

.brand-lockup img {
  width: min(30vw, 238px);
  max-width: 100%;
  height: auto;
  padding: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}

.brand-slogan {
  width: 100%;
  max-width: 188px;
  justify-self: center;
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: var(--metadata-size);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .language-switch {
    opacity: 0;
    transform: scale(.14);
    transform-origin: center;
    will-change: opacity, transform, border-radius;
    animation: languageSwitchBuild .41s cubic-bezier(.18, .9, .2, 1) 2.28s forwards;
  }

  .language-switch a {
    opacity: 0;
    will-change: opacity, transform;
    animation: languageOptionIn .21s ease-out forwards;
  }

  .language-switch a:nth-child(1) {
    animation-delay: 2.49s;
  }

  .language-switch a:nth-child(2) {
    animation-delay: 2.53s;
  }

  .language-switch a:nth-child(3) {
    animation-delay: 2.57s;
  }

  .brand-slogan {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    will-change: opacity, clip-path;
    animation: brandSloganReveal .36s steps(24, end) 2.81s forwards;
  }

  html[dir="rtl"] .brand-slogan {
    clip-path: inset(0 0 0 100%);
  }
}

@keyframes languageSwitchBuild {
  0% {
    opacity: 0;
    transform: scale(.14);
    border-radius: 2px;
  }

  48% {
    opacity: 1;
    transform: scale(1.04);
    border-radius: 6px;
  }

  100% {
    opacity: 1;
    transform: scale(1);
    border-radius: 7px;
  }
}

@keyframes languageOptionIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brandSloganReveal {
  from {
    opacity: 1;
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.language-switch {
  width: max-content;
  max-width: 100%;
  justify-self: center;
  display: inline-grid;
  grid-template-columns: repeat(3, max-content);
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}

.language-switch a {
  min-height: 0;
  padding: 6px 11px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: 5px;
  font-size: var(--metadata-size);
  line-height: 1.15;
  font-weight: 900;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.active {
  color: #fff;
  background: var(--blue);
}

.language-switch a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.side-nav {
  width: 100%;
  max-width: 100%;
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 7px;
}

.side-nav a {
  min-height: 38px;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-top: 2px solid transparent;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  align-items: center;
  text-align: start;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 900;
  overflow: hidden;
}

.side-nav a span {
  min-width: 0;
  text-wrap: balance;
  overflow-wrap: normal;
}

.side-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--gold-2);
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--blue);
  background: var(--soft-blue);
  border-color: rgba(20, 50, 150, .14);
  border-top-color: var(--gold);
}

.nav-return {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(20, 50, 150, .16);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--blue);
  background: var(--gold);
  font-size: var(--control-size);
  font-weight: 900;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .16s ease, background .16s ease;
}

.nav-return.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-return:hover {
  color: var(--blue);
  background: var(--gold);
  border-color: rgba(220, 170, 10, .72);
}

.nav-return svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: currentColor;
}

.nav-return,
.nav-return:hover,
.nav-return svg,
.nav-return:hover svg {
  color: var(--blue);
}

main {
  min-width: 0;
}

.topbar,
.section-block,
.dashboard-grid {
  width: min(100% - 48px, 1320px);
  margin: 0 auto;
}

.topbar {
  min-height: 0;
  padding: 18px 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.topbar > *,
.section-header > *,
.two-column > *,
.tool-panel > *,
.tool-surface > *,
.output-panel > * {
  min-width: 0;
}

.section-kicker {
  display: block;
  color: var(--navy);
  font-size: var(--metadata-size);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 100%;
  margin-top: 4px;
  color: var(--blue);
  font-family: inherit;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  color: var(--blue);
  font-family: inherit;
  font-size: var(--section-title-size);
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  color: var(--blue);
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0;
}

.top-pills,
.hero-actions,
.top-actions,
.tabs,
.mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.top-pills {
  margin-top: 0;
}

.top-pills span {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: var(--metadata-size);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.top-actions {
  max-width: none;
  justify-content: space-between;
  align-self: start;
  align-items: center;
}

.top-actions .top-pills {
  display: flex;
  flex: 1 1 360px;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.primary-button,
.secondary-button,
.icon-button,
.tab,
.segmented {
  border: 0;
  min-height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.primary-button {
  flex: 0 0 auto;
  color: #fff;
  background: var(--blue);
  padding: 0 15px;
  box-shadow: none;
}

.primary-button:hover {
  color: var(--blue);
  background: var(--gold);
}

.secondary-button {
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(20, 50, 150, .12);
  padding: 0 14px;
  text-decoration: none;
}

.secondary-button:hover,
.tab:hover,
.segmented:hover {
  border-color: rgba(20, 50, 150, .34);
}

.icon-button {
  width: 38px;
  height: 38px;
  padding: 0;
  flex: 0 0 38px;
  background: var(--gold);
  color: var(--blue);
}

.top-actions > .primary-button {
  max-width: 190px;
  padding: 8px 13px;
  white-space: normal;
  line-height: 1.08;
  text-align: center;
}

.top-actions > .icon-button,
.top-actions > .secondary-button,
.top-actions > .primary-button {
  align-self: center;
}

.top-actions > .top-blog-button {
  min-height: 38px;
  padding: 8px 13px;
  line-height: 1.08;
}

.icon-button:hover {
  color: var(--blue);
  background: var(--gold);
}

.icon-arrow {
  width: 18px;
  height: 18px;
  position: relative;
  display: block;
  border: 0;
  transform: none;
}

.icon-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

.wide {
  width: 100%;
}

.dashboard-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.overview-grid {
  grid-template-columns: minmax(0, 1fr);
}

.hero-panel,
.status-panel,
.workflow-panel,
.tool-surface,
.output-panel,
.project-summary,
.sector-grid article,
.split-story,
.network-node,
.action-card,
.timeline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

.hero-copy {
  padding: 36px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.hero-copy p,
.section-header p,
.split-story p,
.status-panel span,
.sector-grid p,
.project-summary p {
  color: var(--muted);
  font-size: var(--body-size);
}

.visual-stage {
  min-width: 0;
  min-height: 420px;
  aspect-ratio: 1717 / 916;
  position: relative;
  container-type: inline-size;
  background: #eef3f9;
  display: grid;
  place-items: stretch;
  overflow: hidden;
}

.visual-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1px solid rgba(20, 50, 150, .12);
  z-index: 3;
  pointer-events: none;
}

.visual-steps {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  direction: ltr;
}

.visual-steps span {
  position: absolute;
  width: max-content;
  max-width: 150px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: clamp(13px, 3.05cqw, 24px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-shadow: none;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}

.visual-stage.motion-ready .visual-steps span {
  opacity: 0;
  transform: translate(-50%, -38%) rotate(-90deg);
  transition:
    opacity .55s ease,
    transform .7s cubic-bezier(.2, .8, .2, 1);
  transition-delay: 0s;
}

.visual-stage.motion-ready.steps-visible .visual-steps span {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.visual-stage.motion-ready.steps-visible .visual-steps span:nth-child(1) {
  transition-delay: .04s;
}

.visual-stage.motion-ready.steps-visible .visual-steps span:nth-child(2) {
  transition-delay: .18s;
}

.visual-stage.motion-ready.steps-visible .visual-steps span:nth-child(3) {
  transition-delay: .32s;
}

.visual-stage.motion-ready.steps-visible .visual-steps span:nth-child(4) {
  transition-delay: .46s;
}

.visual-stage.motion-ready.steps-visible .visual-steps span:nth-child(5) {
  transition-delay: .6s;
}

@media (prefers-reduced-motion: reduce) {
  .visual-stage.motion-ready .visual-steps span,
  .visual-stage.motion-ready.steps-visible .visual-steps span {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: none;
  }
}

.visual-steps span:nth-child(1) {
  left: 28.5%;
  top: 29.5%;
}

.visual-steps span:nth-child(2) {
  left: 39.4%;
  top: 29.2%;
}

.visual-steps span:nth-child(3) {
  left: 52.5%;
  top: 28%;
}

.visual-steps span:nth-child(4) {
  left: 65.5%;
  top: 28.4%;
}

.visual-steps span:nth-child(5) {
  left: 78.6%;
  top: 27.9%;
}

.operation-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-panel img,
.split-story img,
.sector-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.status-panel,
.workflow-panel {
  padding: 22px;
  border-color: rgba(20, 50, 150, .18);
}

.panel-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-list div {
  padding: 12px 12px 12px 14px;
  border-left: 4px solid var(--gold);
  background: #f8fafc;
  border-radius: 8px;
}

.metric-list strong,
.metric-list span {
  display: block;
}

.metric-list strong {
  color: var(--blue);
  font-size: 20px;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.flow-line > span,
.route-map span,
.check-grid span,
.document-list span {
  border: 1px solid rgba(20, 50, 150, .14);
  background: var(--soft-blue);
  color: var(--blue);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: var(--control-size);
  font-weight: 900;
}

.flow-step {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(20, 50, 150, .14);
  border-radius: 8px;
  background: var(--soft-blue);
}

.flow-number {
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.flow-step strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 3px;
}

.flow-step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.28;
}

.action-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.action-card {
  --action-icon-column: 1;
  --action-content-column: 2;
  --action-grid-template: 32px minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  padding: 12px;
  color: inherit;
  text-align: start;
  display: grid;
  grid-template-columns: var(--action-grid-template);
  gap: 3px 10px;
  align-items: start;
  align-content: start;
  transition: border-color .18s ease, background .18s ease;
}

.action-card svg {
  grid-column: var(--action-icon-column);
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  padding: 5px;
  color: var(--blue);
  background: transparent;
  border: 1px solid rgba(0, 111, 186, .24);
  border-radius: 8px;
  box-shadow: none;
}

.action-card strong {
  grid-column: var(--action-content-column);
  color: var(--gold);
  font-size: 18px;
  line-height: 1.1;
}

.action-card span {
  grid-column: var(--action-content-column);
  color: var(--muted);
  font-size: var(--control-size);
  line-height: 1.25;
  max-width: 32ch;
}

.action-card:hover {
  background: #fbfcff;
  border-color: rgba(220, 170, 10, .42);
}

.proof-strip {
  width: min(100% - 48px, 1320px);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-strip article {
  min-height: 168px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.proof-strip button {
  width: 100%;
  height: 100%;
  min-height: 168px;
  padding: 0;
  border: 0;
  display: block;
  position: relative;
  text-align: inherit;
  background: transparent;
  color: inherit;
}

.proof-strip img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  opacity: 1;
  filter: none;
  display: block;
}

.proof-strip article::after {
  display: none;
}

.proof-caption,
.proof-strip button > span,
.proof-strip button > strong {
  position: absolute;
  inset-inline-start: 16px;
  inset-inline-end: auto;
  z-index: 1;
}

.proof-caption {
  bottom: 16px;
  z-index: 4;
  display: grid;
  gap: 3px;
  align-content: end;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 12px;
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(20, 50, 150, .18);
}

.proof-caption span,
.proof-strip button > span {
  color: var(--gold-2);
  font-size: var(--metadata-size);
  font-weight: 900;
  text-transform: uppercase;
}

.proof-caption strong,
.proof-strip button > strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}

.sourcing-proof {
  grid-column: 1 / -1;
  min-height: clamp(320px, 26vw, 390px);
  background: #f5f9fe;
}

.proof-strip .sourcing-proof::after {
  display: none;
}

.sourcing-proof button {
  min-height: clamp(320px, 26vw, 390px);
  background: #f5f9fe;
  overflow: hidden;
}

.supplier-diagram {
  position: absolute;
  inset: clamp(28px, 2.2vw, 38px) clamp(16px, 2vw, 30px) 92px;
  z-index: 0;
  --supplier-connector: rgba(255, 206, 0, .88);
  --supplier-connector-size: clamp(3px, .35vw, 5px);
  display: grid;
  grid-template-rows: repeat(6, minmax(30px, auto));
  gap: clamp(7px, .9vw, 12px);
  align-content: space-between;
  overflow: visible;
}

.supplier-diagram::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 15px;
  bottom: 15px;
  z-index: 1;
  width: var(--supplier-connector-size);
  background: var(--supplier-connector);
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.supplier-line {
  display: none;
}

.supplier-line.line-top {
  left: 16%;
  right: 16%;
  top: 18%;
  height: 2px;
}

.supplier-line.line-center {
  left: 50%;
  top: 10%;
  bottom: 8%;
  width: 2px;
}

.supplier-line.line-metrics {
  left: 12%;
  right: 12%;
  top: 57%;
  height: 2px;
}

.supplier-row {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(8px, 1.1vw, 16px);
  align-items: center;
}

.supplier-row-top::before,
.supplier-row-main::before,
.supplier-row-metrics::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(6px, .8vw, 12px));
  right: calc(-1 * clamp(6px, .8vw, 12px));
  top: 50%;
  z-index: 1;
  height: var(--supplier-connector-size);
  background: var(--supplier-connector);
  transform: translateY(-50%);
  border-radius: 999px;
  pointer-events: none;
}

.supplier-row-top,
.supplier-row-main {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.supplier-row-single {
  width: min(290px, 38%);
  justify-self: center;
}

.supplier-row-metrics {
  grid-template-columns: repeat(4, minmax(92px, 1fr));
}

.supplier-row-wide {
  width: min(760px, 84%);
  justify-self: center;
}

.supplier-diagram em {
  position: relative;
  z-index: 2;
  min-height: clamp(30px, 3vw, 38px);
  padding: 6px 12px;
  border: 1px solid rgba(0, 111, 186, .28);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  font-size: clamp(12px, .9vw, 15px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(245, 249, 254, .96);
}

.supplier-diagram em.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.sourcing-proof .proof-caption span,
.sourcing-proof button > span {
  color: var(--gold);
}

.sourcing-proof .proof-caption strong,
.sourcing-proof button > strong {
  color: #fff;
}

.section-block {
  margin-top: 28px;
  padding: 28px 0;
  scroll-margin-top: 18px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 10px 22px;
  align-items: start;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  line-height: 1.35;
}

.two-column,
.project-board,
.split-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
  gap: 16px;
}

.project-board {
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  align-items: start;
}

.tool-surface {
  padding: 18px;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
  background: var(--blue);
  border-color: rgba(0, 111, 186, .36);
}

.tool-surface::before,
.output-panel::before,
.project-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #fff;
  font-size: var(--control-size);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
  border-radius: 8px;
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 206, 0, .34);
}

.tool-surface .primary-button {
  color: var(--blue);
  background: var(--gold);
  border: 1px solid rgba(255, 206, 0, .72);
}

.tool-surface .primary-button:hover {
  color: var(--blue);
  background: #fff;
  border-color: var(--gold);
}

.output-panel {
  padding: 18px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-color: rgba(20, 50, 150, .18);
}

pre {
  min-height: 260px;
  white-space: pre-wrap;
  margin: 0 0 14px;
  color: var(--ink);
  background: #fbfcff;
  border: 1px solid rgba(20, 50, 150, .16);
  border-radius: 8px;
  padding: 14px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: var(--control-size);
}

.slim pre {
  min-height: 170px;
}

.tabs,
.mode-row {
  margin-bottom: 10px;
  padding: 5px;
  border: 1px solid rgba(20, 50, 150, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: none;
}

.tab,
.segmented {
  color: var(--blue);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  padding: 0 13px;
}

.tab.active,
.segmented.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--control-border);
  box-shadow: none;
}

.tool-panel {
  display: none;
  gap: 16px;
}

.tool-panel.active {
  display: grid;
}

.compact-form {
  gap: 10px 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

#landedForm.compact-form {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.compact-form label {
  gap: 6px;
  font-size: 14px;
  line-height: 1.18;
}

.compact-form input,
.compact-form select {
  min-height: 42px;
  padding: 9px 10px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.result-card {
  min-height: 64px;
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 50, 150, .15);
  border-radius: 8px;
  box-shadow: none;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}

.result-card span,
.result-card strong {
  display: block;
}

.result-card span {
  color: var(--blue-2);
  font-size: var(--metadata-size);
  font-weight: 900;
  line-height: 1.15;
}

.result-card strong {
  margin-top: 4px;
  color: var(--blue);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.1;
}

.result-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.result-card.wide-result {
  grid-column: 1 / -1;
}

.project-summary {
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: start;
  align-self: start;
  position: relative;
  overflow: hidden;
  border-color: rgba(20, 50, 150, .18);
}

.project-summary label {
  color: var(--blue);
}

.project-summary select {
  background-color: #fff8d7;
  border-color: rgba(255, 206, 0, .72);
  color: var(--blue);
  font-weight: 900;
}

.project-summary select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 206, 0, .28);
}

.project-status-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.project-status-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.progress-ring {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: #fff;
  border: 10px solid var(--blue);
  display: grid;
  place-items: center;
  box-shadow: none;
  flex: 0 0 auto;
}

.progress-ring span {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 21px;
  font-weight: 900;
}

.project-summary strong {
  color: var(--blue);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.12;
}

.project-summary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.32;
}

.timeline {
  margin: 0;
  padding: 14px;
  display: grid;
  gap: 9px;
  border-color: rgba(20, 50, 150, .18);
  align-content: start;
}

.timeline li {
  list-style: none;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid rgba(0, 111, 186, .16);
  background: #fff;
  border-radius: 8px;
}

.timeline-step::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  inset-inline-start: 27px;
  width: 3px;
  height: 10px;
  background: rgba(0, 111, 186, .2);
}

.timeline-step:last-child::after {
  content: none;
}

.timeline-marker {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(0, 111, 186, .1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.timeline-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.timeline-step.done {
  background: #f7fbff;
  border-color: rgba(0, 111, 186, .22);
}

.timeline-step.done .timeline-marker {
  background: var(--gold);
  color: var(--blue);
}

.timeline-step.current {
  background: var(--blue);
  border-color: var(--blue);
}

.timeline-step.current .timeline-marker {
  background: var(--gold);
  color: var(--blue);
}

.timeline-step.upcoming {
  background: #fff;
  border-color: rgba(13, 31, 73, .12);
}

.timeline-copy strong,
.timeline-copy span {
  display: block;
}

.timeline-copy strong {
  color: var(--blue);
  font-size: 15px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.timeline-copy span {
  color: var(--muted);
  font-size: var(--metadata-size);
  font-weight: 900;
  line-height: 1.22;
}

.timeline-step.current strong,
.timeline-step.current .timeline-copy span {
  color: #fff;
}

.timeline-step.current .timeline-copy span {
  color: var(--gold);
}

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

.sector-grid article {
  overflow: hidden;
  border-color: rgba(20, 50, 150, .18);
}

.sector-grid img {
  height: 190px;
}

.sector-grid article > :not(img) {
  margin-left: 18px;
  margin-right: 18px;
}

.sector-grid .section-kicker {
  margin-top: 18px;
}

.sector-grid h3 {
  margin-top: 8px;
}

.sector-grid p {
  margin-top: 10px;
  margin-bottom: 14px;
}

.sector-details {
  margin: 0 18px 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.sector-details li {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(0, 111, 186, .08);
  color: var(--blue);
  border: 1px solid rgba(0, 111, 186, .16);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.project-showcase {
  display: grid;
  gap: 12px;
}

.showcase-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.showcase-nav button {
  min-height: 58px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  text-align: start;
  border: 1px solid rgba(0, 111, 186, .18);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  box-shadow: none;
  cursor: pointer;
}

.showcase-nav button span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 111, 186, .08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.showcase-nav button strong {
  min-width: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.showcase-nav button:hover,
.showcase-nav button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.showcase-nav button:hover span,
.showcase-nav button.active span {
  background: var(--gold);
  color: var(--blue);
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase-media {
  min-width: 0;
  background: #fff;
  border-inline-end: 1px solid var(--line);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 430px;
  object-fit: cover;
}

.showcase-supplier-diagram {
  min-height: 300px;
  height: 100%;
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-rows: repeat(6, minmax(34px, auto));
  gap: clamp(8px, 1vw, 13px);
  align-content: center;
  position: relative;
  overflow: hidden;
  background: #f5f9fe;
}

.showcase-supplier-diagram::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 50%;
  width: 4px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateX(-50%);
}

.showcase-supplier-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(8px, 1vw, 14px);
  align-items: center;
}

.showcase-supplier-row.top,
.showcase-supplier-row.main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.showcase-supplier-row.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.showcase-supplier-row.single {
  width: min(260px, 42%);
  justify-self: center;
}

.showcase-supplier-row.wide {
  width: min(680px, 88%);
  justify-self: center;
}

.showcase-supplier-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.showcase-supplier-row.single::before,
.showcase-supplier-row.wide::before {
  left: 50%;
  right: auto;
  width: 4px;
  top: -16px;
  bottom: -16px;
  height: auto;
  transform: translateX(-50%);
}

.showcase-supplier-row em {
  position: relative;
  z-index: 1;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 111, 186, .22);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  font-size: clamp(12px, .95vw, 15px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.showcase-supplier-row.main em:nth-child(2) {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.showcase-copy {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.showcase-copy h3 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
}

.showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.showcase-copy .sector-details {
  margin: 4px 0 0;
}

.split-story {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  border-color: rgba(20, 50, 150, .18);
}

.split-story > div:first-child {
  padding: 32px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.split-story > img {
  min-height: 320px;
}

.reverse {
  grid-template-columns: minmax(360px, .75fr) minmax(0, 1fr);
}

.check-grid,
.document-list,
.route-map {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notice-box {
  border-left: 4px solid var(--gold);
  background: #fff8e5;
  color: #5f4500;
  padding: 14px;
  border-radius: 8px;
  font-weight: 800;
}

.route-map {
  padding: 32px;
  align-content: center;
  align-items: center;
  background: #f8fafc;
}

#door.split-story {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

#door.split-story > div:first-child {
  padding: 28px 32px 14px;
  align-content: start;
}

#door .route-map {
  padding: 0 32px 28px;
  align-content: start;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
}

.route-map span {
  box-shadow: none;
}

.route-cta {
  flex: 0 0 auto;
  min-height: 34px;
  margin-inline-start: auto;
  padding: 7px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 111, 186, .18);
  border-radius: 8px;
  background: var(--gold);
  color: var(--blue);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

.route-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.route-cta:hover {
  background: #fff;
  color: var(--blue);
  border-color: var(--gold);
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.network-map-card {
  display: grid;
  gap: 12px;
}

.world-map-wrap {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.world-map-wrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 34%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 206, 0, .48);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .world-map-wrap::after {
    animation: mapCenterPulse 3.8s ease-out infinite;
  }

  @keyframes mapCenterPulse {
    0% {
      opacity: .58;
      transform: translate(-50%, -50%) scale(.2);
    }

    72%, 100% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(2.45);
    }
  }
}

.world-dot-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.network-connector {
  position: absolute;
  left: var(--start-x);
  top: var(--start-y);
  z-index: 2;
  width: var(--length);
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 7px, transparent 7px 12px);
  background-size: 24px 100%;
  opacity: .82;
  transform: rotate(calc(var(--angle) * 1deg));
  transform-origin: 0 50%;
  pointer-events: none;
  animation: networkDashFlow .85s linear infinite;
}

.network-connector::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  animation: networkRunner 1.35s ease-in-out infinite;
  animation-delay: var(--runner-delay, 0s);
}

.network-target-dot {
  position: absolute;
  left: var(--target-x);
  top: var(--target-y);
  z-index: 2;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.network-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: grid;
  gap: 3px;
  min-width: 92px;
  padding: 8px 9px;
  border: 1px solid rgba(0, 111, 186, .22);
  border-radius: 8px;
  background: var(--gold);
  color: var(--blue);
  text-align: start;
  box-shadow: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
  overflow: visible;
}

.network-pin::before,
.network-pin::after {
  content: none;
}

.network-pin span {
  display: none;
}

@keyframes networkDashFlow {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 24px 0;
  }
}

@keyframes networkRunner {
  0%, 100% {
    opacity: 0;
    left: 0;
  }

  18%, 82% {
    opacity: 1;
  }

  92% {
    opacity: .2;
    left: 100%;
  }
}

.network-pin strong,
.network-pin small {
  display: block;
  color: inherit;
  line-height: 1.05;
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  background: inherit;
  padding-inline: 2px;
}

.network-pin strong {
  font-size: 14px;
  font-weight: 900;
}

.network-pin small {
  font-size: 11px;
  font-weight: 800;
  opacity: .84;
}

.network-pin:hover,
.network-pin.active {
  background: var(--blue);
  color: #fff;
}

.network-pin.china { --x: 84%; --y: 26%; --target-x: 80.5%; --target-y: 37%; }
.network-pin.turkey { --x: 45%; --y: 24%; --target-x: 58%; --target-y: 34.5%; }
.network-pin.lebanon { --x: 76%; --y: 48%; --target-x: 58.7%; --target-y: 38%; }
.network-pin.syria { --x: 65%; --y: 25%; --target-x: 59.5%; --target-y: 36.5%; }
.network-pin.nigeria { --x: 45%; --y: 76%; --target-x: 52.5%; --target-y: 54%; }
.network-pin.venezuela { --x: 20%; --y: 58%; --target-x: 30.5%; --target-y: 52%; }

.network-output {
  min-height: 0;
}

.site-footer {
  min-height: 0;
  padding: 18px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  box-shadow: none;
}

.site-footer strong {
  color: var(--gold);
  font-weight: 900;
}

.network-node {
  min-height: 100px;
  padding: 14px;
  text-align: start;
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
  background: #fff;
  transition: border-color .16s ease, background .16s ease;
}

.network-node:hover {
  background: #fbfcff;
  border-color: rgba(20, 50, 150, .28);
}

.network-node span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--metadata-size);
}

.network-node.verified {
  border-left: 4px solid var(--good);
  box-shadow: none;
}

.network-node.pending {
  border-left: 4px solid var(--gold);
  box-shadow: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(250, 170, 40, .44);
  outline-offset: 3px;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: "IBM Plex Sans Arabic", "Tahoma", Arial, sans-serif;
}

html[dir="rtl"] .app-shell {
  grid-template-columns: minmax(0, 1fr) 296px;
}

html[dir="rtl"] .sidebar {
  grid-column: 2;
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .language-switch {
  justify-self: center;
}

html[dir="rtl"] .side-nav a {
  flex-direction: row-reverse;
  text-align: right;
}

html[dir="rtl"] .flow-step {
  grid-template-columns: minmax(0, 1fr) auto;
}

html[dir="rtl"] .flow-number {
  grid-column: 2;
  grid-row: 1;
}

html[dir="rtl"] .flow-step div {
  grid-column: 1;
  grid-row: 1;
}

html[dir="rtl"] .action-card {
  --action-icon-column: 2;
  --action-content-column: 1;
  --action-grid-template: minmax(0, 1fr) 32px;
}

html[dir="rtl"] main {
  grid-column: 1;
  grid-row: 1;
}

html[dir="rtl"] .metric-list div,
html[dir="rtl"] .notice-box {
  border-left: 0;
  border-right: 4px solid var(--gold);
}

html[dir="rtl"] .result-card::before {
  inset: 0 0 0 auto;
}

html[dir="rtl"] .network-pin {
  padding: 8px 9px;
}

html[dir="rtl"] .network-pin span {
  left: 50%;
  right: auto;
}

html[dir="rtl"] .showcase-media {
  border-inline-end: 0;
  border-inline-start: 1px solid var(--line);
}

html[dir="rtl"] .timeline {
  padding: 14px;
}

html[dir="rtl"] .network-node.verified,
html[dir="rtl"] .network-node.pending {
  border-left-width: 1px;
  border-right-width: 4px;
}

html[dir="rtl"] .network-node.pending {
  border-right-color: var(--gold);
}

html[dir="rtl"] .network-node.verified {
  border-right-color: var(--good);
}

html[dir="rtl"] pre,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hero-panel {
  grid-template-columns: 1fr;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .visual-stage {
  grid-column: auto;
  grid-row: auto;
}

html[dir="rtl"] .visual-steps {
  direction: ltr;
}

html[dir="rtl"] .visual-steps span {
  direction: rtl;
  font-size: clamp(14px, 3.15cqw, 25px);
}

html[lang="en"] .visual-steps span,
html[lang="es"] .visual-steps span {
  font-size: clamp(12px, 2.75cqw, 22px);
}

html[lang="en"] .visual-steps span:nth-child(1) {
  top: 26.6%;
}

html[lang="en"] .visual-steps span:nth-child(2) {
  top: 29.8%;
}

html[lang="en"] .visual-steps span:nth-child(3) {
  top: 25.5%;
}

html[lang="en"] .visual-steps span:nth-child(4) {
  top: 24.3%;
}

html[lang="en"] .visual-steps span:nth-child(5) {
  top: 24.1%;
}

html[lang="es"] .visual-steps span:nth-child(1) {
  top: 27%;
}

html[lang="es"] .visual-steps span:nth-child(2) {
  top: 29.8%;
}

html[lang="es"] .visual-steps span:nth-child(3) {
  top: 23.2%;
}

html[lang="es"] .visual-steps span:nth-child(4) {
  top: 28.5%;
}

html[lang="es"] .visual-steps span:nth-child(5) {
  top: 25.3%;
}

html[dir="rtl"] .nav-return {
  right: auto;
  left: 22px;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .action-grid,
  .side-nav,
  .network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .side-nav a {
    min-height: 40px;
    padding: 4px 6px;
    justify-content: center;
    gap: 5px;
    text-align: center;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(24px, 3.4vw, 38px);
  }

  .overview-grid,
  .hero-panel,
  .two-column,
  .project-board,
  .showcase-card,
  .split-story,
  .reverse,
  .section-header {
    grid-template-columns: 1fr;
  }

  .showcase-media {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  html[dir="rtl"] .showcase-media {
    border-inline-start: 0;
  }

  html[dir="rtl"] .app-shell,
  html[dir="rtl"] .hero-panel {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .sidebar,
  html[dir="rtl"] main,
  html[dir="rtl"] .hero-copy,
  html[dir="rtl"] .visual-stage {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 820px) {
  .topbar,
  .section-block,
  .dashboard-grid,
  .proof-strip {
    width: min(100% - 28px, 1320px);
  }

  .topbar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px 0 10px;
    gap: 10px;
  }

  h1 {
    font-size: clamp(23px, 5.4vw, 32px);
    line-height: 1.03;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 30px;
  }

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

  .showcase-copy {
    padding: 18px;
  }

  .showcase-copy h3 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .showcase-media img {
    min-height: 220px;
    max-height: 320px;
  }

  .world-map-wrap,
  .world-dot-map {
    min-height: 330px;
  }

  .network-pin {
    min-width: 82px;
    padding: 7px 8px;
  }

  html[dir="rtl"] .network-pin {
    padding: 7px 8px;
  }

  .network-pin strong {
    font-size: 13px;
  }

  .network-pin small {
    display: block;
    font-size: 9px;
    line-height: 1.05;
  }

  .top-actions,
  .hero-actions,
  .tabs,
  .mode-row {
    align-items: stretch;
  }

  .top-actions {
    align-items: center;
  }

  .primary-button,
  .secondary-button,
  .tab,
  .segmented {
    min-height: 40px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .top-actions > .primary-button {
    min-height: 38px;
    max-width: 178px;
    line-height: 1.08;
  }

  .hero-copy,
  .split-story > div:first-child,
  .route-map {
    padding: 26px;
  }

  .compact-form,
  .sector-grid,
  .action-grid,
  .flow-line,
  .network-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .sourcing-proof,
  .sourcing-proof button {
    min-height: clamp(330px, 62vw, 430px);
  }

  .supplier-diagram {
    inset: 18px 16px 104px;
    grid-template-rows: repeat(6, minmax(28px, auto));
    gap: 7px;
  }

  .supplier-row-top,
  .supplier-row-main {
    grid-template-columns: repeat(3, minmax(82px, 1fr));
  }

  .supplier-row-metrics {
    grid-template-columns: repeat(4, minmax(62px, 1fr));
  }

  .supplier-diagram em {
    min-height: 28px;
    padding: 5px 7px;
    font-size: 12px;
  }

  .result-card.wide-result {
    grid-column: 1 / -1;
  }

  .operation-visual {
    min-height: 0;
    object-fit: contain;
  }

  .visual-stage {
    min-height: 0;
    background: #f5f9fe;
  }

  .visual-steps {
    inset: 0;
  }

  .visual-steps span {
    font-size: clamp(12px, 3cqw, 18px);
    max-width: 128px;
  }
}

@media (max-width: 560px) {
  .side-nav {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .side-nav a {
    min-height: 38px;
    padding: 6px 10px;
    justify-content: flex-start;
    gap: 8px;
    text-align: start;
    font-size: 14px;
  }

  .showcase-nav {
    grid-template-columns: 1fr;
  }

  .showcase-nav button {
    min-height: 46px;
    padding: 7px 9px;
  }

  .showcase-media img {
    min-height: 190px;
    max-height: 260px;
  }

  .showcase-supplier-diagram {
    min-height: 260px;
    padding: 14px 10px;
    gap: 7px;
  }

  .showcase-supplier-diagram::before,
  .showcase-supplier-row::before {
    width: 3px;
  }

  .showcase-supplier-row.top,
  .showcase-supplier-row.main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .showcase-supplier-row.metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-supplier-row.single,
  .showcase-supplier-row.wide {
    width: 100%;
  }

  .showcase-supplier-row em {
    min-height: 30px;
    padding: 5px 6px;
    font-size: 11px;
  }

  .route-cta {
    flex: 1 1 100%;
    margin-inline-start: 0;
  }

  .world-map-wrap,
  .world-dot-map {
    min-height: 430px;
  }

  .world-dot-map {
    object-fit: cover;
  }

  .network-pin {
    min-width: 76px;
    padding: 6px 7px;
  }

  .network-pin strong {
    font-size: 12px;
  }

  .network-pin small {
    display: block;
    font-size: 9px;
    line-height: 1.05;
  }

  html[dir="rtl"] .network-pin {
    padding: 6px 7px;
  }

  .network-pin span {
    left: 50%;
    right: auto;
  }

  html[dir="rtl"] .network-pin span {
    left: 50%;
    right: auto;
  }

  .network-pin.china { --x: 75%; --y: 27%; --target-x: 80.5%; --target-y: 37%; }
  .network-pin.turkey { --x: 43%; --y: 22%; --target-x: 58%; --target-y: 34.5%; }
  .network-pin.lebanon { --x: 77%; --y: 48%; --target-x: 58.7%; --target-y: 38%; }
  .network-pin.syria { --x: 62%; --y: 15%; --target-x: 59.5%; --target-y: 36.5%; }
  .network-pin.nigeria { --x: 44%; --y: 81%; --target-x: 52.5%; --target-y: 54%; }
  .network-pin.venezuela { --x: 24%; --y: 59%; --target-x: 30.5%; --target-y: 52%; }

  .visual-steps span {
    font-size: clamp(11px, 3.2cqw, 15px);
    max-width: 112px;
  }

  .sourcing-proof,
  .sourcing-proof button {
    min-height: clamp(430px, 128vw, 540px);
  }

  .supplier-diagram {
    inset: 22px 12px 112px;
    display: grid;
    grid-template-rows: repeat(6, minmax(34px, auto));
    gap: 9px;
    align-content: space-between;
    place-items: stretch;
    overflow: visible;
  }

  .supplier-diagram::after {
    display: block;
    top: 14px;
    bottom: 14px;
    width: 3px;
  }

  .supplier-diagram::before {
    content: none;
  }

  .supplier-diagram .supplier-line {
    display: none;
  }

  .supplier-diagram .supplier-row {
    display: grid;
  }

  .supplier-row {
    gap: 6px;
  }

  .supplier-row-top,
  .supplier-row-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .supplier-row-single {
    width: min(210px, 64%);
  }

  .supplier-row-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .supplier-row-wide {
    width: 100%;
  }

  .supplier-diagram em {
    min-height: 34px;
    padding: 4px 5px;
    font-size: clamp(11px, 3vw, 12px);
    line-height: 1.08;
  }

  .proof-caption {
    bottom: 18px;
    gap: 3px;
  }

  .proof-caption strong {
    font-size: 18px;
    line-height: 1.12;
  }

  .tool-surface {
    padding: 16px;
    gap: 10px;
    overflow: visible;
  }

  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  }

  input,
  select,
  textarea {
    min-width: 0;
    padding: 10px 11px;
  }
}

.visual-action-grid {
  position: static;
  z-index: auto;
  width: auto;
  margin: 12px 24px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.visual-action-grid .action-card {
  --action-grid-template: 24px minmax(0, 1fr);
  min-height: 52px;
  padding: 8px;
  background: #fff;
  border-color: rgba(0, 111, 186, .18);
  color: var(--blue);
  gap: 2px 7px;
}

.visual-action-grid .action-card svg {
  width: 24px;
  height: 24px;
  padding: 4px;
}

.visual-action-grid .action-card strong {
  color: var(--blue);
  font-size: clamp(12px, .85vw, 14px);
  line-height: 1.05;
}

.visual-action-grid .action-card span {
  color: var(--blue);
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.12;
  max-width: 24ch;
}

.visual-action-grid .action-card:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.visual-action-grid .action-card:hover svg,
.visual-action-grid .action-card:hover strong,
.visual-action-grid .action-card:hover span {
  color: #fff;
}

@media (max-width: 1180px) {
  .visual-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .visual-action-grid {
    margin: 10px;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-action-grid .action-card {
    --action-grid-template: 22px minmax(0, 1fr);
    min-height: 0;
    padding: 6px;
  }

  .visual-action-grid .action-card svg {
    width: 22px;
    height: 22px;
    padding: 3px;
  }

  .visual-action-grid .action-card strong {
    font-size: 12px;
  }

  .visual-action-grid .action-card span {
    display: none;
  }
}

.blog-page {
  background: #fff;
}

.blog-page main {
  min-width: 0;
}

.blog-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 22px 0 68px;
}

.blog-header {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  align-items: center;
  padding: 0 0 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.blog-header-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.blog-header-logo img {
  width: min(100%, 170px);
  height: auto;
  display: block;
}

.blog-header-center {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.blog-header-label {
  color: var(--navy);
  font-size: var(--metadata-size);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.blog-dashboard-link {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  min-height: 38px;
  padding: 0 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.blog-dashboard-link:hover,
.blog-dashboard-link:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.blog-hero {
  padding: 36px 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  gap: 18px;
  align-items: stretch;
}

.blog-hero-copy,
.blog-signal-panel,
.blog-article-card,
.blog-story-card,
.blog-source-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: none;
}

.blog-hero-copy {
  padding: 28px;
}

.blog-hero-copy h1 {
  margin: 7px 0 12px;
  color: var(--blue);
  font-size: clamp(36px, 5.5vw, 70px);
  line-height: .98;
  white-space: normal;
}

.blog-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.45;
}

.blog-rule {
  width: 76px;
  height: 5px;
  margin: 14px 0 18px;
  background: var(--gold);
  border-radius: 5px;
}

.blog-signal-panel {
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 14px;
  border-top: 5px solid var(--gold);
}

.blog-signal-panel strong {
  color: var(--blue);
  font-size: clamp(23px, 2.7vw, 36px);
  line-height: 1.08;
}

.blog-signal-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.blog-meta-row,
.blog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-chip-row {
  margin-top: 18px;
}

.blog-chip {
  min-height: 30px;
  padding: 6px 10px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

button.blog-chip {
  cursor: pointer;
  font-family: inherit;
}

.blog-chip.accent {
  color: var(--navy);
  background: rgba(255, 206, 0, .2);
  border-color: rgba(255, 206, 0, .6);
}

.blog-filter.active {
  color: var(--blue);
  background: var(--gold);
  border-color: var(--gold);
}

.blog-filter:hover,
.blog-filter:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.blog-article-card {
  margin-top: 14px;
  padding: 22px;
}

.blog-section-title {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--navy);
  font-size: var(--metadata-size);
  font-weight: 900;
  text-transform: uppercase;
}

.blog-section-title svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: 0 0 20px;
}

.blog-article-card h2 {
  max-width: 900px;
  margin: 10px 0 9px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.03;
}

.blog-article-card > p {
  max-width: 930px;
  color: var(--muted);
  font-size: 17px;
}

.blog-post-date {
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 6px 9px;
  color: var(--blue);
  background: rgba(255, 206, 0, .16);
  border: 1px solid rgba(255, 206, 0, .52);
  border-radius: 5px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.blog-story-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.blog-story-card {
  min-height: 100%;
  padding: 14px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.blog-story-card span {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.blog-story-card strong {
  color: var(--blue);
  font-size: 17px;
  line-height: 1.15;
}

.blog-story-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.blog-brief-layout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.blog-brief-layout-single {
  grid-template-columns: 1fr;
}

.blog-source-panel {
  padding: 18px;
  position: sticky;
  top: 18px;
}

.blog-source-panel ul {
  margin: 14px 0 0;
  padding-inline-start: 19px;
  color: var(--muted);
}

.blog-source-panel li {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
}

.blog-source-panel a {
  color: var(--blue);
  text-decoration: none;
}

.blog-post-list {
  display: grid;
  gap: 12px;
}

.blog-post-preview {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.blog-post-preview h3 {
  margin-top: 8px;
  color: var(--blue);
  font-size: 24px;
}

.blog-post-preview p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

.blog-read-link {
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  margin-top: 16px;
  padding: 0 14px;
  color: var(--blue);
  background: var(--gold);
  border: 1px solid rgba(220, 170, 10, .34);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--control-size);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.blog-read-link:hover,
.blog-read-link:focus-visible {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.blog-post-page .blog-shell {
  width: min(100% - 48px, 1120px);
}

.brief-status {
  margin-top: 18px;
  padding: 10px 12px;
  color: var(--blue);
  background: rgba(255, 206, 0, .15);
  border: 1px solid rgba(255, 206, 0, .55);
  border-inline-start: 5px solid var(--gold);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.daily-story-list {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.daily-story {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.daily-story h2 {
  margin: 9px 0 10px;
  font-size: clamp(27px, 3.2vw, 40px);
  line-height: 1.1;
}

.daily-story > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.daily-story-insight {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.daily-story-insight article {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 5px;
}

.daily-story-insight article:nth-child(2) {
  border-top-color: var(--gold);
}

.daily-story-insight strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
}

.daily-story-insight p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.daily-source {
  margin-top: 12px;
  display: inline-flex;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.daily-signal {
  margin-top: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-inline-start: 7px solid var(--gold);
  border-radius: 5px;
}

.daily-signal h2 {
  margin-top: 8px;
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
}

.daily-signal p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
}

.daily-sources {
  margin-top: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.daily-sources ol {
  margin: 12px 0 0;
  padding-inline-start: 22px;
}

.daily-sources li {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.daily-sources a {
  color: var(--blue);
  text-decoration: none;
}

.m2c-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .72s cubic-bezier(.16, 1, .3, 1), transform .72s cubic-bezier(.16, 1, .3, 1);
}

.m2c-reveal.is-visible {
  opacity: 1;
  transform: none;
}

html[dir="rtl"] .blog-section-title,
html[dir="rtl"] .blog-meta-row,
html[dir="rtl"] .blog-chip-row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .blog-hero-copy,
html[dir="rtl"] .blog-signal-panel,
html[dir="rtl"] .blog-article-card,
html[dir="rtl"] .blog-story-card,
html[dir="rtl"] .blog-source-panel,
html[dir="rtl"] .blog-post-preview {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .m2c-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1040px) {
  .blog-hero,
  .blog-brief-layout {
    grid-template-columns: 1fr;
  }

  .blog-source-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .blog-shell {
    width: min(100% - 28px, 1180px);
    padding: 14px 0 48px;
  }

  .blog-header,
  html[dir="rtl"] .blog-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .blog-dashboard-link {
    position: static;
  }

  .blog-header-logo {
    justify-content: center;
  }

  .blog-hero {
    padding-top: 18px;
  }

  .blog-hero-copy,
  .blog-signal-panel,
  .blog-article-card,
  .blog-source-panel {
    padding: 18px;
  }

  .blog-hero-copy h1 {
    font-size: 42px;
  }

  .blog-story-grid {
    grid-template-columns: 1fr;
  }

  .blog-chip {
    font-size: 11px;
  }

  .blog-read-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .daily-story,
  .daily-signal,
  .daily-sources {
    padding: 18px;
  }

  .daily-story-insight {
    grid-template-columns: 1fr;
  }
}
