/* Challenge 3 · Memories (scoped under #run3) */
#run3 { background: #0B0D12; font-family: 'Inter', system-ui, sans-serif; }
#run3 .sc { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
#run3 .ly { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 60%; }
#run3 .ly > svg, #run3 svg.full { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; display: block; overflow: visible; }
#run3 .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#run3 .lbar { position: absolute; left: 0; right: 0; height: 50%; background: #0B0D12; z-index: 16; transform: scaleY(0); }
#run3 .lbar.lt { top: 0; transform-origin: 50% 0; }
#run3 .lbar.lb { bottom: 0; transform-origin: 50% 100%; }
#run3 .shade { position: absolute; inset: 0; background: #05070B; opacity: 0; pointer-events: none; }

/* film finish */
#run3 .grade { position: absolute; inset: 0; z-index: 38; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 46%, rgba(0,0,0,0) 58%, rgba(24,10,2,.42) 100%); }
#run3 .warm { position: absolute; inset: 0; z-index: 37; pointer-events: none; background: #FFB36B; mix-blend-mode: soft-light; opacity: .22; }
#run3 canvas.grain { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: 39; pointer-events: none; mix-blend-mode: overlay; opacity: .3; }
#run3 canvas.snow { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: 30; pointer-events: none; visibility: hidden; }

/* Memories type */
#run3 .mem { position: absolute; left: 140px; color: #fff; z-index: 20; }
#run3 .mem .tt { font-weight: 800; font-size: 136px; letter-spacing: -.05em; line-height: .98; }
#run3 .mem .st { font-weight: 600; font-size: 40px; letter-spacing: -.012em; margin-top: 22px; color: rgba(255,255,255,.88); }
#run3 .mem.dark { color: #10192B; }
#run3 .mem.dark .st { color: rgba(16,25,43,.66); }
#run3 .msk { overflow: hidden; clip-path: inset(-12px -24px 0 -24px); padding-bottom: 10px; }

/* shot 2 · helmets slideshow */
#run3 .slide { position: absolute; inset: 0; overflow: hidden; }
#run3 .scrimL { position: absolute; inset: 0; z-index: 15; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,12,22,.78) 0%, rgba(8,12,22,.55) 34%, rgba(8,12,22,0) 58%); }
#run3 .cap { position: absolute; left: 140px; bottom: 120px; z-index: 20; color: #fff; width: 760px; }
#run3 .cap .lab { font-size: 28px; font-weight: 700; letter-spacing: .14em; color: #F6C99B; text-transform: uppercase; }
#run3 .cap .a { font-size: 54px; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; margin-top: 18px; }
#run3 .cap .b { display: flex; align-items: baseline; gap: 26px; margin-top: 26px; }
#run3 .cap .b .yr { font-size: 64px; font-weight: 700; letter-spacing: -.03em; }
#run3 .cap .b .pc { font-size: 176px; font-weight: 800; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
#run3 .cap .bar { margin-top: 26px; height: 16px; width: 640px; border-radius: 8px; background: rgba(255,255,255,.18); overflow: hidden; }
#run3 .cap .bar i { display: block; height: 100%; width: 100%; border-radius: 8px; background: #fff; transform-origin: 0 50%; }

/* shot 3 · growth chart */
#run3 .hand { font-family: 'Cormorant', serif; font-style: italic; font-weight: 600; color: #3E3833; }

/* shot 4 · trade-up */
#run3 .phone { position: absolute; left: 1130px; top: 186px; width: 424px; height: 868px; z-index: 12; }
#run3 .ph-body { position: absolute; inset: 0; border-radius: 74px; background: linear-gradient(135deg, #3A3A3E, #121214 40%, #1E1E21 70%, #49494E);
  box-shadow: 0 50px 90px rgba(40,24,8,.38), 0 14px 28px rgba(40,24,8,.25), inset 0 0 0 2px rgba(255,255,255,.08); }
#run3 .ph-screen { position: absolute; left: 13px; top: 13px; right: 13px; bottom: 13px; border-radius: 62px; overflow: hidden; background: #F6F3EF; color: #111; }
#run3 .ph-island { position: absolute; left: 50%; top: 18px; width: 128px; height: 38px; margin-left: -64px; border-radius: 20px; background: #000; z-index: 5; }
#run3 .ph-status { position: absolute; left: 0; right: 0; top: 18px; height: 38px; padding: 0 36px 0 46px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 26px; z-index: 4; letter-spacing: -.01em; }
#run3 .ph-status svg { position: static; width: 86px; height: 24px; }
#run3 .ph-pages { position: absolute; left: 0; top: 0; width: 300%; height: 100%; display: flex; }
#run3 .pg { width: 33.3333%; height: 100%; position: relative; padding: 92px 28px 0; }
#run3 .ph-app { display: flex; align-items: center; justify-content: space-between; }
#run3 .ph-app b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
#run3 .ph-app span { font-weight: 900; font-style: italic; font-size: 30px; letter-spacing: -.05em; color: #E21F26; }
#run3 .ph-h { font-size: 30px; font-weight: 600; color: #6B655E; margin-top: 8px; letter-spacing: -.01em; }
#run3 .vf { position: relative; margin-top: 24px; height: 420px; border-radius: 34px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #4A423B, #221E1A 75%); }
#run3 .vf svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#run3 .scanl { position: absolute; left: 22px; right: 22px; top: 40px; height: 70px; }
#run3 .scanl i { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: #FF4A4F; }
#run3 .scanl b { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,74,79,0), rgba(255,74,79,.28)); }
#run3 .chip { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; background: #fff; color: #111; border-radius: 26px; padding: 10px 20px 10px 12px; font-size: 26px; font-weight: 700; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
#run3 .chip i { width: 34px; height: 34px; border-radius: 50%; background: #1FA463; display: grid; place-items: center; }
#run3 .chip i svg { position: static; width: 20px; height: 20px; }
#run3 .btn { margin-top: 26px; height: 84px; border-radius: 42px; background: #111; color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
#run3 .credit { margin-top: 70px; text-align: center; }
#run3 .credit .k { font-size: 30px; font-weight: 600; color: #6B655E; }
#run3 .credit .v { font-size: 136px; font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; color: #111; }
#run3 .credit .k2 { font-size: 30px; font-weight: 700; color: #E21F26; margin-top: 8px; }
#run3 .rcpt { margin-top: 56px; background: #fff; border-radius: 28px; padding: 26px 28px; box-shadow: 0 2px 0 rgba(0,0,0,.04); }
#run3 .rcpt div { display: flex; justify-content: space-between; font-size: 28px; font-weight: 600; padding: 10px 0; }
#run3 .rcpt div + div { border-top: 2px solid #EFEAE4; }
#run3 .rcpt s { color: #A39C94; margin-right: 12px; }
#run3 .rcpt b { font-weight: 800; }
#run3 .boxv { position: relative; height: 330px; margin-top: 20px; }
#run3 .boxv svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#run3 .ship { font-size: 46px; font-weight: 800; letter-spacing: -.04em; text-align: center; margin-top: 8px; }
#run3 .prog { margin: 34px 6px 0; height: 14px; border-radius: 7px; background: #E6E0D8; position: relative; }
#run3 .prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 7px; background: #1FA463; transform-origin: 0 50%; }
#run3 .steps { display: flex; justify-content: space-between; margin: 16px 0 0; font-size: 26px; font-weight: 600; color: #6B655E; }

/* shot 5 · timeline */
#run3 .cnt { position: absolute; left: 140px; top: 150px; color: #10192B; z-index: 5; }
#run3 .cnt .big { display: flex; align-items: baseline; gap: 26px; }
#run3 .cnt .n { font-size: 240px; font-weight: 800; letter-spacing: -.07em; line-height: .86; font-variant-numeric: tabular-nums; color: #E21F26; }
#run3 .cnt .w { font-size: 92px; font-weight: 800; letter-spacing: -.05em; }
#run3 .cnt .sub { font-size: 40px; font-weight: 600; color: rgba(16,25,43,.62); margin-top: 18px; letter-spacing: -.01em; }
#run3 .cnt .today { font-size: 44px; font-weight: 700; color: rgba(16,25,43,.38); margin-top: 26px; letter-spacing: -.02em; }
#run3 .yrs { position: absolute; left: 0; top: 918px; width: 1920px; height: 60px; font-size: 38px; font-weight: 700; color: #10192B; letter-spacing: -.02em; z-index: 5; }
#run3 .yrs > span { position: absolute; top: 0; transform: translateX(-50%); }

/* shot 6 · next winter */
#run3 .chart { position: absolute; left: 140px; top: 430px; width: 660px; height: 380px; border-radius: 30px; background: rgba(10,18,32,.74); z-index: 18; overflow: hidden; }
#run3 .chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#run3 .fis { position: absolute; left: 140px; bottom: 96px; z-index: 18; color: #fff; font-size: 42px; font-weight: 700; letter-spacing: -.02em; background: rgba(10,18,32,.78); border-radius: 26px; padding: 16px 30px 18px; }
#run3 .fis em { font-style: normal; color: #F6C99B; }
#run3 .scrimB { position: absolute; inset: 0; z-index: 14; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,12,22,.62) 0%, rgba(8,12,22,.38) 36%, rgba(8,12,22,0) 52%); }

/* finish */
#run3 .vix { position: absolute; left: 0; right: 0; bottom: 74px; text-align: center; z-index: 25; font-weight: 900; font-style: italic; font-size: 104px; letter-spacing: -.07em; color: #0A1424; line-height: 1; }
#run3 .vix i { display: block; width: 64px; height: 6px; background: #E21F26; margin: 14px auto 0; border-radius: 3px; }
/* darkens the top-left of a real family photo so the Memories title stays readable */
#run3 .pscrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,12,22,.62) 0%, rgba(8,12,22,.28) 26%, rgba(8,12,22,0) 44%), linear-gradient(90deg, rgba(8,12,22,.35) 0%, rgba(8,12,22,0) 45%); }
