:root {
  --paper: #f2ede3;
  --paper-2: #e6ded3;
  --ink: #252329;
  --muted: #6f6972;
  --night: #1d1a22;
  --night-2: #29242f;
  --purple: #756181;
  --purple-mid: #9583a0;
  --purple-light: #c8bbc9;
  --coral: #c98275;
  --coral-soft: #dda095;
  --white: #f7f3eb;
  --display: "STKaiti", "KaiTi", "FZKai-Z03", serif;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --ease-enter: cubic-bezier(.22,1,.36,1);
  --ease-move: cubic-bezier(.25,1,.5,1);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: auto; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--serif); }
@supports (overflow: clip) {
  html, body { max-width: 100%; overflow-x: clip; }
}
button, a { font: inherit; }
button { touch-action: manipulation; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .8rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 999; height: 3px; background: rgba(255,255,255,.08); }
.reading-progress i { display: block; width: 100%; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; }

.paper-section { position: relative; background: var(--paper); color: var(--ink); }
.dark-section { position: relative; background: var(--night); color: var(--white); }
.section-frame { width: min(1640px, 88vw); margin: 0 auto; padding: clamp(6rem, 10vh, 9rem) 0; }
.section-heading { max-width: min(1100px,90vw); }
.section-heading.light { color: var(--white); }
.section-heading h2, .section-heading h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.03; letter-spacing: 0; }
.section-heading h2 { font-size: clamp(3.4rem, 6.2vw, 7.6rem); }
.section-heading h3 { font-size: clamp(2.4rem, 4vw, 4.7rem); }
.section-heading em, h2 em, h3 em { color: var(--coral); font-style: normal; }
.section-heading h2,
.section-heading h3,
.case-copy h2,
.evidence-heading h2,
.official-heading h2,
.mechanism-copy h2,
.outcomes-copy h2,
.relationship-heading h2,
.voices-title,
.theme-composition h3,
.keyword-network h3,
.emotion-matrix h3,
.law-heading h2,
.ending-copy h2 {
  word-break: keep-all;
  overflow-wrap: normal;
}
.section-heading p { max-width: 700px; margin: 1.1rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.85; }
.section-heading.light p { color: rgba(247,243,235,.68); }
.eyebrow { margin: 0 0 1rem; color: var(--coral); font-family: var(--sans); font-size: .93rem; font-weight: 700; letter-spacing: 0; }
.scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.source-line { position: absolute; left: 5vw; right: 5vw; bottom: 1.35rem; z-index: 12; margin: 0; color: rgba(37,35,41,.52); font-family: var(--sans); font-size: .78rem; letter-spacing: 0; }
.source-on-dark { color: rgba(247,243,235,.48); }

/* Opening — the motion and complementary tear geometry follow demo1. */
.opening { height: 430vh; background: var(--paper); }
.opening-stage { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; background: var(--paper); }
.opening-base, .paper-cold { position: absolute; inset: 0; background-position: center; background-size: cover; }
.opening-warm { background-image: url("assets/demo1-v3/01_开篇分镜/01_温馨家庭空间_无人物.png"); }
.opening-cold { background-image: url("assets/demo1-v3/01_开篇分镜/05_灰暗家庭空间_无人物.png"); opacity: 0; }
.opening-family { position: absolute; left: 50%; bottom: 2%; width: min(76vw, 1180px); max-height: 85vh; object-fit: contain; transform: translateX(-50%); transform-origin: center bottom; filter: drop-shadow(0 20px 28px rgba(61,45,51,.15)); }
.ribbon { position: absolute; pointer-events: none; filter: drop-shadow(0 7px 9px rgba(61,43,69,.16)); }
.ribbon-whole { left: 8%; top: 52%; width: 84%; }
.tear-bed { position: absolute; left: 50%; top: 0; z-index: 2; width: 18vw; height: 100%; background: radial-gradient(ellipse at center, rgba(20,16,24,.92), rgba(46,34,51,.68) 44%, transparent 74%); opacity: 0; transform: translateX(-50%); filter: blur(5px); }
.paper-half { position: absolute; inset: 0; z-index: 3; opacity: 0; }
.paper-half .paper-cold { background-image: url("assets/demo1-v3/01_开篇分镜/05_灰暗家庭空间_无人物.png"); }
.paper-left { clip-path: polygon(0 0,51.5% 0,51.06% 6.1%,51.81% 12.4%,50.56% 19%,51.44% 25.4%,50.13% 32.3%,50.88% 38.7%,49.75% 45.3%,50.56% 52.4%,49.38% 59.1%,50.13% 66.2%,49.06% 73.1%,49.75% 80%,48.69% 87%,49.25% 93.7%,48.5% 100%,0 100%); }
.paper-right { clip-path: polygon(51.5% 0,100% 0,100% 100%,48.5% 100%,49.25% 93.7%,48.69% 87%,49.75% 80%,49.06% 73.1%,50.13% 66.2%,49.38% 59.1%,50.56% 52.4%,49.75% 45.3%,50.88% 38.7%,50.13% 32.3%,51.44% 25.4%,50.56% 19%,51.81% 12.4%,51.06% 6.1%); }
.opening-person { position: absolute; bottom: 0; width: min(42vw, 700px); max-height: 82vh; object-fit: contain; object-position: bottom; }
.paper-left .opening-person { left: 8%; }
.paper-right .opening-person { right: 6%; }
.ribbon-broken { top: 54%; width: 48%; }
.paper-left .ribbon-broken { left: 4%; }
.paper-right .ribbon-broken { right: 4%; }
.tear-fibers { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: .66; object-fit: fill; mix-blend-mode: multiply; }
.opening-shadow { position: absolute; inset: 0; z-index: 5; opacity: 0; background: radial-gradient(circle at 50% 50%, transparent 18%, rgba(17,15,19,.52) 100%), linear-gradient(90deg,rgba(18,16,19,.7),rgba(18,16,19,.12) 48%,rgba(18,16,19,.5)); }
.opening-copy { position: absolute; left: 7vw; top: 11vh; z-index: 6; width: min(1050px, 69vw); opacity: 0; transform: translateY(32px); }
.opening-title-art { width: 100%; filter: drop-shadow(0 10px 26px rgba(0,0,0,.28)); }
.opening-copy p { margin: .8rem 0 0 1.5%; color: rgba(247,243,235,.82); font-family: var(--serif); font-size: clamp(1.8rem, 2.55vw, 3rem); letter-spacing: .1em; }
.opening-copy p strong { color: var(--white); font-weight: 700; }

/* Composite opening story. */
.story-intro { height: 390vh; }
.story-stage { position: sticky; top: 0; height: 100vh; min-height: 680px; overflow: hidden; }
.story-visual { position: absolute; inset: 0; }
.story-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(15,14,18,.9),rgba(15,14,18,.46) 58%,rgba(15,14,18,.7)); }
.story-room { width: 100%; height: 100%; object-fit: cover; }
.story-door, .story-schedule, .story-dossier, .story-date { position: absolute; right: 7vw; bottom: 4vh; z-index: 2; width: min(42vw, 720px); max-height: 68vh; object-fit: contain; opacity: 0; transform: translate3d(32px,18px,0) scale(.97); }
.story-copy { position: absolute; left: 8vw; top: 15vh; z-index: 4; width: min(760px, 48vw); }
.story-beat { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transform: translate3d(0,20px,0); transition: opacity 380ms var(--ease-enter), transform 560ms var(--ease-enter); }
.story-beat.is-active { opacity: 1; transform: none; }
.story-beat p { margin: 0; font-size: clamp(2.15rem, 3.5vw, 4.8rem); line-height: 1.45; letter-spacing: 0; }
.story-punch strong { display: block; margin-top: 1.1rem; color: var(--coral-soft); font-family: var(--display); font-size: clamp(2.5rem, 4.2vw, 5.5rem); font-weight: 500; line-height: 1.25; }
.story-index { position: absolute; right: 3vw; top: 22vh; z-index: 4; width: 2px; height: 56vh; background: rgba(255,255,255,.14); }
.story-index i { display: block; width: 100%; height: 16.7%; background: var(--coral); transform-origin: top; transition: height 320ms var(--ease-move); }
.story-step-1 .story-door, .story-step-2 .story-schedule, .story-step-3 .story-dossier, .story-step-4 .story-date, .story-step-5 .story-date { opacity: 1; transform: none; transition: opacity 520ms var(--ease-enter), transform 720ms var(--ease-enter); }

/* Core case timeline. */
.case-story { height: 380vh; background: var(--night); color: var(--white); }
.case-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; }
.case-stage .scene-bg { filter: brightness(.38) saturate(.7); }
.case-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(16,15,18,.9),rgba(16,15,18,.28) 58%,rgba(16,15,18,.7)); }
.case-copy { position: absolute; left: 6.8vw; top: 6vh; z-index: 3; width: min(680px, 45vw); }
.case-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 5.6vw, 7rem); font-weight: 500; line-height: 1.04; }
.case-copy > p:not(.eyebrow) { max-width: 590px; color: rgba(247,243,235,.72); font-size: 1.08rem; line-height: 1.78; }
.case-detail { min-height: 6rem; margin-top: 1rem; padding: 1rem 1.2rem; border-left: 3px solid var(--coral); background: rgba(20,18,22,.78); backdrop-filter: blur(10px); font-size: 1.04rem; line-height: 1.7; }
.case-detail strong { display: block; color: var(--coral-soft); font-family: var(--sans); }
.case-timeline { position: absolute; left: 6.8vw; right: 6.8vw; bottom: 8.5vh; z-index: 5; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1.15rem; padding-top: 1.7rem; }
.case-timeline::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: rgba(255,255,255,.18); }
.case-line { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--coral); transform: scaleX(.02); transform-origin: left; }
.case-node { position: relative; padding: .35rem 0; border: 0; background: none; color: rgba(247,243,235,.45); text-align: left; cursor: pointer; transition: color 220ms ease, transform 260ms var(--ease-enter); }
.case-node::before { content: ""; position: absolute; left: 0; top: -2.08rem; width: 12px; height: 12px; border-radius: 50%; background: var(--purple-light); box-shadow: 0 0 0 2px var(--night); }
.case-node strong, .case-node span { display: block; }
.case-node strong { font-family: var(--sans); font-size: 1rem; }
.case-node span { margin-top: .35rem; font-size: .9rem; line-height: 1.35; }
.case-node.is-active { color: var(--white); transform: translateY(-5px); }
.case-node.is-active::before { background: var(--coral); box-shadow: 0 0 0 5px rgba(201,130,117,.2); }
.case-props img { position: absolute; right: 7vw; top: 13vh; z-index: 3; width: min(44vw, 720px); max-height: 59vh; object-fit: contain; opacity: 0; transform: translate3d(36px,18px,0) rotate(2deg) scale(.96); filter: drop-shadow(0 25px 35px rgba(0,0,0,.32)); transition: opacity 320ms ease, transform 540ms var(--ease-enter); }
.case-props img.is-active { opacity: 1; transform: none; }

/* Evidence archive wall. */
.evidence { min-height: 210vh; }
.evidence-stage { position: relative; height: max(100vh, 920px); overflow: hidden; }
.evidence-stage .scene-bg { filter: brightness(.8); }
.evidence-heading { position: absolute; left: 5vw; right: 4vw; top: 5vh; z-index: 5; max-width: none; }
.evidence-heading h2 { font-size: clamp(3.2rem,5.5vw,6.6rem); }
.evidence-cards { position: absolute; inset: 23% 4.5% 9%; z-index: 3; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); grid-template-rows: repeat(4,minmax(0,1fr)); gap: clamp(.65rem,1vw,1.15rem); }
.evidence-card { position: relative; z-index: 2; display: grid; align-content: center; min-width: 0; padding: clamp(.7rem,.9vw,1.05rem); border: 0; color: #302b34; background: #eee6d9; text-align: left; cursor: pointer; box-shadow: 0 12px 22px rgba(0,0,0,.23); transform: translate(var(--x,0),var(--y,0)) rotate(var(--r,0deg)) scale(.92); opacity: 0; transition: opacity 480ms var(--ease-enter), transform 620ms var(--ease-enter), filter 220ms ease; }
.evidence-card::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 3px 6px rgba(0,0,0,.3); }
.evidence-card.is-mounted { opacity: 1; transform: translate(var(--x,0),var(--y,0)) rotate(var(--r,0deg)) scale(1); }
.evidence-card .place { display: block; color: var(--purple); font-family: var(--sans); font-size: .74rem; font-weight: 700; }
.evidence-card strong { display: block; margin: .45rem 0 0; font-size: clamp(.82rem,.9vw,1rem); line-height: 1.4; }
.evidence-stage.has-selection .evidence-card:not(.is-selected) { opacity: .42; filter: saturate(.35); }
.evidence-card.is-selected { z-index: 5; transform: translate(var(--x,0),calc(var(--y,0) - 8px)) rotate(0) scale(1.06); }
.evidence-threads { position: absolute; inset: 21% 4% 9%; z-index: 2; width: 92%; height: 70%; overflow: visible; pointer-events: none; }
.evidence-threads path { fill: none; stroke: rgba(165,135,173,.68); stroke-width: 2; stroke-dasharray: 100 110; stroke-dashoffset: 100; transition: stroke-dashoffset 820ms var(--ease-enter), opacity 220ms ease; }
.evidence-threads.is-drawn path { stroke-dashoffset: 0; }
.case-drawer { position: absolute; right: 3.5vw; top: 19%; z-index: 10; width: min(420px,34vw); max-height: 68%; overflow: auto; padding: 1.7rem; color: var(--ink); background: rgba(245,239,229,.96); box-shadow: 0 24px 60px rgba(0,0,0,.36); opacity: 0; pointer-events: none; transform: translateX(30px) scale(.97); transform-origin: right center; transition: opacity 180ms ease, transform 300ms var(--ease-enter); }
.case-drawer.is-open { opacity: 1; pointer-events: auto; transform: none; }
.drawer-close { float: right; border: 0; background: none; font-size: 1.7rem; cursor: pointer; }
.case-drawer h3 { margin: .7rem 0; font-family: var(--display); font-size: 2rem; }
.case-drawer p { line-height: 1.68; }
.case-drawer dl div { display: grid; grid-template-columns: 5.6rem 1fr; gap: .6rem; padding: .55rem 0; border-top: 1px solid rgba(0,0,0,.09); font-size: .88rem; }
.case-drawer dt { color: var(--purple); font-family: var(--sans); }
.case-drawer dd { margin: 0; }
.behavior-section { min-height: 96vh; display: grid; align-content: center; }
.behavior-matrix { display: grid; grid-template-columns: minmax(220px,290px) repeat(24,minmax(15px,1fr)); gap: .75rem .38rem; margin-top: 3rem; align-items: center; }
.behavior-label { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; gap: .75rem; color: var(--white); font-size: .98rem; }
.behavior-label strong { color: var(--coral-soft); font-size: 1.15rem; }
.behavior-label span { white-space: nowrap; }
.behavior-dot { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.045); transform: scale(.65); opacity: .45; }
.behavior-matrix.is-built .behavior-dot { transform: scale(.82); transition: transform 460ms var(--ease-enter), opacity 320ms ease, background-color 320ms ease; transition-delay: var(--delay); }
.behavior-matrix.is-built .behavior-dot.is-on { background: var(--purple-light); border-color: transparent; box-shadow: 0 0 0 3px rgba(149,131,160,.1); opacity: 1; transform: scale(1); }

/* Definition */
.definition { min-height: 112vh; }
.definition-frame { min-height: 112vh; display: grid; align-content: center; }
.definition-heading { display: block; max-width: 1180px; }
.definition-heading h2 { max-width: 1080px; }
.definition-heading .definition-lede { max-width: 780px; margin: 1.55rem 0 0; color: #554d56; font-size: clamp(1.05rem,1.25vw,1.3rem); line-height: 1.78; }
.definition-conditions { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.definition-conditions article { position: relative; z-index: 2; min-height: 260px; padding: 2rem; border: 1px solid rgba(64,51,69,.14); background: rgba(255,252,246,.86); box-shadow: 0 20px 45px rgba(50,40,48,.07); }
.definition-conditions span { color: var(--coral); font-family: var(--sans); font-weight: 700; }
.definition-conditions h3 { margin: 1.2rem 0 .7rem; font-family: var(--display); font-size: 2.1rem; font-weight: 500; }
.definition-conditions p { color: var(--muted); line-height: 1.75; }
.definition-conditions img { position: absolute; left: -4%; right: -4%; top: 50%; width: 108%; opacity: .25; z-index: 1; }

/* Official facts */
.official { height: 125vh; }
.official-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; }
.official-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(242,237,227,.96) 0 43%,rgba(242,237,227,.58) 62%,rgba(242,237,227,.24)); }
.official-stage .scene-bg { filter: saturate(.7) contrast(.9); }
.official-heading { position: absolute; left: 6vw; top: 7vh; z-index: 3; width: min(1080px,72vw); }
.official-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3.2rem,5.4vw,6.6rem); font-weight: 500; line-height: 1.04; }
.official-fact { position: absolute; z-index: 4; display: grid; grid-template-columns: auto minmax(180px,310px); gap: 1rem; align-items: end; padding: 1.2rem 1.35rem; background: rgba(245,239,229,.88); box-shadow: 0 18px 45px rgba(47,37,45,.12); backdrop-filter: blur(8px); }
.official-fact:nth-child(1) { left: 7vw; top: 55vh; }
.official-fact:nth-child(2) { right: 7vw; top: 52vh; }
.official-fact strong { color: var(--purple); font-size: clamp(4.8rem,8vw,9rem); font-weight: 400; line-height: .78; }
.official-fact span { display: block; font-size: 1rem; line-height: 1.52; }
.official-fact small { display: block; margin-top: .4rem; color: var(--muted); font-family: var(--sans); font-size: .76rem; }
.official-conclusion { width: min(720px,58vw); margin: 1.25rem 0 0; color: #4b424c; font-size: clamp(1.05rem,1.22vw,1.28rem); line-height: 1.62; }
@keyframes draw-thread { to { stroke-dashoffset: 0; } }

/* Sample profile: chart on the left, attributed interpretation on the right. */
.profile { min-height: 138vh; }
.profile-frame { min-height: 138vh; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; gap: 2rem; align-content: center; }
.profile-frame > .section-heading { max-width: 1050px; }
.profile-tabs { display: flex; flex-wrap: wrap; gap: .7rem; align-self: end; }
.profile-tab, .relationship-tab { padding: .7rem 1.15rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; transition: color 180ms ease, background-color 220ms ease, border-color 220ms ease, transform 120ms var(--ease-enter); }
.profile-tab:active, .relationship-tab:active { transform: scale(.97); }
.profile-tab.is-active, .relationship-tab.is-active { color: var(--white); border-color: var(--purple-mid); background: var(--purple); }
.profile-chart { min-height: 610px; display: grid; place-items: center; }
.chart-card { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(360px,.78fr); gap: 3vw; align-items: center; width: 100%; min-height: 640px; padding: 2.4rem; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.profile-visual { min-width: 0; }
.chart-card h3 { margin: 0; font-family: var(--display); font-size: 2.3rem; font-weight: 500; }
.profile-insight { align-self: stretch; display: grid; align-content: center; padding-left: 2.4rem; border-left: 1px solid rgba(255,255,255,.16); }
.profile-insight > strong { color: var(--coral-soft); font-family: var(--display); font-size: clamp(4.2rem,6vw,7.4rem); font-weight: 500; line-height: .9; }
.profile-insight h4 { margin: 1.1rem 0 0; color: var(--white); font-family: var(--display); font-size: 2rem; font-weight: 500; }
.profile-insight p { margin: 1rem 0; color: rgba(255,255,255,.8); font-size: 1.04rem; line-height: 1.92; }
.profile-insight small { color: rgba(255,255,255,.45); font-family: var(--sans); font-size: .75rem; }
.chart-card > p { color: rgba(255,255,255,.52); }
.age-dots { display: grid; grid-template-columns: repeat(10,1fr); gap: 11px; width: min(580px,92%); margin: 2rem auto 1rem; }
.age-dots i { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.13); opacity: 0; transform: scale(.3); }
.age-dots i.group-0 { background: #f09a87; }
.age-dots i.group-1 { background: #e7c769; }
.age-dots i.group-2 { background: #9b7fc0; }
.chart-card.is-built .age-dots i { opacity: 1; transform: scale(1); transition: opacity 260ms ease, transform 420ms var(--ease-enter); transition-delay: var(--delay); }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: flex-start; margin-top: 1.5rem; color: rgba(255,255,255,.84); }
.chart-legend span::before { content: ""; display: inline-block; width: .75rem; height: .75rem; margin-right: .45rem; border-radius: 50%; background: var(--swatch); }
.gender-wrap { position: relative; width: min(500px,88%); aspect-ratio: 2 / 1; margin: 3.5rem auto 0; overflow: hidden; }
.gender-ring { position: absolute; inset: 0; border-radius: 520px 520px 0 0; background: conic-gradient(from 270deg at 50% 100%, var(--purple-light) 0 var(--male), var(--coral-soft) var(--male) 100%); transform-origin: center bottom; transform: rotate(-180deg); }
.gender-ring::after { content: ""; position: absolute; inset: 25% 25% 0; border-radius: 320px 320px 0 0; background: #211e26; }
.chart-card.is-built .gender-ring { transform: none; transition: transform 850ms var(--ease-enter); }
.gender-values { display: flex; justify-content: space-between; margin: 1rem auto; width: min(520px,90%); }
.gender-values strong { display: block; font-size: 3rem; font-weight: 400; }
.family-pictogram { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; width: min(580px,92%); margin: 3rem auto; }
.family-icon { position: relative; aspect-ratio: 1.1; background: #efe7dc; clip-path: polygon(50% 0,100% 36%,90% 36%,90% 100%,10% 100%,10% 36%,0 36%); opacity: 0; transform: translateY(16px) rotate(var(--tilt)); }
.family-icon::after { content: ""; position: absolute; inset: 54% 42% 0; background: var(--purple); }
.family-icon.minority { background: #bca9bd; }
.chart-card.is-built .family-icon { opacity: 1; transform: rotate(var(--tilt)); transition: opacity 320ms ease, transform 560ms var(--ease-enter); transition-delay: var(--delay); }
.map-layout { display: grid; grid-template-columns: 1fr; gap: .8rem; align-items: center; margin-top: .8rem; }
.china-map { width: 100%; height: 420px; }
.china-map path { fill: #57515b; stroke: #211e26; stroke-width: 1.1; vector-effect: non-scaling-stroke; transition: fill 220ms ease, opacity 180ms ease; }
.china-map path.has-data { cursor: pointer; }
.china-map path.level-1 { fill: #716978; }
.china-map path.level-2 { fill: #9583a0; }
.china-map path.level-3 { fill: #bea9c1; }
.china-map path.level-4 { fill: #d6b0aa; }
.china-map path.no-data { fill: url(#noDataHatch); }
.china-map path.is-active { fill: var(--coral-soft); stroke: var(--white); stroke-width: 2; }
.south-sea-inset rect { fill: rgba(29,26,34,.72); stroke: rgba(255,255,255,.3); stroke-width: 1; }
.south-sea-inset path { fill: none; stroke: rgba(247,243,235,.65); stroke-width: 2; stroke-linecap: round; }
.south-sea-inset text { fill: rgba(247,243,235,.68); font-family: var(--sans); font-size: 11px; text-anchor: middle; }
.map-side { display: grid; grid-template-columns: 140px 1fr; gap: 1.4rem; align-items: start; }
.map-readout strong { display: block; color: var(--coral-soft); font-family: var(--display); font-size: 2.6rem; font-weight: 500; }
.map-readout span { display: block; margin-top: .4rem; color: rgba(255,255,255,.7); }
.map-top { display: grid; grid-template-columns: repeat(5,1fr); gap: .7rem; margin-top: 0; }
.map-top div { display: grid; gap: .25rem; padding: .45rem .65rem; border-top: 1px solid rgba(255,255,255,.12); }
.map-top span { color: rgba(255,255,255,.55); font-size: .75rem; }
.map-top strong { color: var(--white); font-weight: 500; }

/* Mechanism path. */
.mechanism { height: 390vh; }
.mechanism-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; }
.mechanism-stage .scene-bg { filter: brightness(.42) saturate(.7); }
.mechanism-copy { position: absolute; left: 7vw; top: 7vh; z-index: 4; width: min(610px,39vw); }
.mechanism-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(3.5rem,5.6vw,6.9rem); font-weight: 500; line-height: 1.03; }
.mechanism-copy em { color: var(--coral); font-style: normal; }
.mechanism-lede { max-width: 540px; color: rgba(255,255,255,.66); font-size: 1.05rem; line-height: 1.75; }
#mechanism-detail { margin-top: 1.1rem; min-height: 6rem; padding: 1rem 1.2rem; border-left: 3px solid var(--coral); color: rgba(255,255,255,.76); background: rgba(22,19,25,.7); font-size: 1.05rem; line-height: 1.7; }
#mechanism-detail strong { display: block; color: var(--coral-soft); font-family: var(--sans); }
.mechanism-track { position: absolute; left: 7vw; right: 7vw; bottom: 5vh; z-index: 5; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.mechanism-step { padding-top: 1rem; border-top: 2px solid rgba(255,255,255,.16); color: rgba(255,255,255,.42); }
.mechanism-step.is-active { border-color: var(--coral); color: var(--white); }
.mechanism-step span { color: var(--coral-soft); font-family: var(--sans); }
.mechanism-step strong { display: block; margin-top: .35rem; }
.mechanism-assets img { position: absolute; right: 7vw; top: 11vh; z-index: 3; width: min(48vw,760px); max-height: 66vh; object-fit: contain; opacity: 0; transform: translate3d(35px,24px,0) rotate(2deg) scale(.95); transition: opacity 320ms ease, transform 560ms var(--ease-enter); }
.mechanism-assets img.is-active { opacity: 1; transform: none; }

/* 24 case outcome routes. */
.outcomes { height: 270vh; }
.outcomes-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; }
.outcomes-copy { position: absolute; left: 6vw; top: 7vh; z-index: 4; width: min(590px,39vw); }
.outcomes-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(3.4rem,5vw,5.1rem); font-weight: 500; line-height: 1.04; }
.outcomes-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.outcome-routes { position: absolute; left: 32vw; right: 2vw; top: 7vh; width: 66vw; height: 78vh; overflow: visible; }
.outcome-routes path { fill: none; stroke: rgba(117,97,129,.32); stroke-width: 3; stroke-dasharray: 100 110; stroke-dashoffset: 100; }
.outcome-dossiers { position: absolute; left: 34vw; right: 4vw; top: 10vh; bottom: 12vh; }
.outcome-labels { position: absolute; left: 34vw; right: 4vw; top: 10vh; bottom: 12vh; pointer-events: none; }
.dossier-dot { position: absolute; width: clamp(26px,2.2vw,40px); aspect-ratio: .78; border: 1px solid rgba(71,56,79,.25); background: #eee6d9; box-shadow: 0 5px 10px rgba(35,29,34,.12); transform: translate(-50%,-50%) rotate(var(--r)); transition: transform 80ms linear, opacity 80ms linear; }
.dossier-dot::after { content: ""; position: absolute; left: 22%; right: 22%; top: 34%; height: 2px; background: var(--purple-light); box-shadow: 0 6px 0 var(--purple-light),0 12px 0 var(--purple-light); }
.outcome-label { position: absolute; z-index: 4; width: 190px; padding: .55rem .7rem; transform: translate(-50%,-50%); background: rgba(242,237,227,.82); text-align: center; }
.outcome-label strong { display: block; color: var(--purple); font-family: var(--display); font-size: 2.65rem; font-weight: 500; line-height: 1; }
.outcome-label span { display: block; margin-top: .3rem; color: #554d56; font-size: .88rem; line-height: 1.35; }

/* Three perspectives. */
.relationship { height: 340vh; }
.relationship-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; }
.relationship-stage .scene-bg { filter: brightness(.36) saturate(.58); }
.relationship-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(20,18,24,.82),rgba(20,18,24,.22) 46%,rgba(20,18,24,.42)); pointer-events: none; }
.relationship-heading { position: absolute; left: 6vw; top: 6vh; z-index: 5; }
.relationship-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3.3rem,5.4vw,6.6rem); font-weight: 500; line-height: 1.02; }
.relationship-tabs { position: absolute; left: 6vw; bottom: 5vh; z-index: 8; display: flex; gap: .7rem; }
.relationship-copy { position: absolute; left: 6vw; top: 42vh; z-index: 6; width: min(500px,34vw); padding: 1.15rem 1.25rem; border-left: 3px solid var(--coral); background: rgba(20,18,24,.76); font-size: 1.02rem; line-height: 1.72; }
.relationship-copy strong { display: block; margin-bottom: .55rem; color: var(--coral-soft); font-family: var(--display); font-size: 2.1rem; font-weight: 500; }
.relationship-figures img { position: absolute; left: 50%; bottom: 3vh; z-index: 3; width: min(35vw,570px); max-height: 72vh; object-fit: contain; opacity: 0; transform: translateX(-50%) scale(.96); transition: opacity 260ms ease, transform 420ms var(--ease-enter); }
.relationship-figures img.is-active { opacity: 1; transform: translateX(-50%) scale(1); }
.perspective-bubble { position: absolute; z-index: 6; width: clamp(240px,20vw,350px); margin: 0; padding: 1rem 1.2rem; color: var(--ink); background: rgba(246,240,230,.96); box-shadow: 0 15px 36px rgba(0,0,0,.24); opacity: 0; transform: translate3d(var(--dx),18px,0) scale(.94); transition: opacity 280ms ease, transform 460ms var(--ease-enter); }
.perspective-bubble::after { content: ""; position: absolute; left: 2rem; bottom: -14px; border: 8px solid transparent; border-top-color: rgba(246,240,230,.96); border-left-color: rgba(246,240,230,.96); }
.perspective-bubble.is-visible { opacity: 1; transform: translate3d(var(--dx),0,0) scale(1); }
.perspective-bubble:nth-child(1) { right: 30vw; top: 19vh; --dx: -24px; }
.perspective-bubble:nth-child(2) { right: 5vw; top: 20vh; --dx: 24px; }
.perspective-bubble:nth-child(3) { right: 5vw; top: 55vh; --dx: 24px; }
.perspective-bubble:nth-child(4) { right: 29vw; bottom: 8vh; --dx: -24px; }

/* Social comment soundscape. */
.voices { height: 330vh; }
.voices-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; }
.voices-stage .scene-bg { filter: brightness(.82); }
.voices-title { position: absolute; left: 5vw; top: 5vh; z-index: 4; margin: 0; font-family: var(--display); font-size: clamp(2.8rem,4.8vw,5.8rem); font-weight: 500; line-height: 1.08; }
.voices-title em { color: var(--coral-soft); font-style: normal; }
.voices-parent { position: absolute; left: 50%; bottom: 2vh; z-index: 3; width: min(28vw,430px); max-height: 69vh; object-fit: contain; transform: translateX(-50%); }
.voice-bubble { position: absolute; z-index: 5; width: clamp(250px,20vw,390px); margin: 0; padding: 1.15rem 1.35rem; color: var(--ink); background: rgba(246,240,230,.96); box-shadow: 0 18px 42px rgba(0,0,0,.3); opacity: 0; transform: translate3d(0,22px,0) scale(.88); transition: opacity 240ms ease, transform 420ms var(--ease-enter); }
.voice-bubble::after { content: ""; position: absolute; left: 2.1rem; bottom: -15px; border: 8px solid transparent; border-top-color: rgba(246,240,230,.96); border-left-color: rgba(246,240,230,.96); }
.voice-bubble.is-visible { opacity: var(--opacity,1); transform: translate3d(0,var(--float,0),0) scale(var(--scale,1)); }
.voice-bubble p { margin: 0; font-size: clamp(.92rem,1vw,1.08rem); line-height: 1.7; }
.voice-bubble:nth-child(1) { left: 4vw; top: 34vh; }
.voice-bubble:nth-child(2) { left: 27vw; top: 34vh; }
.voice-bubble:nth-child(3) { right: 27vw; top: 34vh; }
.voice-bubble:nth-child(4) { right: 4vw; top: 34vh; }
.voice-bubble:nth-child(5) { left: 13vw; bottom: 5vh; }
.voice-bubble:nth-child(6) { right: 13vw; bottom: 5vh; }

/* Social analysis */
.social-analysis { min-height: 340vh; }
.social-frame { display: grid; gap: 5rem; }
.social-scope, .theme-composition, .keyword-network, .emotion-matrix { min-height: 70vh; display: grid; align-content: center; }
.social-scope h3, .theme-composition h3, .keyword-network h3, .emotion-matrix h3 { margin: 0 0 2rem; font-family: var(--display); font-size: clamp(2.6rem,4.1vw,4.8rem); font-weight: 500; }
.social-scope header { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 5vw; align-items: end; }
.social-scope header p { margin: 0 0 2.3rem; color: rgba(255,255,255,.68); font-size: 1.04rem; line-height: 1.8; }
.platform-counts { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .8rem; }
.platform-count { min-height: 180px; padding: 1.25rem; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.platform-count span { color: rgba(255,255,255,.72); }
.platform-count strong { display: block; margin: .8rem 0 .4rem; color: var(--coral-soft); font-family: var(--display); font-size: clamp(3rem,4.5vw,5.7rem); font-weight: 500; line-height: .85; }
.platform-count p { margin: 0; color: rgba(255,255,255,.5); font-size: .78rem; line-height: 1.55; }
.platform-count.is-empty { opacity: .52; }
.social-keywords { max-width: 1050px; margin: 1.4rem 0 0; color: rgba(255,255,255,.65); line-height: 1.75; }
.theme-treemap { position: relative; min-height: clamp(350px,46vh,430px); overflow: hidden; }
.theme-block { position: absolute; display: grid; align-content: end; min-width: 0; min-height: 0; padding: 1.5rem; border: 4px solid var(--night); background: var(--block); overflow: hidden; }
.theme-block::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%,rgba(255,255,255,.08),transparent 55%); transform: scale(.6); opacity: 0; }
.theme-block.is-visible::before { animation: block-build .75s var(--ease-enter) forwards; }
.theme-block strong { position: relative; display: block; font-size: clamp(1rem,1.5vw,1.7rem); word-break: keep-all; }
.theme-block span { position: relative; color: rgba(255,255,255,.7); font-size: clamp(1.6rem,3vw,4rem); }
.theme-block.is-compact { padding: .9rem; }
.theme-block.is-compact strong { font-size: clamp(.78rem,1.05vw,1.15rem); }
.theme-block.is-compact span { font-size: clamp(1.15rem,2vw,2.4rem); }
.theme-note { max-width: 920px; margin: -1rem 0 1.3rem; color: rgba(255,255,255,.58); font-family: var(--sans); font-size: .8rem; line-height: 1.65; }
@keyframes block-build { to { transform: scale(1); opacity: 1; } }
.network-heading { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); gap: 5vw; align-items: end; }
.network-heading p { margin: 0 0 2.2rem; color: rgba(255,255,255,.68); font-size: 1.04rem; line-height: 1.8; }
.network-legend { display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; margin: -.5rem 0 1.1rem; color: rgba(255,255,255,.58); font-family: var(--sans); font-size: .78rem; }
.network-legend span { display: inline-flex; align-items: center; gap: .48rem; }
.network-legend i { display: inline-block; flex: 0 0 auto; }
.legend-node { width: 15px; height: 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: var(--purple-mid); }
.legend-line { width: 28px; height: 0; border-top: 3px solid rgba(221,160,149,.7); }
.keyword-network svg { width: 100%; height: 590px; overflow: visible; }
.keyword-network line { stroke: rgba(200,187,201,.3); stroke-width: var(--w); transition: opacity 180ms ease, stroke 180ms ease; }
.keyword-network circle { fill: var(--fill); stroke: rgba(255,255,255,.35); stroke-width: 1.2; transition: opacity 180ms ease, stroke 180ms ease, filter 180ms ease; }
.keyword-node { cursor: pointer; outline: none; transition: opacity 180ms ease; }
.keyword-edge.is-related { stroke: var(--coral-soft); opacity: .95; }
.keyword-edge.is-dimmed, .keyword-node.is-dimmed { opacity: .09; }
.keyword-node.is-related circle { stroke: var(--white); stroke-width: 3; filter: drop-shadow(0 0 12px rgba(221,160,149,.3)); }
.keyword-network text { fill: var(--white); font-family: var(--sans); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.keyword-insight { max-width: 920px; margin: .5rem auto 0; padding: 1rem 1.2rem; border-left: 3px solid var(--coral); color: rgba(255,255,255,.76); background: rgba(255,255,255,.035); line-height: 1.75; }
.emotion-matrix { grid-template-columns: minmax(0,1fr) minmax(320px,.45fr); gap: 2.2rem; }
.emotion-matrix header { grid-column: 1 / -1; }
.emotion-matrix header p { color: rgba(255,255,255,.58); }
.emotion-matrix header p { max-width: 980px; line-height: 1.75; }
.matrix-grid { display: grid; grid-template-columns: 140px repeat(6,minmax(72px,1fr)); gap: .55rem; }
.matrix-col, .matrix-row { display: grid; place-items: center; min-height: 56px; color: rgba(255,255,255,.63); font-family: var(--sans); font-size: .8rem; text-align: center; }
.matrix-cell { min-height: 76px; border: 1px solid rgba(255,255,255,.1); color: var(--white); background: rgba(149,131,160,calc(.08 + var(--heat) * .75)); cursor: pointer; transition: transform 130ms var(--ease-enter), border-color 160ms ease, background-color 180ms ease; }
.matrix-cell:active { transform: scale(.97); }
.matrix-cell.is-active { border-color: var(--coral-soft); background: rgba(201,130,117,calc(.2 + var(--heat) * .7)); }
#matrix-quotes { min-height: 420px; padding: 1.5rem; border-left: 2px solid var(--coral); background: rgba(255,255,255,.035); }
#matrix-quotes h4 { margin-top: 0; color: var(--coral-soft); font-family: var(--sans); }
#matrix-quotes blockquote { margin: 0 0 1.2rem; padding: 0 0 1.2rem; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.83); line-height: 1.75; }

/* Support network */
.support { min-height: 110vh; }
.support-frame { min-height: 110vh; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 5vw; }
.support-network { position: relative; min-height: 680px; }
.support-network svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.support-network line { stroke: rgba(117,97,129,.35); stroke-width: 1.6; stroke-dasharray: 100 110; stroke-dashoffset: 100; }
.support-network.is-visible line { animation: draw-thread .8s var(--ease-enter) forwards; animation-delay: var(--delay); }
.support-center, .support-node { position: absolute; display: grid; place-items: center; border-radius: 50%; transform: translate(-50%,-50%); text-align: center; }
.support-center { left: 50%; top: 50%; width: 130px; aspect-ratio: 1; color: var(--white); background: var(--purple); }
.support-node { width: clamp(92px,8vw,132px); aspect-ratio: 1; border: 1px solid rgba(117,97,129,.3); background: rgba(255,252,246,.82); box-shadow: 0 12px 25px rgba(58,46,55,.08); }
.support-node strong { display: block; color: var(--purple); font-size: 1.3rem; }
.support-node span { font-size: .84rem; }

/* Law line grows through a full-screen stage. */
.law { height: 430vh; }
.law-stage { position: sticky; top: 0; height: 100vh; min-height: 720px; overflow: hidden; background: var(--paper); }
.law-endpoint { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.025); }
.law-heading { position: absolute; left: 6vw; top: 5vh; z-index: 6; width: min(1040px,72vw); }
.law-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3.4rem,5vw,6.2rem); font-weight: 500; line-height: 1.03; }
.law-thread { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.law-thread path { fill: none; stroke: var(--purple); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 100 110; stroke-dashoffset: 100; }
.law-cards { position: absolute; left: 5vw; right: 5vw; top: 31vh; z-index: 4; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.6vw; align-items: end; height: 29vh; }
.law-card { position: relative; display: grid; grid-template-rows: 165px auto; align-items: end; width: 100%; min-width: 0; height: 258px; padding: 0; border: 0; color: var(--ink); background: transparent; text-align: left; opacity: .18; transform: translate3d(0,26px,0) scale(.92); transform-origin: center bottom; transition: opacity 280ms ease, transform 520ms var(--ease-enter), filter 260ms ease; cursor: pointer; filter: grayscale(.55); }
.law-card::before { content: ""; position: absolute; left: 50%; bottom: -19px; width: 12px; height: 12px; border: 4px solid var(--paper); border-radius: 50%; background: var(--purple-light); box-shadow: 0 0 0 2px rgba(117,97,129,.5); transform: translateX(-50%); }
.law-card.is-past { opacity: .56; transform: translate3d(0,8px,0) scale(.96); filter: grayscale(.2); }
.law-card.is-active { opacity: 1; transform: translate3d(0,-14px,0) scale(1); filter: none; }
.law-card.is-active::before { background: var(--coral); box-shadow: 0 0 0 2px rgba(201,130,117,.55), 0 0 0 9px rgba(201,130,117,.12); }
.law-card-media { display: block; width: 100%; height: 165px; object-fit: contain; filter: drop-shadow(0 13px 17px rgba(49,39,46,.16)); pointer-events: none; }
.law-card-meta { display: grid; grid-template-columns: auto minmax(0,1fr); gap: .75rem; align-items: baseline; min-height: 74px; margin-top: .25rem; padding: .72rem .85rem; border-top: 1px solid rgba(117,97,129,.28); background: rgba(245,239,229,.84); backdrop-filter: blur(7px); }
.law-card-meta strong { display: block; color: var(--purple); font-family: var(--display); font-size: 2.05rem; font-weight: 500; line-height: 1; }
.law-card-meta > span { display: block; margin: 0; font-size: .88rem; line-height: 1.42; }
.law-detail { position: absolute; left: 26vw; right: 6vw; bottom: 5vh; z-index: 7; min-height: 106px; padding: 1.15rem 1.35rem; border-left: 3px solid var(--coral); background: rgba(244,238,228,.91); color: #4c444d; font-size: 1.02rem; line-height: 1.8; box-shadow: 0 16px 36px rgba(45,36,44,.08); backdrop-filter: blur(8px); }

/* Ending and method. */
.ending { min-height: 130vh; overflow: hidden; }
.ending .scene-bg { filter: brightness(.92); }
.ending::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(242,237,227,.88),rgba(242,237,227,.22) 68%); }
.ending-copy { position: relative; z-index: 2; width: min(900px,64vw); margin-left: 7vw; padding-top: 20vh; }
.ending-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(3.5rem,5.4vw,6.2rem); font-weight: 500; line-height: 1.05; }
.ending-copy p { margin-top: 2rem; color: var(--muted); font-size: 1.2rem; line-height: 1.9; }
.method { min-height: 82vh; }
.method-frame { min-height: 82vh; display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; align-items: center; }
.method-copy { color: #4d464e; font-size: 1.03rem; line-height: 1.9; }
.source-list { display: grid; gap: .75rem; margin-top: 2rem; }
.source-list a { width: fit-content; color: var(--purple); text-decoration-color: rgba(117,97,129,.35); text-underline-offset: .25rem; }

@media (hover:hover) and (pointer:fine) {
  .evidence-card:hover { transform: translate(var(--x,0),calc(var(--y,0) - 7px)) rotate(var(--r,0deg)) scale(1.035); }
  .profile-tab:hover, .relationship-tab:hover { color: var(--white); border-color: var(--purple-light); }
  .matrix-cell:hover { border-color: var(--purple-light); }
}

@media (max-width: 1100px) {
  .section-frame { width: min(92vw,960px); }
  .opening-copy { width: 78vw; }
  .evidence-cards { grid-template-columns: repeat(4,1fr); grid-template-rows: repeat(6,1fr); top: 19%; }
  .profile-frame { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .profile-chart { grid-column: 1; grid-row: auto; min-height: 590px; }
  .profile-tabs { align-self: auto; }
  .support-frame { grid-template-columns: 1fr; }
  .support-network { min-height: 600px; }
  .emotion-matrix { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  .section-frame { width: 90vw; padding: 5.5rem 0; }
  .source-line { left: 5vw; right: 5vw; font-size: .68rem; }
  .opening { height: 390vh; }
  .opening-stage { min-height: 620px; }
  .opening-family { width: 118vw; }
  .opening-copy { left: 7vw; top: 12vh; width: 86vw; }
  .opening-copy p { font-size: clamp(1.35rem,6vw,2.15rem); }
  .opening-person { width: 62vw; }
  .paper-left .opening-person { left: -3%; }
  .paper-right .opening-person { right: -4%; }
  .story-copy { left: 7vw; top: 13vh; width: 86vw; }
  .story-beat p { font-size: clamp(1.9rem,7.3vw,3.4rem); }
  .story-door, .story-schedule, .story-dossier, .story-date { right: -6vw; width: 78vw; opacity: .36; }
  .case-copy { left: 6vw; top: 7vh; width: 88vw; }
  .case-copy h2 { font-size: clamp(3rem,11vw,5.2rem); }
  .case-props img { right: -18vw; top: 32vh; width: 96vw; opacity: .35; }
  .case-props img.is-active { opacity: .55; }
  .case-detail { background: rgba(20,18,22,.78); }
  .case-timeline { grid-template-columns: repeat(7,155px); overflow-x: auto; left: 5vw; right: 0; padding-right: 5vw; }
  .evidence-stage { height: 1500px; }
  .evidence-cards { grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(8,1fr); inset: 15% 4% 7%; }
  .evidence-card strong { font-size: .72rem; }
  .evidence-card .status { display: none; }
  .case-drawer { position: fixed; left: 5vw; right: 5vw; top: auto; bottom: 4vh; width: auto; max-height: 66vh; transform: translateY(26px) scale(.97); }
  .behavior-matrix { grid-template-columns: 118px repeat(12,minmax(12px,1fr)); overflow-x: auto; }
  .definition-conditions { grid-template-columns: 1fr; }
  .definition-conditions article { min-height: auto; }
  .official-heading { left: 5vw; width: 90vw; }
  .official-fact { grid-template-columns: auto 1fr; padding: .85rem; }
  .official-fact:nth-child(1) { left: 5vw; top: 49vh; right: 24vw; }
  .official-fact:nth-child(2) { left: 20vw; right: 5vw; top: 67vh; }
  .official-fact strong { font-size: 4.2rem; }
  .official-conclusion { left: 8vw; right: 8vw; bottom: 8vh; display: none; }
  .profile-chart { min-height: 610px; }
  .chart-card { min-height: 570px; padding: 1.2rem; }
  .map-layout { grid-template-columns: 1fr; }
  .map-readout { display: flex; gap: 1rem; align-items: baseline; }
  .map-top { display: none; }
  .mechanism-copy { left: 6vw; width: 88vw; }
  .mechanism-assets img { right: -14vw; top: 31vh; width: 100vw; opacity: .38; }
  .mechanism-assets img.is-active { opacity: .62; }
  .mechanism-track { grid-template-columns: repeat(4,150px); overflow-x: auto; left: 5vw; right: 0; padding-right: 5vw; }
  .outcomes-copy { left: 6vw; width: 88vw; }
  .outcome-routes { left: 3vw; top: 31vh; width: 94vw; height: 55vh; }
  .outcome-dossiers { left: 5vw; right: 5vw; top: 34vh; bottom: 12vh; }
  .outcome-label { width: 110px; }
  .outcome-label strong { font-size: 1.4rem; }
  .relationship-heading { left: 5vw; }
  .relationship-copy { left: 5vw; top: 34vh; width: 90vw; padding: 1rem; background: rgba(24,21,28,.65); }
  .relationship-figures img { width: 67vw; opacity: .5; }
  .relationship-figures img.is-active { opacity: .72; }
  .relationship-tabs { left: 5vw; right: 5vw; bottom: 3vh; overflow-x: auto; }
  .perspective-bubble { width: 66vw; font-size: .82rem; }
  .perspective-bubble:nth-child(1) { left: 4vw; top: 18vh; }
  .perspective-bubble:nth-child(2) { right: 4vw; top: 46vh; }
  .perspective-bubble:nth-child(3) { right: 4vw; top: 61vh; }
  .perspective-bubble:nth-child(4) { left: 4vw; bottom: 12vh; }
  .voices-title { left: 5vw; width: 90vw; }
  .voices-parent { width: 56vw; opacity: .72; }
  .voice-bubble { width: 72vw; font-size: .8rem; }
  .voice-bubble:nth-child(1) { left: 4vw; top: 28vh; }
  .voice-bubble:nth-child(2) { right: 4vw; top: 42vh; }
  .voice-bubble:nth-child(3) { left: 4vw; bottom: 22vh; }
  .voice-bubble:nth-child(4) { right: 4vw; bottom: 8vh; }
  .voice-bubble:nth-child(n+5) { display: none; }
  .theme-treemap { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .matrix-grid { grid-template-columns: 100px repeat(6,92px); overflow-x: auto; }
  .law-heading { left: 5vw; width: 90vw; }
  .law-card { width: 42vw; }
  .law-card:nth-child(1) { left: 2vw; top: 31vh; }
  .law-card:nth-child(2) { left: 28vw; top: 51vh; }
  .law-card:nth-child(3) { left: 50vw; top: 29vh; }
  .law-card:nth-child(4) { left: 65vw; top: 55vh; }
  .law-detail { left: 5vw; width: 90vw; bottom: 8vh; }
  .ending-copy { width: 88vw; margin-left: 6vw; }
  .method-frame { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .opening { height: 100vh; }
  .opening-cold, .paper-half, .opening-shadow, .opening-copy { opacity: 1 !important; }
  .opening-family, .ribbon-whole { opacity: 0 !important; }
  .paper-left { transform: translateX(-6vw) !important; }
  .paper-right { transform: translateX(7vw) !important; }
  .story-intro, .case-story, .mechanism, .outcomes, .relationship, .voices, .law { height: auto; min-height: 100vh; }
  .story-stage, .case-stage, .mechanism-stage, .outcomes-stage, .relationship-stage, .voices-stage, .law-stage { position: relative; }
  .evidence-card, .perspective-bubble, .voice-bubble, .law-card { opacity: 1 !important; transform: none !important; }
  .case-props img:first-child, .mechanism-assets img:first-child, .relationship-figures img:first-child { opacity: 1 !important; }
}

/* v4 interaction and storytelling refinement */
.theme-treemap { gap: .85rem; }
.theme-block {
  appearance: none;
  width: 100%;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 150ms var(--ease-enter), opacity 150ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.theme-block:active { transform: scale(.985); }
.theme-block:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 4px; }
.theme-treemap.has-selection .theme-block:not(.is-selected) { opacity: .38; }
.theme-block.is-selected { z-index: 2; border-color: rgba(255,255,255,.78); box-shadow: inset 0 0 0 2px rgba(255,255,255,.16), 0 10px 28px rgba(0,0,0,.18); transform: translateY(-2px); }
.theme-detail {
  display: grid;
  grid-template-columns: minmax(150px,.32fr) minmax(0,1fr);
  gap: 1.4rem;
  align-items: center;
  min-height: 150px;
  margin-top: 1rem;
  padding: 1.3rem 1.5rem;
  border-left: 3px solid var(--coral);
  background: rgba(255,255,255,.045);
}
.theme-detail strong { color: var(--coral-soft); font-family: var(--display); font-size: clamp(2rem,3vw,3.8rem); font-weight: 500; }
.theme-detail span { display: block; color: rgba(255,255,255,.58); }
.theme-detail blockquote { margin: 0; color: rgba(255,255,255,.84); font-size: 1.02rem; line-height: 1.75; }

@media (hover: hover) and (pointer: fine) {
  .theme-block:hover { z-index: 2; border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
  .theme-treemap:hover .theme-block:not(:hover):not(.is-selected) { opacity: .46; }
}

.chart-card.map-card {
  grid-template-columns: minmax(0,1.55fr) minmax(380px,.5fr);
  gap: 2vw;
  min-height: 760px;
  padding: 2rem;
}
.map-layout { position: relative; }
.china-map { display: block; height: 620px; transform: none !important; filter: none !important; perspective: none; }
.china-map path { filter: none; }
.china-map path.no-data { fill: #4f4953; }
.map-side {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: block;
  min-width: 138px;
  padding: .72rem .9rem;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(29,26,34,.86);
  backdrop-filter: blur(6px);
}
.map-readout strong { font-size: 1.65rem; }
.map-readout span { margin-top: .15rem; font-size: .86rem; }
.map-top { display: none; }

.outcome-origin {
  position: absolute;
  left: 6vw;
  bottom: 16vh;
  z-index: 5;
  display: grid;
  justify-items: center;
  width: min(300px,21vw);
  color: var(--purple);
  font-family: var(--display);
  font-size: clamp(1.35rem,1.8vw,2.1rem);
}
.outcome-origin img { width: 100%; max-height: 27vh; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(45,36,44,.14)); }
.outcome-origin strong { margin-top: -.7rem; font-weight: 500; }
.outcome-routes { left: 20vw; right: 1vw; width: 78vw; }
.outcome-dossiers, .outcome-labels { left: 22vw; right: 3vw; }
.outcome-label { background: rgba(242,237,227,.9); }

.support { min-height: 120vh; }
.support-frame { position: relative; min-height: 120vh; display: block; padding-top: 6vh; }
.support-heading { width: min(760px,70vw); }
.support-heading p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.support-network { min-height: 720px; margin-top: -2rem; }
.support-network svg { z-index: 1; }
.support-network path { fill: none; stroke: rgba(117,97,129,.45); stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 100 110; stroke-dashoffset: 100; vector-effect: non-scaling-stroke; transition: opacity 180ms ease, stroke 180ms ease, stroke-width 180ms ease; }
.support-network.is-visible path { animation: draw-thread .9s var(--ease-enter) forwards; animation-delay: var(--delay); }
.support-origin {
  position: absolute;
  left: 17%;
  top: 54%;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(230px,18vw);
  transform: translate(-50%,-50%);
}
.support-origin img { width: 72%; max-height: 280px; object-fit: contain; filter: grayscale(.25) drop-shadow(0 14px 22px rgba(45,36,44,.12)); }
.support-origin strong { margin-top: .2rem; color: var(--purple); font-family: var(--display); font-size: 1.45rem; font-weight: 500; text-align: center; }
.support-lane-label {
  position: absolute;
  left: 32%;
  z-index: 3;
  color: var(--coral);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .08em;
}
.support-lane-label.actions { top: 25%; }
.support-lane-label.institutions { top: 66%; }
.support-node {
  z-index: 3;
  width: clamp(112px,9vw,148px);
  background: rgba(255,252,246,.62);
  backdrop-filter: blur(5px);
  cursor: default;
  transition: transform 180ms var(--ease-enter), opacity 180ms ease, border-color 180ms ease, background-color 180ms ease;
}
.support-node.is-active { border-color: var(--coral); background: rgba(255,252,246,.9); transform: translate(-50%,-50%) scale(1.06); }
.support-node.is-dimmed { opacity: .36; }
.support-network path.is-active { stroke: var(--coral); stroke-width: 2.6; opacity: 1; }
.support-network path.is-dimmed { opacity: .16; }

.law { height: 300vh; }
.law-stage { background: linear-gradient(180deg,#f3ede3 0%,#eee6d9 74%,#e7ddd0 100%); }
.law-heading { top: 4vh; }
.law-cards { top: 25vh; height: 27vh; }
.law-thread path { stroke-width: 4; }
.law-detail {
  left: 18vw;
  right: 18vw;
  bottom: 23vh;
  min-height: 92px;
  padding: 1rem 1.4rem;
  border-left: 0;
  border-top: 2px solid var(--coral);
  text-align: center;
}
.law-walkway {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 4.3vh;
  z-index: 6;
  height: 126px;
}
.law-route {
  position: absolute;
  left: 0;
  right: 124px;
  bottom: 16px;
  height: 3px;
  background: repeating-linear-gradient(90deg,rgba(117,97,129,.35) 0 14px,rgba(117,97,129,.82) 14px 28px,rgba(201,130,117,.7) 28px 31px);
  transform: scaleX(var(--route-progress,0));
  transform-origin: left center;
  will-change: transform;
}
.law-route::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateY(-50%);
}
.law-packet {
  position: absolute;
  bottom: 25px;
  width: 22px;
  height: 29px;
  z-index: 2;
  border: 1px solid rgba(117,97,129,.32);
  background: linear-gradient(rgba(117,97,129,.22),rgba(117,97,129,.22)) 5px 8px/11px 2px no-repeat, linear-gradient(rgba(117,97,129,.15),rgba(117,97,129,.15)) 5px 14px/9px 2px no-repeat, #f8f2e8;
  box-shadow: 0 5px 10px rgba(54,43,49,.1);
  opacity: 0;
}
.packet-1 { left: 20%; }
.packet-2 { left: 39%; }
.packet-3 { left: 58%; }
.packet-4 { left: 76%; }
.law-protection {
  position: absolute;
  right: 0;
  bottom: -2px;
  z-index: 3;
  width: 160px;
  height: 132px;
  overflow: visible;
}
.law-protection path {
  fill: none;
  stroke: var(--purple);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  opacity: .22;
}
.law-child-static {
  position: absolute;
  right: 47px;
  bottom: 3px;
  z-index: 4;
  width: auto;
  height: 102px;
  object-fit: contain;
  opacity: .72;
  transform-origin: center bottom;
  will-change: transform, opacity;
}

@media (max-width: 760px) {
  .theme-detail { grid-template-columns: 1fr; }
  .chart-card.map-card { grid-template-columns: 1fr; }
  .china-map { height: 400px; }
  .outcome-origin { left: 4vw; bottom: 13vh; width: 26vw; }
  .outcome-routes { left: 18vw; width: 86vw; }
  .outcome-dossiers, .outcome-labels { left: 20vw; right: 2vw; }
  .support-heading { width: 92vw; }
  .support-network { min-height: 760px; margin-top: 0; }
  .support-origin { left: 50%; top: 20%; width: 34vw; }
  .support-lane-label { left: 5%; }
  .support-lane-label.actions { top: 36%; }
  .support-lane-label.institutions { top: 69%; }
  .law { height: auto; min-height: 100vh; }
  .law-stage { position: relative; min-height: 1160px; }
  .law-detail { left: 5vw; right: 5vw; bottom: 18vh; }
  .law-walkway { left: 5vw; right: 5vw; bottom: 3vh; }
  .law-route { right: 94px; }
  .law-protection { width: 128px; height: 106px; }
  .law-child-static { right: 38px; height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-block, .support-node { transition: none !important; }
  .law-child-static { opacity: 1 !important; transform: none !important; }
  .law-route { transform: scaleX(1); }
  .law-protection path { stroke-dashoffset: 0 !important; opacity: 1 !important; }
  .law-packet { opacity: 1 !important; transform: none !important; }
}

/* v4.4 section-title artwork
   The heading remains semantic through its sr-only text; the PNG owns only the visual treatment. */
.section-title-image {
  width: min(100%, var(--title-art-width, 760px));
  margin: 0;
  font-size: 0 !important;
  line-height: 0 !important;
}
.section-title-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--title-art-max-height, none);
  object-fit: contain;
  object-position: left top;
  user-select: none;
  pointer-events: none;
}
.section-title-image--case { --title-art-width: 650px; }
.section-title-image--evidence { --title-art-width: 520px; }
.section-title-image--definition { --title-art-width: 760px; }
.section-title-image--official { --title-art-width: 900px; }
.section-title-image--profile { --title-art-width: 690px; }
.section-title-image--mechanism { --title-art-width: 430px; }
.section-title-image--outcomes { --title-art-width: 450px; }
.section-title-image--relationship { --title-art-width: 430px; }
.section-title-image--voices { --title-art-width: 760px; }
.section-title-image--social { --title-art-width: 720px; }
.section-title-image--support { --title-art-width: 740px; }
.section-title-image--law { --title-art-width: 500px; }
.section-title-image--ending { --title-art-width: 850px; }
.section-title-image--method { --title-art-width: 620px; }

/* Reserve real space for title artwork instead of layering it over the data. */
.evidence-cards { inset-block-start: 35%; }
.law-cards { top: 34vh; }
.voice-bubble:nth-child(-n+4) { top: 39vh; }
.outcome-routes { left: 40vw; width: 58vw; }
.outcome-dossiers,
.outcome-labels { left: 40vw; }
.case-copy > .section-title-image + p,
.official-heading > .section-title-image + p,
.mechanism-copy > .section-title-image + p,
.outcomes-copy > .section-title-image + p,
.ending-copy > .section-title-image + p { margin-top: clamp(.8rem, 1.8vh, 1.4rem); }

@media (max-width: 1100px) {
  .evidence-stage { height: max(100vh, 1240px); }
  .evidence-cards { inset-block-start: 25%; }
  .section-title-image--evidence { --title-art-width: 470px; }
}

@media (max-width: 899px) {
  .section-title-image { max-width: 90vw; }
  .section-title-image--case { --title-art-width: min(78vw, 570px); }
  .section-title-image--evidence { --title-art-width: min(66vw, 470px); }
  .section-title-image--definition,
  .section-title-image--official,
  .section-title-image--profile,
  .section-title-image--social,
  .section-title-image--support,
  .section-title-image--ending,
  .section-title-image--method { --title-art-width: min(88vw, 680px); }
  .section-title-image--mechanism { --title-art-width: min(58vw, 410px); }
  .section-title-image--outcomes { --title-art-width: min(66vw, 450px); }
  .section-title-image--relationship { --title-art-width: min(58vw, 410px); }
  .section-title-image--voices { --title-art-width: min(76vw, 650px); }
  .section-title-image--law { --title-art-width: min(68vw, 500px); }
  .evidence-cards { inset-block-start: 20%; }
  .outcome-routes { left: 20vw; top: 38vh; width: 80vw; }
  .outcome-dossiers,
  .outcome-labels { left: 22vw; top: 40vh; }
  .voice-bubble:nth-child(1) { top: 31vh; }
  .perspective-bubble:nth-child(1) { top: 26vh; }
  .relationship-copy { top: 43vh; }
}

@media (max-width: 560px) {
  .section-title-image--case { --title-art-width: 82vw; }
  .section-title-image--evidence { --title-art-width: 74vw; }
  .section-title-image--mechanism { --title-art-width: 64vw; }
  .section-title-image--outcomes { --title-art-width: 78vw; }
  .section-title-image--relationship { --title-art-width: 64vw; }
  .section-title-image--voices { --title-art-width: 82vw; }
  .section-title-image--law { --title-art-width: 74vw; }
}

/* v4.3 responsive theme mosaic
   Keeps the area hierarchy of a treemap while reserving enough room for every label. */
.social-frame,
.social-scope,
.theme-composition,
.keyword-network,
.emotion-matrix,
.matrix-grid { min-width: 0; }
.theme-composition h3 {
  max-width: 100%;
  font-size: clamp(2.3rem, 4.1vw, 4.8rem);
  line-height: 1.12;
  text-wrap: balance;
}
.theme-treemap {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: clamp(.35rem, .55vw, .7rem);
  width: 100%;
  height: clamp(500px, 57vh, 640px);
  min-height: 500px;
  overflow: visible;
}
.theme-block,
.theme-block.is-compact {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: clamp(.7rem, 1vw, 1.25rem);
  border-width: clamp(2px, .24vw, 4px);
  overflow: clip;
  align-content: end;
}
.theme-block strong,
.theme-block.is-compact strong {
  display: block;
  max-width: 100%;
  font-size: clamp(.9rem, 1.08vw, 1.4rem);
  line-height: 1.18;
  white-space: nowrap;
  word-break: keep-all;
}
.theme-block span,
.theme-block.is-compact span {
  display: block;
  margin-top: .28em;
  font-size: clamp(1.35rem, 2.1vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}
.theme-block[data-rank="1"] { grid-column: 1 / 6; grid-row: 1 / 7; }
.theme-block[data-rank="2"] { grid-column: 6 / 11; grid-row: 1 / 7; }
.theme-block[data-rank="3"] { grid-column: 11 / 14; grid-row: 1 / 7; }
.theme-block[data-rank="4"] { grid-column: 14 / 17; grid-row: 1 / 3; }
.theme-block[data-rank="5"] { grid-column: 14 / 17; grid-row: 3 / 5; }
.theme-block[data-rank="6"] { grid-column: 14 / 17; grid-row: 5 / 6; }
.theme-block[data-rank="7"] { grid-column: 14 / 17; grid-row: 6 / 7; }
.theme-block[data-rank="1"] strong,
.theme-block[data-rank="2"] strong,
.theme-block[data-rank="3"] strong { font-size: clamp(1.08rem, 1.35vw, 1.7rem); }
.theme-block[data-rank="1"] span,
.theme-block[data-rank="2"] span,
.theme-block[data-rank="3"] span { font-size: clamp(2rem, 3vw, 4rem); }
.theme-block[data-rank="6"],
.theme-block[data-rank="7"] { padding: clamp(.48rem, .65vw, .72rem) clamp(.65rem, .85vw, 1rem); }
.theme-block[data-rank="6"] strong,
.theme-block[data-rank="7"] strong { font-size: clamp(.82rem, .82vw, 1rem); }
.theme-block[data-rank="6"] span,
.theme-block[data-rank="7"] span {
  margin-top: .18em;
  font-size: clamp(1.25rem, 1.45vw, 1.8rem);
}
.theme-treemap.has-selection .theme-block:not(.is-selected) { opacity: .76; }

@media (max-width: 1100px) {
  .emotion-matrix { grid-template-columns: minmax(0, 1fr); }
  .matrix-grid {
    width: 100%;
    max-width: 100%;
  }
  .theme-treemap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(138px, auto);
    height: auto;
    min-height: 0;
  }
  .theme-block[data-rank] {
    grid-column: auto;
    grid-row: auto;
    min-height: 138px;
  }
  .theme-block[data-rank="1"],
  .theme-block[data-rank="2"],
  .theme-block[data-rank="3"] { min-height: 176px; }
}

@media (max-width: 620px) {
  .theme-composition h3 { font-size: clamp(2.05rem, 10vw, 3.2rem); }
  .social-frame { width: 90vw; }
  .matrix-grid {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-inline: contain;
  }
  .theme-treemap {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(118px, auto);
  }
  .theme-block[data-rank],
  .theme-block[data-rank="1"],
  .theme-block[data-rank="2"],
  .theme-block[data-rank="3"] { min-height: 118px; }
  .theme-block strong,
  .theme-block.is-compact strong { font-size: 1rem; }
  .theme-block span,
  .theme-block.is-compact span { font-size: 2rem; }
}
