:root {
  --ink: #182521;
  --muted: #68756f;
  --soft-muted: #8b9691;
  --page: #f5f7f4;
  --paper: #ffffff;
  --line: #e3e8e4;
  --blue: #4169e1;
  --blue-soft: #e9efff;
  --mint: #2d9c75;
  --mint-soft: #dff5eb;
  --coral: #de6c62;
  --coral-soft: #fde9e5;
  --yellow: #efc95d;
  --yellow-soft: #fff4cf;
  --lavender: #eeeaff;
  --shadow: 0 18px 55px rgba(35, 49, 44, 0.07);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size:17.28px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.55rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

.hero-copy,
.brief-card,
.panel,
.section-heading > *,
.methodology > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(227, 232, 228, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1360px, calc(100% - 2.5rem));
  min-height: 72px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 0.72rem;
  background: var(--ink);
  color: #fff;
}

.brand-mark svg {
  width: 1.35rem;
  fill: currentColor;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size:1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size:0.8125rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.1;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8faf8;
}

.main-nav a {
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  color: var(--muted);
  font-size:0.858rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(35, 49, 44, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--muted);
  font-size:0.8125rem;
  font-weight: 700;
}

.live-status i {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
}

.language {
  padding: 0.48rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--muted);
  font-size:0.814rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.4rem 0 4.7rem;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 246, 0.84)),
    var(--page);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.62;
}

.hero-orb-one {
  top: -10rem;
  right: 3%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle at 35% 35%, #ddf5eb, rgba(221, 245, 235, 0));
}

.hero-orb-two {
  bottom: -16rem;
  left: 15%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle at 50% 50%, #e7ecff, rgba(231, 236, 255, 0));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size:0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.date-chip,
.signal-badge,
.fresh-pill,
.count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 0.66rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size:0.8125rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 13ch;
  margin: 1.25rem 0 1.25rem;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-lead {
  max-width: 44rem;
  margin: 0;
  color:#53615c;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size:0.858rem;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -0.85rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b4bdb8;
  content: "";
}

.hero-meta b {
  color: var(--ink);
}

.brief-card {
  padding: 1.65rem;
  border: 1px solid rgba(225, 231, 226, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brief-card-head,
.panel-head,
.metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.brief-card h2 {
  margin: 0.35rem 0 0;
  font-size:1.65rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.signal-badge {
  border-color: transparent;
  background: var(--mint-soft);
  color:#24795c;
}

.signal-gauge {
  position: relative;
  height: 0.72rem;
  margin-top: 1.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3b2aa, #f3de9a 51%, #8fd8bc);
}

.gauge-marker {
  position: absolute;
  top: 50%;
  left: 69%;
  width: 1.15rem;
  height: 1.15rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 3px 10px rgba(24, 37, 33, 0.25);
  transform: translate(-50%, -50%);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  color: var(--soft-muted);
  font-size:0.8125rem;
  font-weight: 700;
}

.brief-card > p {
  margin: 1.35rem 0 1.15rem;
  color: var(--muted);
  font-size:0.99rem;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-size:0.902rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(0.2rem);
}

.overview,
.content-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.methodology h2 {
  max-width: 22ch;
  margin: 0.48rem 0 0;
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-heading > p {
  max-width: 32rem;
  margin: 0;
  color: var(--muted);
  font-size:0.99rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card,
.panel {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 8px 30px rgba(35, 49, 44, 0.04);
}

.metric-card {
  position: relative;
  min-height: 14.5rem;
  padding: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.metric-top > span:first-child {
  color: var(--muted);
  font-size:0.825rem;
  font-weight: 700;
}

.metric-top .period {
  padding: 0.22rem 0.45rem;
  border-radius: 999px;
  background: #f0f3f1;
  color: var(--muted);
  font-size:0.8125rem;
  font-weight: 800;
}

.metric-card > strong {
  display: block;
  margin-top: 1rem;
  font-size:2.45rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

.metric-card.positive > strong {
  color: var(--mint);
}

.metric-card.negative > strong {
  color: var(--coral);
}

.metric-card > p {
  position: relative;
  z-index: 2;
  margin: 0.72rem 0 0;
  color: var(--muted);
  font-size:0.825rem;
}

.spark-bars {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  left: 1.2rem;
  display: flex;
  align-items: end;
  gap: 0.32rem;
  height: 3rem;
  opacity: 0.75;
}

.spark-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 0.3rem 0.3rem 0 0;
  background: var(--mint-soft);
}

.spark-bars i:nth-last-child(-n + 2) {
  background: #79cbae;
}

.spark-line {
  position: absolute;
  right: 1.2rem;
  bottom: 0.8rem;
  left: 1.2rem;
  height: 3.4rem;
}

.spark-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spark-line path:not(.area) {
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.spark-line .area {
  fill: var(--coral-soft);
  stroke: none;
}

.breadth-meter,
.event-split {
  position: absolute;
  right: 1.25rem;
  bottom: 1.45rem;
  left: 1.25rem;
  height: 0.68rem;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0ee;
}

.breadth-meter span {
  display: block;
  width: 32.6%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.event-split {
  display: flex;
  gap: 2px;
  background: transparent;
}

.event-split .up {
  flex: 30;
  background: #75c9aa;
}

.event-split .down {
  flex: 20;
  background: #eea39a;
}

.event-split .turn {
  flex: 1;
  background: var(--yellow);
}

.dashboard-grid {
  display: grid;
  gap: 1rem;
}

.themes-grid,
.flow-grid,
.moves-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(19rem, 0.72fr);
}

.panel {
  border-radius: var(--radius-lg);
}

.chart-panel,
.flow-panel,
.movers-panel,
.map-panel {
  padding: 1.5rem;
}

.panel-head {
  align-items: center;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  margin: 0;
  font-size:1.21rem;
  letter-spacing: -0.025em;
}

.panel-head p {
  margin: 0.25rem 0 0;
  color: var(--soft-muted);
  font-size:0.8125rem;
}

.legend {
  display: flex;
  gap: 0.85rem;
  color: var(--muted);
  font-size:0.8125rem;
  font-weight: 700;
}

.legend span::before {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.32rem;
  border-radius: 50%;
  content: "";
}

.legend-up::before {
  background: var(--mint);
}

.legend-down::before {
  background: var(--coral);
}

.diverging-chart {
  padding-top: 1rem;
}

.axis-labels {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 3fr 3.5rem;
  margin-bottom: 0.7rem;
  color: var(--soft-muted);
  font-size:0.8125rem;
}

.axis-scale,
.flow-scale {
  display: flex;
  grid-column: 2;
  justify-content: space-between;
}

.theme-row {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 3fr 3.5rem;
  align-items: center;
  gap: 1rem;
  min-height: 3.15rem;
}

.theme-name b,
.theme-name small {
  display: block;
}

.theme-name b {
  overflow: hidden;
  font-size:0.836rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-name small {
  margin-top: 0.12rem;
  color: var(--soft-muted);
  font-size:0.8125rem;
}

.theme-track {
  position: relative;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8e4e1 0 49.5%, #e7ebe8 49.5% 50.5%, #e2f2ec 50.5% 100%);
}

.theme-track span {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 999px;
}

.positive-row .theme-track span {
  left: 50%;
  width: calc(var(--size) / 2);
  background: linear-gradient(90deg, #79cbae, var(--mint));
}

.negative-row .theme-track span {
  right: 50%;
  width: calc(var(--size) / 2);
  background: linear-gradient(90deg, var(--coral), #efa298);
}

.theme-row > strong {
  font-size:0.858rem;
  text-align: right;
}

.positive-row > strong {
  color:#24795c;
}

.negative-row > strong {
  color:#b15048;
}

.chart-divider {
  height: 1px;
  margin: 0.45rem 0;
  background: var(--line);
}

.editorial-panel {
  position: relative;
  padding: 2rem;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: #fff;
}

.editorial-number {
  position: absolute;
  top: -1.8rem;
  right: 0.6rem;
  color: rgba(255, 255, 255, 0.055);
  font-size:9rem;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.editorial-panel .section-kicker {
  color:#477464;
}

.editorial-panel h3 {
  position: relative;
  max-width: 12ch;
  margin: 1rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.editorial-panel > p {
  color:#676e6b;
  font-size:0.924rem;
}

.editorial-panel > p strong {
  color: #fff;
}

.rotation-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.rotation-card div > span,
.rotation-card b,
.rotation-card strong {
  display: block;
}

.rotation-card div > span {
  color:#65706b;
  font-size:0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.rotation-card b {
  margin-top: 0.25rem;
  font-size:0.8125rem;
  line-height: 1.35;
}

.rotation-card strong {
  margin-top: 0.42rem;
  font-size:1.155rem;
}

.rotation-card div:first-child strong {
  color:#8e605c;
}

.rotation-card div:last-child strong {
  color:#457663;
}

.rotation-arrow {
  color: var(--yellow);
}

.fine-print {
  color: var(--soft-muted) !important;
  font-size:0.8125rem !important;
  line-height: 1.55;
}

.soft-band {
  padding: 5.5rem 0;
  border-top: 1px solid #e5e0f3;
  border-bottom: 1px solid #e5e0f3;
  background: #f2f0f8;
}

.flow-panel {
  border-color: #e1ddeb;
}

.fresh-pill {
  border: 0;
  background: var(--mint-soft);
  color:#24795c;
}

.flow-chart {
  padding-top: 1rem;
}

.flow-axis {
  display: grid;
  grid-template-columns: minmax(10rem, 0.85fr) minmax(14rem, 2fr) 3.4rem;
  color: var(--soft-muted);
  font-size:0.8125rem;
}

.flow-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.85fr) minmax(14rem, 2fr) 3.4rem;
  align-items: center;
  gap: 1rem;
  min-height: 3.65rem;
}

.flow-row > div:first-child b,
.flow-row > div:first-child small {
  display: block;
}

.flow-row > div:first-child b {
  font-size:0.836rem;
}

.flow-row > div:first-child small {
  color: var(--soft-muted);
  font-size:0.8125rem;
}

.flow-track {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, #efaea5, #d8dedb 49.5% 50.5%, #84ceb3);
}

.flow-track::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1.1rem;
  background: #aab4af;
  content: "";
  transform: translate(-50%, -50%);
}

.flow-dot {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--position);
  width: 0.9rem;
  height: 0.9rem;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(24, 37, 33, 0.18);
  transform: translate(-50%, -50%);
}

.positive-dot {
  background: var(--mint);
}

.negative-dot {
  background: var(--coral);
}

.flow-row > strong {
  font-size:0.858rem;
  text-align: right;
}

.insight-stack {
  display: grid;
  gap: 1rem;
}

.mini-insight,
.source-note {
  border-radius: var(--radius-md);
}

.mini-insight {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
  padding: 1.35rem;
}

.mini-insight.lavender {
  background: #e8e4fb;
}

.mini-insight.peach {
  background: #f9e5dd;
}

.mini-icon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size:1.1rem;
}

.mini-insight small {
  color: var(--muted);
  font-size:0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-insight h3 {
  margin: 0.28rem 0 0.35rem;
  font-size:1.012rem;
}

.mini-insight p {
  margin: 0;
  color: var(--muted);
  font-size:0.8125rem;
}

.mini-insight p b {
  color: var(--ink);
}

.source-note {
  padding: 1rem 1.2rem;
  border: 1px solid #ded9ea;
  background: rgba(255, 255, 255, 0.48);
}

.source-note b {
  font-size:0.8125rem;
}

.source-note p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size:0.8125rem;
}

.count-pill {
  background: #f3f5f3;
}

.movers-table {
  width: 100%;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(12rem, 2fr) 0.85fr 0.72fr 0.72fr;
  align-items: center;
  min-height: 4.25rem;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  min-height: 2.7rem;
  color: var(--soft-muted);
  font-size:0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table-row > *:nth-child(n + 3) {
  text-align: right;
}

.symbol-cell b,
.symbol-cell small {
  display: block;
}

.symbol-cell b {
  font-size:0.902rem;
}

.symbol-cell small {
  margin-top: 0.15rem;
  color: var(--soft-muted);
  font-size:0.8125rem;
}

.driver {
  display: inline-flex;
  min-width: 3.7rem;
  justify-content: center;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  font-size:0.8125rem;
  font-style: normal;
  font-weight: 800;
}

.driver.theme {
  background: var(--blue-soft);
  color:#3456b6;
}

.driver.single {
  background: var(--yellow-soft);
  color:#856817;
}

.driver.etf {
  background: var(--mint-soft);
  color:#24795c;
}

.up-value,
.down-value,
.volume-cell {
  font-size:0.836rem;
}

.up-value {
  color: var(--mint);
}

.down-value {
  color: var(--coral);
}

.volume-cell {
  color: var(--muted);
}

.volume-cell.hot {
  color: var(--blue);
  font-weight: 800;
}

.map-panel {
  display: flex;
  min-height: 31rem;
  flex-direction: column;
}

.country-cloud {
  position: relative;
  flex: 1;
  min-height: 22rem;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(145deg, #eef4ff, #eef8f3);
}

.country-cloud::before,
.country-cloud::after {
  position: absolute;
  border: 1px dashed rgba(75, 96, 88, 0.12);
  border-radius: 50%;
  content: "";
}

.country-cloud::before {
  inset: 12% 6%;
}

.country-cloud::after {
  inset: 28% 22%;
}

.country-bubble {
  position: absolute;
  z-index: 2;
  top: var(--y);
  left: var(--x);
  display: grid;
  width: var(--s);
  height: var(--s);
  place-content: center;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(35, 49, 44, 0.09);
  text-align: center;
  transform: translate(-50%, -50%);
}

.country-bubble b,
.country-bubble small {
  display: block;
}

.country-bubble b {
  font-size:0.8125rem;
}

.country-bubble small {
  margin-top: 0.1rem;
  font-size:0.8125rem;
  font-weight: 800;
}

.country-bubble.strong {
  background: #72ceb0;
}

.country-bubble.warm {
  background: #b9e7d4;
}

.country-bubble.cool {
  background: #f3c7c0;
}

.country-bubble.cold {
  background: #d9dff5;
}

.methodology {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  border-top: 1px solid var(--line);
}

.method-copy > p {
  margin: 0;
  color: var(--muted);
  font-size:0.99rem;
  line-height: 1.75;
}

details {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 1rem 0;
  cursor: pointer;
  font-size:0.858rem;
  font-weight: 800;
}

details > div {
  padding: 0 0 0.9rem;
}

details > div p {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size:0.8125rem;
}

footer {
  border-top: 1px solid #293630;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 7rem;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--ink);
}

.footer-brand small,
.footer-inner > p {
  color:#646e69;
}

.footer-inner > p {
  font-size:0.8125rem;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-grid,
  .themes-grid,
  .flow-grid,
  .moves-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 50rem;
  }

  .brief-card {
    max-width: 42rem;
  }

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

  .map-panel {
    min-height: 28rem;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: calc(100% - 1.4rem);
    max-width: 40rem;
  }

  .header-inner {
    width: calc(100% - 1.4rem);
    min-height: 64px;
  }

  .live-status {
    display: none;
  }

  .hero {
    padding: 4.4rem 0 3.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 11vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }

  .hero-meta span {
    padding: 0.7rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
  }

  .hero-meta span + span::before {
    display: none;
  }

  .hero-meta b {
    display: block;
    font-size:1.1rem;
  }

  .overview,
  .content-section,
  .soft-band {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section-heading,
  .methodology {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 12.5rem;
  }

  .legend {
    display: none;
  }

  .chart-panel,
  .flow-panel,
  .movers-panel,
  .map-panel {
    padding: 1rem;
  }

  .axis-labels,
  .theme-row {
    grid-template-columns: minmax(8.5rem, 1fr) minmax(8rem, 1.4fr) 3rem;
    gap: 0.55rem;
  }

  .flow-axis,
  .flow-row {
    grid-template-columns: minmax(7.5rem, 0.85fr) minmax(7.5rem, 1.4fr) 3rem;
    gap: 0.55rem;
  }

  .theme-name b,
  .flow-row > div:first-child b {
    font-size:0.8125rem;
  }

  .theme-name small,
  .flow-row > div:first-child small {
    font-size:0.8125rem;
  }

  .editorial-panel {
    padding: 1.5rem;
  }

  .table-row {
    grid-template-columns: minmax(9.5rem, 1.8fr) 0.7fr 0.65fr;
    gap: 0.45rem;
  }

  .table-row > *:last-child {
    display: none;
  }

  .table-row > *:nth-child(n + 3) {
    text-align: right;
  }

  .map-panel {
    min-height: 26rem;
  }

  .methodology {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
