/* =========================================================
   QuidMetrics: Design System
   Palette drawn from the mark: midnight navy field, gold ring,
   silver monogram stroke. Serif for authority (the press/ledger
   register finance still runs on), a plain grotesk for reading
   at speed, and a mono face reserved for actual figures
   the one place a "data" typeface is earned rather than decorative.
   ========================================================= */

:root {
  /* --- color --- */
  --navy-950: #0a0f24;
  --navy-900: #0f1b3c;
  --navy-800: #16244f;
  --navy-700: #1f3163;
  --gold: #c9a227;
  --gold-soft: #e3c667;
  --silver: #b9c0cc;
  --paper: #f6f4ee;
  --paper-dim: #eeebe1;
  --ink: #171b2e;
  --ink-soft: #4a5068;
  --rule-on-dark: rgba(201, 162, 39, 0.32);
  --rule-on-light: rgba(23, 27, 46, 0.14);
  --up: #3f7a4e;
  --down: #a5443a;

  /* --- brand surface (overridden per edition) --- */
  --brand-950: var(--navy-950);
  --brand-900: var(--navy-900);
  --brand-800: var(--navy-800);
  --brand-rule: var(--rule-on-dark);
  /* lighter up/down for figures on the dark brand surface (ticker) */
  --brand-up: #7fc79a;
  --brand-down: #e2867c;

  /* --- type --- */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* --- layout --- */
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* Nigeria edition: deep bottle green, same gold/silver mark */
html.theme-nigeria {
  --brand-950: #05170f;
  --brand-900: #0b2e1c;
  --brand-800: #123f26;
  --brand-rule: rgba(201, 162, 39, 0.36);
  --brand-up: #7fc79a;
  --brand-down: #e2867c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.rule {
  border: none;
  border-top: 1px solid var(--rule-on-light);
  margin: 0;
}
.on-dark .rule, .rule--dark { border-top-color: var(--rule-on-dark); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --- buttons / links --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-950);
}
.btn--gold:hover { background: var(--gold-soft); }

.btn--outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--outline:hover { background: rgba(255,255,255,0.08); }

.link-underline {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rule-on-light);
  transition: border-color 160ms ease;
}
.link-underline:hover { border-color: var(--gold); }

/* =========================================================
   NAV
   ========================================================= */
.site-header {
  background: var(--brand-950);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__brand img { width: 38px; height: 38px; }
.nav__brand span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.93rem;
}
.nav__links a { color: var(--silver); transition: color 140ms ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--paper); }
.nav__links a[aria-current="page"] { color: var(--gold-soft); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--brand-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }
  .nav__links.is-open { max-height: 400px; }
  .nav__links a { padding: 14px var(--gutter); width: 100%; border-top: 1px solid var(--brand-rule); }
  .nav__cta { margin: 14px var(--gutter) 18px; }
  .nav__toggle {
    display: block;
    background: none;
    border: 1px solid var(--brand-rule);
    color: var(--paper);
    width: 40px; height: 36px;
    font-size: 1.1rem;
    border-radius: 2px;
  }
}

/* =========================================================
   TICKER: the one deliberate motion moment on the page
   ========================================================= */
.ticker {
  min-height: 42px;
  background: var(--brand-900);
  border-top: 1px solid var(--brand-rule);
  border-bottom: 1px solid var(--brand-rule);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  animation: ticker-scroll 42s linear infinite;
  padding: 10px 0;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker__item {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--silver);
  padding: 0 28px;
  border-right: 1px solid var(--brand-rule);
}
.ticker__item strong { color: var(--paper); font-weight: 500; margin-right: 8px; }
.ticker__up { color: var(--brand-up); }
.ticker__down { color: var(--brand-down); }
.ticker__flat, .ticker__date { color: var(--silver); opacity: 0.75; }
.ticker[hidden] { display: none; }
.ticker__track:empty { animation: none; }

/* =========================================================
   HERO
   ========================================================= */
/* =========================================================
   MASTHEAD: nameplate + dateline, homepage only
   ========================================================= */
.masthead {
  background: var(--navy-950);
  color: var(--paper);
  text-align: center;
  padding: 30px 0 22px;
}
.masthead__name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
}
.masthead__dateline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--silver);
}
.masthead__dateline .line { flex: 1; max-width: 120px; height: 1px; background: var(--rule-on-dark); }
@media (max-width: 560px) { .masthead__dateline .line { max-width: 40px; } }

/* =========================================================
   BANNER BAND: country masthead image, country pages only
   ========================================================= */
.banner-band { background: var(--brand-950); line-height: 0; }
.banner-band img {
  width: 100%;
  height: clamp(96px, 16vw, 220px);
  object-fit: cover;
  object-position: left center;
}

/* =========================================================
   ROADMAP: "today" / "next", a genuine two-step sequence
   ========================================================= */
.roadmap { padding: clamp(48px, 7vw, 84px) 0; }
.roadmap__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-on-light);
  border-bottom: 1px solid var(--rule-on-light);
}
.roadmap__phase {
  padding: 34px 36px 34px 0;
  border-right: 1px solid var(--rule-on-light);
}
.roadmap__phase:last-child { border-right: none; padding-left: 36px; padding-right: 0; }
.roadmap__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.roadmap__phase h3 { font-size: 1.35rem; margin-bottom: 10px; }
.roadmap__phase p { color: var(--ink-soft); font-size: 0.97rem; max-width: 40ch; }
@media (max-width: 760px) {
  .roadmap__grid { grid-template-columns: 1fr; }
  .roadmap__phase, .roadmap__phase:last-child { border-right: none; padding: 28px 0; border-bottom: 1px solid var(--rule-on-light); }
  .roadmap__phase:last-child { border-bottom: none; }
}

/* =========================================================
   EDITIONS: country panels with badge mark
   ========================================================= */
.office-panel__logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  flex-shrink: 0;
}
.office-panel__head {
  display: flex;
  align-items: center;
  gap: 20px;
}
.office-panel__badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  border: 1px solid var(--rule-on-light);
  border-radius: 2px;
  padding: 3px 9px;
  margin-left: 12px;
  white-space: nowrap;
}
.office-panel--pending .office-panel__logo { opacity: 0.55; }
.office-panel--pending .office-panel__body p { color: var(--ink-soft); }
.office-panel--pending .office-panel__row span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .office-panel__logo { width: 64px; height: 64px; }
}

.hero {
  background: var(--brand-950);
  color: var(--paper);
  padding: clamp(56px, 9vw, 108px) 0 clamp(48px, 7vw, 80px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  max-width: 14ch;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 46ch;
  margin-top: 22px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero__aside {
  border-left: 1px solid var(--brand-rule);
  padding-left: 32px;
}
.hero__aside p {
  font-size: 0.95rem;
  color: var(--silver);
}
.hero__aside .stat {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 6px;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { border-left: none; border-top: 1px solid var(--brand-rule); padding-left: 0; padding-top: 24px; }
}

/* =========================================================
   MISSION STATEMENT: centered break
   ========================================================= */
.mission {
  padding: clamp(64px, 10vw, 120px) 0;
  text-align: center;
}
.mission blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  color: var(--navy-900);
}
.mission cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* =========================================================
   WHO IT'S FOR
   ========================================================= */
.audience {
  padding: clamp(40px, 6vw, 72px) 0;
}
.audience__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule-on-light);
}
.audience__item {
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--rule-on-light);
}
.audience__item:nth-child(odd) { border-right: 1px solid var(--rule-on-light); padding-right: 28px; }
.audience__item:nth-child(even) { padding-left: 28px; }
.audience__item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.audience__item p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 42ch;
}
@media (max-width: 760px) {
  .audience__list { grid-template-columns: 1fr; }
  .audience__item, .audience__item:nth-child(odd) { border-right: none; padding-left: 0; padding-right: 0; }
}

/* =========================================================
   WHAT WE DO
   ========================================================= */
.offerings {
  background: var(--navy-900);
  color: var(--paper);
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 16ch;
}
.section-head p {
  color: var(--silver);
  max-width: 34ch;
  font-size: 0.98rem;
}
.offerings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-on-dark);
}
.offering {
  padding: 30px 28px 0 0;
  border-right: 1px solid var(--rule-on-dark);
}
.offering:last-child { border-right: none; }
.offering:not(:first-child) { padding-left: 28px; }
.offering h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--gold-soft);
}
.offering p { color: var(--silver); font-size: 0.95rem; }
@media (max-width: 820px) {
  .offerings__grid { grid-template-columns: 1fr; border-top: none; }
  .offering { border-right: none !important; border-top: 1px solid var(--rule-on-dark); padding: 26px 0 0 !important; margin-top: 26px; }
  .offering:first-child { border-top: none; margin-top: 0; }
}

/* =========================================================
   GLOBAL OFFICES
   ========================================================= */
.offices { padding: clamp(56px, 8vw, 96px) 0; }
.office-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--rule-on-light);
  align-items: center;
}
.offices .office-panel:last-child { border-bottom: 1px solid var(--rule-on-light); }
.office-panel__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}
.office-panel__city {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 6px;
}
.office-panel__body p {
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 0.97rem;
}
.office-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.social-row { display: flex; gap: 16px; }
.social-row a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-on-light);
}
.social-row a:hover { color: var(--navy-900); border-color: var(--gold); }
@media (max-width: 760px) {
  .office-panel { grid-template-columns: 1fr; gap: 14px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--brand-950);
  color: var(--silver);
  padding: 56px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--brand-rule);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__brand img { width: 32px; height: 32px; }
.footer__brand span { font-family: var(--font-display); color: var(--paper); font-size: 1.05rem; }
.footer__grid p.desc { font-size: 0.92rem; max-width: 34ch; }
.footer__col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--paper);
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 0.9rem; color: var(--silver); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__form { display: flex; gap: 0; margin-top: 6px; }
.footer__form input {
  flex: 1;
  background: var(--brand-900);
  border: 1px solid var(--brand-rule);
  border-right: none;
  color: var(--paper);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.footer__form button {
  background: var(--gold);
  color: var(--navy-950);
  border: none;
  padding: 0 18px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   COUNTRY PAGE MODULES
   ========================================================= */
.page-hero {
  background: var(--brand-950);
  color: var(--paper);
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
}
.page-hero__tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 16ch; }
.page-hero p.lede { color: var(--silver); font-size: 1.08rem; max-width: 50ch; margin-top: 18px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule-on-light);
}
.news-card {
  padding: 26px 24px 26px 0;
  border-right: 1px solid var(--rule-on-light);
}
.news-card:last-child { border-right: none; }
.news-card:not(:first-child) { padding-left: 24px; }
.news-card__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.news-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.news-card p { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 820px) {
  .news-grid { grid-template-columns: 1fr; border-top: none; }
  .news-card { border-right: none !important; padding: 24px 0 !important; border-top: 1px solid var(--rule-on-light); }
  .news-card:first-child { border-top: none; }
}

.video-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video-card {
  background: var(--brand-900);
  color: var(--paper);
  aspect-ratio: 16/10;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.video-card__play {
  position: absolute;
  top: 18px; left: 18px;
  width: 34px; height: 34px;
  border: 1px solid var(--brand-rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--gold-soft);
}
.video-card h4 { font-size: 0.98rem; font-family: var(--font-body); font-weight: 600; }
.video-card span { font-family: var(--font-mono); font-size: 0.74rem; color: var(--silver); margin-top: 4px; display: block; }
@media (max-width: 760px) { .video-strip { grid-template-columns: 1fr; } }

.follow-band {
  background: var(--paper-dim);
  padding: 40px 0;
}
.follow-band__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.follow-band h3 { font-size: 1.2rem; }
.follow-band .social-row a {
  font-size: 0.85rem;
  color: var(--ink);
  border-color: var(--rule-on-light);
}

.office-info {
  padding: 48px 0 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.office-info div h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 8px;
}
.office-info div p, .office-info div a { font-size: 0.97rem; }
@media (max-width: 760px) { .office-info { grid-template-columns: 1fr; gap: 20px; } }

.section-pad { padding: clamp(48px, 7vw, 80px) 0; }

/* =========================================================
   MARKETS PAGE: live figures, one card per series
   ========================================================= */
.mkt-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.mkt-range { display: inline-flex; border: 1px solid var(--rule-on-light); border-radius: 2px; }
.mkt-range button {
  font: inherit;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule-on-light);
  padding: 7px 14px;
  color: var(--ink-soft);
  cursor: pointer;
  min-height: 36px;
}
.mkt-range button:last-child { border-right: 0; }
.mkt-range button[aria-pressed="true"] { background: var(--navy-900); color: var(--paper); }
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border-top: 1px solid var(--rule-on-light);
  border-left: 1px solid var(--rule-on-light);
}
.mkt-grid[aria-busy="true"] { min-height: 320px; }
.mkt-card {
  padding: 22px 22px 18px;
  border-right: 1px solid var(--rule-on-light);
  border-bottom: 1px solid var(--rule-on-light);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mkt-card__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.mkt-card__label { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--ink); letter-spacing: 0.02em; }
.mkt-card__badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-soft);
  border: 1px solid var(--rule-on-light);
  border-radius: 2px;
  padding: 1px 6px;
}
.mkt-card__badge--warn { color: var(--down); border-color: currentColor; }
.mkt-card__name { font-family: var(--font-body); font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.35; min-height: 2.4em; }
.mkt-card__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 500;
  color: var(--navy-900);
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.mkt-card__change { font-size: 0.84rem; color: var(--ink-soft); margin-top: 4px; }
.chg { font-family: var(--font-mono); font-weight: 500; }
.chg--up { color: var(--up); }
.chg--down { color: var(--down); }
.chg--flat { color: var(--ink-soft); }
.mkt-card__chart { position: relative; margin-top: 16px; }
.spark { display: block; width: 100%; height: 96px; overflow: visible; cursor: crosshair; }
.spark__line { fill: none; stroke: var(--navy-700); stroke-width: 1.6; }
.spark__area { fill: var(--gold); opacity: 0.12; }
.spark__cross { stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; }
.spark.is-hover .spark__cross { opacity: 1; }
.spark__tip {
  position: absolute;
  top: -8px;
  width: 130px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--navy-950);
  color: var(--paper);
  padding: 3px 6px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  white-space: nowrap;
}
.spark__tip.is-on { opacity: 1; }
.mkt-card__range { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-soft); margin-top: 6px; }
.mkt-card__nochart { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); padding: 36px 0; text-align: center; }
.mkt-card__foot { margin-top: auto; padding-top: 14px; font-size: 0.74rem; color: var(--ink-soft); }
.mkt-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.mkt-card__foot a { border-bottom: 1px solid var(--rule-on-light); }
.mkt-card__foot a:hover { border-color: var(--gold); }
.mkt-empty { padding: 40px 22px; color: var(--ink-soft); grid-column: 1 / -1; border-right: 1px solid var(--rule-on-light); border-bottom: 1px solid var(--rule-on-light); }
.mkt-notes { margin-top: 40px; font-size: 0.86rem; color: var(--ink-soft); max-width: 72ch; display: grid; gap: 10px; }
.mkt-notes a { border-bottom: 1px solid var(--rule-on-light); }
.mkt-editions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-family: var(--font-mono); font-size: 0.8rem; }
.mkt-editions a { color: var(--silver); border-bottom: 1px solid var(--brand-rule); }
.mkt-editions a[aria-current="page"] { color: var(--gold-soft); }

/* Sources page */
.sources-list { display: grid; gap: 0; border-top: 1px solid var(--rule-on-light); }
.sources-list > div { padding: 22px 0; border-bottom: 1px solid var(--rule-on-light); display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.sources-list h3 { font-size: 1.05rem; }
.sources-list p { color: var(--ink-soft); font-size: 0.94rem; }
.sources-list a { border-bottom: 1px solid var(--rule-on-light); }
@media (max-width: 700px) { .sources-list > div { grid-template-columns: 1fr; gap: 6px; } }

/* =========================================================
   BRAND BANNER: one lockup (logo, tagline, strapline) shared by
   every edition, over that edition's own background artwork.
   ========================================================= */
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap;
  src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 400; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-400-normal.woff2") format("woff2"); }

.brand-banner {
  position: relative;
  overflow: hidden;
  background: var(--brand-950);
  color: var(--gold-soft);
  min-height: clamp(190px, 17vw, 270px);
  display: flex;
  align-items: center;
}
.brand-banner__bg, .brand-banner__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.brand-banner__bg img { object-fit: cover; object-position: right center; }
/* Nigeria art is wider: keep the woven panel left of the logo at laptop widths */
.brand-banner--nigeria .brand-banner__bg img { object-position: 50% center; }
.brand-banner__inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand-banner__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-banner__logo {
  width: clamp(104px, 9.5vw, 150px);
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.brand-banner__region {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Barlow Condensed", var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1;
}
.brand-banner__flag {
  width: 34px;
  height: 17px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.brand-banner__rule {
  align-self: stretch;
  width: 1px;
  margin: 6px 0;
  background: linear-gradient(transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  flex-shrink: 0;
}
.brand-banner__text { min-width: 0; }
.brand-banner__tagline {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
  background: linear-gradient(180deg, #f6dc8c 0%, #d9b24a 48%, #b48a25 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}
.brand-banner__line {
  height: 1px;
  margin: clamp(10px, 1.1vw, 16px) 0;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0.55));
}
.brand-banner__strap {
  font-family: "Barlow Condensed", var(--font-body);
  font-size: clamp(0.98rem, 1.45vw, 1.4rem);
  color: #e3c98a;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.brand-banner__strap span + span::before {
  content: "|";
  margin: 0 0.45em;
  color: var(--gold);
}
/* Phones: stack the lockup and centre it; darken the artwork so the words stay readable */
@media (max-width: 680px) {
  .brand-banner__bg img { object-position: 78% center; }
  .brand-banner__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  }
  .brand-banner__inner { flex-direction: column; text-align: center; gap: 14px; padding-top: 28px; padding-bottom: 28px; }
  .brand-banner__rule { display: none; }
  .brand-banner__logo { width: 96px; }
  .brand-banner__line { width: 60%; margin-left: auto; margin-right: auto; }
  .brand-banner__strap { white-space: nowrap; font-size: clamp(0.74rem, 3.55vw, 0.95rem); }
  .brand-banner--nigeria .brand-banner__bg img { object-position: 30% center; }
}

/* =========================================================
   SITE HEADER (v2): nav, edition switcher, Follow us.
   Shared by every page.
   ========================================================= */
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }

:root {
  --font-serif: "Lora", "Fraunces", Georgia, serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --night: #0b1021;
  --night-line: rgba(255, 255, 255, 0.09);
}
.qm-header {
  background: var(--night);
  color: var(--paper);
  border-bottom: 1px solid var(--night-line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.qm-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 94px;
}
.qm-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.qm-brand__ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold-soft); letter-spacing: -0.02em;
}
.qm-brand__name { font-family: var(--font-serif); font-size: 1.85rem; color: var(--paper); letter-spacing: 0.005em; }
.qm-nav { display: flex; gap: 38px; margin: 0 auto; font-family: var(--font-cond); font-weight: 500; font-size: 1.3rem; }
.qm-nav a { color: var(--silver); padding: 8px 0; border-bottom: 3px solid transparent; transition: color 140ms ease; }
.qm-nav a:hover { color: var(--paper); }
.qm-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--gold); }
.qm-editions { display: flex; gap: 10px; }
.qm-editions a {
  font-family: var(--font-cond); font-weight: 600; font-size: 1.15rem;
  min-width: 56px; height: 52px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 3px; color: var(--paper);
  transition: border-color 140ms ease, background-color 140ms ease;
}
.qm-editions a:hover { border-color: var(--gold); }
.qm-editions a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.qm-follow { position: relative; flex-shrink: 0; }
.qm-follow summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-cond); font-weight: 600; font-size: 1.2rem;
  background: var(--paper); color: var(--navy-950);
  height: 60px; padding: 0 26px; border-radius: 3px;
  display: flex; align-items: center;
}
.qm-follow summary::-webkit-details-marker { display: none; }
.qm-follow summary:hover { background: #fff; }
.qm-follow__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--paper); color: var(--ink); border-radius: 3px;
  min-width: 190px; padding: 6px 0; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column;
}
.qm-follow__menu a { padding: 11px 18px; font-size: 0.95rem; }
.qm-follow__menu a:hover { background: var(--paper-dim); }
.qm-menu-btn {
  display: none; margin-left: auto;
  background: none; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--paper);
  width: 44px; height: 40px; border-radius: 3px; font-size: 1.2rem; cursor: pointer;
}
@media (max-width: 1240px) {
  .qm-header__bar { gap: 20px; }
  .qm-nav { gap: 24px; font-size: 1.15rem; }
  .qm-brand__name { font-size: 1.5rem; }
  .qm-editions a { min-width: 46px; height: 44px; padding: 0 12px; font-size: 1.05rem; }
  .qm-follow summary { height: 48px; padding: 0 18px; font-size: 1.1rem; }
}
@media (max-width: 1060px) {
  .qm-header__bar { flex-wrap: wrap; min-height: 72px; row-gap: 0; }
  .qm-menu-btn { display: block; }
  .qm-brand__ring { width: 44px; height: 44px; font-size: 0.9rem; }
  .qm-nav, .qm-editions, .qm-follow { display: none; }
  .qm-header.is-open .qm-nav { display: flex; flex-direction: column; gap: 0; width: 100%; order: 3; margin: 0; padding: 6px 0 4px; border-top: 1px solid var(--night-line); }
  .qm-header.is-open .qm-nav a { padding: 12px 0; border-bottom: 0; }
  .qm-header.is-open .qm-nav a[aria-current="page"] { color: var(--gold-soft); }
  .qm-header.is-open .qm-editions { display: flex; order: 4; width: 100%; padding: 6px 0 12px; }
  .qm-header.is-open .qm-follow { display: block; order: 5; width: 100%; padding-bottom: 16px; }
  .qm-header.is-open .qm-follow summary { justify-content: center; }
  .qm-follow__menu { left: 0; right: 0; }
}

/* =========================================================
   HOMEPAGE: "Where the money is moving now"
   ========================================================= */
.home-now { background: var(--night); color: var(--paper); padding: 56px 0 30px; border-bottom: 1px solid var(--night-line); }
.home-now__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.home-now h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3.3rem); letter-spacing: -0.005em; }
.home-clocks { display: flex; gap: 26px; font-family: var(--font-cond); font-size: 1.3rem; color: var(--silver); }
.home-clocks b { color: var(--gold-soft); font-weight: 600; margin-left: 6px; font-variant-numeric: tabular-nums; }

.tl { border: 1px solid var(--night-line); }
.tl__row { display: grid; grid-template-columns: 330px 1fr 440px; border-top: 1px solid var(--night-line); }
.tl__row:first-child { border-top: 0; }
.tl__head { font-family: var(--font-cond); font-size: 1.1rem; color: var(--silver); background: #0d1326; }
.tl__head > div { padding: 18px 28px; }
.tl__head .tl__track { padding: 0; }
.tl__head .tl__yours { text-align: right; }
.tl__market { padding: 28px; border-right: 1px solid var(--night-line); }
.tl__row--nigeria .tl__market { background: #11261b; }
.tl__row--uk .tl__market { background: #13205a; }
.tl__row--usa .tl__market { background: #141c33; }
.tl__badge {
  display: inline-block; font-family: var(--font-cond); font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 3px; padding: 3px 8px; margin-bottom: 14px;
}
.tl__city { font-family: var(--font-serif); font-weight: 700; font-size: 1.95rem; line-height: 1.1; }
.tl__meta { font-family: var(--font-cond); font-size: 1.2rem; color: var(--silver); margin-top: 8px; line-height: 1.55; }
.tl__status { font-family: var(--font-cond); font-weight: 600; font-size: 1.2rem; color: var(--silver); margin-top: 8px; }
.tl__status::before { content: "○"; font-size: 0.7em; margin-right: 6px; vertical-align: 2px; }
.tl__status.is-open { color: #7fc79a; }
.tl__status.is-open::before { content: "●"; }

.tl__track { position: relative; min-height: 100%; }
.tl__grid { position: absolute; inset: 0; display: flex; pointer-events: none; }
.tl__grid span { flex: 1; border-left: 1px solid rgba(255, 255, 255, 0.06); }
.tl__hours { position: relative; height: 100%; min-height: 56px; }
.tl__hours span { position: absolute; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-cond); font-size: 1.1rem; color: var(--silver); white-space: nowrap; }
.tl__bar {
  position: absolute; top: 50px; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 2px;
  font-family: var(--font-cond); font-size: 1.3rem; color: var(--silver); overflow: hidden; white-space: nowrap;
}
.tl__row--nigeria .tl__bar { background: rgba(17, 38, 27, 0.85); }
.tl__row--uk .tl__bar { background: rgba(19, 32, 90, 0.55); }
.tl__row--usa .tl__bar { background: rgba(31, 41, 74, 0.85); }
.tl__bar.is-open { border-color: rgba(201, 162, 39, 0.55); color: var(--paper); }
.tl__bar b { font-weight: 600; font-size: 1.4rem; }
.tl__bar .up { color: #7fc79a; }
.tl__bar .down { color: #e2867c; }
.tl__now { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1px; background: var(--gold); z-index: 2; pointer-events: none; }
.tl__nowtag {
  position: absolute; top: 10px; left: 8px; background: var(--gold); color: var(--navy-950);
  font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; padding: 2px 8px; border-radius: 2px; white-space: nowrap;
}
.tl__story { padding: 34px 30px; border-left: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 14px; }
.tl__edition { font-family: var(--font-cond); font-weight: 600; font-size: 1.2rem; color: var(--gold); }
.tl__headline { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.3; color: var(--paper); }
.tl__headline a:hover { color: var(--gold-soft); }
.tl__time { font-family: var(--font-cond); font-size: 1.05rem; color: var(--silver); }
.tl__open { font-family: var(--font-cond); font-weight: 600; font-size: 1.2rem; color: var(--gold-soft); margin-top: auto; }
.tl__open:hover { color: var(--paper); }
.home-now__note { font-family: var(--font-cond); font-size: 1.1rem; color: var(--silver); margin-top: 18px; }
@media (max-width: 1240px) {
  .tl__row { grid-template-columns: 250px 1fr 330px; }
  .tl__headline { font-size: 1.3rem; }
  .tl__city { font-size: 1.6rem; }
}
/* Tablet and phone: drop the timeline grid, keep market + story stacked */
@media (max-width: 900px) {
  .tl__head { display: none; }
  .tl__row { grid-template-columns: 1fr; }
  .tl__track { min-height: 84px; border-top: 1px solid var(--night-line); }
  .tl__bar { top: 9px; height: 64px; }
  .tl__market { border-right: 0; }
  .tl__story { border-left: 0; border-top: 1px solid var(--night-line); padding: 24px 28px; }
  .home-clocks { font-size: 1.1rem; gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 560px) { .tl__bar { font-size: 1.1rem; padding: 0 10px; } .tl__bar b { font-size: 1.15rem; } }

/* =========================================================
   STORIES: top stories, market news, news page (beige)
   ========================================================= */
.stories { background: var(--paper); padding: clamp(48px, 7vw, 80px) 0; }
.stories .section-head p { color: var(--ink-soft); }
.stories__more { font-family: var(--font-cond); font-weight: 600; font-size: 1.15rem; color: var(--navy-900); border-bottom: 2px solid var(--gold); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-on-light); }
.story { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--rule-on-light); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.story:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--rule-on-light); }
.story__meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: 0.02em; }
.story__meta .ed { color: var(--navy-900); font-weight: 500; }
.story__title { font-family: var(--font-serif); font-weight: 700; font-size: 1.22rem; line-height: 1.3; }
.story__title a:hover { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.story__sum { color: var(--ink-soft); font-size: 0.95rem; }
.story__src { margin-top: auto; font-size: 0.82rem; color: var(--ink-soft); }
.story__src a { border-bottom: 1px solid var(--rule-on-light); }
.story__src a:hover { border-color: var(--gold); }
.story-empty { grid-column: 1 / -1; padding: 30px 0; color: var(--ink-soft); }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story, .story:not(:nth-child(3n+1)) { padding: 22px 22px 24px 0; border-left: 0; }
  .story:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--rule-on-light); }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .story, .story:nth-child(2n) { padding: 22px 0; border-left: 0; }
}
.news-filters { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; font-family: var(--font-cond); font-size: 1.15rem; }
.news-filters div { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.news-filters span { color: var(--ink-soft); margin-right: 4px; }
.news-filters a { padding: 4px 12px; border: 1px solid var(--rule-on-light); border-radius: 3px; color: var(--ink); }
.news-filters a[aria-current="true"] { background: var(--navy-900); color: var(--paper); border-color: var(--navy-900); }
.mkt-more { margin-top: 22px; font-family: var(--font-cond); font-weight: 600; font-size: 1.15rem; }
.mkt-more a { color: var(--navy-900); border-bottom: 2px solid var(--gold); }

/* --- v2 refinements --- */
.wrap--wide { max-width: 1780px; }
.qm-nav a { white-space: nowrap; }
.section-head p { color: var(--ink-soft); }
.offerings .section-head p, .home-now .section-head p { color: var(--silver); }
.tl__row { grid-template-columns: minmax(250px, 19%) 1fr minmax(320px, 26%); }
.tl__bar { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 0 14px; }
.tl__bar span { font-size: 1.05rem; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tl__bar b { font-size: 1.3rem; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1240px) { .tl__row { grid-template-columns: 230px 1fr 300px; } }
@media (max-width: 900px) { .tl__row { grid-template-columns: 1fr; } }

/* --- header logo (real mark, per edition) --- */
.qm-brand__logo { width: 58px; height: 58px; border-radius: 50%; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45)); }
@media (max-width: 1060px) { .qm-brand__logo { width: 46px; height: 46px; } }

/* =========================================================
   HOMEPAGE LEAD: lead story, latest list, live markets panel
   ========================================================= */
.lead { background: var(--night); color: var(--paper); padding: 56px 0 64px; }
.lead__grid { display: grid; grid-template-columns: 1.55fr 1fr 0.9fr; gap: 56px; align-items: start; border-top: 1px solid var(--night-line); padding-top: 56px; }
.lead__img { display: block; overflow: hidden; background: #0f1a14; }
.lead__img img { width: 100%; aspect-ratio: 1.54; object-fit: cover; display: block; transition: transform 400ms ease; }
.lead__img:hover img { transform: scale(1.02); }
.lead__tags { display: flex; align-items: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 8px;
  font-family: var(--font-cond); font-weight: 600; font-size: 1.05rem; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 2px; color: var(--paper);
}
.badge--nigeria { background: #11261b; border-color: #2d6b45; }
.badge--uk { background: #f6f4ee; border-color: #f6f4ee; color: var(--navy-950); }
.badge--usa { background: #141c33; border-color: #3a4a78; }
.lead__kicker { font-family: var(--font-cond); font-weight: 600; font-size: 1.25rem; color: var(--gold); margin-left: 4px; }
.lead__title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.12; margin-top: 18px; }
.lead__title a:hover { color: var(--gold-soft); }
.lead__sum { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.55; color: var(--silver); margin-top: 22px; }
.lead__by { font-family: var(--font-cond); font-size: 1.15rem; color: var(--silver); margin-top: 22px; }
.lead__label {
  font-family: var(--font-cond); font-weight: 600; font-size: 1.6rem; color: var(--gold);
  padding-bottom: 18px; border-bottom: 2px solid var(--gold);
}
.lead__list { list-style: none; margin: 0 0 24px; padding: 0; }
.lead__list li { padding: 24px 0; border-bottom: 1px solid var(--night-line); }
.lead__list .meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-cond); font-size: 1.15rem; color: var(--silver); }
.lead__list .meta .badge { height: 30px; min-width: 36px; font-size: 0.95rem; }
.lead__list h4 { font-family: var(--font-serif); font-weight: 400; font-size: 1.55rem; line-height: 1.35; margin-top: 10px; color: var(--paper); }
.lead__list h4 a:hover { color: var(--gold-soft); }
.lead__list .src { font-family: var(--font-cond); font-size: 1rem; color: var(--silver); margin-top: 6px; }
.lead__latest .stories__more { color: var(--gold-soft); }
.lead__panel { background: #141c38; border-top: 4px solid var(--gold); padding: 30px 30px 26px; }
.lead__panel .lead__label { border-bottom: 1px solid var(--night-line); }
.panel__list { margin: 0; }
.panel__row { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 20px 0; border-bottom: 1px solid var(--night-line); }
.panel__row dt { grid-column: 1 / -1; font-family: var(--font-cond); font-size: 1.2rem; color: var(--silver); }
.panel__row .v { font-family: var(--font-cond); font-weight: 600; font-size: 2.1rem; color: var(--paper); font-variant-numeric: tabular-nums; margin: 4px 0 0; }
.panel__row .c { font-family: var(--font-cond); font-weight: 600; font-size: 1.35rem; margin: 0; text-align: right; }
.panel__row .c.up { color: #7fc79a; }
.panel__row .c.down { color: #e2867c; }
.panel__row .c.flat { color: var(--paper); }
.panel__note { font-family: var(--font-cond); font-size: 1.1rem; color: var(--silver); margin-top: 20px; }
.panel__note a { color: var(--gold-soft); border-bottom: 1px solid currentColor; }
@media (max-width: 1240px) {
  .lead__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .lead__main { grid-column: 1 / -1; }
  .lead__sum { font-size: 1.25rem; }
}
@media (max-width: 760px) {
  .lead__grid { grid-template-columns: 1fr; padding-top: 36px; }
  .lead__list h4 { font-size: 1.3rem; }
  .panel__row .v { font-size: 1.8rem; }
}

/* UK row of the timeline: soft peach-white with dark text */
.tl__row--uk .tl__market { background: var(--paper); color: var(--navy-950); }
.tl__row--uk .tl__badge { border-color: rgba(10, 15, 36, 0.4); color: var(--navy-950); }
.tl__row--uk .tl__meta, .tl__row--uk .tl__status { color: var(--ink-soft); }
.tl__row--uk .tl__status.is-open { color: #2f7a45; }
.tl__row--uk .tl__bar { background: rgba(246, 244, 238, 0.10); border-color: rgba(246, 244, 238, 0.28); }

/* =========================================================
   COUNTRY PAGES: news by topic
   ========================================================= */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule-on-light); }
.topic { padding: 24px 24px 28px; border-right: 1px solid var(--rule-on-light); min-width: 0; }
.topic:first-child { padding-left: 0; }
.topic:last-child { border-right: 0; padding-right: 0; }
.topic h3 { font-family: var(--font-cond); font-weight: 600; font-size: 1.45rem; color: var(--navy-900); padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.topic h3 a:hover { color: var(--navy-700); }
.topic ul { list-style: none; margin: 0; padding: 0; }
.topic li { padding: 16px 0; border-bottom: 1px solid var(--rule-on-light); }
.topic li .t { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.02em; }
.topic li h4 { font-family: var(--font-serif); font-weight: 700; font-size: 1.05rem; line-height: 1.35; margin-top: 6px; }
.topic li h4 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.topic li .s { font-size: 0.8rem; color: var(--ink-soft); margin-top: 6px; }
.topic .none { padding: 16px 0; color: var(--ink-soft); font-size: 0.92rem; }
.topic .more { display: inline-block; margin-top: 14px; font-family: var(--font-cond); font-weight: 600; font-size: 1.05rem; color: var(--navy-900); border-bottom: 2px solid var(--gold); }
@media (max-width: 1060px) {
  .topics { grid-template-columns: 1fr 1fr; }
  .topic, .topic:first-child, .topic:last-child { padding: 22px 22px 26px 0; border-right: 0; }
  .topic:nth-child(2n) { padding-left: 22px; padding-right: 0; border-left: 1px solid var(--rule-on-light); }
}
@media (max-width: 600px) {
  .topics { grid-template-columns: 1fr; }
  .topic, .topic:nth-child(2n) { padding: 22px 0; border-left: 0; }
}
.stories .section-head h2 { max-width: none; }

/* Homepage top stories: one row per edition (US, UK, Nigeria) */
.ed-row { margin-top: 34px; }
.ed-row:first-of-type { margin-top: 0; }
.ed-row__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.ed-row__head h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; color: var(--navy-950); }
.ed-row__head a { margin-left: auto; font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; color: var(--navy-900); border-bottom: 2px solid var(--gold); }
.stories .badge--uk { border-color: var(--navy-900); }
.stories .badge { color: var(--paper); }
.stories .badge--uk { color: var(--navy-950); }
.lead { border-top: 0; }
@media (max-width: 600px) { .ed-row__head h3 { font-size: 1.2rem; } }
