.ch{height:58vh;overflow:clip}
.ch-pin{position:sticky;top:84px;height:34vh;display:grid;place-items:center}
.ch-card{position:relative;overflow:hidden;width:min(1100px,calc(100% - 48px));min-height:0;height:100%;display:grid;place-items:center;margin:0;background:#101633;color:#F5F7FF;border:2px solid #EED200;transform-origin:center;will-change:transform}
.ch-card p{position:relative;z-index:1;margin:0;font-family:var(--font-display);font-weight:650;font-size:clamp(40px,7vw,88px);letter-spacing:-.04em;text-align:center}
.ch[data-chapter="work"] .ch-card{background:linear-gradient(#EED200,#EED200) left/12px 100% no-repeat,repeating-linear-gradient(90deg,#1636E0 0 2px,transparent 2px 46px) right/36% 100% no-repeat,repeating-linear-gradient(#1636E0 0 2px,transparent 2px 40px) right/36% 100% no-repeat,#101633}
.ch[data-chapter="teaching"] .ch-card{background:radial-gradient(circle at 14% 24%,#FFE100 0 16px,transparent 18px),radial-gradient(circle at 84% 20%,#EED200 0 9px,transparent 11px),radial-gradient(circle at 76% 76%,#FFE100 0 20px,transparent 22px),radial-gradient(circle at 24% 72%,#3D57FF 0 24px,transparent 26px),#0022CB}
.ch[data-chapter="hi"] .ch-card{color:#101633;border-color:#101633;background:linear-gradient(135deg,#101633 0 16%,transparent 16%),repeating-linear-gradient(90deg,#FFE100 0 22px,#EED200 22px 44px)}
.ch[data-chapter="repeat"] .ch-card{background:linear-gradient(#EED200,#EED200) 8% 100%/12px 16% no-repeat,linear-gradient(#3D57FF,#3D57FF) 22% 100%/12px 26% no-repeat,linear-gradient(#EED200,#EED200) 36% 100%/12px 12% no-repeat,linear-gradient(#1636E0,#1636E0) 50% 100%/12px 30% no-repeat,linear-gradient(#FFE100,#FFE100) 64% 100%/12px 18% no-repeat,linear-gradient(#3D57FF,#3D57FF) 78% 100%/12px 14% no-repeat,linear-gradient(#EED200,#EED200) 92% 100%/12px 22% no-repeat,#101633}
html[data-theme="dark"] .ch[data-chapter="hi"] .ch-card,html[data-theme="dark"] .ch[data-chapter="hi"] .ch-card p{color:#101633}
html[data-theme="dark"] .ch[data-chapter="work"] .ch-card p,html[data-theme="dark"] .ch[data-chapter="teaching"] .ch-card p,html[data-theme="dark"] .ch[data-chapter="repeat"] .ch-card p{color:#F5F7FF}
html.rs-zen .ch{opacity:.25;pointer-events:none}
@media(prefers-reduced-motion:reduce){
.ch{height:auto}
.ch-pin{position:static;height:auto;padding:28px 0}
.ch-card{height:auto;min-height:0;padding:28px 16px;transform:none!important;border-radius:0!important;box-shadow:none!important}
}
@media(max-width:700px){.ch{height:46vh}.ch-pin{height:30vh;top:72px}.ch-card{width:calc(100% - 28px);min-height:0;height:100%}.ch-card p{font-size:clamp(28px,8vw,44px)}}
