/* media-folders.css : "Midnight widgets" folder cards for /social. Everything is scoped under .mfold and uses mf- class names so nothing leaks into the site CSS. Generated from media-folders-final.html. */
.mfold{--spring:cubic-bezier(.34,1.56,.64,1);--dur:.8s;  --card-bg:#000;--card-ink:#F5F5F7;--card-mut:#98989D;--btn-bg:#F5F5F7;--btn-ink:#000;--art-bg:#1C1C1E;--art-line:rgba(255,255,255,.22);--art-ink:#F5F5F7;--on-hot:#000;  --shadow:drop-shadow(0 26px 30px rgba(0,0,0,.35)) drop-shadow(0 4px 6px rgba(0,0,0,.25))}

.mfold{--e:cubic-bezier(.2,.8,.2,1);--th:30px;--ah:150px;--gut:clamp(16px,4vw,56px);--mf-ink:var(--ink,#1D1D1F);--mf-muted:var(--muted,#6E6E73);
  --mf-spec:linear-gradient(100deg,#E8590C 0%,#E0236F 32%,#8A3FF0 66%,#1F7EF0 100%);
  position:relative;background:var(--paper,#F5F5F7);color:var(--ink,#1D1D1F);font-family:var(--sans);overflow-x:clip;padding:0 0 clamp(48px,7vw,96px);box-sizing:border-box}
html[data-theme="dark"] .mfold{--mf-spec:var(--spec,linear-gradient(100deg,#FF7A3D 0%,#FF3D8B 32%,#9B5CFF 66%,#3D9BFF 100%))}
.mfold *,.mfold *::before,.mfold *::after{box-sizing:border-box}
.mfold a{color:inherit;text-decoration:none}
.mfold button{font:inherit;color:inherit;border:0;background:none;cursor:pointer;margin:0;padding:0}
.mfold h2,.mfold h3,.mfold p{margin:0}
.mfold .mf-wrap{max-width:1240px;margin:0 auto;padding-inline:var(--gut);width:100%}
.mfold .mf-hd{padding:clamp(28px,6vw,64px) 0 clamp(8px,2vw,20px)}
.mfold .mf-h{font-family:var(--display);font-weight:700;letter-spacing:-.035em;line-height:1.02;font-size:clamp(34px,6.2vw,72px);max-width:16ch;color:var(--ink)}
.mfold .mf-gr{background:var(--mf-spec);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.mfold .mf-lead{color:var(--muted);font-size:clamp(15px,1.5vw,18px);line-height:1.55;margin-top:14px;max-width:56ch}
.mfold :focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.mfold .mf-f :focus-visible{outline:3px solid var(--card-ink);outline-offset:3px}
@media(prefers-reduced-motion:reduce){
  .mfold *,.mfold *::before,.mfold *::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important}
}
.mfold .mf-f{--o:0;--rot:0deg;position:relative;display:flex;flex-direction:column;isolation:isolate;
  transform:perspective(1100px) translateY(calc(-8px*var(--o))) rotate(var(--rot)) rotateX(calc(var(--o)*(2.5deg + var(--py,0)*-4deg))) rotateY(calc(var(--o)*(-3deg + var(--px,0)*5deg)));
  transition:transform var(--dur) var(--spring);transform-style:flat}
.mfold .mf-f:focus-within,.mfold .mf-f.mf-open{--o:1}
@media(hover:hover){.mfold .mf-f:hover{--o:1}
}
.mfold .mf-f:hover,.mfold .mf-f:focus-within,.mfold .mf-f.mf-open{z-index:8}
.mfold .mf-f__shape{flex:1;display:flex;filter:var(--shadow)}
.mfold .mf-f__body{position:relative;flex:1;color:var(--card-ink);background:var(--card-bg);border-radius:var(--th) var(--th) 26px 26px;overflow:hidden}
.mfold .mf-f__in{position:relative;z-index:2;display:flex;flex-direction:column;height:100%;padding:0 clamp(20px,2.4vw,28px) clamp(22px,2.4vw,28px)}
.mfold .mf-f__zone{flex:1 0 calc(var(--th) + var(--ah) + 30px)}
.mfold .mf-f__t{color:var(--card-ink);font:700 clamp(34px,3.4vw,46px)/1 var(--display);letter-spacing:-.05em;margin-bottom:10px}
.mfold .mf-f__d{color:var(--card-mut);font-size:15.5px;line-height:1.5;max-width:34ch}
.mfold .mf-f__cta{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.mfold .mf-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font:600 14.5px/1 var(--sans);transition:transform .3s var(--e),opacity .2s}
.mfold .mf-btn.mf-pri{background:var(--btn-bg);color:var(--btn-ink)}
.mfold .mf-btn.mf-sec{padding:0 10px;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
.mfold .mf-btn:active{transform:scale(.96)}
.mfold .mf-f :focus-visible{outline:3px solid var(--card-ink);outline-offset:3px}
.mfold .mf-f__glow{position:absolute;inset:auto -10% -30% -10%;height:70%;z-index:0;background:radial-gradient(60% 70% at 50% 100%,var(--h2),transparent 70%);opacity:calc(.35 + .5*var(--o));transition:opacity .5s var(--e);pointer-events:none}
.mfold .mf-f__tg{position:absolute;z-index:6;top:0;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--card-ink)}
.mfold .mf-f__tg::before{content:"";width:26px;height:26px;border-radius:50%;background:#2C2C2E;box-shadow:0 0 0 1px rgba(255,255,255,.18)}
.mfold .mf-f__tg svg{position:absolute;width:12px;height:12px;transform:rotate(calc(45deg*var(--o)));transition:transform .5s var(--spring)}
.mfold .mf-v-l .mf-f__tg,.mfold .mf-v-c .mf-f__tg{right:8px}
.mfold .mf-v-r .mf-f__tg{left:8px}
.mfold .mf-f__art{position:absolute;left:7%;right:7%;top:calc(var(--th) + 22px);height:var(--ah);z-index:4;pointer-events:none;animation:mf-flt 6s ease-in-out infinite alternate}
.mfold .mf-f:nth-child(2) .mf-f__art{animation-delay:-2s}
.mfold .mf-f:nth-child(3) .mf-f__art{animation-delay:-4s}
@keyframes mf-flt{to{transform:translateY(-4px)}}
.mfold .mf-pop{position:absolute;transform:translate(calc(var(--ox,0px)*var(--o)),calc(var(--ry0,0px) + (var(--oy,-30px) - var(--ry0,0px))*var(--o))) rotate(calc(var(--or,0deg)*var(--o))) scale(calc(.94 + .1*var(--o)));
  transition:transform var(--dur) var(--spring) calc(var(--i,0)*45ms),box-shadow .5s var(--e)}
.mfold .mf-f.mf-open .mf-pop,.mfold .mf-f:focus-within .mf-pop{--o:1}
.mfold .mf-pop{--o:inherit}
.mfold .mf-art-sh{box-shadow:0 calc(4px + 14px*var(--o)) calc(10px + 20px*var(--o)) -10px rgba(0,0,0,.45)}
.mfold .mf-win{inset:0;border-radius:14px;background:var(--art-bg);border:1px solid var(--art-line);box-shadow:0 12px 26px -12px rgba(0,0,0,.5)}
.mfold .mf-win .mf-bar{height:24px;border-bottom:1px solid var(--art-line);display:flex;align-items:center;gap:5px;padding:0 10px}
.mfold .mf-win .mf-bar i{width:7px;height:7px;border-radius:50%;background:var(--art-line)}
.mfold .mf-win .mf-bar b{margin-left:8px;height:8px;width:40%;border-radius:4px;background:var(--art-line)}
.mfold .mf-blk{border-radius:8px;box-shadow:0 8px 18px -10px rgba(0,0,0,.5)}
.mfold .mf-hero{left:6%;top:32%;width:58%;height:30%;background:var(--g)}
.mfold .mf-b1,.mfold .mf-b2{top:68%;width:27%;height:24%;background:color-mix(in srgb,var(--h1) 30%,var(--art-bg))}
.mfold .mf-b1{left:6%}
.mfold .mf-b2{left:37%;background:color-mix(in srgb,var(--h2) 30%,var(--art-bg))}
.mfold .mf-b3{right:6%;top:32%;width:24%;height:60%;background:color-mix(in srgb,var(--h2) 22%,var(--art-bg))}
.mfold .mf-cur{right:26%;top:52%;width:22px;height:22px;animation:mf-cur 5s ease-in-out infinite}
.mfold .mf-cur svg{width:22px;height:22px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.4))}
@keyframes mf-cur{0%,100%{margin:0}50%{margin:10px 0 0 -26px}}
.mfold .mf-a-aut svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.mfold .mf-a-aut .mf-pop{transform:translate(calc(var(--ox,0px)*var(--o)),calc(var(--ry0,0px) + (var(--oy,-30px) - var(--ry0,0px))*var(--o))) scale(calc(.94 + .1*var(--o)));transform-box:fill-box;transform-origin:center}
.mfold .mf-ln{fill:none;stroke:var(--art-line);stroke-width:2.5;stroke-linecap:round}
.mfold .mf-pl{fill:none;stroke:var(--h1);stroke-width:4;stroke-linecap:round;stroke-dasharray:9 91;animation:mf-pls 2.6s linear infinite}
.mfold .mf-pl.mf-b{stroke:var(--h2);animation-delay:-1.3s}
@keyframes mf-pls{from{stroke-dashoffset:9}to{stroke-dashoffset:-91}}
.mfold .mf-nd{fill:var(--art-bg);stroke:var(--h1);stroke-width:2.5}
.mfold .mf-nd.mf-hot{fill:var(--h1);stroke:none}
.mfold .mf-ico{fill:none;stroke:var(--art-ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mfold .mf-nd.mf-hot+.mf-ico,.mfold .mf-ico.mf-on{stroke:var(--on-hot)}
.mfold .mf-phone{left:calc(50% - 46px);top:0;width:92px;height:100%;border-radius:20px;background:var(--g);overflow:hidden;box-shadow:0 14px 30px -12px rgba(0,0,0,.55)}
.mfold .mf-phone::before{content:"";position:absolute;top:7px;left:50%;width:26px;height:6px;margin-left:-13px;border-radius:4px;background:rgba(0,0,0,.35)}
.mfold .mf-phone .mf-pl2{position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:50%;background:#fff}
.mfold .mf-phone .mf-pl2::after{content:"";position:absolute;left:14px;top:10px;width:14px;height:16px;background:#000;clip-path:polygon(0 0,100% 50%,0 100%)}
.mfold .mf-phone .mf-tk{position:absolute;left:10px;right:10px;bottom:12px;height:4px;border-radius:3px;background:rgba(0,0,0,.28)}
.mfold .mf-phone .mf-tk::after{content:"";position:absolute;left:0;top:0;bottom:0;border-radius:3px;background:#000;animation:mf-prog 4s linear infinite}
@keyframes mf-prog{from{width:6%}to{width:94%}}
.mfold .mf-clip{left:0;top:20%;width:92px;height:56px;border-radius:12px;background:var(--art-bg);border:1px solid var(--art-line);padding:9px;display:grid;gap:6px;align-content:center;box-shadow:0 10px 22px -12px rgba(0,0,0,.5)}
.mfold .mf-clip i{display:block;height:7px;border-radius:4px;background:var(--g)}
.mfold .mf-clip i:nth-child(2){width:68%;background:color-mix(in srgb,var(--h1) 35%,var(--art-bg))}
.mfold .mf-clip i:nth-child(3){width:40%;background:color-mix(in srgb,var(--h2) 35%,var(--art-bg))}
.mfold .mf-sh{display:block}
.mfold .mf-sh1{right:8%;top:4%;width:28px;height:28px;border-radius:50%;background:var(--h2)}
.mfold .mf-sh2{right:0;top:58%;width:24px;height:24px;border-radius:6px;background:var(--h1)}
.mfold .mf-sh3{left:26%;top:-2%;width:24px;height:22px;background:var(--h2);clip-path:polygon(50% 0,100% 100%,0 100%)}
.mfold .mf-sh4{left:6%;bottom:2%;width:34px;height:10px;border-radius:6px;background:var(--h1)}
.mfold .mf-sh1 .mf-fl,.mfold .mf-sh2 .mf-fl,.mfold .mf-sh3 .mf-fl{display:block;width:100%;height:100%;background:inherit;border-radius:inherit;clip-path:inherit;animation:mf-spin 8s linear infinite}
@keyframes mf-spin{to{transform:rotate(360deg)}}
.mfold .mf-row{display:grid;grid-template-columns:repeat(3,1fr);gap:64px clamp(16px,2.4vw,32px);padding-top:60px}
.mfold .mf-f__body{background:radial-gradient(120% 60% at 20% 0%,#1d1d20,#000 60%)}
.mfold .mf-f__t{font-size:clamp(40px,4.4vw,60px);letter-spacing:-.06em}
.mfold .mf-f__in{container-type:inline-size}
.mfold .mf-f__t{font-size:min(12.6cqw,60px);white-space:nowrap;line-height:1.08;letter-spacing:-.05em}
.mfold .mf-f__d{min-height:4.5em;max-width:none;text-wrap:pretty}
.mfold .mf-f__cta{margin-top:auto;padding-top:18px}

@media(max-width:900px){
  .mfold .mf-row{grid-template-columns:1fr;max-width:520px;margin-inline:auto}
}
@media(max-width:720px){
  .mfold{--ah:140px}
}
@media(max-width:380px){
  .mfold .mf-f__cta{gap:2px 4px}
  .mfold .mf-btn.mf-pri{padding:0 14px}
}

/* ===== 2 Nov 2026 =====
   1. No black band behind the nav: the page and the nav band take the section's own colour.
   2. Dark mode: lighter page, pure-black folders with a fine light rim so they never melt into it.
   3. More motion at rest (phones cannot hover): bigger float, a cursor that tours the page and clicks,
      blocks that bob, nodes that pulse, shapes that spin; plus an auto "peek" on touch screens. */
html:has(.mfold){--mfbg:var(--paper,#F5F5F7)}
html[data-theme="dark"]:has(.mfold){--mfbg:#2B2B2E}
html:has(.mfold) body{background:var(--mfbg)}
html:has(.mfold) .lnav{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.mfold{background:var(--mfbg,var(--paper,#F5F5F7));padding-bottom:clamp(64px,9vw,120px)}
.mfold .mf-hd{padding-bottom:clamp(20px,3.2vw,40px)}
.mfold .mf-lead{margin-top:clamp(14px,1.6vw,20px)}
html[data-theme="dark"] .mfold{--shadow:drop-shadow(0 0 .7px rgba(255,255,255,.6)) drop-shadow(0 30px 34px rgba(0,0,0,.6)) drop-shadow(0 4px 8px rgba(0,0,0,.45))}
html[data-theme="dark"] .mfold .mf-f__body{background:radial-gradient(120% 60% at 20% 0%,#080809,#000 60%)}

/* float: a clearer rise and fall */
.mfold .mf-f__art{animation:mf-flt 4s ease-in-out infinite alternate}
@keyframes mf-flt{to{transform:translateY(-10px)}}

/* Websites: the cursor tours the page, clicks, and the blocks bob */
@keyframes mf-cur{0%,100%{margin:0}
  18%{margin:-70px 0 0 -118px}
  38%{margin:-14px 0 0 -178px}
  58%{margin:22px 0 0 -96px}
  78%{margin:-34px 0 0 30px}}
.mfold .mf-cur{animation:mf-cur 7s ease-in-out infinite}
.mfold .mf-cur svg{animation:mf-click 7s ease-in-out infinite;transform-origin:4px 2px}
@keyframes mf-click{0%,36%,40%,56%,60%,76%,80%,100%{transform:scale(1)}38%,58%,78%{transform:scale(.8)}}
@keyframes mf-bob{50%{translate:0 -5px}}
.mfold .mf-b1{animation:mf-bob 3.4s ease-in-out infinite}
.mfold .mf-b2{animation:mf-bob 3.4s ease-in-out -1.1s infinite}
.mfold .mf-b3{animation:mf-bob 3.4s ease-in-out -2.2s infinite}
.mfold .mf-hero{background-size:220% 100%;animation:mf-shift 5s ease-in-out infinite alternate}
@keyframes mf-shift{from{background-position:0 0}to{background-position:100% 0}}

/* Automations: faster, longer pulses and breathing nodes */
.mfold .mf-pl{stroke-width:5;stroke-dasharray:15 85;animation-duration:1.8s}
.mfold .mf-a-aut .mf-nd{transform-box:fill-box;transform-origin:center;animation:mf-node 2.4s ease-in-out infinite}
.mfold .mf-a-aut .mf-pop:nth-child(3) .mf-nd{animation-delay:-.5s}.mfold .mf-a-aut .mf-pop:nth-child(4) .mf-nd{animation-delay:-1s}
.mfold .mf-a-aut .mf-pop:nth-child(5) .mf-nd{animation-delay:-1.5s}
@keyframes mf-node{0%,100%{transform:scale(1)}50%{transform:scale(1.09)}}
.mfold .mf-nd.mf-hot{filter:drop-shadow(0 0 7px var(--h1));animation-name:mf-node,mf-glow}
@keyframes mf-glow{0%,100%{filter:drop-shadow(0 0 3px var(--h1))}50%{filter:drop-shadow(0 0 12px var(--h1))}}

/* Content: spinning shapes, a pulsing play button, a rocking phone, moving bars */
.mfold .mf-sh1 .mf-fl,.mfold .mf-sh2 .mf-fl,.mfold .mf-sh3 .mf-fl{animation-duration:4.5s}
.mfold .mf-sh1{animation:mf-bob 2.8s ease-in-out infinite}
.mfold .mf-sh2{animation:mf-bob 3.2s ease-in-out -1s infinite}
.mfold .mf-sh3{animation:mf-bob 3s ease-in-out -2s infinite}
.mfold .mf-sh4{animation:mf-slide 3s ease-in-out infinite alternate}
@keyframes mf-slide{to{translate:14px 0}}
.mfold .mf-phone{animation:mf-rock 4.5s ease-in-out infinite alternate}
@keyframes mf-rock{from{rotate:-2.5deg;translate:-2px 0}to{rotate:2.5deg;translate:2px -4px}}
.mfold .mf-phone .mf-pl2{animation:mf-beat 1.8s ease-in-out infinite}
@keyframes mf-beat{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
.mfold .mf-clip{animation:mf-bob 3.6s ease-in-out -.6s infinite}
.mfold .mf-clip i{transform-origin:left center;animation:mf-bar 2.2s ease-in-out infinite alternate}
.mfold .mf-clip i:nth-child(2){animation-delay:-.7s}.mfold .mf-clip i:nth-child(3){animation-delay:-1.4s}
@keyframes mf-bar{from{transform:scaleX(1)}to{transform:scaleX(.55)}}

/* touch screens: folders take turns opening by themselves */
.mfold .mf-f.mf-peek{--o:1;z-index:8}
