
.keys { border-top:1px solid var(--line); }
.keys .col { max-width:1040px; }
.keys .col > * { max-width:680px; }
.keys .col > h2 { margin-bottom:28px; }
@media (min-width:860px) { .keys .col { padding-left:calc(var(--gutter) + 53px); } }
@media (min-width:1024px) {
  .keys .col { max-width:none; padding-left:calc(clamp(52px, 4vw, 92px) + 1px); }
  .keys .col > * { max-width:none; }
  .keys .col > h2 { max-width:20ch; margin-bottom:clamp(28px, 2vw, 48px); }
  .keys .col > .lede { max-width:44ch; }
}
@media (min-width:860px) { .keys .sc { grid-template-columns:3.6fr 8.4fr; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion:no-preference) {
    .keys .dk { timeline-scope:--kc2, --kc3, --kc4; }
    .keys .dk .sc:nth-child(2) { view-timeline-name:--kc2; }
    .keys .dk .sc:nth-child(3) { view-timeline-name:--kc3; }
    .keys .dk .sc:nth-child(4) { view-timeline-name:--kc4; }
    .keys .dk .sc:nth-child(1) { animation:sink linear both; animation-timeline:--kc2; animation-range:entry 30% contain 45%; }
    .keys .dk .sc:nth-child(2) { animation:sink linear both; animation-timeline:--kc3; animation-range:entry 30% contain 45%; }
    .keys .dk .sc:nth-child(3) { animation:sink linear both; animation-timeline:--kc4; animation-range:entry 30% contain 45%; }
  }
}
.keys .k-row { display:flex; align-items:center; gap:8px; }
.keys .k-macbox { position:relative; flex:1 1 0; min-width:0; }
.keys .k-phonebox { flex:0 0 clamp(218px, 30%, 300px); }
.keys .k-row > .kit-link { flex:0 0 clamp(84px, 11%, 150px); --x:0; }
.keys .kit-link:not([data-dir="v"]) .kit-dot-word { left:6px; translate:calc(var(--x, 0) * -100%) 0; transition:translate 600ms var(--k-io); }
.keys .k-note { --nx:auto; --ny:auto; right:7%; bottom:calc(100% + 6px); }
.keys .kit-phone .kit-pbtn { position:relative; }
.keys .kit-phone .kit-pbtn[data-down="1"] { transform:scale(.97); transition-duration:120ms; }
.keys .kit-mac .kit-switch { transition:background-color 200ms var(--k-out), transform 240ms var(--k-out); }
.keys .kit-mac .kit-switch[data-down="1"] { transform:scale(.97); transition-duration:200ms, 120ms; }
.keys .kit-card .kit-btns span { position:relative; }
.keys .k-tap { position:absolute; left:50%; top:50%; width:max(26px, 12cqw); height:max(26px, 12cqw); margin:calc(max(26px, 12cqw) / -2) 0 0 calc(max(26px, 12cqw) / -2);
  border-radius:50%; background:rgba(251,249,245,.32); opacity:0; transform:scale(.8); pointer-events:none; transition:opacity 160ms var(--k-out), transform 160ms var(--k-out); }
.keys [data-down="1"] > .k-tap { opacity:1; transform:none; }
.keys .k-cursor { position:absolute; left:74%; top:58%; width:max(10px, 2.4cqw); opacity:0; transform:translate(10px, 8px); pointer-events:none;
  transition:opacity 240ms var(--k-out), transform 400ms var(--k-out); }
.keys .k-cursor svg { width:100%; height:auto; }
.keys .kit-mac[data-cursor="1"] .k-cursor { opacity:1; transform:none; }
@container (max-width:340px) { .keys .kit-msg .kit-why, .keys .kit-msg .kit-hair { display:none; } }
.keys .k-day { margin-top:clamp(22px, 2.2vw, 40px); }
.keys .k-day :is(.kit-day-fill, .kit-day-mark) { transition-duration:1500ms; }
.keys .k-now, .keys .k-now *, .keys .k-now *::before, .keys .k-now *::after { transition:none !important; }
.keys .k-day .kit-day-mark { transition:transform 1500ms var(--k-io), opacity 240ms var(--k-out), scale 240ms var(--k-out); }
.keys .k-day[data-mark="0"] .kit-day-mark { opacity:0; scale:.6; }
.keys .k-day[data-drain="1"] .kit-day-fill { transform-origin:right; transform:scaleX(0); transition-duration:700ms; }
.keys .k-c1 .k-note { right:auto; left:50%; translate:-50% 0; }
.keys .k-c4 .k-note { right:15%; }
@media (max-width:639px) {
  .keys .k-scene { margin-inline:-8px; padding:14px 14px 16px; }
  .keys .k-row { flex-direction:column; align-items:stretch; gap:6px; }
  .keys .k-macbox { flex:none; width:100%; margin-top:52px; }
  .keys .k-phonebox { flex:none; width:230px; align-self:center; }
  .keys .k-row > .kit-link { flex:0 0 auto; --lh:48px; }
  .keys .kit-link[data-dir="v"] .kit-dot-word { font-size:16px; left:calc(100% + 10px); top:6px; translate:0 calc(var(--x, 0) * -100%); transition:translate 600ms var(--k-io); }
  .keys .k-note { bottom:calc(100% + 2px); }
  .keys .k-note > span { font-size:16px; line-height:20px; white-space:nowrap; }
  .keys .k-note .kit-arrow { margin:5px 0; }
  .keys .k-day { margin-top:20px; }
}
@media (prefers-reduced-motion:reduce) {
  .keys .k-tap, .keys .k-cursor { transition:none; }
}

/* «Or lock the break» (k-c6, 5 Nov 2026): the Mac on its own in locked breaks. The cover as on the k-fz card, the count with its track,
   and the real locked cover's foot (kicker, «Ends at», a quiet hairline «Emergency exit»). One beat: a ⌘ Q press in the corner, then the pins. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion:no-preference) {
    section.keys .deck.dk { timeline-scope:--kc2, --kc3, --kc4, --kc5, --kc6; }
    .keys .dk .sc:nth-child(6) { view-timeline-name:--kc6; }
    .keys .dk .sc:nth-child(5) { animation:sink linear both; animation-timeline:--kc6; animation-range:entry 30% contain 45%; }
  }
}
.keys .k-lk { display:flex; align-items:center; justify-content:center; padding-block:clamp(60px, 5.4vw, 104px); }
.keys .k-lk-box { position:relative; width:86%; }
.keys .kit-mac[data-state="locked"] .kit-veil { transform:none; }
.keys .kit-mac[data-state="locked"] :is(.kit-brand, .kit-msg > *, .kit-count, .kit-lock) { opacity:1; transform:none; }
.keys .kit-lock { display:flex; flex-direction:column; align-items:center; margin-top:max(9px, 2.6cqw); }
.keys .kit-lock-k { font:500 max(9px, 1.45cqw)/1.3 var(--k-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--k-soft); white-space:nowrap; }
.keys .kit-lock-ends { margin-top:max(2px, .7cqw); font:500 max(10.5px, 2.1cqw)/1.3 var(--k-sans); color:var(--k-ink); white-space:nowrap; }
.keys .kit-lock-ends .m { font-weight:500; }
.keys .kit-lock-exit { display:inline-flex; align-items:center; height:max(20px, 4.4cqw); margin-top:max(6px, 1.5cqw); padding:0 max(8px, 1.9cqw); border-radius:max(5px, 1cqw);
  background:#FFFDF9; box-shadow:inset 0 0 0 1px rgba(68,52,36,.22); font:400 max(10px, 1.8cqw)/1 var(--k-sans); color:var(--k-text); white-space:nowrap; }
.keys .k-keys { position:absolute; z-index:6; right:2.4cqw; top:2cqw; display:flex; gap:max(4px, .8cqw); pointer-events:none;
  opacity:0; transform:scale(.96); transition:opacity 160ms var(--k-out), transform 160ms var(--k-out); }
.keys .k-lk:is([data-b="1"], [data-b="2"]) .k-keys { opacity:1; transform:none; transition-duration:220ms; }
.keys .k-key { display:grid; place-items:center; min-width:max(22px, 4.8cqw); height:max(22px, 4.8cqw); padding:0 max(5px, 1cqw); border-radius:max(5px, 1cqw);
  background:#FFFDF9; box-shadow:0 0 0 1px rgba(68,52,36,.16), 0 max(2px, .45cqw) 0 rgba(68,52,36,.16); font:500 max(11px, 2.2cqw)/1 var(--k-ios); color:var(--k-ink);
  transition:transform 100ms var(--k-out), box-shadow 100ms var(--k-out); }
.keys .k-lk[data-b="2"] .k-key { transform:translateY(max(1px, .35cqw)); box-shadow:0 0 0 1px rgba(68,52,36,.16), 0 1px 0 rgba(68,52,36,.16); }
.keys .k-lk .k-note { right:auto; translate:-50% 0; }
.keys .k-lk .k-lk-shut { left:72%; bottom:calc(100% + 6px); }
.keys .k-lk .k-lk-week { left:50%; bottom:auto; top:calc(100% + 6px); }
.keys .k-lk .k-lk-week[data-show="0"] { transform:translateY(-6px); }
@container (max-width:460px) { .keys .kit-mac[data-state="locked"] :is(.kit-hair, .kit-msg .kit-why) { display:none; } }
@container (max-width:360px) { .keys .kit-mac[data-state="locked"] .kit-msg .kit-sub { display:none; } }
@media (max-width:639px) {
  .keys .k-lk { padding:14px 14px 16px; }
  .keys .k-lk-box { width:100%; margin-block:52px; }
  .keys .k-lk .k-lk-shut { bottom:calc(100% + 2px); }
  .keys .k-lk .k-lk-week { top:calc(100% + 2px); }
}
@media (prefers-reduced-motion:reduce) {
  .keys .k-keys, .keys .k-key { transition:none; }
}
