/* GlobalFinancialCore: a source-led editorial identity around the original mark */
@font-face {
  font-family: "GFC Display";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "GFC Display";
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB;
}
@font-face {
  font-family: "GFC Text";
  src: url("assets/fonts/public-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "GFC Text";
  src: url("assets/fonts/public-sans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB;
}
:root {
  --white: #ffffff;
  --canvas: #f2f3f6;
  --ink: #0f1115;
  --brand-ink: #252347;
  --brand-accent: #b87944;
  --accent: #3b3990;
  --blue: var(--accent);
  --muted: rgba(22, 24, 28, 0.68);
  --line: rgba(37, 35, 71, 0.14);
  --sans: "GFC Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "GFC Display", var(--sans);
  --page-width: 1280px;
  --space-7: 96px;
  --space-8: 128px;
}
html {
  scroll-padding-top: 112px;
}
body {
  background: var(--canvas);
}
h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.055em;
}
.container {
  width: calc(100% - 112px);
  max-width: var(--page-width);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
.header-inner {
  max-width: 1392px;
  min-height: 84px;
  padding: 16px 56px;
  gap: 36px;
}
.brand {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.055em;
  color: var(--brand-ink);
}
.brand svg {
  width: 30px;
  height: 30px;
}
.header-inner nav {
  gap: 30px;
  font-size: 12px;
}
.header-inner nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}
.header-inner nav a:hover {
  text-decoration: none;
  border-bottom-color: var(--accent);
}
.language-switcher {
  font-family: var(--sans);
}
.language-switcher summary {
  min-height: 44px;
}
.eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.045em;
}
.button {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.button.primary {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
}
.button.primary:hover {
  background: #3a376b;
  border-color: #3a376b;
  text-decoration: none;
}
.button:active {
  transform: translateY(1px);
}
.text-link {
  font-size: 13px;
  color: var(--ink);
}
.text-link:hover {
  color: var(--accent);
}
/* Footer shared by the country and company pages */
.site-footer,
.directory-footer {
  background: var(--canvas);
  padding-block: 56px 32px;
  border-top: 1px solid var(--line);
}
.site-footer .access-note {
  max-width: 840px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding-bottom: 36px;
}
.footer-row {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  gap: 24px 40px;
}
.footer-row .brand,
.directory-footer .brand {
  font-size: 18px;
}
.footer-row .brand svg,
.directory-footer .brand svg {
  width: 32px;
  height: 32px;
}
.footer-row > div {
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
}
/* The atlas and searchable directory are part of the same visual system */
.directory-page {
  --atlas-land: #e7ebf3;
  --atlas-active: var(--accent);
}
.directory-opening {
  padding-block: 64px 40px;
}
.directory-page .directory-opening h1 {
  font-family: var(--display);
  font-size: clamp(48px, 6.3vw, 90px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  max-width: 1040px;
  font-weight: 650;
  margin-bottom: 24px;
}
.directory-opening .eyebrow {
  font: 11px/1.7 var(--mono);
  color: var(--muted);
  margin-bottom: 24px;
}
.directory-page .directory-intro {
  font-size: 18px;
  line-height: 1.75;
  max-width: 740px;
}
.directory-numbers {
  margin-top: 32px;
  gap: 32px;
}
.directory-numbers dd {
  font-family: var(--display);
  font-size: 54px;
  color: var(--ink);
  font-weight: 550;
  letter-spacing: -0.065em;
}
.directory-numbers dt {
  font-size: 12px;
}
.directory-page[data-view="companies"] .directory-identity {
  margin-top: 30px;
  font-size: 11px;
  padding-top: 22px;
}
.company-filter-heading h2 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.045em;
}
.company-view-switch button {
  font-size: 12px;
}
.company-filters {
  padding-block: 20px 28px;
}
.company-filter-primary input,
.company-filter-primary .directory-select-trigger,
.company-filter-primary select {
  background-color: var(--brand-ink);
  border-color: var(--brand-ink);
}
.company-filter-primary input:hover:not(:disabled),
.company-filter-primary .directory-select-trigger:hover:not(:disabled),
.company-filter-primary select:hover:not(:disabled) {
  background-color: #3a376b;
  border-color: #3a376b;
}
.company-filter-primary .directory-select-trigger {
  color: var(--white);
}
.company-table .company-name {
  font-size: 14px;
  font-weight: 500;
}
.company-identity {
  gap: 16px;
}
.company-logo {
  width: 44px;
  height: 44px;
}
.company-table .market-cap-cell {
  font-size: 17px;
}
.ledger-table thead th {
  color: var(--muted);
}
.result-bar {
  padding-block: 22px;
}
.atlas-band {
  background: var(--canvas);
  border-block: 1px solid var(--line);
  padding-block: 36px 24px;
}
.atlas-caption h2 {
  font-size: 24px;
}
.world-atlas {
  max-height: 420px;
  margin-block: 22px;
}
.world-atlas path.mapped,
.atlas-key i {
  fill: #849dff;
  background: #849dff;
}
.world-atlas path.is-highlighted {
  fill: var(--accent);
}
.directory-ledger,
.company-ledger {
  padding-bottom: 68px;
}
.directory-source {
  font-family: var(--mono);
  font-size: 10px;
}
.directory-footer p {
  font-size: 12px;
  max-width: 850px;
  line-height: 1.8;
}
.directory-footer .footer-bottom {
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 28px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    padding-inline: 32px;
    gap: 24px;
  }
  .header-inner nav {
    gap: 20px;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    padding-inline: 24px;
    gap: 16px;
    min-height: 76px;
  }
  .header-inner nav {
    gap: 18px;
  }
  .directory-page .directory-opening h1 {
    font-size: 62px;
  }
  .directory-numbers dd {
    font-size: 44px;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 132px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    padding: 12px 20px 0;
    column-gap: 12px;
    row-gap: 8px;
  }
  .header-inner .brand {
    font-size: 16px;
  }
  .brand svg {
    width: 28px;
    height: 28px;
  }
  .header-inner nav {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .header-inner nav a {
    min-height: 40px;
    flex: none;
    font-size: 11px;
  }
  .header-inner nav::-webkit-scrollbar {
    display: none;
  }
  .button {
    min-height: 48px;
    padding: 12px 18px;
  }
  .site-footer,
  .directory-footer {
    padding-block: 36px 24px;
  }
  .site-footer .access-note {
    font-size: 11px;
    padding-bottom: 24px;
  }
  .footer-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 24px;
  }
  .footer-row .brand,
  .directory-footer .brand {
    font-size: 16px;
  }
  .footer-row > div {
    gap: 18px 24px;
    font-size: 11px;
  }
  .directory-opening {
    padding-block: 42px 30px;
  }
  .directory-page .directory-opening h1 {
    font-size: clamp(42px, 10.5vw, 66px);
    line-height: 1.07;
    margin-bottom: 20px;
  }
  .directory-opening .eyebrow {
    font-size: 9px;
    margin-bottom: 22px;
  }
  .directory-page .directory-intro {
    font-size: 15px;
    line-height: 1.75;
  }
  .directory-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
    padding-top: 26px;
  }
  .directory-numbers dd {
    font-size: 38px;
  }
  .directory-numbers dt {
    font-size: 10px;
  }
  .directory-page[data-view="companies"] .directory-identity {
    margin-top: 26px;
    padding-top: 20px;
    font-size: 10px;
    gap: 12px;
  }
  .company-filter-heading {
    gap: 14px;
  }
  .company-filter-heading h2 {
    font-size: 20px;
  }
  .company-view-switch {
    gap: 20px;
  }
  .company-view-switch button {
    font-size: 11px;
  }
  .company-identity {
    gap: 10px;
  }
  .company-logo {
    width: 32px;
    height: 32px;
  }
  .company-table .company-name {
    font-size: 13px;
  }
  .company-table .market-cap-cell {
    font-size: 13px;
  }
  .atlas-band {
    padding-block: 26px 20px;
  }
  .atlas-caption {
    flex-direction: column;
    gap: 12px;
  }
  .atlas-caption h2 {
    font-size: 22px;
  }
  .atlas-caption p {
    font-size: 12px;
  }
  .world-atlas {
    margin-block: 20px;
  }
  .atlas-footnote {
    font-size: 9px;
    gap: 12px;
  }
  .directory-ledger,
  .company-ledger {
    padding-bottom: 44px;
  }
  .directory-footer .footer-bottom {
    gap: 20px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button:active {
    transform: none;
  }
}
/* A tighter directory rhythm */
.site-footer,
.directory-footer {
  padding-block: 32px 24px;
}
.site-footer .access-note {
  padding-bottom: 24px;
}
.directory-opening {
  padding-block: 40px 28px;
}
.directory-page .directory-opening h1 {
  font-size: clamp(44px, 5vw, 72px);
  margin-bottom: 18px;
}
.directory-numbers {
  margin-top: 24px;
}
.directory-numbers dd {
  font-size: 44px;
}
.atlas-band {
  padding-block: 24px 18px;
}
.world-atlas {
  max-height: 340px;
}
@media (max-width: 650px) {
  .directory-page .directory-opening h1 {
    font-size: 44px;
  }
  .directory-opening {
    padding-block: 32px 24px;
  }
}
