/* ================= cinematic scroll (home: why now) ================= */
.cine { position: relative; height: 560vh; background: var(--paper-warm); }
.cine-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-intro { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: calc(var(--header-h) + 3vh); text-align: center; pointer-events: none; }
.cine-intro .kicker { margin-bottom: 10px; }
.cine-intro h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 900; color: var(--ink); }
.cine-frame { position: absolute; inset: 0; z-index: 2; clip-path: inset(var(--ct, 24%) var(--cs, 18%) var(--cb, 8%) var(--cs, 18%) round var(--cr, 18px)); background: var(--ink); }
.cine-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.cine-bg.on { opacity: 1; }
.cine-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zs, 1.15)); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.cine-bg.on img { --zs: 1.02; }
.cine-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,31,68,.82) 0%, rgba(10,31,68,.45) 50%, rgba(10,31,68,.25) 100%); opacity: var(--sh, 0); }
.cine-slide { position: absolute; inset: 0; z-index: 3; color: #fff; opacity: 0; visibility: hidden; transition: opacity .6s, visibility 0s .6s; }
.cine-slide.on { opacity: 1; visibility: visible; transition: opacity .6s .15s, visibility 0s; }
.cine-copy { position: absolute; left: max(24px, calc((100vw - 1200px) / 2)); bottom: 13vh; max-width: min(560px, 86vw); }
.cine-num { font-size: clamp(64px, 8vw, 128px); font-weight: 900; line-height: .95; color: var(--accent); letter-spacing: -.02em; }
.cine-num small { font-size: .32em; margin-left: .15em; letter-spacing: 0; }
.cine-say { margin-top: 18px; font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif; font-size: clamp(20px, 2vw, 30px); line-height: 1.6; font-weight: 600; }
.cine-say em { font-style: normal; color: var(--accent); }
.cine-src { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.6); }
.cine-slide > * { transform: translateY(30px); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.cine-slide.on > * { transform: none; }

/* data graphics, centre right */
.cine-chart { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); top: 50%; width: min(460px, 40vw); translate: 0 -50%; font-size: 13px; font-weight: 700; }
.cc-label { display: flex; justify-content: space-between; margin-bottom: 10px; color: rgba(255,255,255,.75); }
.pill { display: inline-grid; place-items: center; min-width: 54px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 900; }
/* bars */
.cc-bars { display: flex; align-items: flex-end; gap: 28px; height: 300px; border-bottom: 2px solid rgba(255,255,255,.5); }
.cc-bar { position: relative; flex: 1; height: 0; transition: height 1.4s cubic-bezier(.2,.8,.2,1) .3s; }
.cine-slide.on .cc-bar { height: var(--h); }
.cc-bar.dash { border: 2px dashed rgba(255,255,255,.7); border-bottom: 0; }
.cc-bar.solid { border: 2px solid #fff; border-bottom: 0; background: rgba(255,255,255,.08); }
.cc-bar .pill { position: absolute; left: 50%; top: -15px; translate: -50% 0; white-space: nowrap; }
.cc-bar i { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-style: normal; color: rgba(255,255,255,.75); }
.cc-x { position: absolute; left: 50%; top: 30%; translate: -50% 0; font-size: 44px; font-weight: 900; color: var(--accent); opacity: 0; transition: opacity .6s 1.4s; }
.cine-slide.on .cc-x { opacity: 1; }
/* dot grid */
.cc-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
.cc-dots span { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255,255,255,.55); transition: background .3s, border-color .3s; }
.cine-slide.on .cc-dots span.y { background: var(--accent); border: 2px solid var(--accent); transition-delay: calc(var(--i) * 40ms + .4s); }
.cc-legend { margin-top: 18px; display: flex; gap: 22px; color: rgba(255,255,255,.8); }
.cc-legend b { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); vertical-align: -2px; margin-right: 6px; }
.cc-legend b.d { background: none; border: 2px dashed rgba(255,255,255,.6); }
/* boxes (agency style) */
.cc-boxes { display: grid; gap: 18px; }
.cc-box { position: relative; height: 92px; width: 0; padding: 14px 18px; border: 2px solid #fff; transition: width 1.3s cubic-bezier(.2,.8,.2,1) .3s; white-space: nowrap; overflow: visible; }
.cc-box.dash { border-style: dashed; border-color: rgba(255,255,255,.75); }
.cine-slide.on .cc-box { width: var(--w); }
.cc-box .pill { position: absolute; right: -27px; top: 50%; translate: 0 -50%; }
/* counter + source pill */
.cine-ui { position: absolute; z-index: 4; left: 50%; bottom: 4.5vh; translate: -50% 0; display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 16px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); color: var(--ink); font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .4s; }
.cine-ui.on { opacity: 1; }
.cine-ui span { font-variant-numeric: tabular-nums; }
.cine-ui a { margin-left: 10px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.cine-prog { position: absolute; z-index: 4; left: 0; top: 0; height: 4px; background: var(--accent); width: 0; }
@media (max-width: 860px) {
  .cine-chart { left: 24px; right: 24px; width: auto; top: calc(var(--header-h) + 10px); translate: none; }
  .cc-bars { height: 180px; }
  .cc-dots { gap: 6px; }
  .cc-box { height: 70px; }
  .cine-copy { bottom: 12vh; }
  .cine-num { font-size: 56px; }
  .cine-say { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .cine-bg img, .cine-slide > *, .cc-bar, .cc-box { transition: none; } }

.cine-ui span { white-space: nowrap; }
@media (max-width: 860px) {
  .cine-ui { bottom: 2.5vh; }
  .cine-copy { bottom: 15vh; }
  .cine-say br { display: none; }
  .cc-box { white-space: normal; padding: 8px 10px; font-size: 12px; line-height: 1.4; }
  .cc-box.dash { min-width: 46%; }
}
