/* STEPS-SPLIT-6 (site 68): picture card width follows the cap (/websites/ 780x760 picture was trimmed 5%). STEPS-SPLIT-5 (site 64, PIN-1b): picture steps take the picture's own shape (no side crop), thread top fade 56 px after 14 px clear. STEPS-SPLIT-3 (site 57, order HIW-1): hold 300 px a step (1200 in all, ONE constant --ss-step), pair centred under the header, one position per step, bar 0-100 across its own step, thread card (text bubbles) instead of pictures where the page has a thread. */
/* Tokens come from the served paper scopes: .v5-paper (home.css: --ink --ink-2 --line-ink --gold-ink), .wp (websites: --ink --ink-2 --gold-ink), .re-paper (real-estate: --rink --rink-2 --gold-ink); fonts --f-display / --f-body.
   Base = the stacked layout (under 1024, no JS, or a pair that does not fit under the header): plain headings + sentences, then the card under the steps with every group in order. The two-column HOLD layout is class .ss-hold, set by JS (and by the inline script in each section for width >= 1024). */
.ss{--ss-step:300px;--ss-top:96px;--ss-ink:var(--ink);--ss-ink2:var(--ink-2);--ss-line:var(--line-ink,rgba(17,17,17,.14));--ss-gold:var(--gold-ink)}
.ss.re-paper{--ss-ink:var(--rink);--ss-ink2:var(--rink-2)}
.ss__k{margin:0 0 28px;font:600 12px/1.4 var(--f-body);letter-spacing:.16em;text-transform:uppercase;color:var(--ss-ink)}
.ss__list{list-style:none;margin:0;padding:0;display:grid;gap:64px}
.ss__li{display:block;position:relative}
.ss__t{margin:0;font:600 22px/1.2 var(--f-display);color:var(--ss-ink)}
.ss__b{appearance:none;-webkit-appearance:none;display:block;width:100%;margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.ss__b:focus-visible{outline:2px solid var(--ss-gold);outline-offset:4px;border-radius:2px}
.ss__d{margin:8px 0 0;max-width:34ch;font:400 15px/1.5 var(--f-body);color:var(--ss-ink2)}
.ss__fill{display:none}
.ss__run{display:none}
.ss__right{display:block;margin-top:40px}
@keyframes ss-in{from{opacity:0}to{opacity:1}}
@keyframes ss-pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes ss-dot{0%,60%,100%{opacity:.3}30%{opacity:1}}
@keyframes ss-live{0%{box-shadow:0 0 0 0 rgba(53,208,127,.55)}70%,100%{box-shadow:0 0 0 7px rgba(53,208,127,0)}}

/* the thread card: dark, no phone body */
.ss__card{position:relative;border-radius:10px;overflow:clip;background:#0d1117;color:#eef2f6;border:1px solid #1d242d}
.ss__hd{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #1d242d;font:600 13px/1.2 var(--f-body);color:#eef2f6;letter-spacing:.02em}
.ss__live{flex:none;width:8px;height:8px;border-radius:50%;background:#35d07f;animation:ss-live 2s ease-out infinite}
.ss__g{padding:12px 18px 14px}
.ss__g+.ss__g{padding-top:4px}
.ss__stamp{margin:4px 0 10px;text-align:center;font:500 12px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.06em;color:#98a5b5}
.ss__msgs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ss__m{position:relative;max-width:84%;margin:0;padding:9px 14px;border-radius:16px;font:400 15px/1.4 var(--f-body)}
.ss__m--a{align-self:flex-end;background:#2563eb;color:#fff;border-bottom-right-radius:5px}
.ss__m--v{align-self:flex-start;background:#232a33;color:#eef2f6;border-bottom-left-radius:5px}
.ss__m--a::before,.ss__m--v::before{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ss__m--a::before{content:"You: "}
.ss__m--v::before{content:"Victor: "}
.ss__cd{display:flex;align-items:center;gap:12px;min-width:200px}
.ss__cd svg{flex:none}
.ss__cd b{display:block;font:600 15px/1.3 var(--f-body)}
.ss__cd span{display:block;font:400 15px/1.3 var(--f-body);opacity:.85}
.ss__m--film{padding:10px 12px 12px}
.ss__tile{display:flex;align-items:center;justify-content:center;width:240px;max-width:100%;aspect-ratio:16/9;margin-bottom:8px;border-radius:8px;background:linear-gradient(135deg,#1c2733,#0f161e);border:1px solid #2d3948}
.ss__tile i{display:block;width:0;height:0;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #eef2f6;margin-left:4px}
.ss__m--film b{display:block;font:600 15px/1.3 var(--f-body)}
.ss__m--film span{display:inline-block;margin-top:4px;font:400 15px/1.3 var(--f-body);opacity:.85}
.ss__m--film span+span{margin-left:10px;padding:1px 10px;border:1px solid #3a4756;border-radius:99px;opacity:1}
.ss__ph{display:flex;align-items:center;gap:12px}
.ss__ph b{display:block;font:600 15px/1.3 var(--f-body)}
.ss__stack{position:relative;flex:none;width:44px;height:40px}
.ss__stack i{position:absolute;width:30px;height:30px;border-radius:5px;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.2)}
.ss__stack i:nth-child(1){left:0;top:10px}
.ss__stack i:nth-child(2){left:7px;top:5px}
.ss__stack i:nth-child(3){left:14px;top:0}
.ss__m--dots{display:none;gap:5px;padding:13px 16px}
.ss__m--dots i{display:block;width:7px;height:7px;border-radius:50%;background:#b9c4d1;animation:ss-dot 1.2s ease-in-out infinite}
.ss__m--dots i:nth-child(2){animation-delay:.2s}
.ss__m--dots i:nth-child(3){animation-delay:.4s}
.ss__pic{display:none}
/* stacked layout: each bubble appears once as it scrolls in (class ss-io is added by JS) */
.ss-io:not(.ss-hold) .ss__m{transition:opacity .35s var(--ease,ease),transform .35s var(--ease,ease)}
.ss-io:not(.ss-hold) .ss__m:not(.is-in){opacity:0;transform:translateY(10px)}

/* HOLD layout (class .ss-hold) */
.ss-hold .ss__stage{position:sticky;top:var(--ss-top);min-height:var(--ss-sh,0);display:flex;flex-direction:column;justify-content:center} /* SITE-PUT-BACK-1: constant stage height = the tallest step, pair centred in it */
.ss-hold .ss__run{display:block;height:calc(var(--ss-step) * 4)}
.ss-hold .ss__grid{display:flex;align-items:center;gap:64px;zoom:var(--ss-z,1)} /* PIN-1 p2: JS sets --ss-z so the pinned pair is >= 56% of the window height */
.ss-hold .ss__left{flex:1 1 0;min-width:0}
.ss-hold .ss__list{gap:0;border-top:1.5px solid var(--ss-line)}
.ss-hold .ss__li{padding:18px 0;border-bottom:1.5px solid var(--ss-line)}
.ss-hold .ss__t{color:var(--ss-ink2);transition:color .3s var(--ease,ease)}
.ss-hold .ss__li.is-open .ss__t{color:var(--ss-ink)}
/* closed sentences stay in the accessibility tree: visually clipped, never display:none / visibility:hidden. The open one reserves two lines so no step changes the height. */
.ss-hold .ss__li:not(.is-open) .ss__d{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ss-hold .ss__li.is-open .ss__d{min-height:3em;animation:ss-in .3s var(--ease,ease)}
.ss-hold .ss__fill{position:relative;height:2px;margin-top:14px;max-width:34ch;background:var(--ss-line);overflow:hidden}
.ss-hold .ss__li.is-open .ss__fill{display:block}
.ss-hold .ss__fill i{position:absolute;inset:0;background:var(--ss-gold);transform-origin:0 50%;transform:scaleX(var(--p,0))}
.ss-hold .ss__right{flex:0 0 44%;max-width:640px;min-width:420px;margin-top:0;display:flex;flex-direction:column;justify-content:center;min-height:var(--ss-h,0)}
.ss-hold .ss__card{display:flex;flex-direction:column}
.ss-hold .ss__card.has-pics{min-height:var(--ss-h,0)} /* thread step in a has-pics card: as tall as the thread cap */
.ss-hold .ss__card.has-pics[data-kind=pic]{aspect-ratio:var(--ss-pr,780/488);min-height:0;max-height:var(--ss-h,none);width:min(100%,calc(var(--ss-h,9999px) * var(--ss-pr,1.5984)));align-self:center} /* PIN-1b-W: when the cap bites, the width follows the height so the card keeps the picture's shape (no object-fit trim) */ /* PIN-1b b1: picture step = the picture's own shape (--ss-pr from its width/height attributes, set by JS), up to the thread cap; the card stays centred in the stage by .ss__right */
.ss-hold .ss__thread{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
/* PIN-1 p1: the thread builds up like a real chat. Earlier groups stay (is-past), the open group (is-on) pops in under them, the stack is bottom-anchored and capped at the tallest single group (--ss-gmax, JS), so the card is never an empty dark block: it is as tall as its bubbles up to that cap, older bubbles fade out at the top. */
.ss-hold .ss__gs{display:flex;flex-direction:column;justify-content:flex-end;flex:1 1 auto;min-height:0;max-height:var(--ss-gmax,none);overflow:hidden}
.ss-hold .ss__gs.is-clip{-webkit-mask-image:linear-gradient(to bottom,transparent 0,transparent 28px,#000 84px);mask-image:linear-gradient(to bottom,transparent 0,transparent 28px,#000 84px)}
.ss-hold .ss__g{display:none}
.ss-hold .ss__g.is-on,.ss-hold .ss__g.is-past,.ss-hold.ss-nat .ss__g{display:block}
.ss-hold .ss__g.is-past .ss__m--dots{display:none}
.ss-hold .ss__m--dots{display:flex}
.ss-hold .ss__g.is-on .ss__m,.ss-hold .ss__g.is-on .ss__stamp{animation:ss-pop .3s var(--ease,ease) both;animation-delay:calc(var(--i,0) * 150ms)}
.ss-hold .ss__card.is-instant .ss__g.is-on .ss__m,.ss-hold .ss__card.is-instant .ss__g.is-on .ss__stamp{animation:none}
.ss-hold .ss__m--del{margin-bottom:16px}
.ss-hold .ss__m--del::after{content:"Delivered";position:absolute;right:4px;top:100%;margin-top:3px;font:500 12px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#98a5b5}
.ss-hold .ss__pic{display:block;position:absolute;inset:0;opacity:0;transition:opacity .3s var(--ease,ease)}
.ss-hold .ss__pic.is-on{opacity:1}
.ss-hold .ss__pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (prefers-reduced-motion:reduce){
  .ss__t,.ss__pic,.ss__m{transition:none!important}
  .ss__li.is-open .ss__d,.ss__g.is-on .ss__m,.ss__g.is-on .ss__stamp,.ss__m--dots i,.ss__live{animation:none!important}
  .ss__m--dots i{opacity:.8}
}
