/* ——— Kept for you (本人 2026-11-29, 「做吧」): three pairs held while the page moves, in the grammar of Show her once. Her words
   stand at the left; the stage at the right shows the page as it was seen (demos/kept) with what she kept under it, then the
   moment it came back (a real watchOS 27 notice, a real iOS 27 lock screen, or the mail with her reply pre-filled) with the
   same card beside it. The last beat is the shelf of what she keeps. */
.kept { position: relative; height: 760vh; }
.kept-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --kept-w: min(27rem, 29vw); --kept-gap: clamp(40px, 4.2vw, 110px); --kept-side: min(330px, 34%); }
.kept-words { position: absolute; left: var(--edge); top: 0; bottom: 0; width: var(--kept-w); pointer-events: none; }
.kept-w { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; transform: translateY(calc(-50% + 16px)); transition: opacity .8s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.kept-w.show { opacity: 1; transform: translateY(-50%); transition-delay: .2s; }
.kept-w .eyebrow { margin-bottom: 14px; }
.kept-w h3 { font-family: var(--font-display); font-weight: var(--w-regular); font-size: clamp(32px, 1.4vw + 18px, 54px); line-height: 1.05; letter-spacing: -.006em; color: var(--ink-title); }
.kept-w p:not(.eyebrow) { margin: 16px 0 0; font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.kept-w p.quiet { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 248, 235, .08); font-size: var(--t-caption); line-height: 1.55; color: var(--ink-3); }
.kept-w .quiet i { display: inline-block; width: 19px; height: 13px; margin: 0 10px 0 0; vertical-align: -1px; border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(244, 247, 252, .85), inset 0 0 6px 1px rgba(214, 228, 255, .5), 0 0 8px rgba(214, 228, 255, .25); }
.kept-stage { position: absolute; left: calc(var(--edge) + var(--kept-w) + var(--kept-gap)); right: var(--edge); top: max(11vh, 92px); bottom: 5vh; }
.kept-stage > * { position: absolute; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.kept-stage > .show { opacity: 1; visibility: visible; transition: opacity .9s ease .15s, visibility 0s, transform 1.2s cubic-bezier(.2, .7, .2, 1) .15s; }

/* the page, over what she kept */
.kept-win { left: 0; right: 0; top: 0; bottom: calc(10.5rem + 22px); transform: translateY(14px); }
.kept-win.show { transform: none; }

/* what she kept: the line she drew from it, the words as said with who said them, and, once it has come back, when */
.kept-card { left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(41rem, 100%); padding: 16px 22px 17px; border-radius: 20px; color: var(--ink); font-family: var(--font-sans);
  background: rgba(13, 12, 11, .82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 0 0 1px rgba(255, 248, 235, .11), 0 40px 100px -40px rgba(0, 0, 0, .9); }
.kept-card.shift, .kept-stage > .kept-card.shift { opacity: 0; transition: opacity .35s ease; }
.kept-card.side { right: auto; top: 0; bottom: 0; margin: auto 0; height: fit-content; width: var(--kept-side); }
.kc-k { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--t-label); font-weight: var(--w-strong); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--el); }
.kc-k i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--clear, #fbfcff); box-shadow: 0 0 12px rgba(206, 230, 255, .95); }
.kc-d { margin: 10px 0 0; font-size: var(--t-body); line-height: 1.45; color: var(--ink-title); text-wrap: pretty; }
.kc-q { margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 248, 235, .08); }
.kc-q p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.kc-q cite { display: block; margin-top: 4px; font-style: normal; font-size: var(--t-caption); color: var(--ink-3); }
.kc-b { display: none; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 248, 235, .08); font-size: var(--t-caption); color: var(--ink-title); }
.kept-card.side .kc-b { display: block; }
.kc-b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--el); }

/* the moment it came back: beside the card */
.kept-watch, .kept-phone { left: calc(var(--kept-side) + var(--kept-gap)); right: 0; top: 0; bottom: 0; margin: 0; transform: translateY(22px) scale(.985); }
.kept-watch img, .kept-phone img { position: absolute; inset: 0; margin: auto; max-width: 100%; }
.kept-watch.show, .kept-phone.show { transform: none; }
/* her watch at the shelf: a photograph, with the real watchOS notice in its screen */
.kept-watch img { display: block; height: min(78vh, 100%, 900px); width: auto; aspect-ratio: 1200 / 1300; border-radius: 18px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 248, 235, .1), 0 60px 120px -50px rgba(0, 0, 0, .95); }
/* the lock screen, as Show her once shows Rosa's */
.kept-phone img { display: block; height: min(80vh, 100%, 940px); aspect-ratio: 1206 / 2622; padding: 9px; border-radius: 13.5% / 6.2%; background: #0d0d0f; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 248, 235, .14), inset 0 0 0 1px rgba(255, 255, 255, .04), 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 140px -30px rgba(226, 194, 126, .16); }

/* the shelf: four things she kept, and when each came back */
.kept-shelf { inset: 0; margin: auto; height: fit-content; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 54rem; }
.kept-shelf .ks { padding: 16px 20px 15px; border-radius: 18px; background: rgba(13, 12, 11, .72); box-shadow: 0 0 0 1px rgba(255, 248, 235, .1); opacity: 0; transform: translateY(10px);
  transition: opacity .8s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.kept-shelf.show .ks { opacity: 1; transform: none; }
.kept-shelf.show .ks:nth-child(2) { transition-delay: .15s; } .kept-shelf.show .ks:nth-child(3) { transition-delay: .3s; } .kept-shelf.show .ks:nth-child(4) { transition-delay: .45s; }
.kept-shelf .kc-b { display: block; }

/* a phone: one column, every beat in turn, nothing held */
@media (max-width: 760px) {
  .kept { height: auto; padding: 10vh 0 6vh; }
  .kept-pin { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; padding: 0 var(--gutter); }
  .kept-words, .kept-stage { display: contents; }
  .kept-w, .kept-stage > * { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; transition: none; }
  .kept-w { margin-top: 56px; } .kept-w.show { transform: none; }
  .kept-w[data-on="0"] { order: 1; margin-top: 0; } .kept-win[data-k="yt"] { order: 2; } .kept-card[data-then="0"] { order: 3; }
  .kept-w[data-on="1"] { order: 4; } .kept-watch { order: 5; }
  .kept-w[data-on="2"] { order: 6; } .kept-win[data-k="ss"] { order: 7; } .kept-card[data-then="2"] { order: 8; }
  .kept-w[data-on="3"] { order: 9; } .kept-phone { order: 10; }
  .kept-w[data-on="4"] { order: 11; } .kept-win[data-k="rd"] { order: 12; } .kept-card[data-then="4"] { order: 13; }
  .kept-w[data-on="5"] { order: 14; } .kept-win[data-k="gm"] { order: 15; }
  .kept-w[data-on="6"] { order: 16; } .kept-shelf { order: 17; }
  .kept-win { margin-top: 26px; }
  .kept-card, .kept-card.side { margin: 16px 0 0; width: auto; height: auto; }
  .kept-card .kc-b { display: block; }
  .kept-watch, .kept-phone { margin-top: 28px; }
  .kept-watch img, .kept-phone img { position: relative; inset: auto; }
  .kept-watch img { height: auto; width: 100%; }
  .kept-phone img { height: auto; width: min(280px, 72%); }
  .kept-shelf { margin-top: 28px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .kept-shelf .ks { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .kept-w, .kept-stage > *, .kept-shelf .ks { transition: none; } }
