/* ============================================================
   BankingWebinar — editorial design system
   ============================================================ */

:root {
  --navy: #101c2c;
  --graphite: #202b38;
  --ivory: #f7f6f2;
  --white: #ffffff;
  --slate: #66717e;
  --border: #e6e8eb;
  --teal: #279b91;
  --gold: #c4a36b;
  --blue: #52789b;

  --ink: var(--navy);
  --ink-soft: var(--graphite);
  --muted: var(--slate);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --rule: 1px solid var(--border);
  --rule-dark: 1px solid rgba(255, 255, 255, 0.14);

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.2vw, 2.35rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-5: clamp(2.7rem, 1.9rem + 3.6vw, 4.6rem);

  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--teal);
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--teal);
  color: var(--white);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--white);
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip:focus {
  top: 1rem;
}

.container {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.container-wide {
  width: min(1480px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- typography helpers ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.kicker--light {
  color: rgba(255, 255, 255, 0.66);
}

.kicker--light::before {
  background: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
}

.h4 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.62;
  color: var(--slate);
  max-width: 38rem;
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  background: var(--navy);
  color: var(--white);
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(16, 28, 44, 0.32);
}

.btn--ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(16, 28, 44, 0.24);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.link-arrow::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

.link-arrow--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.link-arrow--light:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ============================================================
   Header
   ============================================================ */

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.25rem;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

.topbar a:hover {
  color: var(--white);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ivory);
  border-bottom: var(--rule);
  transition: box-shadow 0.25s var(--ease);
}

.masthead.is-stuck {
  box-shadow: 0 1px 0 var(--border), 0 12px 28px rgba(16, 28, 44, 0.07);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__type {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--navy);
  white-space: nowrap;
}

.brand__type em {
  font-style: italic;
  color: var(--navy);
}

.brand__type .brand__dot {
  color: var(--teal);
}

.mainnav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.75rem);
  margin-left: auto;
}

.mainnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  color: var(--graphite);
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
}

.mainnav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.mainnav__link:hover::after,
.mainnav__link[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.mainnav__link .chev {
  width: 9px;
  height: 9px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.55;
  transition: transform 0.2s var(--ease);
}

.mainnav__link[aria-expanded="true"] .chev {
  transform: rotate(225deg) translateY(-1px);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.searchbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.4rem;
  padding: 0 0.8rem;
  background: transparent;
  border: 1px solid rgba(16, 28, 44, 0.18);
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.searchbtn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.searchbtn svg {
  width: 14px;
  height: 14px;
}

.searchbtn kbd {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.3rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--slate);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(16, 28, 44, 0.18);
  border-radius: 2px;
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  width: 16px;
  height: 1px;
  background: var(--navy);
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--navy);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* mega menu */

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ivory);
  border-bottom: var(--rule);
  box-shadow: 0 24px 38px rgba(16, 28, 44, 0.08);
  display: none;
  z-index: 50;
}

.mega.is-open {
  display: block;
}

.mega__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(2rem, 3vw, 3rem);
}

.mega__label {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.mega ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.mega a {
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--graphite);
}

.mega a:hover {
  color: var(--teal);
}

.mega__regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.5rem;
}

.mega__regions a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.mega__regions span {
  color: var(--slate);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}

.mega__feature {
  background: var(--white);
  border: var(--rule);
  padding: 1.25rem;
}

.mega__feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}

.mega__feature p {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--slate);
}

/* mobile drawer */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ivory);
  display: none;
  overflow-y: auto;
  padding: 1.25rem var(--gutter) 3rem;
}

.drawer.is-open {
  display: block;
}

.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: var(--rule);
  margin-bottom: 1.5rem;
}

.drawer__close {
  width: 2.6rem;
  height: 2.4rem;
  border: 1px solid rgba(16, 28, 44, 0.18);
  background: transparent;
  border-radius: 2px;
  font-size: 1.1rem;
  cursor: pointer;
}

.drawer__group {
  border-bottom: var(--rule);
}

.drawer__group > a,
.drawer__group > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: none;
  border: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.drawer__sub {
  display: none;
  padding: 0 0 1.25rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
}

.drawer__sub.is-open {
  display: grid;
}

.drawer__sub a {
  font-size: 0.875rem;
  color: var(--slate);
  text-decoration: none;
}

.drawer__search {
  width: 100%;
  margin-top: 1.5rem;
  justify-content: space-between;
}

/* ============================================================
   Search dialog
   ============================================================ */

.search-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(16, 28, 44, 0.55);
  padding: clamp(1rem, 6vh, 5rem) 1rem;
}

.search-dialog.is-open {
  display: block;
}

.search-panel {
  width: min(760px, 100%);
  margin-inline: auto;
  background: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.search-panel__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-bottom: var(--rule);
  background: var(--white);
}

.search-panel__head svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--slate);
}

.search-panel input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--navy);
  padding: 0.35rem 0;
}

.search-panel input:focus {
  outline: none;
}

.search-panel__esc {
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--slate);
  background: var(--ivory);
  cursor: pointer;
}

.search-results {
  max-height: min(58vh, 32rem);
  overflow-y: auto;
  padding: 0.5rem 0;
}

.search-results__group {
  padding: 0.6rem 1.1rem 0.3rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.1rem;
  text-decoration: none;
  color: var(--graphite);
}

.search-result:hover,
.search-result:focus {
  background: var(--white);
  text-decoration: none;
}

.search-result img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: none;
}

.search-result strong {
  font-weight: 500;
  font-size: 0.9rem;
}

.search-result span {
  margin-left: auto;
  font-size: 0.6875rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.search-empty {
  padding: 1.5rem 1.1rem 2rem;
  color: var(--slate);
  font-size: 0.875rem;
}

.search-hint {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border-top: var(--rule);
  font-size: 0.6875rem;
  color: var(--slate);
  background: var(--white);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  background:
    linear-gradient(to right, rgba(16, 28, 44, 0.035) 1px, transparent 1px) 0 0 / 8.333% 100%,
    var(--ivory);
  border-bottom: var(--rule);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 78%, rgba(16, 28, 44, 0.035));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem);
}

.hero__copy {
  max-width: 40rem;
}

.hero__title {
  margin: 0 0 1.5rem;
}

.hero__title em {
  font-style: italic;
  color: var(--graphite);
}

.hero__title .accent {
  color: var(--teal);
  font-style: italic;
}

.hero__lede {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--slate);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__figure {
  position: relative;
  margin: 0;
  border: 1px solid rgba(16, 28, 44, 0.12);
  background: linear-gradient(180deg, #fbfaf7 0%, #f4f2ec 100%);
  padding: 1rem 1rem 0.75rem;
}

.hero__figure svg,
.hero__figure img {
  width: 100%;
  height: auto;
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(16, 28, 44, 0.1);
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--slate);
}

.hero__caption span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero__coverage {
  position: relative;
  z-index: 1;
  border-top: var(--rule);
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 0.7fr)) 1.5fr;
  gap: 1.5rem;
  padding: 1.15rem 0;
  align-items: center;
}

.coverage-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.coverage-item strong {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.coverage-item span {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.coverage-note {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--slate);
  text-align: right;
  margin: 0;
}

/* ============================================================
   Sections
   ============================================================ */

.section {
  padding: clamp(3.25rem, 7vw, 6.5rem) 0;
}

.section--tight {
  padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--paper {
  background: var(--white);
  border-block: var(--rule);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 3rem);
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}

.section-head__aside p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 26rem;
}

.section-head--light .section-head__aside p {
  color: rgba(255, 255, 255, 0.65);
}

.section-head--light .h2 {
  color: var(--white);
}

.section-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: var(--rule);
  font-size: 0.75rem;
  color: var(--slate);
}

.section--dark .section-foot {
  border-top: var(--rule-dark);
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- featured markets ---------- */

.markets {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.markets__lead {
  position: sticky;
  top: 7rem;
}

.markets__lead .h2 {
  margin-bottom: 1.1rem;
  color: var(--white);
}

.markets__lead p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 26rem;
  margin: 0 0 1.5rem;
}

.markets__source {
  border-top: var(--rule-dark);
  padding-top: 1rem;
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52);
  max-width: 27rem;
}

.markets__source a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.markets__source a:hover {
  color: var(--gold);
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.market-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 0.75rem;
}

.market-table th {
  text-align: left;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 0.5rem 0.6rem 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.market-table th:last-child,
.market-table td:last-child {
  text-align: right;
  padding-right: 0;
}

.market-table td {
  padding: 0.62rem 0.6rem 0.62rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8125rem;
  vertical-align: middle;
}

.market-table tr:last-child td {
  border-bottom: 0;
}

.market-table .rank {
  width: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
}

.market-table .country {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.market-table .country img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex: none;
}

.market-table .country a {
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-table .country a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.market-table .audience {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.market-table .audience a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 163, 107, 0.6);
}

.market-table .audience a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.market-table .bar-cell {
  width: 28%;
  min-width: 60px;
}

.mini-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.mini-bar i {
  display: block;
  height: 100%;
  background: var(--teal);
  opacity: 0.9;
}

.markets__note {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: var(--rule-dark);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- editorial feature split ---------- */

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  border: var(--rule);
  background: var(--white);
}

.feature-split__body {
  padding: clamp(2rem, 4.5vw, 4.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-split__body .h2 {
  margin: 0 0 1.2rem;
  max-width: 22ch;
}

.feature-split__body .lede {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  max-width: 34rem;
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.feature-meta span + span::before {
  content: "·";
  margin-right: 0.75rem;
  color: var(--gold);
}

.diagram {
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 26rem;
}

.diagram__label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.diagram svg,
.diagram img {
  width: 100%;
  height: auto;
}

.diagram__caption {
  margin: 1.25rem 0 0;
  padding-top: 0.9rem;
  border-top: var(--rule-dark);
  font-size: 0.625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- research shelf ---------- */

.report-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.report-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.report-card:hover {
  text-decoration: none;
}

.report-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--navy);
  color: var(--white);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(16, 28, 44, 0.2);
  transition: transform 0.35s var(--ease);
}

.report-card:hover .report-cover {
  transform: translateY(-4px);
}

.report-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.report-cover--ivory {
  background: #ece9e1;
  color: var(--navy);
}

.report-cover--teal {
  background: #1f6f69;
  color: var(--white);
}

.report-cover--graphite {
  background: var(--graphite);
  color: var(--white);
}

.report-cover__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.report-cover__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2.05rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 12ch;
}

.report-cover__rule {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  margin: 1rem 0;
}

.report-cover__meta {
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.report-cover__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.report-card__body {
  padding: 1.1rem 0 0;
}

.report-card__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.18;
}

.report-card__body p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--slate);
}

/* ---------- directory explorer preview ---------- */

.explorer {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border: var(--rule);
  background: var(--white);
  min-height: 30rem;
}

.explorer__rail {
  border-right: var(--rule);
  background: var(--ivory);
  padding: 1.35rem;
}

.explorer__rail h3 {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}

.region-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.region-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  font-size: 0.8125rem;
  text-align: left;
  cursor: pointer;
  color: var(--graphite);
}

.region-nav button span {
  font-size: 0.6875rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.region-nav button:hover {
  background: rgba(16, 28, 44, 0.04);
}

.region-nav button[aria-selected="true"] {
  border-left-color: var(--teal);
  background: var(--white);
  font-weight: 500;
}

.explorer__panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.explorer__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.explorer__panel-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
}

.explorer__panel-head span {
  font-size: 0.6875rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}

.market-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.market-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  min-width: 0;
}

.market-chip:hover {
  background: var(--ivory);
  text-decoration: none;
}

.market-chip img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: none;
}

.market-chip strong {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-chip em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  white-space: nowrap;
}

.explorer__search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.5rem;
}

.explorer__search svg {
  width: 15px;
  height: 15px;
  color: var(--slate);
  flex: none;
}

.explorer__search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  width: 100%;
}

.explorer__search input:focus {
  outline: none;
}

/* ---------- story grid ---------- */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

.story-lead {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.story-lead__art {
  border: var(--rule);
  background: var(--white);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.story-lead__art svg,
.story-lead__art img {
  width: 100%;
  height: auto;
}

.story-lead h3 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.story-lead p {
  margin: 0 0 1.25rem;
  color: var(--slate);
  line-height: 1.65;
}

.story-list {
  border-top: var(--rule);
}

.story-item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: var(--rule);
  text-decoration: none;
  color: inherit;
}

.story-item:hover {
  text-decoration: none;
}

.story-item__no {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  padding-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.story-item h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.18;
  transition: color 0.2s var(--ease);
}

.story-item:hover h3 {
  color: var(--teal);
}

.story-item p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--slate);
}

.story-item__tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- webinars ---------- */

.webinar-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.webinar-note {
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate);
  max-width: 27rem;
}

.webinar-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.webinar-item {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.webinar-item__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  padding-top: 0.25rem;
}

.webinar-item__status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.webinar-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--white);
}

.webinar-item p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.webinar-item__cta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.webinar-item__cta:hover {
  color: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  font-size: 0.8125rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 0.75fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer .brand__type {
  color: var(--white);
}

.footer .brand {
  margin-bottom: 1rem;
}

.footer__desc {
  max-width: 24rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer h3 {
  margin: 0 0 1rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__base p {
  margin: 0;
  max-width: 46rem;
  line-height: 1.6;
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ============================================================
   Country directory page
   ============================================================ */

.page-head {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: var(--rule);
}

.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 2rem;
  align-items: end;
}

.page-head .display {
  font-size: clamp(2.5rem, 1.9rem + 2.8vw, 4rem);
  max-width: 20ch;
}

.page-head .lede {
  max-width: 34rem;
  margin: 1rem 0 0;
}

.page-head__aside {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--slate);
  border-left: 1px solid var(--border);
  padding-left: 1.25rem;
}

.page-head__aside strong {
  display: block;
  color: var(--graphite);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.directory {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem);
}

.directory__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.directory__rail {
  position: sticky;
  top: 6.75rem;
}

.directory__rail h2 {
  margin: 0 0 0.9rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
}

.rail-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: var(--rule);
}

.rail-list li {
  border-bottom: var(--rule);
}

.rail-list button {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 0.8125rem;
  cursor: pointer;
  color: var(--graphite);
}

.rail-list button span {
  color: var(--slate);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}

.rail-list button[aria-pressed="true"] {
  color: var(--teal);
  font-weight: 500;
}

.rail-note {
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--slate);
  padding-top: 0.9rem;
  border-top: var(--rule);
}

.directory__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--navy);
  margin-bottom: 0.5rem;
}

.dir-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 260px;
  border: var(--rule);
  background: var(--white);
  padding: 0.65rem 0.85rem;
}

.dir-search svg {
  width: 15px;
  height: 15px;
  color: var(--slate);
  flex: none;
}

.dir-search input {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  width: 100%;
}

.dir-search input:focus {
  outline: none;
}

.dir-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.dir-select select {
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.55rem 1.75rem 0.55rem 0.6rem;
  border: var(--rule);
  border-radius: 0;
  background: var(--white);
  color: var(--graphite);
}

.dir-count {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.dir-count strong {
  color: var(--graphite);
  font-weight: 500;
}

.region-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.25rem 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: var(--rule);
}

.region-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
}

.region-heading span {
  font-size: 0.6875rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  column-gap: 1.5rem;
}

.country-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  min-width: 0;
}

.country-row:hover {
  text-decoration: none;
}

.country-row:hover .country-row__name {
  color: var(--teal);
}

.country-row img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex: none;
}

.country-row__name {
  font-size: 0.8125rem;
  font-weight: 450;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-row__meta {
  margin-left: auto;
  font-size: 0.625rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.country-row__tag {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
  margin-left: 0.1rem;
}

.country-row__tag--member { background: var(--border); }
.country-row__tag--observer { background: var(--gold); }
.country-row__tag--jurisdiction { background: var(--blue); }

.dir-empty {
  padding: 3rem 0;
  color: var(--slate);
  font-size: 0.875rem;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.625rem;
  color: var(--slate);
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   Country profile
   ============================================================ */

.profile-head {
  border-bottom: var(--rule);
  background: var(--ivory);
}

.profile-head__inner {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3.25rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--teal);
}

.breadcrumb span {
  opacity: 0.5;
}

.profile-head__main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.profile-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.profile-id img {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border: 1px solid rgba(16, 28, 44, 0.16);
}

.profile-id__class {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.profile-id__class--observer { color: #9a7a3e; }
.profile-id__class--jurisdiction { color: var(--blue); }

.profile-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 2rem + 3vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 20ch;
}

.profile-head__sub {
  margin: 0;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 40rem;
}

.profile-head__aside {
  border-left: 1px solid var(--border);
  padding-left: clamp(1rem, 2vw, 1.75rem);
}

.profile-head__aside dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.profile-head__aside dt {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.1rem;
}

.profile-head__aside dd {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--graphite);
}

.status-note {
  margin-top: 1rem;
  padding: 0.7rem 0.85rem;
  background: rgba(82, 120, 155, 0.07);
  border-left: 2px solid var(--blue);
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--slate);
}

.status-note--observer {
  background: rgba(196, 163, 107, 0.1);
  border-left-color: var(--gold);
}

.profile-body {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.profile-main > section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: var(--rule);
}

.profile-main > section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.profile-main h2 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.profile-main h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.profile-main p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 46rem;
}

.profile-main p:last-child {
  margin-bottom: 0;
}

.profile-main .drop::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.4em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--navy);
}

.pull {
  margin: 1.75rem 0;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 2px solid var(--teal);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--graphite);
  max-width: 34rem;
}

.institution-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--rule);
}

.institution-list li {
  padding: 0.65rem 0;
  border-bottom: var(--rule);
  font-size: 0.8125rem;
  color: var(--graphite);
}

.institution-list li:nth-child(odd) {
  padding-right: 1rem;
}

.payment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}

.payment-tags span {
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--graphite);
}

.audience-panel {
  background: var(--white);
  border: var(--rule);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.audience-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.audience-panel__value {
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.audience-panel__unit {
  font-size: 0.6875rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.audience-bar {
  height: 4px;
  background: #edece6;
  margin: 0.5rem 0 0.75rem;
}

.audience-bar i {
  display: block;
  height: 100%;
  background: var(--teal);
}

.audience-panel p {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--slate);
}

.audience-panel a {
  color: var(--graphite);
}

.profile-sidebar {
  position: sticky;
  top: 6.75rem;
}

.factbox {
  background: var(--white);
  border: var(--rule);
}

.factbox__head {
  padding: 0.85rem 1.1rem;
  border-bottom: var(--rule);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}

.factbox dl {
  margin: 0;
  padding: 0.35rem 1.1rem 1rem;
}

.factbox dt {
  font-size: 0.625rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.75rem;
}

.factbox dd {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--graphite);
}

.factbox__link {
  display: block;
  padding: 0.85rem 1.1rem;
  border-top: var(--rule);
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--graphite);
}

.factbox__link:hover {
  color: var(--teal);
}

.sidebar-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: var(--rule);
}

.sidebar-block h3 {
  margin: 0 0 0.6rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}

.sidebar-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.sidebar-block a {
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--graphite);
}

.sidebar-block a:hover {
  color: var(--teal);
}

.profile-sources {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--white);
  border: var(--rule);
}

.profile-sources h3 {
  margin: 0 0 0.6rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}

.profile-sources ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--slate);
}

.profile-sources li + li {
  margin-top: 0.4rem;
}

.profile-sources a {
  color: var(--graphite);
}

.related-markets {
  background: var(--white);
  border-top: var(--rule);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.related-markets h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 1.5rem;
}

/* profile variants */

.profile-head--t2 .profile-head__inner {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.profile-head--t2 .profile-head__main {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.profile-head--t3 .profile-head__main {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
}

.profile-head--observer {
  background: #f4f1e8;
}

.profile-head--jurisdiction {
  background: #f1f3f5;
}

/* ============================================================
   Article / research pages
   ============================================================ */

.article-head {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: var(--rule);
}

.article-head__inner {
  max-width: 52rem;
}

.article-head h1 {
  margin: 0.5rem 0 1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.9rem + 2.6vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.022em;
}

.article-head .lede {
  max-width: 44rem;
  margin: 0 0 1.75rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 1rem;
  border-top: var(--rule);
}

.byline strong {
  color: var(--graphite);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.article-body {
  max-width: 46rem;
}

.article-body h2 {
  margin: 2.5rem 0 0.9rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.1;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.article-body p {
  margin: 0 0 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.article-body li + li {
  margin-top: 0.35rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid var(--teal);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--graphite);
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figure svg {
  width: 100%;
  border: var(--rule);
  background: var(--white);
}

.article-body figcaption {
  margin-top: 0.6rem;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--slate);
}

.article-side {
  position: sticky;
  top: 6.75rem;
  border-top: 1px solid var(--navy);
  padding-top: 1rem;
}

.article-side h2 {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}

.article-side ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-side li {
  border-bottom: var(--rule);
}

.article-side a {
  display: flex;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  text-decoration: none;
  color: var(--graphite);
}

.article-side a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.article-side a:hover {
  color: var(--teal);
}

.method-note {
  margin-top: 2rem;
  padding: 1.25rem;
  border: var(--rule);
  background: var(--white);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--slate);
}

.method-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--graphite);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* research index */

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.report-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  border: var(--rule);
  background: var(--white);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  text-decoration: none;
  color: inherit;
}

.report-feature .report-cover {
  aspect-ratio: 3 / 4;
}

.report-feature h2 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  line-height: 1.12;
}

.report-feature p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate);
}

.report-feature__meta {
  margin-top: 0.75rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ============================================================
   Simple content pages
   ============================================================ */

.content-page {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.content-body {
  max-width: 46rem;
}

.content-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.1;
}

.content-body h2:first-child {
  margin-top: 0;
}

.content-body p,
.content-body li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

.content-body ul,
.content-body ol {
  padding-left: 1.2rem;
}

.content-body li + li {
  margin-top: 0.4rem;
}

.content-body a {
  color: var(--graphite);
}

.content-aside {
  border-top: 1px solid var(--navy);
  padding-top: 1rem;
}

.content-aside h2 {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate);
}

.content-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-aside li {
  border-bottom: var(--rule);
}

.content-aside a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--graphite);
}

.content-aside a:hover {
  color: var(--teal);
}

.note-box {
  padding: 1.25rem;
  background: var(--white);
  border: var(--rule);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--slate);
}

.note-box strong {
  color: var(--graphite);
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--rule);
  border-bottom: var(--rule);
  margin: 2rem 0;
}

.stat-band div {
  padding: 1.25rem 1rem 1.25rem 0;
  border-right: var(--rule);
}

.stat-band div:last-child {
  border-right: 0;
}

.stat-band strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-band span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.6875rem;
  color: var(--slate);
  line-height: 1.4;
}

/* webinar page */

.programme {
  border-top: 1px solid var(--navy);
}

.programme__item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 220px;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.75rem 0;
  border-bottom: var(--rule);
  align-items: start;
}

.programme__status {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 0.35rem;
}

.programme__status span {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--gold);
}

.programme__item h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
}

.programme__item p {
  margin: 0;
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.6;
}

.programme__meta {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--slate);
}

.programme__meta strong {
  display: block;
  font-weight: 500;
  color: var(--graphite);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* 404 */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.error-page .display {
  max-width: 18ch;
  margin-bottom: 1rem;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1120px) {
  .mainnav { gap: 1rem; }
  .searchbtn span { display: none; }
  .searchbtn kbd { display: none; }
  .searchbtn { padding: 0 0.65rem; }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 2.75rem;
  }
  .hero__copy { max-width: 46rem; }
  .hero__figure { max-width: 640px; }
  .hero__coverage {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1rem;
  }
  .coverage-note {
    grid-column: 1 / -1;
    text-align: left;
    border-top: var(--rule);
    padding-top: 0.75rem;
  }
  .markets { grid-template-columns: 1fr; }
  .markets__lead { position: static; }
  .profile-layout,
  .article-layout,
  .content-layout { grid-template-columns: 1fr; }
  .profile-sidebar,
  .article-side { position: static; }
  .profile-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
  .factbox { grid-row: span 2; }
  .report-shelf { grid-template-columns: repeat(3, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .section-head__aside { align-items: flex-start; }
  .webinar-layout { grid-template-columns: 1fr; }
  .directory__layout { grid-template-columns: 1fr; }
  .directory__rail { position: static; }
  .directory__rail h2 { margin-top: 0; }
  .rail-list { display: flex; flex-wrap: wrap; gap: 0.4rem; border: 0; margin-bottom: 1rem; }
  .rail-list li { border: 0; }
  .rail-list button {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    gap: 0.5rem;
  }
  .rail-list button[aria-pressed="true"] { border-color: var(--navy); color: var(--navy); }
  .rail-note { display: none; }
  .explorer { grid-template-columns: 200px 1fr; }
  .report-feature { grid-template-columns: 1fr; }
  .report-feature .report-cover { max-width: 220px; }
  .profile-head__main { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile-head__aside { border-left: 0; border-top: var(--rule); padding-left: 0; padding-top: 1.25rem; }
  .profile-head__aside dl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .mainnav { display: none; }
  .menu-toggle { display: inline-flex; }
  .masthead__inner { min-height: 4.25rem; }
  .header-tools { margin-left: auto; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split__body { padding: 2rem 1.5rem; }
  .diagram { min-height: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .report-shelf { grid-template-columns: 1fr 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .explorer { grid-template-columns: 1fr; }
  .explorer__rail { border-right: 0; border-bottom: var(--rule); }
  .region-nav { flex-direction: row; flex-wrap: wrap; gap: 0.4rem; }
  .region-nav button { width: auto; border: 1px solid var(--border); background: var(--white); padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .region-nav button[aria-selected="true"] { border-color: var(--navy); color: var(--navy); }
  .region-nav button span { display: none; }
  .profile-sidebar { grid-template-columns: 1fr; }
  .factbox { grid-row: auto; }
  .topbar__note { display: none; }
  .webinar-item { grid-template-columns: 1fr; gap: 0.6rem; }
  .webinar-item__status { padding-top: 0; }
  .programme__item { grid-template-columns: 1fr; gap: 0.75rem; }
  .programme__meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .profile-head__aside dl { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .page-head__grid { grid-template-columns: 1fr; }
  .page-head__aside { border-left: 0; border-top: var(--rule); padding-left: 0; padding-top: 1rem; }
}

@media (max-width: 620px) {
  .hero__coverage { grid-template-columns: 1fr 1fr; }
  .coverage-note { padding-top: 0.75rem; }
  .report-shelf { grid-template-columns: 1fr; gap: 2.25rem; }
  .report-cover { aspect-ratio: 4 / 3; }
  .market-chips { grid-template-columns: 1fr; }
  .institution-list { grid-template-columns: 1fr; }
  .institution-list li:nth-child(odd) { padding-right: 0; }
  .article-body p { font-size: 1rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__base { flex-direction: column; }
  .country-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-band div:nth-child(2) { border-right: 0; }
  .stat-band div:nth-child(-n+2) { border-bottom: var(--rule); }
  .hero__actions .btn { width: 100%; }
  .profile-head h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .profile-id img { width: 34px; height: 23px; }
  .markets__note { flex-direction: column; }
  .section-foot { align-items: flex-start; flex-direction: column; }
  .profile-head__aside dl { grid-template-columns: 1fr 1fr; }
  .topbar__right .hide-sm { display: none; }
  .dir-select { width: 100%; justify-content: space-between; }
  .dir-select select { flex: 1; }
}

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

/* print */

@media print {
  .topbar, .masthead, .footer, .search-dialog, .hero__figure, .related-markets { display: none !important; }
  body { background: #fff; }
  .profile-body, .article-layout, .content-page { padding: 1rem 0; }
  .profile-layout, .article-layout, .content-layout { grid-template-columns: 1fr; }
  a { text-decoration: none; color: inherit; }
}

/* ============================================================
   currency calculator and language selector
   ============================================================ */

[hidden] { display: none !important; }

.fx-link,
.langbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  background: transparent;
  border: 1px solid rgba(16, 28, 44, 0.18);
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.fx-link:hover,
.langbtn:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.fx-link svg,
.langbtn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.topbar__langnote {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 26rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.topbar__langnote::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* language dialog */

.lang-dialog {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  background: rgba(16, 28, 44, 0.58);
  padding: clamp(0.75rem, 4vh, 3rem) 1rem;
}

.lang-dialog.is-open { display: block; }

.lang-panel {
  width: min(920px, 100%);
  max-height: min(86vh, 780px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.lang-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-bottom: var(--rule);
}

.lang-panel__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.lang-panel__close {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--border);
  background: var(--ivory);
  color: var(--slate);
  cursor: pointer;
}

.lang-panel__note {
  margin: 0;
  padding: 0.6rem 1.25rem;
  border-bottom: var(--rule);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--slate);
  background: var(--ivory);
}

.lang-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.25rem;
  background: var(--white);
  border-bottom: var(--rule);
}

.lang-search svg {
  width: 15px;
  height: 15px;
  color: var(--slate);
  flex: none;
}

.lang-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--navy);
  padding: 0.25rem 0;
}

.lang-search input:focus { outline: none; }

.lang-list {
  overflow-y: auto;
  padding: 0.5rem 1.1rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  align-content: start;
}

.lang-group {
  grid-column: 1 / -1;
  margin: 1rem 0 0.35rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.lang-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.05rem 0.75rem;
  padding: 0.5rem 0.55rem;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.lang-item:hover,
.lang-item:focus-visible {
  background: var(--white);
}

.lang-item.is-current {
  background: var(--white);
  border-left-color: var(--teal);
}

.lang-item__native {
  grid-column: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--graphite);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-item__meta {
  grid-column: 1;
  font-size: 0.625rem;
  line-height: 1.4;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lang-item__check {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--teal);
  font-size: 0.8rem;
}

.lang-empty {
  grid-column: 1 / -1;
  padding: 1.5rem 0.5rem;
  color: var(--slate);
  font-size: 0.875rem;
}

/* currency page */

.fx-hero {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: var(--rule);
}

.fx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.fx-hero h1 {
  margin: 0.6rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.fx-hero p {
  max-width: 38rem;
  margin: 0;
  color: var(--slate);
}

.fx-hero__note {
  border-left: 2px solid var(--teal);
  padding-left: 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--slate);
}

.fx-page {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.fx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.fx-card {
  background: var(--white);
  border: var(--rule);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.fx-card__label {
  margin: 0 0 1.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.fx-field {
  display: grid;
  gap: 0.35rem;
}

.fx-field label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.fx-field input,
.fx-field select {
  width: 100%;
  height: 3.1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0 0.8rem;
}

.fx-field input:focus,
.fx-field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: -1px;
}

.fx-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: end;
  margin-top: 1rem;
}

.fx-swap {
  width: 3.1rem;
  height: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.fx-swap:hover {
  background: var(--navy);
  color: var(--white);
}

.fx-result {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: var(--rule);
}

.fx-result__label {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.fx-result__value {
  margin: 0.5rem 0 0.25rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.fx-result__rate {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.fx-result__inverse {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.fx-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: var(--rule);
}

.fx-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--slate);
}

.fx-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex: none;
}

.fx-status[data-state="live"]::before { background: var(--teal); }
.fx-status[data-state="cached"]::before { background: var(--gold); }
.fx-status[data-state="offline"]::before { background: var(--gold); }
.fx-status[data-state="error"]::before { background: #a5514a; }

.fx-refresh {
  border: 1px solid var(--border);
  background: transparent;
  padding: 0.35rem 0.6rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  cursor: pointer;
}

.fx-refresh:hover { border-color: var(--navy); color: var(--navy); }
.fx-refresh[disabled] { opacity: 0.5; cursor: progress; }

.fx-note {
  margin: 1rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--slate);
}

.fx-pairs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: var(--rule);
}

.fx-pair {
  border: 1px solid var(--border);
  background: transparent;
  padding: 0.4rem 0.6rem;
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: var(--graphite);
  cursor: pointer;
}

.fx-pair:hover { border-color: var(--navy); background: var(--ivory); }

.fx-side {
  background: var(--white);
  border: var(--rule);
}

.fx-side__head {
  padding: 1rem 1.1rem 0.9rem;
  border-bottom: var(--rule);
}

.fx-side__head h2 {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.fx-side__head p {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--slate);
}

.fx-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-bottom: var(--rule);
}

.fx-search svg { width: 14px; height: 14px; color: var(--slate); flex: none; }

.fx-search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  padding: 0.2rem 0;
  color: var(--navy);
}

.fx-search input:focus { outline: none; }

.fx-table {
  max-height: 30rem;
  overflow-y: auto;
}

.fx-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
  padding: 0.45rem 1.1rem;
  border: 0;
  border-bottom: 1px solid rgba(230, 232, 235, 0.6);
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.fx-row:hover { background: var(--ivory); }

.fx-row.is-selected {
  background: var(--ivory);
  box-shadow: inset 2px 0 0 var(--teal);
}

.fx-row__code {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--graphite);
}

.fx-row__name {
  font-size: 0.75rem;
  color: var(--slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-row__rate {
  font-size: 0.75rem;
  color: var(--graphite);
  font-variant-numeric: tabular-nums;
}

.fx-row[disabled] { opacity: 0.45; cursor: not-allowed; }

.fx-table__empty {
  margin: 0;
  padding: 1.5rem 1.1rem;
  font-size: 0.8125rem;
  color: var(--slate);
}

.fx-side__foot {
  padding: 0.8rem 1.1rem;
  border-top: var(--rule);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--slate);
}

/* country sidebar widget */

.fx-mini {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--white);
  border: var(--rule);
}

.fx-mini__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.1rem;
}

.fx-mini__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.fx-mini__head span {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.fx-mini__note {
  margin: 0 0 0.8rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--slate);
}

.fx-mini__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem;
  gap: 0.5rem;
}

.fx-mini input,
.fx-mini select {
  width: 100%;
  height: 2.4rem;
  border: 1px solid var(--border);
  background: var(--ivory);
  font: inherit;
  font-size: 0.8125rem;
  color: var(--navy);
  padding: 0 0.5rem;
}

.fx-mini input:focus,
.fx-mini select:focus { outline: 2px solid var(--teal); outline-offset: -1px; }

.fx-mini__result {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.fx-mini__rate {
  margin: 0.1rem 0 0.7rem;
  font-size: 0.6875rem;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.fx-mini__link {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.fx-mini__link:hover { text-decoration: underline; }

.fx-mini__status {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.625rem;
  line-height: 1.5;
  color: var(--slate);
}

/* rtl adjustments */

[dir="rtl"] .search-result span { margin-left: 0; margin-right: auto; }
[dir="rtl"] .fx-row.is-selected { box-shadow: inset -2px 0 0 var(--teal); }
[dir="rtl"] .lang-item.is-current { border-left-color: transparent; border-right: 2px solid var(--teal); }
[dir="rtl"] .link-arrow::after { transform: scaleX(-1); }
[dir="rtl"] .profile-head__aside { border-left: 0; border-right: var(--rule); padding-left: 0; padding-right: 1.5rem; }

@media (max-width: 1120px) {
  .fx-link span { display: none; }
  .fx-link { padding: 0 0.6rem; }
}

@media (max-width: 1024px) {
  .fx-layout { grid-template-columns: 1fr; }
  .fx-table { max-height: 26rem; }
  .fx-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .fx-hero__note { max-width: 34rem; }
}

@media (max-width: 860px) {
  .fx-link { display: none; }
  .lang-list { grid-template-columns: 1fr; }
  .profile-head__aside { border-right: 0; padding-right: 0; }
}

@media (max-width: 620px) {
  .fx-fields { grid-template-columns: 1fr; }
  .fx-swap { width: 100%; height: 2.6rem; }
  .fx-result__value { font-size: 2.1rem; }
  .fx-mini__row { grid-template-columns: minmax(0, 1fr) 5rem; }
  .lang-panel__head h2 { font-size: 1.35rem; }
  .lang-panel__note { font-size: 0.625rem; padding-inline: 1rem; }
  .topbar__langnote { display: none; }
  .fx-row { grid-template-columns: 3.4rem minmax(0, 1fr) auto; padding-inline: 0.8rem; }
}

/* language index and footer trigger */

.footer__lang {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.footer__lang:hover { color: var(--white); }

.language-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
  background: var(--white);
}

.language-card {
  display: block;
  min-height: 5.25rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.language-card:hover,
.language-card:focus-visible { background: var(--ivory); }

.language-card span {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
}

.language-card em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--slate);
}

.language-index--dense .language-card { min-height: 4.5rem; }
.language-index--dense .language-card span { font-size: 1.15rem; }

.fx-card form { margin: 0; }

@media (max-width: 1024px) {
  .language-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .language-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .language-card span { font-size: 1.25rem; }
}

/* ------------------------------------------------------------------ */
/* read more + keyword hubs                                            */
/* ------------------------------------------------------------------ */

.read-more {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--white);
  border-top: var(--rule);
}

.read-more__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: var(--rule);
}

.read-more__head .kicker { margin-bottom: 0.5rem; }
.read-more__head .h2 { margin: 0; }

.read-more__intro {
  max-width: 46rem;
  margin: 0.75rem 0 0;
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.read-more__home {
  flex: 0 0 auto;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.read-more__home:hover,
.read-more__home:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.read-more__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.read-more__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.5rem;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.read-more__card:hover,
.read-more__card:focus-visible { background: var(--ivory); }

.read-more__eyebrow {
  color: var(--teal);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.read-more__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
}

.read-more__text {
  flex: 1 1 auto;
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.read-more__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: var(--rule);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.read-more__cta i { font-style: normal; color: var(--teal); }

.hub-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.hub-intro__body p {
  margin: 0 0 1.1rem;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.75;
}

.hub-intro__body p:first-child {
  color: var(--navy);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hub-intro__aside {
  padding-inline-start: 1.5rem;
  border-inline-start: 2px solid var(--teal);
}

.hub-intro__aside h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.hub-intro__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-intro__aside li {
  padding: 0.65rem 0;
  border-bottom: var(--rule);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--slate);
}

.hub-intro__aside li a {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.hub-intro__aside li a:hover { color: var(--teal); }
.hub-intro__aside li span { display: block; font-size: 0.6875rem; color: var(--slate); }

.hub-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--rule);
  border-left: var(--rule);
}

.hub-market {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem;
  border-right: var(--rule);
  border-bottom: var(--rule);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.hub-market:hover,
.hub-market:focus-visible { background: var(--ivory); }

.hub-market img { margin-bottom: 0.4rem; }
.hub-market strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; line-height: 1.2; }
.hub-market span { font-size: 0.75rem; color: var(--graphite); }
.hub-market em { font-style: normal; font-size: 0.6875rem; line-height: 1.45; color: var(--slate); }

.hub-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.hub-topic {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s var(--ease);
}

.hub-topic:hover,
.hub-topic:focus-visible { background: var(--ivory); }

.hub-topic strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.hub-topic > span:last-child {
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--teal);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-topic--card { min-height: 15rem; }
.hub-topic__eyebrow { color: var(--teal); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hub-topic__text { color: var(--slate); font-size: 0.8125rem; line-height: 1.6; }
.hub-topic__cta { margin-top: auto; padding-top: 0.75rem; border-top: var(--rule); color: var(--navy); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hub-topic-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .read-more__grid,
  .hub-topic-grid,
  .hub-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .read-more__head { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .hub-intro { grid-template-columns: 1fr; }
  .read-more__grid,
  .hub-topic-grid,
  .hub-topic-grid--wide,
  .hub-market-grid { grid-template-columns: 1fr; }
  .hub-intro__aside { padding-inline-start: 1.1rem; }
}
