/* Reports (round 5): the end of a quarter, evening. Noor plays Recap on her phone on the sofa, her brother
   beside her. The real Recap on the phone carries the numbers; the drawing only tells the moment: the phone
   lights their faces, he leans in, is amazed, cheers under confetti and party lights, then pats her shoulder. */
.reports { --mark: #C9B8FF; }
.reports .rp-wall { background: linear-gradient(180deg, #F4ECF2 0%, #EFE2E6 55%, #EBD8D2 100%); }

/* ---------- the living room (one picture, mirrored for Arabic) ---------- */
.reports .rp-view { position: absolute; inset: 0; pointer-events: none; }
.reports .rp-scene { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 720px 0; }
.reports[dir="rtl"] .rp-scene { transform: scaleX(-1); }
.reports .rp-room, .reports .rp-front { position: absolute; left: 0; top: 0; overflow: visible; }
.reports .rp-front { z-index: 2; }
/* the two of them at full size (360 x 410, feet at 0,0 = svg 180,400) with their feet on the floor (y 846);
   seated, their hips (y 782) rest right on the seat cushion (y 786). Noor faces her brother: her knees
   point away from him, his away from her, so their shoulders meet in the middle */
.reports .rp-p { position: absolute; top: 446px; z-index: 1; }
.reports .rp-noor { left: 500px; }
.reports .rp-bro { left: 620px; }
.reports .rp-p > svg { display: block; overflow: visible; width: 360px; height: 410px; transform-origin: 180px 336px; transition: rotate .6s var(--ease); }
.reports .rp-noor > svg { transform: scaleX(-1); }
.reports .kc .pr-bag, .reports .kc .fing, .reports .kc .pr-box { opacity: 0 !important; }
/* he leans in to see her phone */
.reports .rp-lean > svg { rotate: -6deg; }
.reports .rp-pat > svg { rotate: -4deg; }
.reports .rp-think .kc { --sh-r: 56.9deg; --el-r: 149.7deg; --sh-l: -8.1deg; --el-l: -40.2deg; }
.reports .rp-cheer .kc { --sh-r: -163.9deg; --el-r: 9.2deg; --sh-l: 163.9deg; --el-l: -9.2deg; }
/* his hand on her shoulder */
.reports .rp-pat .kc { --sh-r: -36.7deg; --el-r: 62.3deg; --sh-l: 26.5deg; --el-l: 130.8deg; }

/* ---------- the moment (no numbers: the phone carries them) ---------- */
.reports .rp-shine { opacity: 0; transition: opacity .8s var(--ease); }
.reports.fx-shine .rp-shine { opacity: 1; animation: rp-shine 2.4s ease-in-out infinite alternate; }
@keyframes rp-shine { from { opacity: .75; } to { opacity: 1; } }
.reports .rp-tw { transform-box: fill-box; transform-origin: 50% 50%; scale: 0; }
.reports.fx-spark .rp-tw { animation: rp-tw 1.1s var(--dl, 0s) ease-in-out infinite alternate; }
@keyframes rp-tw { 0% { scale: 0; rotate: 0deg; } 60% { scale: 1.15; } 100% { scale: .8; rotate: 45deg; } }
.reports .rp-say .rp-pop { transform-box: fill-box; transform-origin: 50% 100%; scale: 0; opacity: 0; transition: scale .45s var(--spring), opacity .25s ease; }
.reports.fx-wow .rp-say-wow .rp-pop, .reports.fx-star .rp-say-star .rp-pop, .reports.fx-heart .rp-say-heart .rp-pop { scale: 1; opacity: 1; }
.reports.fx-wow .rp-say-wow .rp-pop { animation: rp-bob 1.2s .45s ease-in-out infinite alternate; }
.reports.fx-heart .rp-say-heart .rp-pop { animation: rp-beat .9s .45s ease-in-out infinite; }
@keyframes rp-bob { from { translate: 0 0; } to { translate: 0 -6px; } }
@keyframes rp-beat { 0%, 100% { scale: 1; } 30% { scale: 1.12; } 60% { scale: .97; } }
.reports .rp-cf { opacity: 0; }
.reports.fx-conf .rp-cf { animation: rp-fall 2.2s var(--dl, 0s) cubic-bezier(.25,.6,.4,1) both; }
@keyframes rp-fall { 0% { opacity: 0; transform: translate(0, 60px) scale(.2); } 12% { opacity: 1; transform: translate(calc(var(--dx) * .3), -30px) scale(1); }
  85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); } }
.reports .rp-bulb circle { opacity: .4; transition: opacity .5s ease; }
.reports.fx-lights .rp-bulb circle { opacity: 1; animation: rp-blink 1.4s var(--dl, 0s) ease-in-out infinite alternate; }
@keyframes rp-blink { from { opacity: 1; } to { opacity: .55; } }
.reports.fx-lights .rp-lampglow { opacity: 1; }

/* ---------- copy (start edge) ---------- */
.reports .rp-copy { position: absolute; inset-inline-start: 96px; top: 100px; width: 470px; z-index: 4; }
.reports .rp-eyeic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; color: #7A5CCB; box-shadow: var(--shadow-1); }
.reports .rp-eyeic svg { width: 18px; height: 18px; }
.reports .rp-copy .h2 { font-size: 48px; }
.reports .rp-copy .lead { margin-top: 14px; font-size: 18px; }
.reports .rp-facts { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 5px; }
.reports .rp-facts li { position: relative; padding-inline-start: 18px; font-size: 15px; font-weight: 700; line-height: 1.4; }
.reports .rp-facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 8px; height: 8px; border-radius: 2px; background: #7A5CCB; }
.reports .rp-beats { margin-top: 18px; }
.reports .rp-beats .beats { gap: 4px 18px; }
.reports .rp-beats .beats li { font-size: 14px; padding-bottom: 7px; }
.reports .rp-beats .beats li i { background: #7A5CCB; }

/* ---------- the live phone (end edge) ---------- */
.reports .rp-phone { position: absolute; inset-inline-end: 56px; top: 98px; z-index: 4; }
.reports .rp-phone .phone { --pz: .8; }
.reports[lang="ar"] .rp-p-en, .reports:not([lang="ar"]) .rp-p-ar { display: none; }

@media (prefers-reduced-motion: reduce) { .reports .rp-tw, .reports .rp-say .rp-pop, .reports .rp-bulb circle, .reports .rp-shine { animation: none !important; } .reports .rp-cf { display: none; } .reports .rp-p > svg { transition: none; } }

/* ---------- phone-only: copy, then the family on the sofa (the page's phone is hidden on phones) ---------- */
html.kp-narrow .reports .kframe { display: flex; flex-direction: column; padding: 88px 0 40px; }
html.kp-narrow .reports .rp-copy { position: static; width: auto; padding: 0 20px; order: 1; }
html.kp-narrow .reports .rp-copy .h2 { font-size: 38px; }
html.kp-narrow .reports .rp-copy .lead { font-size: 17px; }
html.kp-narrow .reports .rp-view { position: relative; inset: auto; order: 2; width: 760px; height: 560px; overflow: hidden; margin: 18px auto 0; zoom: .5; }
html.kp-narrow .reports .rp-scene { left: -360px; top: -320px; }
html.kp-narrow .reports[dir="rtl"] .rp-scene { left: -320px; }
html.kp-narrow .reports .rp-phone { display: none !important; }
@media (min-width: 420px) { html.kp-narrow .reports .rp-view { zoom: .54; } }
@media (min-width: 520px) { html.kp-narrow .reports .rp-view { zoom: .66; } }
@media (min-width: 640px) { html.kp-narrow .reports .rp-view { zoom: .8; } }
@media (max-width: 359px) { html.kp-narrow .reports .rp-view { zoom: .45; } }

/* phones, told full screen (kphone-story.js, story/reports.js): the whole 1440 x 900 room, moved by the
   story's camera; the old crop is undone */
html.kp-narrow .reports[data-kst] .rp-scene, html.kp-narrow .reports[dir="rtl"][data-kst] .rp-scene { left: 0; top: 0; }
