/* Arkon Labs company home page (home.html). Loaded on top of styles.css (tokens, hero, buttons, product
   screens, footer) and v2.css (pill buttons, centred header, statement, steps, country panels).
   Nothing here is used by the CRM page or the earlier homepage versions. */

/* sample screens and cards always use the light palette, like the product they show */
.hp-card,.hp-screen,.hp-browser,.hp-flow{
  color-scheme:light;
  --ink:#0d1211;--ink-2:#434b48;--ink-3:#69716d;--paper:#ffffff;--wash:#f3f4f2;--wash-2:#e8eae7;
  --line:rgb(13 18 17 / .1);--line-2:rgb(13 18 17 / .18);
  --ok:#17663a;--ok-bg:#e2f3e7;--warn:#8a5300;--warn-bg:#fdf0d5;--bad:#a32015;--bad-bg:#fde4e1;
  color:var(--ink);
}
.hpage .pw-btn,.hpage .s-btn,.hpage .ph-ghost,.hpage .chip{border-radius:999px}
.hpage .pw-btn,.hpage .s-btn{padding-inline:1.2em}

/* ── Hero ── */
.hp-hero h1{font-size:clamp(2.3rem,4.7vw,4.25rem)}
.hp-stage{position:relative}
.hp-stack{position:relative}
.hp-card{margin:0;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px var(--line),0 28px 56px -26px rgb(13 18 17 / .45)}
.hp-card-body{padding:14px 16px 16px;font-size:13.5px;line-height:1.4}
.hp-card-body>b{display:block;font-weight:600;font-size:15.5px;font-family:var(--t-font)}
.hp-card-body>span:not(.s-btn){color:var(--ink-2)}
.hp-card-kicker{font-size:12px;color:var(--ink-3);margin-bottom:6px}
.hp-chips{display:flex;gap:6px;margin-top:10px}
.hp-chips i{font-style:normal;font-size:12px;padding:4px 10px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink-2)}
/* a drawn map tile: three "streets" and a pin */
.hp-map{position:relative;height:88px;background:
  linear-gradient(90deg,transparent 46%,#fff 46% 51%,transparent 51%),
  linear-gradient(0deg,transparent 56%,#fff 56% 63%,transparent 63%),
  linear-gradient(32deg,transparent 47%,#fff 47% 50.5%,transparent 50.5%),
  #e1e6e0}
.hp-map i{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-22px 0 0 -11px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--tenant);box-shadow:0 3px 8px rgb(13 18 17 / .3)}
.hp-map i::after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}
.hp-applet ul{margin-bottom:12px}
.hp-applet li{display:flex;align-items:center;gap:8px;padding:5px 0}
.hp-applet .i{font-size:15px}
.hp-applet .is-done .i{color:var(--ok)}
.hp-applet .is-wait{color:var(--warn);font-weight:500}
.hp-applet .s-btn{display:block}
.hp-stack .hp-listing{position:absolute;right:clamp(14px,3vw,44px);top:9%;width:clamp(220px,21vw,270px)}
.hp-stack .hp-applet{position:absolute;right:clamp(70px,11vw,170px);top:47%;width:clamp(220px,21vw,270px)}
.hp-stage-note{margin:0 0 clamp(12px,2vw,20px);font-size:14px;color:var(--ink-2)}

/* ── What we build (the list the page grows from) ── */
.hp-index{border-top:1px solid var(--line)}
.hp-svc h3 a{border-bottom:1px solid transparent;transition:border-color .2s}
.hp-svc h3 a:hover{border-color:var(--ink)}
.hp-svc h3 em{display:block;margin-top:8px;font:500 13.5px/1.3 var(--sans);letter-spacing:0;color:var(--tenant-text)}
:root[data-theme="dark"] .hp-svc h3 em{color:var(--tenant-text-dark)}

/* ── The three detail sections ── */
.hp-crm,.hp-automation{background:var(--wash)}
.hp-split{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(32px,6vw,96px);align-items:center}
.hp-split.is-flip{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
.hp-copy .v2-label{margin-bottom:18px}
.hp-copy .lede{margin-top:18px}
.hp-copy .actions{margin-top:30px}
.hp-copy .ticks{margin-top:28px}
.hp-facts{margin-top:28px}
.hp-facts div{display:grid;grid-template-columns:8.2rem 1fr;gap:16px;align-items:baseline;padding:14px 0;border-top:1px solid var(--line-2)}
.hp-facts div:last-child{border-bottom:1px solid var(--line-2)}
.hp-facts dt{font-family:var(--display);font-weight:500;font-size:1.15rem;letter-spacing:-.01em}
.hp-facts dd{font-size:15.5px;color:var(--ink-2)}
.hp-screen{min-width:0;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px var(--line),0 30px 60px -40px rgb(13 18 17 / .4)}
.hp-screen .pv{aspect-ratio:16 / 11.4}

.hp-visual{position:relative;min-width:0}
.hp-branding .hp-visual{padding:0 clamp(16px,4vw,56px) 56px 0}
.hp-browser{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 0 0 1px var(--line),0 30px 60px -40px rgb(13 18 17 / .4)}
.hp-browser-bar{display:flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-bottom:1px solid var(--line);background:var(--wash)}
.hp-browser-bar i{width:9px;height:9px;border-radius:50%;background:var(--wash-2);box-shadow:inset 0 0 0 1px var(--line-2)}
.hp-browser-bar span{margin:0 auto;padding:3px 14px;border-radius:999px;background:#fff;font-size:12px;color:var(--ink-3);box-shadow:inset 0 0 0 1px var(--line)}
.hp-site{padding:clamp(18px,2.6vw,32px) clamp(18px,2.6vw,32px) clamp(64px,8vw,104px)}
.hp-site-nav{display:flex;align-items:center;gap:18px;font-size:13px;color:var(--ink-2)}
.hp-site-nav b{margin-right:auto;font-family:var(--t-font);font-weight:600;font-size:15px;color:var(--ink)}
.hp-site-h{margin:clamp(28px,4vw,52px) 0 10px;max-width:15ch;font-family:var(--t-font);font-weight:600;font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.12;letter-spacing:-.01em}
.hp-site-p{max-width:34ch;font-size:14.5px;color:var(--ink-2);margin-bottom:18px}
.hp-branding .hp-listing{position:absolute;right:0;bottom:0;width:clamp(220px,22vw,280px)}

.hp-flow{background:#fff;border-radius:16px;padding:clamp(18px,2.4vw,28px);box-shadow:0 0 0 1px var(--line),0 30px 60px -40px rgb(13 18 17 / .4)}
.hp-flow-h b{display:block;font-family:var(--display);font-weight:500;font-size:1.25rem;letter-spacing:-.015em}
.hp-flow-h span{font-size:13.5px;color:var(--ink-3)}
.hp-flow ol{margin:16px 0 18px}
.hp-flow li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:start;padding:13px 0;border-top:1px solid var(--line)}
.hp-flow li>i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:14px;background:var(--ok-bg);color:var(--ok)}
.hp-flow .is-wait>i{background:var(--warn-bg);color:var(--warn)}
.hp-flow li b{display:block;font-weight:500;font-size:15px}
.hp-flow li span{font-size:13.5px;color:var(--ink-3)}
.hp-flow time{font-size:12.5px;color:var(--ink-3);font-variant-numeric:tabular-nums;padding-top:3px}
.hp-flow-foot{display:flex;flex-wrap:wrap;gap:8px}
.hp-flow-foot .s-btn,.hp-flow-foot .ph-ghost{padding:10px 18px;font-size:14.5px;font-weight:500}
.hp-flow-foot .ph-ghost{flex:none;box-shadow:inset 0 0 0 1px var(--line-2);border:0}

/* ── About: statement and where we work, set like the rest of the page ── */
.hpage .v2-who{text-align:left;padding-block:clamp(72px,10vw,144px) clamp(40px,6vw,80px)}
.hpage .v2-who .v2-label{justify-content:flex-start}
.hpage .v2-statement{margin:0;max-width:23em;font-weight:500;font-size:clamp(1.7rem,3.1vw,2.75rem);line-height:1.1;text-wrap:pretty}
.hpage .v2-statement span{color:var(--tenant-text);font-weight:500}
:root[data-theme="dark"] .hpage .v2-statement span{color:var(--tenant-text-dark)}
.hp-where{margin-top:clamp(40px,6vw,80px);font-size:14px;color:var(--ink-2)}
.hpage .v3-places{margin-top:clamp(32px,4.5vw,64px)} /* the statement leads straight into the three places: no button or label between them */

/* ── How we work ── */
.hpage .v2-how .v2-h2{font-weight:500;font-size:clamp(2rem,3.8vw,3.25rem);line-height:1.04;max-width:16em}
.hpage .v2-how .v2-center-text{font-size:clamp(1.0625rem,1.35vw,1.1875rem);line-height:1.5;max-width:56ch;margin-top:16px}
.hpage .v2-steps span{font-family:var(--display);font-weight:500;font-size:1.3rem;line-height:1.2;letter-spacing:-.02em;margin-bottom:10px}
.hpage .v2-steps p{font-size:16px;line-height:1.55}

/* ── Motion: the two cards settle after the product window ── */
@media (prefers-reduced-motion:no-preference){
  .js .hp-stack .hp-card{animation:hpcard .9s var(--ease) both}
  .js .hp-stack .hp-listing{animation-delay:.75s}
  .js .hp-stack .hp-applet{animation-delay:.9s}
  @keyframes hpcard{from{opacity:0;transform:translateY(28px)}}
}

/* ── Responsive ── */
@media (max-width:1120px){
  .hp-hero h1{font-size:min(4.25rem,calc((100vw - var(--gutter)*2)/11.2))}
}
@media (max-width:900px){
  .hp-split,.hp-split.is-flip{grid-template-columns:minmax(0,1fr)}
  .hp-split.is-flip .hp-copy{order:-1}
  /* the two cards sit in a row above the product window */
  .hp-stack{display:flex;flex-wrap:wrap;gap:12px}
  .hp-stack .hp-listing,.hp-stack .hp-applet{position:static;order:-1;flex:1 1 220px;width:auto}
  .hp-stack .pw{flex:1 1 100%}
  .hp-branding .hp-visual{padding:0 0 48px}
}
@media (max-width:560px){
  .hp-facts div{grid-template-columns:1fr;gap:2px}
  .hp-copy .actions .btn{width:100%}
  .hp-flow li{grid-template-columns:28px minmax(0,1fr)}
  .hp-flow time{display:none}
  .hp-site-nav span{display:none}
}
@media (max-width:900px){
  /* the listing card tucks under the browser instead of covering its text */
  .hp-branding .hp-visual{padding:0}
  .hp-branding .hp-listing{position:relative;right:auto;bottom:auto;margin:-40px 12px 0 auto}
}

/* ── Spacing (02/12): less empty space between sections, so each one sits inside a screen where its content allows.
   The padding follows the height of the window as well as its width. ── */
.hpage .section{padding-block:clamp(56px,min(6.5vw,10svh),96px)}
.hpage .v2-who{padding-block:clamp(56px,min(6.5vw,10svh),96px) clamp(36px,5vw,64px)}
.hpage .v2-how{padding-block:clamp(56px,min(6vw,9svh),88px)}

/* ── How we work (H-8): the four steps sit on one line, each marked with a red dot and a red number ── */
.hp-how{background:var(--wash)}
.hp-how .v2-h2 em{font-style:normal;color:var(--tenant-text)}
.hpage .hp-steps{gap:0;margin-top:clamp(48px,6vw,84px)}
.hpage .hp-steps li{position:relative;padding:30px clamp(16px,2.4vw,36px) 0 0;border-top:1px solid var(--line-2)}
.hpage .hp-steps li::before{content:"";position:absolute;left:0;top:-5px;width:9px;height:9px;border-radius:50%;background:var(--tenant);box-shadow:0 0 0 5px var(--wash)}
.hpage .hp-steps li>i{display:block;margin-bottom:14px;font-style:normal;font-family:var(--display);font-weight:500;font-size:14px;letter-spacing:.02em;color:var(--tenant-text);font-variant-numeric:tabular-nums}
.hpage .hp-steps li>span{font-size:1.4rem;margin-bottom:10px}
:root[data-theme="dark"] .hp-how .v2-h2 em,:root[data-theme="dark"] .hpage .hp-steps li>i{color:var(--tenant-text-dark)}
:root[data-theme="dark"] .hpage .hp-steps li::before{background:var(--tenant-text-dark)}
@media (max-width:900px){.hpage .hp-steps{row-gap:36px}}

/* ════ 02/12, second batch ════ */

/* The sample agency's logo, the same on the home hero and on the CRM page: serif initials in a framed badge */
.hpage .t-logo{border-radius:24%;font-family:var(--t-font);font-weight:600;letter-spacing:.01em;outline:1px solid color-mix(in srgb,var(--tenant-on) 60%,transparent);outline-offset:-3.5px}

/* ── First visit: the mark as an outline, a stroke running round it, then the page. Once per browser session, and
   only when the home page is where the visit starts (script after the markup in home.html; menu.js marks the
   session on the other pages). While it is up, the hero waits, so its own entrance is still seen. ── */
.intro{display:none;position:fixed;inset:0;z-index:999;place-items:center;background:var(--paper);color:var(--ink)}
.intro-on .intro,.intro-out .intro{display:grid}
.intro-out .intro{opacity:0;pointer-events:none;transition:opacity .6s var(--ease)}
.intro-lockup{display:grid;place-items:center;animation:intro-in .55s var(--ease) both;transition:scale .7s var(--ease)}
.intro-out .intro-lockup{scale:1.08}
/* The mark is hollow: its outline drawn faintly, and a stroke of the same colour at full strength running round it.
   Black on the light page, white on the dark page: no accent colour and no name under it. As the screen leaves,
   the running stroke closes into the whole outline. */
.intro-mark{width:104px;height:auto;overflow:visible;animation:intro-beat 1.5s .5s ease-in-out infinite}
.intro-mark path{fill:none;stroke:currentColor;stroke-width:42;stroke-linejoin:miter;stroke-miterlimit:6}
.intro-mark .m{stroke-opacity:.2}
.intro-mark .s{stroke-linecap:round;stroke-dasharray:26 74;animation:intro-orbit 1.5s linear infinite;transition:stroke-dasharray .5s var(--ease)}
.intro-out .intro-mark .s{stroke-dasharray:100 0}
@keyframes intro-in{from{opacity:0;scale:.9}}
@keyframes intro-beat{0%,56%,100%{scale:1}14%{scale:1.05}28%{scale:1}42%{scale:1.03}}
@keyframes intro-orbit{to{stroke-dashoffset:-100}}
.intro-on body{overflow:hidden}
.intro-on .hp-hero *{animation-play-state:paused!important}

/* ── Sample screens that move (H-4.7, H-5.1, H-5.2, H-6.6): a pointer clicks and the screen answers, on a loop of
   12 seconds. Visitors who ask for reduced motion see the finished screens, still. ── */
.hp-cursor{position:absolute;z-index:6;left:0;top:0;width:21px;height:21px;pointer-events:none;opacity:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2v17.500l4.400-3.900 2.800 6.200 2.700-1.200-2.800-6.100h6.400z' fill='%230d1211' stroke='%23fff' stroke-width='1.500' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0 / contain no-repeat;filter:drop-shadow(0 2px 3px rgb(13 18 17 / .32))}
.hp-cursor::after{content:"";position:absolute;left:-10px;top:-10px;width:26px;height:26px;border-radius:50%;border:2px solid var(--tenant);opacity:0}
.hp-toast{position:absolute;z-index:4;right:14px;top:clamp(84px,7.4vw,108px);display:flex;align-items:center;gap:10px;padding:10px 16px 10px 10px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--line),0 18px 36px -18px rgb(13 18 17 / .5);font-size:13px;line-height:1.3;opacity:0}
.hp-toast .i{box-sizing:border-box;width:28px;height:28px;padding:7px;border-radius:50%;background:var(--ok-bg);color:var(--ok);stroke-width:2.2}
.hp-toast b{display:block;font-weight:600}
.hp-toast i{font-style:normal;color:var(--ink-3)}
.hp-browser{position:relative}
.hp-site .s-btn{position:relative}
.hp-pop{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 8px;border-radius:999px;background:#0e0e0e;color:#fff;font-size:12.5px;font-weight:500;line-height:1;opacity:0}
.hp-pop .i{font-size:13px;color:#6fd49a}
.hp-crm .kc.is-open{position:relative}
.hp-crm .kc-why{overflow:hidden}

@media (prefers-reduced-motion:no-preference){
  /* H-4.7: the pointer goes to the match score, clicks, and the reasons for the score open */
  .hp-crm .kc.is-open{animation:hp4-card 12s cubic-bezier(.4,0,.2,1) infinite}
  .hp-crm .kc.is-open .hp-cursor{animation:hp4-cursor 12s cubic-bezier(.4,0,.2,1) infinite}
  .hp-crm .kc.is-open .hp-cursor::after{animation:hp4-click 12s linear infinite}
  .hp-crm .kc.is-open .tag.match{animation:hp4-tag 12s linear infinite}
  .hp-crm .kc-why{animation:hp4-why 12s cubic-bezier(.4,0,.2,1) infinite}
  .hp-crm .kc-why li{animation:hp4-li 12s cubic-bezier(.4,0,.2,1) infinite backwards}
  .hp-crm .kc-why li:nth-child(2){animation-delay:.16s}
  .hp-crm .kc-why li:nth-child(3){animation-delay:.32s}
  .hp-crm .kc-why li:nth-child(4){animation-delay:.48s}
  @keyframes hp4-cursor{0%,5%{left:16em;top:15em;opacity:0}8%{opacity:1}21%,23%{left:3.300em;top:5.650em;opacity:1;scale:1}24.500%{left:3.300em;top:5.650em;scale:.84}26.500%,68%{left:3.300em;top:5.650em;opacity:1;scale:1}80%,100%{left:13em;top:15em;opacity:0;scale:1}}
  @keyframes hp4-click{0%,24%{opacity:0;scale:.3}25%{opacity:.6;scale:.4}29%,100%{opacity:0;scale:1.500}}
  @keyframes hp4-tag{0%,23.500%,27%,100%{scale:1}25%{scale:.9}}
  @keyframes hp4-card{0%,24.500%{border-color:var(--line);box-shadow:0 0 0 0 rgb(13 18 17 / 0)}28%,70%{border-color:color-mix(in srgb,var(--tenant) 50%,#fff);box-shadow:0 8px 20px -12px rgb(13 18 17 / .3)}75%,100%{border-color:var(--line);box-shadow:0 0 0 0 rgb(13 18 17 / 0)}}
  @keyframes hp4-why{0%,25%{max-height:0;margin-top:0;padding-top:0;border-top-color:transparent;opacity:0}31%,70%{max-height:9em;margin-top:.7em;padding-top:.6em;border-top-color:var(--line);opacity:1}76%,100%{max-height:0;margin-top:0;padding-top:0;border-top-color:transparent;opacity:0}}
  @keyframes hp4-li{0%,29%{opacity:0;translate:-.6em 0}33%,69%{opacity:1;translate:none}72%,100%{opacity:0;translate:-.6em 0}}

  /* H-5.1: the pointer clicks the site's button and an enquiry arrives */
  .hp-site .s-btn .hp-cursor{animation:hp5-cursor 12s cubic-bezier(.4,0,.2,1) infinite}
  .hp-site .s-btn .hp-cursor::after{animation:hp5-click 12s linear infinite}
  .hp-site .s-btn{animation:hp5-btn 12s linear infinite}
  .hp-toast{animation:hp5-toast 12s cubic-bezier(.3,1.2,.4,1) infinite}
  @keyframes hp5-cursor{0%,4%{left:240%;top:-200%;opacity:0}7%{opacity:1}18%,19.500%{left:60%;top:55%;opacity:1;scale:1}21%{left:60%;top:55%;scale:.84}23%,31%{left:60%;top:55%;opacity:1;scale:1}42%,100%{left:230%;top:250%;opacity:0;scale:1}}
  @keyframes hp5-click{0%,20.500%{opacity:0;scale:.3}21.500%{opacity:.6;scale:.4}25.500%,100%{opacity:0;scale:1.500}}
  @keyframes hp5-btn{0%,20%,23.500%,100%{scale:1;filter:none}21.500%{scale:.95;filter:brightness(.86)}}
  @keyframes hp5-toast{0%,24%{translate:115% 0;opacity:0}29%,58%{translate:none;opacity:1}63%,100%{translate:115% 0;opacity:0}}

  /* H-5.2: the listing is alive too. Its pin sends out a ring, someone taps Call, and the call comes in */
  .hp-branding .hp-map::before{content:"";position:absolute;left:50%;top:50%;width:16px;height:16px;margin:-6px 0 0 -8px;border-radius:50%;background:var(--tenant);animation:hp5-ring 2.600s ease-out infinite}
  .hp-branding .hp-chips i:last-child{position:relative;animation:hp5-chip 12s linear infinite}
  .hp-branding .hp-chips i:last-child::after{content:"";position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;border:2px solid var(--tenant);opacity:0;animation:hp5-tap 12s linear infinite}
  .hp-branding .hp-pop{animation:hp5-pop 12s cubic-bezier(.3,1.2,.4,1) infinite}
  @keyframes hp5-ring{0%{scale:.6;opacity:.45}70%,100%{scale:4.200;opacity:0}}
  @keyframes hp5-chip{0%,50%{background-color:rgb(163 18 58 / 0);color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line-2)}52.500%,80%{background-color:var(--tenant);color:#fff;box-shadow:inset 0 0 0 1px var(--tenant)}84%,100%{background-color:rgb(163 18 58 / 0);color:var(--ink-2);box-shadow:inset 0 0 0 1px var(--line-2)}}
  @keyframes hp5-tap{0%,49%{opacity:0;scale:.3}50%{opacity:.6;scale:.4}54.500%,100%{opacity:0;scale:1.400}}
  @keyframes hp5-pop{0%,53%{translate:0 -150%;opacity:0}58%,82%{translate:none;opacity:1}87%,100%{translate:0 -150%;opacity:0}}

  /* H-6.6: the applet does its steps one after the other, then waits for the yes. */
  .hp-flow li{animation:hp6-row1 12s linear infinite}
  .hp-flow li:nth-child(2){animation-name:hp6-row2}
  .hp-flow li:nth-child(3){animation-name:hp6-row3}
  .hp-flow li:nth-child(4){animation-name:hp6-row4}
  .hp-flow li>i{position:relative;animation:hp6-ring1 12s linear infinite}
  .hp-flow li:nth-child(2)>i{animation-name:hp6-ring2}
  .hp-flow li:nth-child(3)>i{animation-name:hp6-ring3}
  .hp-flow li.is-wait>i{animation-name:hp6-ring4}
  .hp-flow li.is-done>i::after{content:"";position:absolute;inset:-1px;border-radius:50%;border:2px solid transparent;border-top-color:var(--ink-3);border-right-color:var(--ink-3);opacity:0;animation:hp6-spin .7s linear infinite,hp6-busy1 12s linear infinite}
  .hp-flow li:nth-child(2)>i::after{animation-name:hp6-spin,hp6-busy2}
  .hp-flow li:nth-child(3)>i::after{animation-name:hp6-spin,hp6-busy3}
  .hp-flow-foot .s-btn{animation:hp6-cta 12s linear infinite}
  @keyframes hp6-spin{to{rotate:360deg}}
  @keyframes hp6-row1{0%,2%{opacity:.32}4%,93%{opacity:1}97%,100%{opacity:.32}}
  @keyframes hp6-row2{0%,10%{opacity:.32}12%,93%{opacity:1}97%,100%{opacity:.32}}
  @keyframes hp6-row3{0%,18%{opacity:.32}20%,93%{opacity:1}97%,100%{opacity:.32}}
  @keyframes hp6-row4{0%,28%{opacity:.32}31%,93%{opacity:1}97%,100%{opacity:.32}}
  @keyframes hp6-busy1{0%,3%{opacity:0}4%,7.500%{opacity:1}8.500%,100%{opacity:0}}
  @keyframes hp6-busy2{0%,11%{opacity:0}12%,15.500%{opacity:1}16.500%,100%{opacity:0}}
  @keyframes hp6-busy3{0%,19%{opacity:0}20%,25.500%{opacity:1}26.500%,100%{opacity:0}}
  @keyframes hp6-ring1{0%,7.500%{background:var(--wash-2);color:transparent;scale:1}9%{background:var(--ok-bg);color:var(--ok);scale:1.220}11%,93%{background:var(--ok-bg);color:var(--ok);scale:1}97%,100%{background:var(--wash-2);color:transparent;scale:1}}
  @keyframes hp6-ring2{0%,15.500%{background:var(--wash-2);color:transparent;scale:1}17%{background:var(--ok-bg);color:var(--ok);scale:1.220}19%,93%{background:var(--ok-bg);color:var(--ok);scale:1}97%,100%{background:var(--wash-2);color:transparent;scale:1}}
  @keyframes hp6-ring3{0%,25.500%{background:var(--wash-2);color:transparent;scale:1}27%{background:var(--ok-bg);color:var(--ok);scale:1.220}29%,93%{background:var(--ok-bg);color:var(--ok);scale:1}97%,100%{background:var(--wash-2);color:transparent;scale:1}}
  @keyframes hp6-ring4{0%,29.500%{background:var(--wash-2);color:transparent;scale:1}31.500%{background:var(--warn-bg);color:var(--warn);scale:1.220}33.500%,93%{background:var(--warn-bg);color:var(--warn);scale:1}97%,100%{background:var(--wash-2);color:transparent;scale:1}}
  @keyframes hp6-cta{0%,35%{box-shadow:0 0 0 0 color-mix(in srgb,var(--tenant) 50%,transparent)}44%{box-shadow:0 0 0 13px color-mix(in srgb,var(--tenant) 0%,transparent)}45%,56%{box-shadow:0 0 0 0 color-mix(in srgb,var(--tenant) 50%,transparent)}65%,100%{box-shadow:0 0 0 13px color-mix(in srgb,var(--tenant) 0%,transparent)}}
}

/* ── H-8: one line under the four steps. A red dot travels along it in 12 seconds; each step lights as the dot
   reaches it, then the line clears and it starts again. On small screens and with reduced motion: four red dots. ── */
.hp-how{--st-on:var(--tenant);--st-num:var(--tenant-text);--st-off:color-mix(in srgb,var(--ink-3) 62%,var(--wash))}
:root[data-theme="dark"] .hp-how{--st-on:var(--tenant-text-dark);--st-num:var(--tenant-text-dark)}
@media (min-width:901px) and (prefers-reduced-motion:no-preference){
  .hpage .hp-steps{position:relative}
  .hpage .hp-steps::before{content:"";position:absolute;z-index:1;left:0;top:-1.5px;width:100%;height:2px;border-radius:2px;background:var(--st-on);transform-origin:0 50%;animation:hp8-line 12s linear infinite}
  .hpage .hp-steps::after{content:"";position:absolute;z-index:3;left:0;top:-6.5px;width:12px;height:12px;border-radius:50%;background:var(--st-on);box-shadow:0 0 0 5px color-mix(in srgb,var(--st-on) 20%,transparent);animation:hp8-run 12s linear infinite}
  .hpage .hp-steps li::before{z-index:2;animation:hp8-dot1 12s linear infinite}
  .hpage .hp-steps li:nth-child(2)::before{animation-name:hp8-dot2}
  .hpage .hp-steps li:nth-child(3)::before{animation-name:hp8-dot3}
  .hpage .hp-steps li:nth-child(4)::before{animation-name:hp8-dot4}
  .hpage .hp-steps li>i{animation:hp8-num1 12s linear infinite}
  .hpage .hp-steps li:nth-child(2)>i{animation-name:hp8-num2}
  .hpage .hp-steps li:nth-child(3)>i{animation-name:hp8-num3}
  .hpage .hp-steps li:nth-child(4)>i{animation-name:hp8-num4}
  @keyframes hp8-line{0%{transform:scaleX(0);opacity:1}86%,92%{transform:scaleX(1);opacity:1}96%,100%{transform:scaleX(1);opacity:0}}
  @keyframes hp8-run{0%{left:0;opacity:0;scale:.4}2%{left:0;opacity:1;scale:1}86%{left:calc(100% - 12px);opacity:1;scale:1}90%{left:calc(100% - 12px);opacity:1;scale:1.400}96%,100%{left:calc(100% - 12px);opacity:0;scale:.4}}
  @keyframes hp8-dot1{0%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}1.500%,92%{background:var(--st-on);box-shadow:inset 0 0 0 1.5px var(--st-on),0 0 0 5px var(--wash)}96%,100%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}}
  @keyframes hp8-dot2{0%,20.500%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}22.500%,92%{background:var(--st-on);box-shadow:inset 0 0 0 1.5px var(--st-on),0 0 0 5px var(--wash)}96%,100%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}}
  @keyframes hp8-dot3{0%,42%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}44%,92%{background:var(--st-on);box-shadow:inset 0 0 0 1.5px var(--st-on),0 0 0 5px var(--wash)}96%,100%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}}
  @keyframes hp8-dot4{0%,63.500%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}65.500%,92%{background:var(--st-on);box-shadow:inset 0 0 0 1.5px var(--st-on),0 0 0 5px var(--wash)}96%,100%{background:var(--wash);box-shadow:inset 0 0 0 1.5px var(--st-off),0 0 0 5px var(--wash)}}
  @keyframes hp8-num1{0%{color:var(--st-off)}1.500%,92%{color:var(--st-num)}96%,100%{color:var(--st-off)}}
  @keyframes hp8-num2{0%,20.500%{color:var(--st-off)}22.500%,92%{color:var(--st-num)}96%,100%{color:var(--st-off)}}
  @keyframes hp8-num3{0%,42%{color:var(--st-off)}44%,92%{color:var(--st-num)}96%,100%{color:var(--st-off)}}
  @keyframes hp8-num4{0%,63.500%{color:var(--st-off)}65.500%,92%{color:var(--st-num)}96%,100%{color:var(--st-off)}}
}

/* TEMPORARY (review): lets the footer's "Play loading screen" button start the hero's entrance again */
.hp-hero.is-reset *{animation:none!important}

/* ════ Home page, version 2 (home-v2.html, body.hp2). Everything not listed here is shared with version 1. ════ */

/* band of client logos under the hero, on the footer's dark surface */
.hp-clients{background:var(--deep);color-scheme:dark;padding-block:clamp(18px,2.2vw,30px);overflow:hidden}
.hp-clients .wk-logo{padding-block:8px}

/* CRM: the line about the CRMs built outside recruitment */
.hp-also{margin-top:22px;max-width:46ch;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.hp-also a{font-weight:500;color:var(--ink);border-bottom:1px solid var(--line-2);transition:border-color .18s}
.hp-also a:hover{border-color:var(--ink)}

/* branding: real pieces. The Kazumi site in a browser, its business card across one corner, the Elektrika Profi
   shop front, printed like a photograph, across the other */
.hp2-pieces{position:relative;padding:0 clamp(18px,3.4vw,48px) clamp(64px,8.6vw,124px) clamp(18px,3.4vw,48px)}
.hp2-pieces .wk-browser{position:relative}
.hp2-card,.hp2-photo{position:absolute;z-index:1;height:auto;box-shadow:0 26px 48px -24px rgb(13 18 17 / .6)}
.hp2-card{left:0;bottom:clamp(14px,2.4vw,34px);width:43%;border-radius:10px;rotate:-6deg}
.hp2-photo{right:0;bottom:0;width:46%;border:5px solid #fff;border-radius:4px;rotate:3.5deg}
.hp2-cap{margin-top:16px;font-size:13.5px;line-height:1.45;color:var(--ink-3)}
.hp2 .hp-branding .actions{gap:12px 30px}
@media (prefers-reduced-motion:no-preference){
  .js .hp-split:not(.is-in) .hp2-card{opacity:0;translate:-18px 24px}
  .js .hp-split:not(.is-in) .hp2-photo{opacity:0;translate:18px 28px}
  .hp2-card,.hp2-photo{transition:opacity .7s .25s,translate 1s .25s var(--ease)}
  .hp2-photo{transition-delay:.38s}
}

/* selected work: three tiles of the work page */
.hp2-work{border-top:1px solid var(--line)}
.hp2-work-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px 40px;margin-bottom:clamp(30px,4vw,52px)}
.hp2-work-head p{margin-top:14px;max-width:52ch;font-size:clamp(1.0625rem,1.35vw,1.1875rem);line-height:1.5;color:var(--ink-2)}
.hp2-kind{align-self:flex-start;margin-bottom:8px;font-size:13.5px;font-weight:500;color:var(--tenant-text)}
:root[data-theme="dark"] .hp2-kind{color:var(--tenant-text-dark)}
@media (max-width:900px){.hp2-photo{width:50%}.hp2-card{width:46%}}

/* ════ Phones ════ */
@media (max-width:700px){
  /* the hero shows the product window alone: the listing and the applet have their own sections further down,
     and stacked above the window they made the hero three screens long */
  .hp-stack .hp-listing,.hp-stack .hp-applet{display:none}
  .hp-stage-note span{display:none}
  .hp2-work-head{align-items:flex-start}
  .hp2-pieces{padding-inline:0;padding-bottom:22vw}
}
