/* Home "Featured / Full" index (see home-index.js; motion is driven from one progress). */
.chrome-bottom .hi-switch{pointer-events:auto;opacity:1;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;}
.hi-switch button{all:unset;cursor:pointer!important;color:var(--dim,#6d6d68);font-weight:400;transition:color .3s ease;padding:6px 0;}
.hi-switch button[aria-pressed="true"]{color:var(--fg,#f3f1ec);font-weight:600;}
.hi-switch button:hover{color:var(--fg,#f3f1ec);}
.hi-switch button:focus{outline:none;}
.hi-switch button:focus-visible{outline:1px solid var(--fg,#f3f1ec);outline-offset:4px;}
.hi-count[hidden],.bottom-label[hidden]{display:none!important;}
body.hi-cursor-off #cursor{opacity:0!important;}

#homeIndex{position:fixed;inset:0;z-index:4;color:#f3f1ec;display:flex;align-items:center;padding:110px 40px;font-family:inherit;cursor:auto;}
#homeIndex[hidden]{display:none;}
.hi-bg{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;}
body.home-full #cursor{opacity:0!important;visibility:hidden!important;}
body.home-full .home-fade,body.home-full .bulge-project-link{opacity:0!important;pointer-events:none!important;transition:opacity .3s ease!important;}
.hi-rows{position:relative;list-style:none;margin:0;padding:0;width:100%;}
.hi-row{position:relative;--r:0;}
.hi-row::before,.hi-row:last-child::after{content:'';position:absolute;left:0;right:0;height:1px;background:#2a2a28;transform:scaleX(var(--r));transform-origin:left;}
.hi-row::before{top:0}.hi-row:last-child::after{bottom:0}
.hi-hit{all:unset;box-sizing:border-box;display:grid;grid-template-columns:64px minmax(0,1fr) 240px 150px;align-items:center;width:100%;min-height:96px;padding:12px 0;cursor:default;}
.hi-row.is-live .hi-hit{cursor:pointer!important;}
.hi-hit:focus{outline:none;}
.hi-hit:focus-visible{outline:1px solid #f3f1ec;outline-offset:-1px;}
.hi-cell{display:block;overflow:hidden;}
/* Each line rises out of its own cell as the row's progress --r goes 0 -> 1. */
.hi-cell>span,.hi-name>.hi-t{display:inline-block;transform:translateY(calc((1 - var(--r)) * 105%));}
.hi-n{font-size:13px;letter-spacing:.08em;color:#8d8d86;}
.hi-name{display:flex;align-items:center;gap:18px;padding:4px 0;}
/* The thumbnail is drawn by its flying picture until the index is fully at rest. */
.hi-thumb{flex:none;width:84px;height:56px;border-radius:6px;background:#1a1a1a center/cover no-repeat;visibility:hidden;}
#homeIndex.is-rest .hi-thumb{visibility:visible;}
.hi-t{font-size:clamp(34px,3.8vw,56px);line-height:1.05;letter-spacing:-.045em;font-weight:400;color:#f3f1ec;transition:color .35s ease;}
.hi-domain{font-size:15px;color:#8d8d86;}
.hi-status{justify-self:end;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#8d8d86;}
.hi-row.is-live .hi-status{color:#f3f1ec;}
#homeIndex.is-dim .hi-row:not(.is-on) .hi-t{color:#3d3d3a;}
.hi-ghosts{position:fixed;inset:0;pointer-events:none;}
.hi-ghost{position:fixed;left:0;top:0;width:0;height:0;opacity:0;background:#111 center/cover no-repeat;border-radius:16px;will-change:left,top,width,height,opacity;}
#homeIndex.is-rest .hi-ghost{opacity:0!important;}
.hi-preview{position:fixed;left:0;top:0;width:360px;height:240px;border-radius:10px;background:#111 center/cover no-repeat;pointer-events:none;z-index:2;
  box-shadow:0 20px 60px rgba(0,0,0,.6);clip-path:inset(100% 0 0 0 round 10px);transition:clip-path .5s cubic-bezier(.16,1,.3,1);}
.hi-preview.is-on{clip-path:inset(0 0 0 0 round 10px);}
@media (max-width:759px){
  #homeIndex{align-items:flex-start;padding:96px 18px 90px;overflow:auto;}
  .hi-hit{grid-template-columns:34px minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:4px;min-height:0;padding:16px 0;}
  .hi-n{grid-row:1/3;align-self:start;padding-top:10px;}
  .hi-name{grid-column:2/4;}
  .hi-thumb{width:64px;height:44px;}
  .hi-t{font-size:28px;}
  .hi-domain{grid-column:2;font-size:12px;}
  .hi-status{grid-column:3;font-size:11px;}
  .hi-preview{display:none;}
}
