/* Markets: tabs and a live dot map of Southeast Asia */
.markets__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.markets__copy { display: flex; flex-direction: column; gap: 18px; }
.markets__copy .lede { margin-top: 4px; }
.mtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mtabs button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--soft); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.mtabs button:hover { color: var(--text); }
.mtabs button[aria-selected="true"] { background: var(--text); color: #111; border-color: var(--text); }
.mpanels { min-height: 300px; }
.mpanel { display: grid; grid-template-columns: 150px 1fr; gap: 6px 18px; align-items: start; animation: fadein 0.5s var(--ease-out) both; }
.mpanel[hidden] { display: none; }
.mpanel img { grid-row: span 2; width: 150px; height: 108px; object-fit: cover; border-radius: 4px; filter: saturate(0.8); }
.mpanel p { font-size: 15px; line-height: 1.5; color: var(--prose); }
.mpanel:not(:has(img)) { grid-template-columns: 1fr; }
.mfacts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--soft); }
.mfacts b { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--text); margin-right: 4px; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.markets__map { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 62% 30%, #141a33 0%, #0c0d14 55%, #0a0909 100%); border: 1px solid var(--line); }
.markets__map canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: default; }
.markets__legend { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 16px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); }
.markets__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.lg-hub { background: var(--blue-300); box-shadow: 0 0 0 3px rgba(160, 182, 255, 0.2); }
.lg-mkt { background: var(--text); }
@media (max-width: 900px) { .markets__grid { grid-template-columns: 1fr; } .mpanels { min-height: 0; } }
@media (max-width: 480px) { .mpanel { grid-template-columns: 1fr; } .mpanel img { grid-row: auto; width: 100%; height: 160px; } }
