body {
  background:
    radial-gradient(circle at top left, rgba(216, 177, 106, 0.25), transparent 30%),
    radial-gradient(circle at top right, rgba(46, 106, 100, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f1e7 0%, #f6efe3 100%);
}

.shell {
  width: min(1180px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.hero-card,
.section-card,
.uni-card,
.country-card,
.source-card,
.profile-card,
.matrix-card {
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card,
.section-card,
.source-card,
.matrix-card {
  padding: 28px;
  border-radius: 28px;
}

.hero-card h1,
.section-title {
  margin: 0;
  font-family: var(--serif);
  line-height: 0.95;
}

.hero-card h1 {
  margin-top: 14px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  letter-spacing: -0.05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-copy,
.section-copy,
.card-copy,
.matrix-note,
.hero-note-copy {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  margin-top: 16px;
  max-width: 40rem;
  font-size: 1.05rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat {
  display: block;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.stat-link {
  position: relative;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.stat-link::after {
  content: attr(data-cta);
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-link:hover,
.stat-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(154, 103, 77, 0.36);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 28px rgba(60, 42, 26, 0.12);
}

.hero-note {
  display: grid;
  gap: 12px;
}

.note-strip {
  display: block;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 248, 240, 0.95), rgba(245, 236, 220, 0.88));
  border: 1px solid var(--line);
}

.note-strip strong {
  display: block;
  margin-bottom: 8px;
}

.section {
  margin-top: 22px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.section-copy {
  margin-top: 10px;
}

.country-grid,
.uni-grid,
.profile-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

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

.country-card,
.uni-card,
.profile-card {
  border-radius: 24px;
  padding: 18px;
}

.small-label,
.uni-meta {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.country-card strong,
.uni-card strong,
.profile-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
}

.country-card p,
.uni-card p,
.profile-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.country-tags,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag,
.pill {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.uni-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.uni-card a,
.profile-card a,
.source-card a {
  color: var(--accent);
}

.callout {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 249, 241, 0.9);
  color: var(--muted);
  line-height: 1.75;
}

.section-card--network {
  background:
    radial-gradient(circle at top left, rgba(216, 177, 106, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(46, 106, 100, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(249, 242, 233, 0.96));
  border-color: rgba(24, 33, 47, 0.1);
}

.section-card--network .section-title,
.section-card--network .small-label,
.section-card--network .mesh-map__city-card strong {
  color: var(--ink);
}

.section-card--network .section-copy,
.section-card--network .mesh-map__city-card p {
  color: var(--muted);
}

.mesh-map {
  margin-top: 22px;
}

.mesh-map__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(24, 33, 47, 0.12);
  background:
    linear-gradient(180deg, rgba(199, 220, 230, 0.56), rgba(210, 224, 232, 0.36)),
    #d9e6ec;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 24px 44px rgba(60, 42, 26, 0.14);
}

.mesh-map__tiles,
.mesh-map__overlay {
  position: absolute;
  inset: 0;
}

.mesh-map__tile {
  position: absolute;
  display: block;
  object-fit: cover;
}

.mesh-map__overlay {
  display: block;
  width: 100%;
  height: 100%;
}

.mesh-map__mesh-line {
  stroke: rgba(47, 93, 80, 0.62);
  stroke-width: 3;
  stroke-linecap: round;
}

.mesh-map__city {
  fill: #ff7a4a;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 3;
}

.mesh-map__city-leader {
  stroke: rgba(24, 33, 47, 0.32);
  stroke-width: 1.6;
}

.mesh-map__city-label {
  fill: var(--ink);
  font-family: var(--sans);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 6px;
}

.mesh-map__city-label-city {
  fill: rgba(24, 33, 47, 0.72);
  font-size: 12.5px;
  font-weight: 700;
}

.mesh-map__city-label-university {
  fill: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.mesh-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.mesh-map__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(24, 33, 47, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.82rem;
}

.mesh-map__legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.mesh-map__legend-item--city::before {
  background: #ff7a4a;
}

.mesh-map__legend-item--mesh::before {
  width: 18px;
  height: 0;
  border-radius: 0;
  border-top: 3px solid rgba(47, 93, 80, 0.62);
}

.mesh-map__legend-item--map::before {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, #b7d7e8, #d7e6d0 52%, #d5c2a1 52%, #d5c2a1);
}

.mesh-map__attribution {
  color: var(--accent);
  font-size: 0.82rem;
}

.mesh-map__city-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mesh-map__city-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(24, 33, 47, 0.08);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mesh-map__city-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.mesh-map__city-card p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.table-wrap,
.matrix-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.verify-table,
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.verify-table--timeline {
  min-width: 1180px;
}

.verify-table th,
.verify-table td,
.matrix-table th,
.matrix-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.verify-table th,
.matrix-table th {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.verify-table td,
.matrix-table td {
  color: var(--muted);
  line-height: 1.7;
}

.verify-table td strong,
.matrix-table td strong {
  color: var(--ink);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 700;
}

.role-cell {
  text-align: center;
  white-space: nowrap;
}

.responsibility-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.responsibility-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.responsibility-filter__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.responsibility-filter__button:hover,
.responsibility-filter__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(154, 103, 77, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.responsibility-filter__button.is-active {
  border-color: rgba(47, 93, 80, 0.28);
  background: rgba(47, 93, 80, 0.12);
  color: #2f5d50;
  box-shadow: 0 10px 18px rgba(47, 93, 80, 0.08);
}

.responsibility-pills {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.responsibility-pill,
.responsibility-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.responsibility-pill[data-role="R"] {
  background: rgba(47, 93, 80, 0.12);
  color: #2f5d50;
}

.responsibility-pill[data-role="S"] {
  background: rgba(71, 108, 145, 0.12);
  color: #476c91;
}

.responsibility-pill[data-role="G"] {
  background: rgba(154, 103, 77, 0.12);
  color: #9a674d;
}

.responsibility-pill[data-role="V"] {
  background: rgba(156, 121, 44, 0.12);
  color: #8a6b2a;
}

.responsibility-empty {
  color: var(--muted);
}

.source-card {
  margin-top: 22px;
}

.source-list,
.source-block ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.source-list li + li,
.source-block li + li {
  margin-top: 8px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.page-lede {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.72;
}

.lang-vi .hero-card h1 {
  font-size: clamp(2.8rem, 5.8vw, 5rem);
}

.lang-vi .verify-table td,
.lang-vi .matrix-table td {
  line-height: 1.72;
}

@media (max-width: 980px) {
  .hero,
  .country-grid,
  .uni-grid,
  .profile-grid,
  .hero-stats,
  .source-grid,
  .mesh-map__city-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1180px, calc(100vw - 20px));
  }

  .hero-card,
  .section-card,
  .source-card,
  .matrix-card {
    padding: 22px;
  }
}
