.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

section.slab {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 720px) {
  section.slab { padding: 72px 0; }
}

/* Section opener — tag + bold h2 + small subtitle */
.slab-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: end;
}

.slab-head-start { align-items: start; }

.slab-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1.04;                /* relaxed from 0.88 — Chinese weight 900 glyphs overflow a tighter box */
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  color: var(--text);
  font-feature-settings: "calt" 1;
  /* Avoid orphan characters on the last line. Pretty falls back to balance in
     older browsers. word-break:keep-all keeps CJK runs together so wrapping
     happens at spaces or between clauses, not mid-compound. */
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* em pill styling is defined once in base.css */

.slab-head p {
  color: var(--text-dim);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

.slab-head p strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 860px) {
  .slab-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }
  .slab-head h2 { font-size: clamp(32px, 7.6vw, 48px); margin: 12px 0 14px; }
  .slab-head p { font-size: 15px; line-height: 1.55; }
}

/* Card — generic rounded surface used across sections */
.card {
  background: var(--bg-card);
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .25s ease, transform .25s ease;
}

.card:hover {
  box-shadow: 0 0 0 1px rgba(14, 15, 12, 0.22);
}

.card-lg {
  border-radius: 40px;
  padding: 40px;
}

.card-accent {
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(22, 51, 0, 0.14);
}

.card-dark {
  background: var(--text);
  color: var(--bg);
}

/* Image figure — the infographic PNG already carries its own branded
   layout (rounded corners + soft shading), so we drop the outer card
   wrapper and let the artwork sit flush with the section background. */
.overview-figure {
  margin: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.overview-figure img {
  display: block;
  width: 100%;
  max-width: 1080px;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
}

/* Zoom-link wrapper — click/tap opens the full-res infographic in a new tab
   so mobile users can pinch-zoom without wrestling with our layout. */
.overview-zoom {
  display: block;
  position: relative;
  cursor: zoom-in;
}
.overview-zoom img { cursor: zoom-in; }
.overview-zoom-hint {
  display: none;
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 8px 14px;
  background: rgba(14, 15, 18, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}

/* Mobile-only plain-text summary — reliable fallback when the infographic
   is too dense to read at phone widths. */
.overview-mobile-summary {
  display: none;
  margin-top: 28px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line);
}
.overview-mobile-summary h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.overview-mobile-summary dl { margin: 0; }
.overview-mobile-summary dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.overview-mobile-summary dl > div:last-of-type { border-bottom: none; }
.overview-mobile-summary dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent-dark);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.overview-mobile-summary dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.overview-mobile-cta {
  display: inline-flex;
  margin-top: 18px;
}

@media (max-width: 720px) {
  .overview-zoom-hint { display: inline-flex; align-items: center; }
  .overview-mobile-summary { display: block; }
}
