.hghc,
.hghc * {
  box-sizing: border-box;
}

.hghc {
  --ink: #102132;
  --muted: #69798a;
  --line: rgba(16, 33, 50, 0.095);
  --teal: #008f8c;
  --teal-rgb: 0, 143, 140;
  --surface: #ffffff;
  --radius: 17px;

  width: min(1280px, calc(100% - 48px));
  margin: 76px auto;
  color: var(--ink);
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hghc a {
  text-decoration: none;
}

/* Header */
.hghc-header {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 54px;
  padding-bottom: 31px;
  border-bottom: 1px solid var(--line);
}

.hghc-header-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.125em;
  line-height: 1;
  text-transform: uppercase;
}

.hghc-header-label::before {
  content: "";
  width: 22px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--teal);
}

.hghc-header h2 {
  max-width: 500px;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 43px);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 1.02;
  text-wrap: balance;
}

.hghc-header-copy {
  max-width: 585px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.72;
}

/* Groups */
.hghc-group {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.hghc-group + .hghc-group {
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.hghc-group-head {
  position: relative;
  margin: 0;
  padding: 3px 12px 3px 17px;
}

.hghc-group-head::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal) 0%, rgba(var(--teal-rgb), 0.12) 100%);
}

.hghc-group-label {
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hghc-group-title {
  max-width: 180px;
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.042em;
  line-height: 1.15;
  text-wrap: balance;
}

.hghc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* Cards */
.hghc-card {
  --accent: #008f8c;
  --accent-rgb: 0, 143, 140;

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px 24px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(16, 33, 50, 0.025);
  color: var(--ink);
  transition: transform 180ms cubic-bezier(.2, .8, .2, 1), border-color 180ms ease, box-shadow 180ms ease;
}

.hghc-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  width: 24px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: var(--accent);
  opacity: 0.68;
  transition: width 180ms ease, opacity 180ms ease;
}

@media (hover: hover) {
  .hghc-card:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 12px 30px rgba(16, 33, 50, 0.05);
  }

  .hghc-card:hover::before {
    width: 34px;
    opacity: 0.9;
  }
}

.hghc-card:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), 0.12);
  outline-offset: 3px;
  border-color: rgba(var(--accent-rgb), 0.34);
}

/* Accent system */
.hghc-card[data-accent="geography"] { --accent: #3f7b72; --accent-rgb: 63, 123, 114; }
.hghc-card[data-accent="markets"] { --accent: #477397; --accent-rgb: 71, 115, 151; }
.hghc-card[data-accent="industries"] { --accent: #626b89; --accent-rgb: 98, 107, 137; }
.hghc-card[data-accent="infrastructure"] { --accent: #587b86; --accent-rgb: 88, 123, 134; }
.hghc-card[data-accent="companies"] { --accent: #706b86; --accent-rgb: 112, 107, 134; }
.hghc-card[data-accent="chains"] { --accent: #4f8068; --accent-rgb: 79, 128, 104; }
.hghc-card[data-accent="compare"] { --accent: #3f7f87; --accent-rgb: 63, 127, 135; }
.hghc-card[data-accent="risk"] { --accent: #9a6267; --accent-rgb: 154, 98, 103; }
.hghc-card[data-accent="opportunity"] { --accent: #9c7a43; --accent-rgb: 156, 122, 67; }
.hghc-card[data-accent="assessment"] { --accent: #8b694b; --accent-rgb: 139, 105, 75; }
.hghc-card[data-accent="index"] { --accent: #008f8c; --accent-rgb: 0, 143, 140; }
.hghc-card[data-accent="fx"] { --accent: #4d7194; --accent-rgb: 77, 113, 148; }

.hghc-card-top {
  display: flex;
  align-items: flex-start;
}

.hghc-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: 11px;
  background: rgba(var(--accent-rgb), 0.045);
  color: var(--accent);
  transition: background-color 180ms ease, border-color 180ms ease;
}

@media (hover: hover) {
  .hghc-card:hover .hghc-icon {
    border-color: rgba(var(--accent-rgb), 0.16);
    background: rgba(var(--accent-rgb), 0.07);
  }
}

.hghc-icon svg,
.hghc-card-action svg,
.hghc-events-icon svg,
.hghc-events-action svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hghc-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.hghc-card-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  margin-top: 29px;
}

.hghc-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 660;
  letter-spacing: -0.043em;
  line-height: 1.08;
  text-wrap: balance;
}

.hghc-card .hghc-card-description {
  max-width: 390px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12.25px;
  font-weight: 450;
  line-height: 1.66;
}

.hghc-card-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: auto;
  padding-top: 21px;
  color: var(--accent);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.085em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.88;
}

.hghc-card-action svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

@media (hover: hover) {
  .hghc-card:hover .hghc-card-action svg {
    transform: translateX(2px);
  }
}

/* One quiet data signal per card. */
.hghc-card-signal {
  position: absolute;
  top: 27px;
  right: 24px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--muted);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.hghc-card-signal strong {
  color: var(--accent);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hghc-card-signal small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 620;
  letter-spacing: 0.015em;
  line-height: 1;
}

.hghc-card-signal.is-live::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.58;
}

.hghc-card-signal.is-live small {
  display: none;
}

.hghc-card-signal.is-up strong { color: #4f8068; }
.hghc-card-signal.is-down strong { color: #9a6267; }

/* Compact cards: icon + title + one signal, nothing else. */
.hghc-card--compact {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  min-height: 92px;
  padding: 16px 18px;
}

.hghc-card--compact::before {
  left: 18px;
  width: 20px;
}

.hghc-card--compact .hghc-card-top {
  display: contents;
}

.hghc-card--compact .hghc-icon {
  grid-column: 1;
  grid-row: 1;
}

.hghc-card--compact .hghc-card-content {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
}

.hghc-card--compact h3 {
  font-size: 16px;
  letter-spacing: -0.035em;
}

.hghc-card--compact .hghc-card-description,
.hghc-card--compact .hghc-card-action {
  display: none;
}

.hghc-card--compact .hghc-card-signal {
  position: static;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}

.hghc-card--compact .hghc-card-signal strong {
  font-size: 11.5px;
}

.hghc-card--compact[data-accent="index"] .hghc-card-signal strong,
.hghc-card--compact[data-accent="fx"] .hghc-card-signal strong {
  font-size: 12.5px;
}

/* Exhibitions */
.hghc-events {
  position: relative;
  display: grid;
  grid-template-columns: minmax(305px, 0.95fr) minmax(320px, 1.08fr) auto;
  gap: 30px;
  align-items: center;
  margin: 52px 0;
  padding: 27px 30px;
  border: 1px solid rgba(0, 143, 140, 0.14);
  border-radius: 18px;
  background: #fbfdfd;
}

.hghc-events::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  border-radius: 0 999px 999px 0;
  background: var(--teal);
}

.hghc-events-intro {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.hghc-events-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(0, 143, 140, 0.11);
  border-radius: 12px;
  background: rgba(0, 143, 140, 0.05);
  color: var(--teal);
}

.hghc-events-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.6;
}

.hghc-events-label {
  display: block;
  color: var(--teal);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.hghc-events h3 {
  max-width: 390px;
  margin: 9px 0 0;
  color: var(--ink);
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 640;
  letter-spacing: -0.043em;
  line-height: 1.12;
  text-wrap: balance;
}

.hghc-events-copy p {
  max-width: 585px;
  margin: 0;
  color: var(--muted);
  font-size: 12.25px;
  font-weight: 430;
  line-height: 1.68;
}

.hghc-events-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  white-space: nowrap;
}

.hghc-events-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--teal);
  font-variant-numeric: tabular-nums;
}

.hghc-events-stat strong {
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1;
}

.hghc-events-stat span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.hghc-events-stat small {
  display: none;
}

.hghc-events-stat.is-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.hghc-events-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(0, 143, 140, 0.22);
  border-radius: 9px;
  background: transparent;
  color: var(--teal);
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.hghc-events-action svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

@media (hover: hover) {
  .hghc-events-action:hover {
    border-color: rgba(0, 143, 140, 0.38);
    background: rgba(0, 143, 140, 0.045);
  }
}

@media (max-width: 1040px) {
  .hghc {
    width: min(1280px, calc(100% - 40px));
  }

  .hghc-header {
    grid-template-columns: minmax(290px, 0.9fr) minmax(320px, 1.1fr);
    gap: 44px;
  }

  .hghc-group {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 30px;
  }

  .hghc-card {
    padding-right: 21px;
    padding-left: 21px;
  }

  .hghc-card::before {
    left: 21px;
  }

  .hghc-card-signal {
    right: 21px;
  }

  .hghc-events {
    grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr) auto;
    gap: 22px;
  }
}

@media (max-width: 880px) {
  .hghc-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 46px;
  }

  .hghc-group {
    display: block;
  }

  .hghc-group-head {
    max-width: 460px;
    margin-bottom: 24px;
  }

  .hghc-group-title {
    max-width: none;
  }

  .hghc-grid {
    gap: 11px;
  }

  .hghc-card {
    min-height: 214px;
    padding: 21px 19px 20px;
  }

  .hghc-card::before {
    left: 19px;
  }

  .hghc-card-signal {
    top: 24px;
    right: 19px;
  }

  .hghc-card--compact {
    min-height: 88px;
    padding: 15px 17px;
  }

  .hghc-card--compact::before {
    left: 17px;
  }

  .hghc-events {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .hghc-events-copy {
    grid-column: 1;
  }

  .hghc-events-side {
    grid-column: 2;
    grid-row: 1 / 3;
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (max-width: 700px) {
  .hghc {
    width: min(1280px, calc(100% - 26px));
    margin: 54px auto;
  }

  .hghc-header {
    display: block;
    margin-bottom: 39px;
    padding-bottom: 25px;
  }

  .hghc-header h2 {
    max-width: none;
    margin-top: 12px;
    font-size: clamp(29px, 9vw, 34px);
  }

  .hghc-header-copy {
    margin-top: 16px;
    font-size: 13px;
  }

  .hghc-group + .hghc-group {
    margin-top: 45px;
    padding-top: 43px;
  }

  .hghc-group-head {
    max-width: none;
    margin-bottom: 21px;
    padding-left: 14px;
  }

  .hghc-group-title {
    margin-top: 11px;
    font-size: 21px;
  }

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

  .hghc-card {
    min-height: 0;
    padding: 20px 19px 19px;
    border-radius: 15px;
  }

  .hghc-card-content {
    margin-top: 22px;
  }

  .hghc-card h3 {
    font-size: 19px;
  }

  .hghc-card .hghc-card-description {
    max-width: none;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.62;
  }

  .hghc-card-action {
    padding-top: 18px;
  }

  .hghc-card-signal {
    top: 23px;
    right: 19px;
  }

  .hghc-card--compact {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 84px;
    padding: 14px 16px;
    column-gap: 12px;
  }

  .hghc-card--compact::before {
    left: 16px;
  }

  .hghc-card--compact h3 {
    font-size: 16px;
  }

  .hghc-card--compact .hghc-card-signal {
    max-width: 90px;
  }

  .hghc-card--compact .hghc-card-signal small {
    font-size: 7.5px;
  }

  .hghc-events {
    display: grid;
    grid-template-columns: 1fr;
    margin: 39px 0 45px;
    padding: 21px 19px 20px;
    border-radius: 16px;
  }

  .hghc-events-intro,
  .hghc-events-copy,
  .hghc-events-side {
    grid-column: 1;
    grid-row: auto;
  }

  .hghc-events-copy {
    margin-top: -2px;
  }

  .hghc-events-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .hghc-events h3 {
    font-size: 20px;
  }
}

@media (max-width: 390px) {
  .hghc-card--compact {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    column-gap: 10px;
  }

  .hghc-card--compact .hghc-icon {
    width: 38px;
    height: 38px;
  }

  .hghc-card--compact .hghc-card-signal strong {
    font-size: 10.5px;
  }

  .hghc-card--compact[data-accent="index"] .hghc-card-signal strong,
  .hghc-card--compact[data-accent="fx"] .hghc-card-signal strong {
    font-size: 11.5px;
  }

  .hghc-card--compact .hghc-card-signal small {
    display: none;
  }

  .hghc-events-side {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hghc-card,
  .hghc-card::before,
  .hghc-icon,
  .hghc-card-action svg,
  .hghc-events-action {
    transition: none;
  }

  .hghc-card:hover {
    transform: none;
  }
}
