/* Home, "Biz kimiz": the kicker as keyboard keys + a hand-written note with an arrow.
   Colours ride on DesignPack tokens, so light/dark work without extra rules except the key surfaces. */
.who .s-h .kq-sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.kq{
    --k: 84px;
    --k-face: var(--c-white);
    --k-side: color-mix(in srgb, var(--c-paper2) 78%, var(--c-navy));
    --k-ink: var(--c-navy);
    --k-hand: "Caveat Brush", var(--bt-sans);
    grid-column: 1/13; position: relative; justify-self: start;
    --pr: 150px; display: flex; gap: 14px; margin-bottom: 30px; padding-right: var(--pr); padding-bottom: 46px;
    color: var(--bt-ink);
}
.kq.has-b{padding-top:86px;padding-left:44px}
[data-theme="dark"] .kq{
    --k-face: color-mix(in srgb, var(--c-paper) 14%, var(--c-deep));
    --k-side: color-mix(in srgb, var(--c-paper) 4%, var(--c-deep));
    --k-ink: var(--c-paper);
}

/* one key: the darker body is the side wall, ::before is the slightly smaller top face */
.kc{
    position: relative; flex: none; width: var(--k); height: var(--k); border-radius: 18px;
    background: var(--k-side);
    box-shadow: 0 14px 22px -12px rgba(0, 0, 0, .45), 0 2px 0 color-mix(in srgb, var(--k-side) 70%, black);
    transition: transform .14s ease, box-shadow .14s ease;
}
.kc::before{
    content: ""; position: absolute; inset: 5px 6px 12px; border-radius: 13px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--k-face) 92%, white), var(--k-face) 55%, color-mix(in srgb, var(--k-face) 90%, var(--k-side)));
    box-shadow: inset 0 1px 0 color-mix(in srgb, white 50%, transparent);
}
.kc b{position:absolute;inset:5px 6px 12px;display:grid;place-items:center;font-family:var(--bt-mono);font-size:calc(var(--k) * .2);font-weight:500;color:var(--k-ink)}
.kc.ac{--k-face: var(--c-signal); --k-side: color-mix(in srgb, var(--c-signal-fill) 72%, black); --k-ink: var(--c-white)}
.kc:hover{transform:translateY(4px);box-shadow:0 6px 10px -8px rgba(0, 0, 0, .45), 0 1px 0 color-mix(in srgb, var(--k-side) 70%, black)}

/* hand-written notes + arrows */
.kq-n{font-family:var(--k-hand);font-size:38px;line-height:.9;letter-spacing:.01em;color:var(--bt-ink);white-space:nowrap}
.kq-ar{display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kq-a{position:absolute;left:calc(100% - var(--pr) - 8px);bottom:0;display:flex;align-items:flex-end;gap:4px}
.kq-a .kq-ar{width:64px;height:70px;margin-bottom:-4px}
.kq-b{position:absolute;left:0;top:0;display:flex;flex-direction:column;align-items:flex-start}
.kq-b .kq-ar{width:52px;height:56px;margin:0 0 0 4px}

/* entrance: keys tap in sequence, then the arrows draw and the notes appear (Keys.js adds .on in view) */
.kq.js .kc{opacity:0;transform:translateY(-10px)}
.kq.js .kq-ar path{stroke-dasharray:1;stroke-dashoffset:1}
.kq.js .kq-n{opacity:0}
.kq.on .kc{animation:kcIn .5s var(--bt-out) calc(var(--i) * .08s) forwards,kcTap .34s ease calc(.55s + var(--i) * .16s)}
.kq.on .kq-ar path{transition:stroke-dashoffset .7s ease 1.05s;stroke-dashoffset:0}
.kq.on .kq-n{transition:opacity .4s ease 1.4s;opacity:1}
.kq.on .kq-b .kq-n{transition-delay:.15s}.kq.on .kq-b .kq-ar path{transition-delay:.3s}
@keyframes kcIn{to{opacity:1;transform:none}}
@keyframes kcTap{40%{transform:translateY(5px);box-shadow:0 5px 8px -6px rgba(0, 0, 0, .45)}}

@media (max-width:900px){
    .kq{--k:64px;--pr:128px;gap:10px;margin-bottom:18px;padding-bottom:40px}
    .kq-n{font-size:32px}
    .kq-a .kq-ar{width:52px;height:58px;margin-bottom:12px}
}
@media (max-width:440px){
    .kq{--k:54px;--pr:112px;gap:9px}
    .kc{border-radius:14px}.kc::before,.kc b{inset:4px 5px 10px;border-radius:10px}
    .kq-n{font-size:28px}
    .kq.has-b{padding-top:76px;padding-left:34px}
}
@media (prefers-reduced-motion:reduce){
    .kq.js .kc,.kq.js .kq-n{opacity:1;transform:none}
    .kq.js .kq-ar path{stroke-dashoffset:0}
    .kq.on .kc{animation:none}
}
