@import url("pill.css?v=2"); /* the one button: .wf-go is the pill (assets/pill.css), its hover the open row's */
/* ─── WORK FOLD · Sanfona ─── one component in two places since Nov 5 2026 (the user: the lists in the cases should be the home's): the home's Selected work
   (index.html #work, its meta in .mono) and every case's footer (foot.js '6', its meta in .cap: the same caps). Behaviour: assets/work-fold.js. Moved out of index.html as it was */
/* ─── WORK · fold ─── one row open at a time (the first, until another is hovered, focused or tapped); its image band grows into a preview and any screens after the cover cycle while the list is in view */
.wf-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);column-gap:var(--s-5);padding-block:var(--s-4);border-top:1px solid var(--line)}
.wf-row:first-child{border-top:0}
/* no rule under the last row (Nov 5 2026, the user): rules only between projects */
.wf-main{align-self:baseline;display:flex;flex-direction:column;min-width:0}
.wf-top{display:flex;flex-wrap:wrap;align-items:baseline;gap:calc(var(--s-2) + var(--t-display) / 8) var(--s-5)}
/* The serif's capitals (~.72em) sit at the top of their 1em line: a 1/8em nudge centres them on the 72px band (equal space to both rules) and holds in every state, so opening a row never moves the name. The meta rides the same baseline */
.wf-name{font-family:var(--f-serif);font-weight:400;font-size:var(--t-display);line-height:var(--lh-solid);letter-spacing:var(--tr-tight);margin-block:.125em -.125em}
.wf-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-2);color:var(--muted)}
/* locked cases — built for access: lock + "Password" sits in the meta, in ink, always visible (+ a visually-hidden "protected"); the pill reads "Unlock case" and the gate page (locked.html) explains how to get the password. The row link is the name, stretched over the row */
.wf-list{list-style:none;margin:0;padding:0}
.wf-name::after{content:'';position:absolute;inset:0;z-index:1}
.wf-row .wf-name:hover{color:var(--ink)}
.wf-name:focus-visible{outline:none}
.wf-name:focus-visible::after{outline:2px solid var(--ink);outline-offset:0;border-radius:var(--r-thumb)}
.wf-st{display:inline-flex;align-items:center;gap:var(--s-1);color:var(--ink)}
.wf-st svg{flex:none}
.wf-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wf-more{position:absolute;z-index:2;pointer-events:none;left:0;bottom:var(--s-4);display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-4);opacity:0;visibility:hidden;transform:translateY(var(--s-3));transition:opacity .35s ease,transform .7s var(--e-bloom),visibility 0s .35s}
.wf-row.on .wf-more{opacity:1;visibility:visible;transform:none;transition:opacity .6s ease .25s,transform .9s var(--e-bloom) .25s,visibility 0s}
.wf-dots{display:flex;align-items:center;gap:var(--s-1)}
.wf-dots i{display:block;width:var(--s-3);height:2px;border-radius:var(--r-pill);background:currentColor;opacity:.3;transition:opacity var(--d-fast) ease,width var(--d-base) var(--e-snap)}
.wf-dots i.on{width:var(--s-6);opacity:1}
.wf-frame{position:relative;display:block;height:var(--t-display);border-radius:var(--r-thumb);overflow:hidden;background:color-mix(in oklab,var(--c2,var(--line)) 55%,var(--cream));transition:height .8s var(--e-bloom),border-radius .8s var(--e-bloom)}
.wf-row.on .wf-frame{height:300px;border-radius:var(--r-frame)}
.wf-frame :is(img,video){position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transform:scale(1.18);transition:opacity .8s ease,transform 1.8s var(--e-bloom);-webkit-user-drag:none}
.wf-frame > :is(img,video) + :is(img,video){opacity:0}
.wf-frame :is(img,video).on{opacity:1}
.wf-row.on .wf-frame :is(img,video){transform:scale(1.04)}
@media (max-width:1040px){
  .wf-row{grid-template-columns:minmax(0,1fr);row-gap:var(--s-3)}
  .wf-frame{grid-column:1;height:var(--s-8)}
  .wf-row.on .wf-frame{height:min(44vw,320px)}
  .wf-more{position:static;margin-top:var(--s-3)}
  .wf-name{margin-block:0}
  .wf-top{row-gap:var(--s-2)}
  .wf-row:not(.on) .wf-more{display:none}
}
@media (prefers-reduced-motion:reduce){.wf-frame,.wf-more,.wf-row.on .wf-more,.wf-frame :is(img,video){transition-duration:.01s;transition-delay:0s}}
html.still :is(.wf-frame,.wf-more,.wf-row.on .wf-more,.wf-frame :is(img,video)){transition-duration:.01s;transition-delay:0s}
