/* How Circle works, the 12-01 design (section.hp#why): its inline <style> as the design ships it, less the rules for
 * what the 11-30 design hid and this page no longer renders (the coded phone screens, its frame, the push banner, the
 * colour glows).
 * The design moves the section right after the brand wall, before the resume builder, with an inline script that
 * gives it the brand wall's order; here the page renders it in that place and this sets the order. */
main>.hp{order:2!important}

.hp{position:relative;height:545vh;/* 11-25 Dawoon review: back to 5 screens of scroll (was 900vh, felt long). 12-02 Dawoon: the page left step 5 before its clip ended, so the last step takes a full step like the others (500vh gave it half) */background:#121212;color:#fff;font-family:Heebo,system-ui,sans-serif}
.hp-stage{box-sizing:border-box;--h:min(68vh,640px);--pw:calc(var(--h)*.462);position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:grid;place-items:center}
.hp-k{position:absolute;top:88px;left:0;right:0;margin:0;text-align:center;font-size:14px;line-height:20px;font-weight:500;letter-spacing:0;color:rgba(255,255,255,.64)}
.hp-t{position:absolute;top:50%;z-index:1;width:min(380px,calc(50vw - var(--pw)/2 - 88px));transform:translateY(calc(-50% + var(--ty,0px)));will-change:transform,opacity}
.hp-t.l{right:calc(50% + var(--pw)/2 + 56px);text-align:right}
.hp-t.r{left:calc(50% + var(--pw)/2 + 56px);text-align:left}
.hp .hp-t p.hp-n{margin:0 0 12px;font-size:14px;line-height:20px;color:rgba(255,255,255,.64);font-variant-numeric:tabular-nums}
.hp-t h3{margin:0;font-weight:700;font-size:clamp(32px,3.7vw,54px);line-height:1.04;letter-spacing:-.02em;color:#fff}
.hp-t h3 i{display:block;font-family:"STIX Two Text",Georgia,serif;font-style:italic;font-weight:400;color:#D4FF76}
.hp .hp-t p.hp-p{margin:16px 0 0;font-size:18px;line-height:28px;color:rgba(255,255,255,.74)}
.hp-s{position:absolute;z-index:3;top:calc(50% + var(--h)*.24);padding:8px 14px;border-radius:8px;border:1.5px solid #121212;background:#D4FF76;color:#121212;font-weight:700;font-size:15px;line-height:20px;white-space:nowrap;box-shadow:0 3px 0 #000;transform:translateY(var(--ty,0px)) rotate(var(--r,0deg)) scale(var(--sc,1));will-change:transform,opacity}
.hp-s.l{--r:-5deg;right:calc(50% + var(--pw)/2 - 32px)}
.hp-s.r{--r:4deg;left:calc(50% + var(--pw)/2 - 32px)}
.hp-go{display:inline-flex;align-items:center;height:48px;margin-top:24px;padding:0 20px;border-radius:24px;background:#D4FF76;color:#121212;font-weight:700;font-size:16px;text-decoration:none;transition:transform .14s cubic-bezier(.2,.8,.3,1)}
.hp-go:active{transform:scale(.97)}.hp-go:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (max-width:860px){.hp-stage{--h:min(50vh,430px);place-items:start center;padding-top:104px}.hp-k{top:68px}
.hp-t,.hp-t.l,.hp-t.r{left:20px;right:20px;top:auto;bottom:max(28px,env(safe-area-inset-bottom));width:auto;text-align:center;transform:translateY(var(--ty,0px))}
.hp-t h3{font-size:30px;line-height:32px}.hp-t h3 i{display:inline}.hp .hp-t p.hp-p{margin-top:8px;font-size:16px;line-height:24px}.hp .hp-t p.hp-n{margin-bottom:4px}.hp-go{margin-top:12px}
.hp-s,.hp-s.l,.hp-s.r{top:calc(104px + var(--h) - 22px);left:50%;right:auto;margin-left:calc(var(--pw)*-.62);font-size:14px}.hp-s.r{margin-left:calc(var(--pw)*-.08)}}
/* 11-20 Dawoon: light background */
.hp{background:#fff;color:#121212}
.hp-k{color:#5f6468}
.hp .hp-t p.hp-n{color:#5f6468}
.hp-t h3{color:#121212}
.hp-t h3 i{width:fit-content;color:#121212;background:linear-gradient(transparent 62%,#D4FF76 62%)}
.hp-t.l h3 i{margin-left:auto}
.hp .hp-t p.hp-p{color:#414141}
.hp-go{background:#121212;color:#D4FF76}
.hp-go:focus-visible{outline-color:#121212}
@media (max-width:860px){.hp-t h3 i,.hp-t.l h3 i{display:inline;margin:0}}
/* 11-20 Dawoon: phones and narrow windows. The phone and its text are one group centred in the stage, text right under the phone (it used to hang at the bottom of the screen, far from the phone on tall windows) */
@media (max-width:860px){/* 11-21 Dawoon: the phone mockup is as large as the screen allows: everything left after the text block (about 200px), a 24px gap and the margins */.hp-stage{--h:clamp(260px,calc(100vh - 296px),640px);--h:clamp(260px,calc(100svh - 296px),640px);/* 11-21 Dawoon: less room above the mockup (24px), so the text under it has more */--pt:max(24px,calc((100vh - var(--h) - 272px)/2));--pt:max(24px,calc((100svh - var(--h) - 272px)/2));padding-top:var(--pt)}
.hp-t,.hp-t.l,.hp-t.r{top:calc(var(--pt) + var(--h) + 24px);bottom:auto}
.hp-s,.hp-s.l,.hp-s.r{top:calc(var(--pt) + var(--h) - 40px)}}
/* 11-20 Dawoon: the last step's link has no button box; a double-chevron scroll-down icon that starts nudging 2s after the last step is reached */
.hp .hp-go{height:auto;min-height:44px;padding:0;gap:8px;border-radius:0;background:none;color:#121212;font-size:18px;line-height:24px;text-decoration:none}
.hp .hp-go svg{flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.hp .hp-go.cue-on svg{animation:hp-cue 1.3s cubic-bezier(.45,0,.3,1) infinite}
.hp .hp-go.cue-on svg path{animation:hp-cue-a 1.3s linear infinite}
.hp .hp-go.cue-on svg path+path{animation-delay:.18s}
@keyframes hp-cue{0%,100%{transform:none}50%{transform:translateY(6px)}}
@keyframes hp-cue-a{0%,100%{opacity:.3}45%{opacity:1}}
@media (prefers-reduced-motion:reduce){.hp .hp-go.cue-on svg,.hp .hp-go.cue-on svg path{animation:none}}
/* 11-20 Dawoon: the step counter lines up with its heading (site p rules were narrowing it) */
.hp .hp-t p.hp-n,.hp .hp-t p.hp-p{display:block!important;float:none!important;position:static!important;width:auto!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;text-align:inherit!important;text-indent:0!important;transform:none!important}

/* 11-30 Dawoon: the phone is now one video clip per step (img/hiw/vid/step1.mp4 to step4.mp4, then step5-v2.mp4: 12-01 Dawoon, step 5 now goes on from the notification to a tap that opens Interview schedules). A step's clip plays once when the step comes up and stops on its last frame. The clips have a white background, so the colour glows are off here; brightness(1.04) makes the clip's white the page's exact white */
.hp-stage{--vh:min(80vh,740px);--vh:min(80svh,740px);--vw:calc(var(--vh)*.8);--h:calc(var(--vh)*.78)}
.hp-vid{position:relative;z-index:2;width:var(--vw);height:var(--vh);-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent),linear-gradient(180deg,transparent,#000 4%,#000 96%,transparent);mask-composite:intersect}
.hp-vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#fff;filter:brightness(1.04);opacity:0;transition:opacity .25s cubic-bezier(.2,.8,.3,1)}
.hp-vid video.on{opacity:1}
@media (min-width:861px){.hp-t{width:min(380px,calc(50vw - var(--vw)/2 - 48px))}.hp-t.l{right:calc(50% + var(--vw)/2 + 16px)}.hp-t.r{left:calc(50% + var(--vw)/2 + 16px)}}
@media (min-width:861px) and (max-width:1360px){.hp-t h3{font-size:clamp(28px,3vw,54px)}}
@media (max-width:860px){.hp-stage{--h:clamp(260px,calc(100vh - 296px),640px);--h:clamp(260px,calc(100svh - 296px),640px);--vh:min(var(--h),calc((100vw - 16px)*1.25));--vw:calc(var(--vh)*.8)}.hp-vid{margin-top:calc((var(--h) - var(--vh))/2)}}
@media (prefers-reduced-motion:reduce){.hp-vid video{transition:none}}
/* 12-01 Dawoon: on PC the clip sits under the 64px nav, not behind it (zoomed frames were cut off at the top) */
@media (min-width:861px){.hp-stage{padding-top:64px;--vh:min(calc(100vh - 64px - 40px),740px);--vh:min(calc(100svh - 64px - 40px),740px)}.hp-t{top:calc(50% + 32px)}}
/* 12-01 Dawoon: the stickers belonged to the old coded phone and now sat on top of the video's phone. Each one now rides under its own step's text */
.hp .hp-t .hp-s{position:relative;display:table;top:auto;left:auto;right:auto;margin:18px 0 0;z-index:auto}
.hp .hp-t.l .hp-s{margin-left:auto}
@media (max-width:860px){.hp .hp-t .hp-s,.hp .hp-t.l .hp-s{margin:10px auto 0;font-size:14px}}
/* Not in the design, which has no /how-it-works page: there the section's title is the page's h1 (.hp-k), so the clip
 * moves down to make room for it instead of covering it (the clip sits above .hp-k). */
.hp-alone .hp-k{z-index:3}
@media (min-width:861px){.hp-alone .hp-stage{padding-top:104px;--vh:min(calc(100vh - 104px - 40px),740px);--vh:min(calc(100svh - 104px - 40px),740px)}.hp-alone .hp-k{top:76px}.hp-alone .hp-t{top:calc(50% + 52px)}}
@media (max-width:860px){.hp-alone .hp-stage{--h:clamp(260px,calc(100vh - 336px),640px);--h:clamp(260px,calc(100svh - 336px),640px);--pt:64px}.hp-alone .hp-k{top:24px}}
/* 12-03 KW (a phone: "the content doesn't look centred"): the phone and its text sat near the top with a blank band of
 * about 200px under them. The layout left 272px for the text (the tallest step is about 130 to 180px) and centred in
 * the small viewport, though Safari folds its toolbar away while the page scrolls through here. Now the clip takes the
 * room the tallest step text leaves (--tb, measured by hp.js), the clip and the text sit together with no gap inside
 * the clip's box, and the group is centred in the viewport as it is (dvh) */
@media (max-width:860px){
.hp-stage{height:100dvh;--gap:24px;--top:24px;--h:clamp(260px,calc(100svh - var(--tb,248px) - var(--gap) - var(--top) - 24px),640px);--vh:min(var(--h),calc((100vw - 16px)*1.25));--vw:calc(var(--vh)*.8);--pt:max(var(--top),calc((100dvh - var(--vh) - var(--gap) - var(--tb,248px))/2))}
.hp-vid{margin-top:0}
.hp-t,.hp-t.l,.hp-t.r{top:calc(var(--pt) + var(--vh) + var(--gap))}
/* /how-it-works: its title sits at the top (24px) */
.hp-alone .hp-stage{--top:64px}
}
