/* The HR film (/hr-agent). Builds on public/agent.css (k- kit); h- = this film, hN- = scene N. Only transform and opacity animate. */
.h0 { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 6cqw; text-align: center; }
.h0 p { margin: 0; font-size: 5.2cqw; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #000; }
.h0 span { display: inline-block; animation: k-in .7s var(--d) cubic-bezier(.2, .9, .3, 1.1) both; } .h0 em { font-style: normal; color: #2e7d32; }
/* 1: the desk */
.kh1 .k-cam { --cam: h1-cam; } @keyframes h1-cam { from { transform: translate3d(0, 2cqw, -4cqw); } to { transform: translate3d(0, -1cqw, 10cqw); } }
.h1-desk { position: absolute; left: -38cqw; top: -2cqw; width: 76cqw; height: 22cqw; transform: rotateX(72deg); background: linear-gradient(#3b2e22, #1d160f); border: .3cqw solid #4a3a2b; border-radius: var(--radius); box-shadow: 0 0 8cqw rgba(0,0,0,.8); }
.h1-paper { display: block; width: 9cqw; height: 1.2cqw; border-radius: .2cqw; background: #f3f1ea; box-shadow: 0 .3cqw .6cqw rgba(0,0,0,.4); }
.h1-b { background: #e6f1ff; } .h1-c { background: #eaf7ec; }
.h1-lab { display: block; font-size: max(9px, 1.4cqw); color: #fff; background: rgba(0,0,0,.6); padding: .2cqw .8cqw; border-radius: var(--radius); white-space: nowrap; animation: k-in .5s var(--d) both; }
.h1-q { display: grid; place-items: center; width: 4cqw; height: 4cqw; border-radius: 50%; background: #fff; color: #2e7d32; font-size: 2.6cqw; box-shadow: 0 0 2cqw rgba(255,255,255,.4); animation: k-in .4s var(--d) cubic-bezier(.2, 1.4, .4, 1) both; }
.h1-clock svg { width: 7cqw; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.4; } .h1-clock path { transform-origin: 12px 12px; animation: h1-tick 1s steps(4) infinite; } @keyframes h1-tick { to { transform: rotate(360deg); } }
/* 2: meet */
.kh2 .k-cam { --cam: h2-cam; } @keyframes h2-cam { from { transform: translate3d(0, 0, -8cqw); } to { transform: translate3d(0, 0, 6cqw); } }
.h2-rise { animation: h2-up 1.4s .5s cubic-bezier(.2, .8, .3, 1) both; } @keyframes h2-up { from { opacity: 0; transform: translateY(14cqw); } }
.h2-bot { --w: 16cqw; }
.h2-doc { display: grid; place-items: center; width: 3.4cqw; height: 3.4cqw; border-radius: var(--radius); background: rgba(255,255,255,.9); } .h2-doc svg { width: 70%; fill: none; stroke: #2e7d32; stroke-width: 1.6; }
.h2-team { display: flex; align-items: flex-end; gap: .4cqw; animation: k-in .8s var(--d) both; } .h2-team .h-who { width: 9cqw; }
/* 3: attendance */
.kh3 .k-cam { --cam: h3-cam; } @keyframes h3-cam { 0%, 50% { transform: translate3d(3cqw, 0, 0); } 100% { transform: translate3d(-3cqw, 0, 5cqw); } }
.h3-mach { width: 7cqw; display: grid; justify-items: center; gap: .6cqw; } .h3-mach .f-door { width: 100%; height: auto; } .h3-mach small { font-size: max(8px, 1.1cqw); color: rgba(255,255,255,.7); white-space: nowrap; }
.h3-bot { --w: 11cqw; }
.h3-list { position: relative; width: 22cqw; padding: 1.4cqw; font-size: max(9px, 1.4cqw); } .h3-list > b { display: block; margin-bottom: .8cqw; }
.h3-row { display: flex; gap: .7cqw; align-items: center; margin: .5cqw 0; animation: k-in .5s var(--d) both; } .h3-row span { margin-left: auto; } .h3-row .late { color: #FFB74D; } .h3-row .bad { color: #ff8a80; } .h3-row .ok { color: #9be29f; }
.h3-ph, .h6-ph { width: 11cqw; } .h7-ph { width: 13cqw; }
/* 4: payroll check */
.kh4 .k-cam { --cam: h4-cam; } @keyframes h4-cam { from { transform: translate3d(0, 0, -2cqw); } to { transform: translate3d(0, -2cqw, 9cqw); } }
.h4-tab { position: relative; width: 26cqw; padding: 1.3cqw 1.5cqw; font-size: max(9px, 1.4cqw); } .h4-tab > b { display: block; margin-bottom: .6cqw; font-size: max(9px, 1.3cqw); color: #c8f5cf; }
.h4-tab p { display: flex; justify-content: space-between; margin: 0; padding: .45cqw 0; border-top: 1px solid rgba(255,255,255,.12); }
.h4-tab p.x { animation: h4-flag .6s 4.2s both; } .h4-tab p.x:nth-of-type(2) { animation-delay: 4.5s; } .h4-tab p.x:nth-of-type(3) { animation-delay: 4.8s; }
@keyframes h4-flag { to { color: #FFB74D; text-shadow: 0 0 1cqw rgba(255,183,77,.6); } }
.h4-bot { --w: 11cqw; } .h4-bot .k-eb { animation: h4-scan 1.6s 1.6s ease-in-out 2 alternate; } @keyframes h4-scan { from { transform: rotate(50deg); } to { transform: rotate(-50deg); } }
.h4-ne { font-size: 2.6cqw; color: #FFB74D; animation: k-in .4s var(--d) cubic-bezier(.2, 1.4, .4, 1) both; }
.h4-flag { position: relative; display: flex; gap: 1cqw; align-items: center; padding: 1cqw 1.6cqw; font-size: max(9px, 1.5cqw); border-color: #FFB74D; } .h4-flag svg { width: 2.4cqw; fill: none; stroke: #FFB74D; stroke-width: 1.8; } .h4-flag span { color: rgba(255,255,255,.75); }
/* 5: people approve */
.kh5 .k-cam { --cam: h5-cam; } @keyframes h5-cam { from { transform: translate3d(6cqw, 0, 2cqw); } to { transform: translate3d(-6cqw, 0, 4cqw); } }
.h5-card { position: relative; width: 18cqw; padding: 1.6cqw; display: grid; justify-items: center; gap: .8cqw; font-size: max(10px, 1.7cqw); }
.h5-av { width: 9cqw; height: 11cqw; overflow: hidden; border-radius: var(--radius); background: #f3f7f4; } .h5-av .h-who { width: 100%; } .h5-ok { color: #9be29f; animation: k-in .5s var(--d) both; }
.h5-btn { padding: .5cqw 1.6cqw; border-radius: var(--radius); background: #2e7d32; animation: h5-press .5s var(--d) both; } @keyframes h5-press { 50% { transform: scale(.88); } to { box-shadow: 0 0 2.4cqw #4CAF50; background: #4CAF50; } }
.h5-lock { width: 4cqw; height: 3.4cqw; border-radius: var(--radius); background: #9be29f; position: relative; margin-top: 1.6cqw; }
.h5-lock::before { content: ''; position: absolute; left: .7cqw; top: -2cqw; width: 2.6cqw; height: 2.6cqw; border: .5cqw solid #9be29f; border-bottom: 0; border-radius: 1.4cqw 1.4cqw 0 0; transform-origin: 100% 100%; animation: h5-open .5s var(--d) both; } @keyframes h5-open { to { transform: translateY(-.8cqw) rotate(25deg); } }
.h5-arrow { display: block; width: 8cqw; height: .4cqw; background: linear-gradient(90deg, transparent, #7CE38B); transform-origin: 0 50%; animation: k-grow .6s var(--d) both; }
/* 6: leave */
.kh6 .k-cam { --cam: h6-cam; } @keyframes h6-cam { 0% { transform: translate3d(5cqw, 0, 3cqw); } 45% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-5cqw, 0, 3cqw); } }
.h6-t { margin: 3.4cqw 1cqw 1cqw; font-weight: 700; font-size: max(9px, 1.5cqw); color: #fff; } .h6-f { margin: 0 1cqw 1.4cqw; padding: .8cqw; border-radius: var(--radius); background: rgba(255,255,255,.1); font-size: max(8px, 1.2cqw); color: #dfe; }
.h6-send, .h6-ok { display: block; margin: 0 1cqw; padding: .7cqw; text-align: center; border-radius: var(--radius); background: #2e7d32; color: #fff; font-size: max(9px, 1.3cqw); animation: h5-press .5s var(--d) both; }
.h6-bot, .h7-bot, .h8-bot { --w: 12cqw; }
.h6-ring { position: relative; width: 9cqw; display: grid; place-items: center; animation: k-in .6s var(--d) both; } .h6-ring svg { width: 100%; transform: rotate(-90deg); }
.h6-ring circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 3; } .h6-ring circle.v { stroke: #7CE38B; stroke-dasharray: 80 100; animation: h6-fill 1.2s var(--d) ease-out both; } @keyframes h6-fill { from { stroke-dasharray: 0 100; } }
.h6-ring b { position: absolute; top: 2.2cqw; font-size: 3cqw; color: #fff; } .h6-ring small { position: absolute; top: 5.6cqw; font-size: max(7px, 1cqw); color: #c8f5cf; }
/* 7: questions */
.kh7 .k-cam { --cam: h7-cam; } @keyframes h7-cam { from { transform: translate3d(3cqw, 0, 0); } to { transform: translate3d(-3cqw, 0, 6cqw); } }
.h7-rec { position: relative; display: flex; gap: .8cqw; align-items: center; padding: .9cqw 1.4cqw; font-size: max(9px, 1.4cqw); } .h7-rec svg { width: 2cqw; fill: none; stroke: #9be29f; stroke-width: 1.6; }
.h7-bit { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: #7CE38B; box-shadow: 0 0 1.4cqw #4CAF50; }
.h7-q, .h7-a { margin: 1cqw; padding: .9cqw 1.1cqw; border-radius: var(--radius); font-size: max(8px, 1.25cqw); line-height: 1.35; animation: k-in .5s var(--d) both; }
.h7-q { margin-top: 4cqw; background: rgba(255,255,255,.14); color: #fff; } .h7-a { background: #2e7d32; color: #fff; margin-left: 3cqw; }
/* 8: people decide */
.kh8 .k-cam { --cam: h8-cam; } @keyframes h8-cam { from { transform: translate3d(0, 0, -6cqw); } to { transform: translate3d(0, 0, 8cqw); } }
.h8-orbit { transform-style: preserve-3d; transform: rotateX(-8deg); } .h8-spin { transform-style: preserve-3d; animation: h8-spin 14s linear infinite; } @keyframes h8-spin { to { transform: rotateY(360deg); } }
.h8-tile { position: absolute; left: -7cqw; top: -3.5cqw; width: 14cqw; height: 7cqw; transform: rotateY(calc(var(--i) * 90deg)) translateZ(20cqw); }
.h8-tile .k-glass { inset: 0; display: grid; place-content: center; text-align: center; font-size: max(9px, 1.6cqw); animation: k-in .6s var(--d) both, h8-back .8s 4.4s forwards; }
.h8-tile small { font-size: max(7px, 1cqw); color: #FFBE00; } .h8-dim { opacity: .7; } @keyframes h8-back { to { opacity: .3; } }
.h8-people { display: flex; align-items: flex-end; gap: 1cqw; padding: 1.2cqw 2cqw; border-radius: var(--radius); background: rgba(255,255,255,.95); color: #111; font-size: max(11px, 2.4cqw); animation: k-in .8s var(--d) both; }
.h8-people .h-who { width: 8cqw; margin-top: -4cqw; } .h8-people b { margin-left: .6cqw; align-self: center; }

/* ---------- white: Tanim, 2 Nov 2026, "this white background is better for film" (same light page and controls as the school film) ---------- */
.film-hr .k-w { background: radial-gradient(ellipse 90% 70% at 50% 35%, #fff 50%, #eef3ef); }
.film-hr .k-floor { background: linear-gradient(rgba(46,125,50,.1) .12cqw, transparent .12cqw) 0 0 / 7cqw 7cqw, linear-gradient(90deg, rgba(46,125,50,.1) .12cqw, transparent .12cqw) 0 0 / 7cqw 7cqw,
  radial-gradient(ellipse 22% 16% at 50% 72%, rgba(76,175,80,.14), transparent 70%), linear-gradient(#fff, #f3f7f4 60%, #e9f1eb); }
.film-hr .k-haze { background: radial-gradient(ellipse 50% 45% at 50% 70%, rgba(76,175,80,.08), transparent 70%); }
.film-hr .k-bokeh { display: none; }
.film-hr .k4-cone { background: linear-gradient(rgba(76,175,80,.16), rgba(76,175,80,.04) 75%, transparent); }
.film-hr .k-glass { background: #fff; color: #111; border: 1px solid #e3e8e4; box-shadow: 0 2cqw 4cqw -1.4cqw rgba(0,0,0,.22); }
.film-hr .k-glass::before { background: linear-gradient(105deg, transparent 44%, rgba(76,175,80,.08) 50%, transparent 56%); }
.film-hr .k-bot > svg { filter: drop-shadow(0 1.4cqw 1.6cqw rgba(0,0,0,.25)); }
.film-hr .f-frame .s-slide figcaption.a-cap { color: #111; text-shadow: none; }
.film-hr .f-frame .s-slide::after { background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.94) 62%); }
.film-hr .h1-lab { background: #fff; color: #111; border: 1px solid #e3e8e4; } .film-hr .h1-q { border: .2cqw solid #cfe3d2; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.15); }
.film-hr .h1-clock svg { stroke: #2e7d32; } .film-hr .h1-paper { border: 1px solid #dfe3e0; }
.film-hr .h3-mach small { color: #555; }
.film-hr .h3-row .late, .film-hr .h4-tab p.x { color: #c77700; } .film-hr .h3-row .bad { color: #c62828; } .film-hr .h3-row .ok, .film-hr .h5-ok { color: #2e7d32; }
@keyframes h4-flag { to { color: #c77700; font-weight: 700; } }
.film-hr .h4-tab > b { color: #2e7d32; } .film-hr .h4-tab p { border-top-color: #eef1ef; } .film-hr .h4-ne { color: #c77700; } .film-hr .h4-flag { border-color: #f0b44c; } .film-hr .h4-flag svg { stroke: #c77700; } .film-hr .h4-flag span { color: #555; }
.film-hr .h5-btn { color: #fff; } .film-hr .h5-lock, .film-hr .h5-lock::before { background: #4CAF50; border-color: #4CAF50; } .film-hr .h5-lock::before { background: none; }
.film-hr .h6-ring circle { stroke: #e3ebe5; } .film-hr .h6-ring circle.v { stroke: #4CAF50; } .film-hr .h6-ring b { color: #111; } .film-hr .h6-ring small { color: #2e7d32; }
.film-hr .h7-rec svg { stroke: #2e7d32; }
.film-hr .h8-tile small { color: #b58500; } .film-hr .h8-people { background: #2e7d32; color: #fff; box-shadow: 0 2cqw 4cqw -1cqw rgba(0,0,0,.3); }
.film-hr .k13-logo span { color: #111; background: none; -webkit-text-fill-color: #111; } .film-hr .k13-logo small { color: #555; } .film-hr .k13-rings i { border-color: rgba(46,125,50,.45); }
/* 3b: every morning, texts fly from the company to each person */
.kh10 .k-cam { --cam: h10-cam; } @keyframes h10-cam { 0% { transform: translate3d(14cqw, 0, 8cqw); } 25% { transform: translate3d(12cqw, 0, 6cqw); } 100% { transform: translate3d(-8cqw, -1cqw, 2cqw); } }
.h10-bld { width: 22cqw; padding: 1.4cqw; background: linear-gradient(160deg, #eef4f0, #d6e2da); border: 1px solid #c7d6cc; border-radius: var(--radius); box-shadow: 0 3cqw 5cqw -2cqw rgba(0,0,0,.3); }
.h10-bld b { display: block; text-align: center; font-size: max(9px, 1.4cqw); letter-spacing: .2em; color: #2e7d32; margin-bottom: 1cqw; }
.h10-bld div { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8cqw; } .h10-bld i { height: 3cqw; border-radius: .3cqw; background: #9fb8a6; animation: h10-win .5s var(--d) both; } @keyframes h10-win { to { background: #fff6c8; box-shadow: 0 0 1cqw rgba(255,220,120,.7); } }
.h10-bot { --w: 8cqw; }
.h10-p { position: relative; width: 9cqw; animation: k-in .6s calc(var(--d) - 1.4s) both; } .h10-p .h-who { width: 100%; }
.h10-bub { position: absolute; left: 50%; bottom: 100%; margin: 0 0 .4cqw; transform: translateX(-50%); white-space: nowrap; padding: .5cqw .9cqw; border-radius: var(--radius); background: #fff; color: #111; border: .2cqw solid #4CAF50;
  font-size: max(9px, 1.3cqw); font-weight: 600; box-shadow: 0 .8cqw 1.6cqw rgba(0,0,0,.18); animation: h10-pop .45s var(--d) cubic-bezier(.2, 1.5, .4, 1) both, k-out .4s calc(var(--d) + 1.8s) forwards; }
.h10-p.keep .h10-bub { animation: h10-pop .45s var(--d) cubic-bezier(.2, 1.5, .4, 1) both; } /* the two nearest keep their text */
.h10-bub.late { border-color: #f0a030; } .h10-bub.bad { border-color: #e5534b; }
@keyframes h10-pop { from { opacity: 0; transform: translateX(-50%) translateY(1cqw) scale(.5); } }
.h10-clock { position: relative; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 1cqw; padding: 1cqw 1.6cqw; } .h10-clock svg { grid-row: span 2; width: 4cqw; fill: none; stroke: #2e7d32; stroke-width: 1.6; }
.h10-clock b { font-size: 3.6cqw; line-height: 1; } .h10-clock small { font-size: max(8px, 1.2cqw); color: #555; }
.h10-count { position: relative; padding: 1cqw 1.8cqw; display: grid; } .h10-count small { font-size: max(8px, 1.2cqw); color: #555; } .h10-count b { font-size: 4cqw; line-height: 1.1; color: #2e7d32; }
