:root {
  --ink: #17110d;
  --brown: #351909;
  --gold: #aa812b;
  --gold-soft: #c8a557;
  --paper: #f7f2e7;
  --paper-2: #eee4d0;
  --muted: #796f63;
  --line: rgba(53, 25, 9, 0.16);
  --white: #fffaf1;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(53, 25, 9, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(53, 25, 9, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 242, 231, 0.92);
  box-shadow: 0 10px 30px rgba(32, 20, 10, 0.08);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  width: 170px;
  height: 38px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.lang-toggle,
.menu-toggle,
.button,
.contact-card a {
  text-decoration: none;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.header-cta,
.button,
.lang-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.lang-toggle,
.menu-toggle {
  appearance: none;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.lang-toggle {
  min-width: 54px;
}

.header-cta {
  appearance: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid currentColor;
  border-radius: 2px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  padding: 130px clamp(20px, 5vw, 72px) 54px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 11, 6, 0.88), rgba(18, 11, 6, 0.52) 52%, rgba(18, 11, 6, 0.18)),
    linear-gradient(0deg, rgba(18, 11, 6, 0.75), transparent 42%),
    url("assets/shanghai-skyline.jpeg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -250px;
  z-index: -1;
  width: 56vw;
  max-width: 820px;
  min-width: 420px;
  aspect-ratio: 1873 / 1223;
  content: "";
  background: url("assets/wequant-mark.png") center / contain no-repeat;
  opacity: 0.12;
}

.hero-inner {
  max-width: 880px;
}

.eyebrow,
.section-kicker,
.alpha-label {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-family: "Times New Roman", serif;
  font-size: clamp(54px, 9vw, 116px);
  font-weight: 500;
  line-height: 0.92;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 32px;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
  color: var(--brown);
}

.button-secondary {
  background: rgba(255, 250, 241, 0.08);
  color: var(--white);
}

.hero-panel {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-left: 1px solid rgba(255, 250, 241, 0.28);
  background: rgba(28, 15, 8, 0.34);
  backdrop-filter: blur(10px);
}

.metric {
  white-space: nowrap;
  display: block;
  color: var(--gold-soft);
  font-family: "Times New Roman", serif;
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1;
  overflow: visible;
  width: fit-content;
  max-width: 100%;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 241, 0.74);
  font-size: 14px;
  line-height: 1.45;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
  padding: clamp(58px, 6.5vw, 80px) clamp(30px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.edge-section,
.track-section,
.market-section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.contact-section {
  padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 72px);
}

.intro h2,
.section-heading h2,
.market-copy h2,
.contact-section h2 {
  font-family: "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
}

.intro p,
.market-copy p,
.intro-disclaimer p,
.edge-item p,
.proof-points p,
.strategy-row span,
.alpha-card p,
.market-drivers p,
.site-footer p,
.contact-card span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.intro-main h2 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
}

.intro-main p {
  max-width: 620px;
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.intro-disclaimer {
  min-height: 100%;
  padding: 0 0 0 clamp(30px, 4vw, 48px);
  border-left: 3px solid var(--gold);
  background: transparent;
}

.intro-disclaimer .section-kicker {
  margin-bottom: 18px;
}

.intro-disclaimer h3 {
  max-width: 620px;
  margin-bottom: 24px;
  font-family: "Times New Roman", serif;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.04;
}

.intro-disclaimer p {
  max-width: 620px;
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.65;
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(32px, 5vw, 62px);
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.edge-item {
  min-height: 300px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.36);
}

.edge-index,
.market-drivers span {
  color: var(--gold);
  font-family: "Times New Roman", serif;
  font-size: clamp(34px, 3vw, 40px);
  line-height: 1;
}

.edge-item h3,
.proof-points h3,
.market-drivers h3 {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.18;
  white-space: normal;
  overflow-wrap: break-word;
}

.edge-item p {
  margin: 0;
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.58;
}

.track-section {
  background: var(--brown);
  color: var(--white);
}

.track-section .section-heading h2 {
  color: var(--white);
}

.strategy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
  grid-template-rows: auto auto;
  grid-template-areas:
    "table alpha"
    "proof alpha";
}

.strategy-table {
  grid-area: table;
  border-top: 1px solid rgba(255, 250, 241, 0.22);
}

.strategy-row {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 32px;
  padding: 24px 0;
}

.strategy-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 250, 241, 0.22);
}

.strategy-head span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strategy-row span:first-child {
  color: var(--white);
  font-weight: 800;
}

.track-section .strategy-row span,
.track-section .proof-points p,
.track-section .alpha-card p {
  color: rgba(255, 250, 241, 0.72);
}

.alpha-card {
  grid-area: alpha;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 34px;
  border: 1px solid rgba(200, 165, 87, 0.52);
  background: linear-gradient(180deg, rgba(200, 165, 87, 0.12), rgba(200, 165, 87, 0.04));
  height: 100%;
}

.alpha-card strong {
  white-space: nowrap;
  display: block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-family: "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 500;
  line-height: 1;
}

.proof-points {
  grid-area: proof;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 250, 241, 0.22);
}

.proof-points > div {
  padding-top: 0;
  border-top: none;
}

.market-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  background: var(--paper-2);
}

.market-drivers {
  display: grid;
  gap: 18px;
}

.market-drivers article {
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.market-drivers span {
  grid-row: span 2;
}

.market-drivers h3 {
  margin-top: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(400px, 1.1fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: stretch;
}

.contact-heading {
  max-width: 520px;
  padding-top: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-heading .section-kicker {
  margin-bottom: 12px;
}

.contact-heading h2 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: "Times New Roman", serif;
  font-size: clamp(42px, 4.5vw, 72px);
  font-weight: 500;
  line-height: 0.96;
}

.contact-heading h2 span:first-child {
  color: var(--muted);
}

.contact-heading h2 span:last-child {
  color: var(--ink);
}

.contact-heading p {
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-actions p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  border: none;
  padding: 0;
}

.contact-card {
  margin: 0;
  font-style: normal;
}

.contact-card-business {
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
  border: 1px solid #2a2a2a;
  background: #ffffff;
  box-shadow: none;
  margin-top: 32px;
}

.contact-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 180px;
  gap: 32px;
  align-items: stretch;
  padding-top: 0;
}

.contact-card-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-left > strong {
  color: #4a4a4a;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.contact-card-left > span {
  color: #5d5d5d;
  font-size: 15px;
  line-height: 1.5;
}

.contact-card-company {
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.contact-card-divider {
  width: 100%;
  height: 2px;
  margin: 14px 0;
  background: linear-gradient(90deg, #2a2a2a 0 55%, #e76418 55% 100%);
}

.contact-card-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card-lines div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-card-label {
  color: #6e6e6e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card-lines span:not(.contact-card-label) {
  color: #3d3d3d;
  font-size: 14px;
  line-height: 1.5;
}

.contact-card-lines a {
  color: #3d3d3d;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  text-decoration: none;
}

.contact-card-address {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e0e0e0;
}

.contact-card-address-accent {
  width: 8px;
  height: 56px;
  background: #e76418;
  flex-shrink: 0;
}

.contact-card-address p {
  margin: 0;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.65;
}

.contact-card-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 4px;
  height: 100%;
}

.contact-card-w {
  font-family: "Times New Roman", serif;
  font-size: 92px;
  line-height: 0.85;
  color: #5d5d5d;
  font-weight: 500;
}

.contact-card-brand {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: #5d5d5d;
  letter-spacing: 0.12em;
}

.contact-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.qr-code {
  width: 110px;
  height: 110px;
  background: transparent;
}

.contact-card-footer {
  display: none;
}

.contact-form-open {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: none;
  border-radius: 0;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  gap: 2px;
}

.contact-form-open span:first-child {
  font-size: 12px;
}

.contact-form-open span:last-child {
  font-size: 10px;
  opacity: 0.8;
}

.contact-form-open:hover {
  background: #1a1a1a;
}

.contact-form-open::after {
  content: "";
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: 34px clamp(30px, 5vw, 72px);
  border-top: 1px solid rgba(255, 250, 241, 0.1);
  background: #110b07;
  color: var(--white);
}

.site-footer strong {
  color: rgba(255, 250, 241, 0.86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 1180px;
  margin: 0;
  color: rgba(255, 250, 241, 0.62);
  font-size: 12px;
  line-height: 1.55;
}

.site-footer .copyright {
  color: rgba(255, 250, 241, 0.72);
  white-space: nowrap;
}

.contact-dialog {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-dialog[hidden] {
  display: none;
}

.contact-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 11, 7, 0.66);
  backdrop-filter: blur(8px);
}

.contact-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(53, 25, 9, 0.22);
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.99), rgba(247, 242, 231, 0.98));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.contact-dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--brown);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.contact-dialog-copy {
  max-width: 760px;
  margin-bottom: 24px;
}

.contact-dialog-copy h3 {
  margin: 0 0 12px;
  font-family: "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.05;
}

.contact-dialog-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(53, 25, 9, 0.26);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.phone-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.phone-input-group select {
  flex: 0 0 140px;
  max-width: 140px;
  padding: 10px 8px 10px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
}

.phone-input-group select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.phone-input-group input {
  flex: 1;
  min-width: 80px;
}

.contact-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 6px;
}

.contact-form-actions .primary,
.contact-form-actions .secondary {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form-actions .primary {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

.contact-form-actions .secondary {
  color: var(--brown);
}

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

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(247, 242, 231, 0.97);
    color: var(--ink);
    box-shadow: 0 18px 50px rgba(32, 20, 10, 0.14);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 14px;
  }

  .mobile-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .hero,
  .intro,
  .strategy-layout,
  .market-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-main p {
    max-width: 720px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card-business {
    min-height: 180px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form-open {
    width: 100%;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    width: 128px;
  }

  .header-cta {
    display: none;
  }

  .lang-toggle,
  .menu-toggle {
    min-height: 38px;
    height: 38px;
    padding: 0 12px;
  }

  .hero {
    padding: 108px 18px 34px;
  }

  .hero-actions,
  .proof-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  .edge-item {
    min-height: 260px;
  }

  .strategy-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .market-drivers article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-actions {
    padding-top: 16px;
  }

  .contact-dialog {
    padding: 12px;
  }

  .contact-dialog-panel {
    padding: 22px;
  }

  .contact-form-actions {
    flex-direction: column-reverse;
  }

  .contact-form-actions .primary,
  .contact-form-actions .secondary {
    width: 100%;
  }
}

/* === Geo-based metric display === */
.metric-wrapper { display: contents; }
.metric-cn, .alpha-value-cn { width: 100%; }
.metric-cn[hidden], .alpha-value-cn[hidden] { display: none !important; }
.metric-bar-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 4px 0;
}
.metric-bar-sm { height: 48px; }
.bar-item {
  justify-content: flex-end;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1;
}
.bar-fill {
  display: block; width: 28px; border-radius: 4px 4px 0 0;
  transition: height 0.6s ease;
}
.bar-wequant .bar-fill { background: linear-gradient(180deg, #f5a623, #e8850c); height: 56px; }
.bar-avg .bar-fill { background: #888; height: 19px; }
.bar-benchmark .bar-fill { background: #bbb; height: 11px; }
.bar-label { font-size: 10px; color: #aaa; white-space: nowrap; }
.metric-plus { position: relative; top: -0.06em; font-size: 1.15em; }
.ranking-link {
  display: inline-block; font-size: 12px; color: #f5a623; text-decoration: none;
  border-bottom: 1px dashed #f5a623; margin-top: 4px; transition: opacity 0.2s;
}
.ranking-link:hover { opacity: 0.7; }

/* Force single-line display for dynamic numbers */
.metric.metric-overseas,
.alpha-card strong {
  white-space: nowrap !important;
  overflow: hidden !important;
  font-variant-numeric: lining-nums !important;
  font-feature-settings: "lnum" on !important;
}
.alpha-card strong {
  font-size: min(clamp(36px, 5vw, 80px), 18cqi) !important;
}
.alpha-card {
  overflow: hidden;
  container-type: inline-size;
}
.hero-panel > div {
  container-type: inline-size;
  overflow: hidden;
}
