/* ─── SHORT VERSIONS · THE FOOTER (Oct 31 2026; 1 Sanfona chosen Nov 1 2026; 6 = the home's own fold, live since Nov 5 2026; ?foot=1–5 previews the others) ─── markup + behaviour in foot.js.
   Shared first: the frame (the page's 48px sides, room at the bottom for the password chat), the caps head over a rule,
   the closing row = the home's (Say hi's foot row, without the chat): sign-off · São Paulo's time · back to top */
.ft{position:relative;z-index:2;margin:var(--s-11) var(--s-8) 0;padding-bottom:calc(var(--s-8) * 2 + var(--s-5))}
.ft a,.ft a:hover{color:var(--ink)}
.ft img{display:block;width:100%;height:100%;object-fit:cover}
.ft :focus-visible{outline:2px solid var(--rose-ink);outline-offset:4px;border-radius:var(--r-focus)}
.ft-hd{display:flex;align-items:baseline;justify-content:space-between;gap:var(--s-5);padding-top:var(--s-5);border-top:1px solid var(--line)}
.ft-hd>.cap{color:var(--muted)}
.ft-st{display:inline-flex;align-items:center;gap:var(--s-1)}
.ft-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s-4) var(--s-6);margin-top:var(--s-10);padding-top:var(--s-5);border-top:1px solid var(--line);color:var(--muted)}
.ft-time{display:inline-flex;gap:var(--s-2);font-variant-numeric:tabular-nums}
.ft-time [data-ft-clock]{color:var(--ink)}
.ft-top{position:relative;display:inline-flex;align-items:center;gap:var(--s-2);padding:0;border:0;background:none;font:inherit;letter-spacing:inherit;text-transform:inherit;color:var(--ink);cursor:pointer;transition:color var(--d-fast)}
.ft-top:hover{color:var(--rose-ink)}
.ft-top svg{transition:transform var(--d-base) var(--e-snap)}
.ft-top:hover svg{transform:translateY(-3px)}
@media (max-width:1040px){.ft{margin:var(--s-10) var(--gutter-sm) 0}}
@media (pointer:coarse){.ft-top::before{content:'';position:absolute;inset:calc(-1 * var(--s-3)) calc(-1 * var(--s-2))}}

/* 1 Sanfona — the home's fold: ruled rows, the name on the display size over type · year in caps, a band of the cover beside it that grows
   into a preview (hover with a 90ms intent, focus, a first tap) with a "View case" pill; one open at a time, the next case first */
.f1-list{list-style:none;margin-top:var(--s-4)}
.f1-row{--band:96px}
.f1-row+.f1-row{border-top:1px solid var(--line)}
.f1-a{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);align-items:start;column-gap:var(--s-6);padding:var(--s-5) 0}
.f1-tx{display:flex;flex-direction:column;justify-content:center;gap:var(--s-1);min-height:var(--band)}
.f1-name{font-family:var(--f-serif);font-weight:300;font-size:var(--t-display);line-height:var(--lh-solid);letter-spacing:var(--tr-tight);text-wrap:balance}
.f1-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2);color:var(--muted)}
.f1-fr{position:relative;display:block;height:var(--band);overflow:hidden;border-radius:var(--r-thumb);background:color-mix(in oklab,var(--ink) 8%,var(--bg));transition:height .7s var(--e-bloom),border-radius .7s var(--e-bloom)}
.f1-fr img{scale:1.1;transition:scale 1.2s var(--e-bloom)}
.f1-row.on .f1-fr{height:296px;border-radius:var(--r-card)}
.f1-row.on .f1-fr img{scale:1}
.f1-go{position:absolute;right:var(--s-4);bottom:var(--s-4);display:inline-flex;align-items:center;gap:var(--s-2);padding:var(--s-2) var(--s-4);border-radius:var(--r-pill);background:var(--ink);color:var(--cream);line-height:var(--lh-body);opacity:0;translate:0 var(--s-2);transition:opacity .3s ease,translate .5s var(--e-bloom)}
.f1-row.on .f1-go{opacity:1;translate:none;transition-delay:.18s}
html.still .f1-fr,html.still .f1-fr img{transition:none}
@media (prefers-reduced-motion:reduce){.f1-fr,.f1-fr img{transition:none}}
@media (max-width:1040px){.f1-row{--band:80px}.f1-a{column-gap:var(--s-5)}.f1-row.on .f1-fr{height:220px}}
@media (max-width:620px){.f1-a{grid-template-columns:minmax(0,1fr)}.f1-tx{min-height:0}.f1-fr{margin-top:var(--s-4);height:56px}.f1-row.on .f1-fr{height:200px}}

/* 2 Próximo — the next case on its own: its name across the frame (fitted by foot.js, up to the cover's colossal size), its cover in a window
   that opens as the page ends (--p, scroll-linked: a pill in the middle → the whole frame), then the other two by name */
.f2-top{display:flex;justify-content:space-between;gap:var(--s-5);padding-top:var(--s-5);border-top:1px solid var(--line);color:var(--muted);font-variant-numeric:tabular-nums}
.f2-a{display:flex;flex-direction:column;gap:var(--s-6);margin-top:var(--s-8)}
.f2-name{align-self:flex-start;font-family:var(--f-serif);font-weight:300;font-size:var(--fs,var(--t-display));line-height:var(--lh-solid);letter-spacing:-.045em;white-space:nowrap;transition:color var(--d-fast)}
.f2-a:is(:hover,.hov) .f2-name{color:var(--rose-ink)}
.f2-win{--q:calc(1 - var(--p,1));position:relative;display:block;height:clamp(240px,52vh,560px);overflow:hidden;border-radius:var(--r-card);background:color-mix(in oklab,var(--ink) 8%,var(--bg));clip-path:inset(calc(var(--q) * 42%) calc(var(--q) * 34%) round calc(var(--r-card) + var(--q) * 240px))}
.f2-in{position:absolute;inset:0;scale:calc(1 + var(--q) * .35);transition:transform 1.2s var(--e-bloom)}
.f2-a:is(:hover,.hov) .f2-in{transform:scale(1.04)}
.f2-go{position:absolute;left:50%;top:50%;display:inline-flex;align-items:center;gap:var(--s-2);padding:var(--s-3) var(--s-5);border-radius:var(--r-pill);background:var(--ink);color:var(--cream);line-height:var(--lh-body);translate:-50% -50%;opacity:0;scale:.9;transition:opacity .3s ease,scale .5s var(--e-bloom)}
.f2-a:is(:hover,:focus-visible,.hov) .f2-go{opacity:1;scale:1}
.f2-meta{display:flex;flex-wrap:wrap;gap:var(--s-2);margin-top:calc(-1 * var(--s-3));color:var(--muted)}
.f2-or{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--s-3) var(--s-6);margin-top:var(--s-9)}
.f2-or>.cap{color:var(--muted)}
.f2-o{font-family:var(--f-serif);font-weight:300;font-size:var(--t-heading);line-height:var(--lh-display);letter-spacing:var(--tr-snug);background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size var(--d-base) var(--e-snap)}
.f2-o:hover{background-size:100% 1px}
html.still .f2-in{transition:none}

/* 3 Pilha — the three as prints on the table: paper, the cover, the name under it as a caption; fanned and overlapping, they deal out of a stack
   when the table comes into view; hover or focus straightens one, lifts it and tilts it toward the pointer, the others step back */
.f3-table{list-style:none;display:flex;justify-content:center;align-items:flex-start;padding:var(--s-10) 0 var(--s-8)}
.f3-it{position:relative;z-index:var(--z);flex:0 1 32%;max-width:420px;margin-inline:-1.5%;perspective:1000px;rotate:var(--r);translate:0 var(--y);transition:rotate .9s var(--e-bloom),translate .9s var(--e-bloom),scale .6s var(--e-bloom),opacity .6s ease;transition-delay:calc(var(--i) * 110ms)}
.f3-table:not(.in) .f3-it{rotate:calc(var(--r) * -.4);translate:var(--sx) 48px;opacity:0}
.f3-table.dealt .f3-it{transition-delay:0s}
.f3-pr{display:flex;flex-direction:column;gap:var(--s-3);padding:var(--s-3) var(--s-3) var(--s-4);border-radius:var(--r-focus);background:var(--pp);box-shadow:0 0 0 1px color-mix(in oklab,var(--ink) 7%,transparent),0 22px 44px -26px color-mix(in oklab,var(--ink) 55%,transparent);transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .5s var(--e-bloom),box-shadow .5s ease}
.f3-ph{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:2px;background:color-mix(in oklab,var(--ink) 8%,var(--pp))}
.f3-cap{display:flex;flex-direction:column;gap:var(--s-1);padding:0 var(--s-1)}
.f3-name{font-family:var(--f-serif);font-weight:400;font-size:var(--t-subhead);line-height:var(--lh-title)}
.f3-meta{display:flex;flex-wrap:wrap;gap:var(--s-2);color:var(--muted)}
.f3-it:is(:hover,:focus-within,.hov){z-index:5;rotate:0deg;translate:0 calc(var(--y) - 32px);scale:1.06}
.f3-it:is(:hover,:focus-within,.hov) .f3-pr{box-shadow:0 0 0 1px color-mix(in oklab,var(--ink) 7%,transparent),0 44px 80px -36px color-mix(in oklab,var(--ink) 60%,transparent)}
.f3-it.hov .f3-pr{--rx:3deg;--ry:-5deg}
.f3-table:has(.f3-it:is(:hover,:focus-within,.hov)) .f3-it:not(:hover,:focus-within,.hov){scale:.95;opacity:.85}
html.still .f3-it,html.still .f3-pr{transition-duration:.2s;transition-delay:0s}
html.still .f3-table:not(.in) .f3-it{rotate:var(--r);translate:0 var(--y);opacity:1}
@media (prefers-reduced-motion:reduce){.f3-it,.f3-pr{transition-duration:.2s;transition-delay:0s}.f3-table:not(.in) .f3-it{rotate:var(--r);translate:0 var(--y);opacity:1}}
@media (max-width:620px){
  .f3-table{justify-content:flex-start;gap:var(--s-4);margin-inline:calc(-1 * var(--gutter-sm));padding:var(--s-8) var(--gutter-sm) var(--s-9);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .f3-table::-webkit-scrollbar{display:none}
  .f3-it{flex:0 0 80%;max-width:none;margin:0;scroll-snap-align:center;rotate:calc(var(--r) * .35)}
  .f3-it:is(:hover,:focus-within,.hov){translate:0 calc(var(--y) - 12px);scale:1.02}
}

/* 4 Sumário — the contents page: the four by number, the name, a dotted leader to type · year; this page's own one muted, "You're here".
   Over a row its cover follows the pointer (a spring that leans with the speed) and wipes up into the next one; keyboard focus pins it beside the name */
.f4-hd{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--s-3) var(--s-5);padding-top:var(--s-5);border-top:1px solid var(--line)}
.f4-h{font-family:var(--f-serif);font-weight:300;font-size:var(--t-display);line-height:var(--lh-solid);letter-spacing:var(--tr-tight)}
.f4-by{display:flex;gap:var(--s-2);color:var(--muted)}
.f4-list{list-style:none;margin-top:var(--s-8)}
.f4-a{display:flex;align-items:baseline;gap:var(--s-4);padding:var(--s-3) 0}
.f4-n{flex:none;width:var(--s-8);color:var(--muted);font-variant-numeric:tabular-nums}
.f4-name{font-family:var(--f-serif);font-weight:300;font-size:var(--t-figure);line-height:var(--lh-display);letter-spacing:var(--tr-tight);transition:translate .5s var(--e-bloom)}
.f4-dots{flex:1;min-width:var(--s-6);border-bottom:2px dotted color-mix(in oklab,var(--ink) 28%,transparent);translate:0 -.2em}
.f4-meta,.f4-here{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2);color:var(--muted)}
a.f4-a:is(:hover,:focus-visible) .f4-name{translate:var(--s-4) 0}
.f4-it.here .f4-name{color:var(--muted)}
.f4-here{color:var(--rose-ink)}
.f4-here::before{content:'';width:var(--s-2);height:var(--s-2);border-radius:50%;background:var(--rose)}
.f4-peek{position:absolute;left:0;top:0;z-index:3;width:clamp(240px,26vw,360px);aspect-ratio:4/3;pointer-events:none;opacity:0;scale:.8;filter:drop-shadow(0 24px 30px color-mix(in oklab,var(--ink) 28%,transparent));transition:opacity .3s ease,scale .5s var(--e-bloom)}
.f4-peek.on{opacity:1;scale:1}
.f4-peek img{position:absolute;inset:0;border-radius:var(--r-frame);clip-path:inset(100% 0 0 0 round var(--r-frame));transition:clip-path .6s var(--e-bloom)}
.f4-peek img.on{clip-path:inset(0 0 0 0 round var(--r-frame))}
html.still .f4-name,html.still .f4-peek img{transition:none}
@media (prefers-reduced-motion:reduce){.f4-name,.f4-peek img{transition:none}}
@media (hover:none),(pointer:coarse){.f4-peek{display:none}}
@media (max-width:620px){
  .f4-a{flex-wrap:wrap;row-gap:var(--s-1)}
  .f4-n{width:var(--s-6)}
  .f4-dots{display:none}
  .f4-meta,.f4-here{flex-basis:100%;padding-left:calc(var(--s-6) + var(--s-4))}
}

/* 5 Gatos — "The cats picked three more for you.": the three as cards on a shelf; the home's pixel cats (say-cats.js, in Nectarina's colours)
   peek over its top edge, follow the pointer with their eyes and lean up when it comes close; a click on one = "Bye!" */
.f5.hi-hand{cursor:pointer}
.f5-hd{padding-top:var(--s-5);border-top:1px solid var(--line)}
.f5-h{max-width:14em;font-family:var(--f-serif);font-weight:300;font-size:var(--t-display);line-height:var(--lh-solid);letter-spacing:var(--tr-tight);text-wrap:balance}
.f5-wall{position:relative;margin-top:calc(var(--s-11) + var(--s-5))}
.f5 .hi-cv{position:absolute;left:0;bottom:100%;width:100%;height:120px;pointer-events:none;image-rendering:pixelated}
.f5 .hi-bub{position:absolute;left:0;bottom:100%;z-index:2;translate:-50% 0;padding:var(--s-1) var(--s-3);border-radius:var(--r-pill);background:var(--ink);color:var(--cream);white-space:nowrap;pointer-events:none;opacity:0;transform:translateY(8px) scale(.9);transition:opacity var(--d-fast),transform var(--d-fast) var(--e-knob)}
.f5 .hi-bub.on{opacity:1;transform:none}
.f5-cards{list-style:none;position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-5)}
.f5-c{display:flex;flex-direction:column;gap:var(--s-4);height:100%;padding:var(--s-3) var(--s-3) var(--s-4);border:1px solid var(--line);border-radius:var(--r-card);background:var(--pp);transition:translate .5s var(--e-bloom),box-shadow .5s ease}
.f5-ph{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:var(--r-frame)}
.f5-ph img{transition:scale 1s var(--e-bloom)}
.f5-c:hover{translate:0 calc(-1 * var(--s-2));box-shadow:0 36px 64px -40px color-mix(in oklab,var(--ink) 60%,transparent)}
.f5-c:hover .f5-ph img{scale:1.05}
.f5-tx{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s-3);padding:0 var(--s-1)}
.f5-t{display:flex;flex-direction:column;gap:var(--s-1);min-width:0}
.f5-name{font-family:var(--f-serif);font-weight:400;font-size:var(--t-subhead);line-height:var(--lh-title)}
.f5-meta{display:flex;flex-wrap:wrap;gap:var(--s-2);color:var(--muted)}
.f5-go{flex:none;display:grid;place-items:center;width:var(--s-7);height:var(--s-7);border:1px solid var(--line);border-radius:50%;transition:background-color var(--d-fast),border-color var(--d-fast),color var(--d-fast)}
.f5-c:hover .f5-go{background:var(--ink);border-color:var(--ink);color:var(--cream)}
html.still .f5-c,html.still .f5-ph img{transition:none}
@media (max-width:1040px){.f5-cards{gap:var(--s-4)}.f5-go{display:none}}
@media (max-width:620px){.f5-cards{grid-template-columns:minmax(0,1fr)}.f5-wall{margin-top:var(--s-11)}}

/* 6 Sanfona da home — the home's fold itself (assets/work-fold.css + work-fold.js); here only the air under the caps head, and the ring
   drawn by the row (its ::after), as on the home, instead of the footer's ring on the link */
.ft .wf-list{margin-top:var(--s-4)}
.ft .wf-name:focus-visible{outline:none}
