/* Black archive — supplied Sofya artwork, December 2026 */
:root{--ink:#f4f4f4;--paper:#000;--line:#ffffff60;--folder-ink:#482231}
body{background:#000;color:var(--ink)}body:before,.grain{display:none}
button:focus-visible,a:focus-visible{outline-color:#ecc2d2}
.masthead{height:107px}.monogram{width:152px;height:60px;display:flex;align-items:center}.monogram img{display:block;width:100%;height:auto}.masthead nav{gap:54px}.mast-note{font:11px/1.5 Manrope,Arial,sans-serif;letter-spacing:-.03em;width:145px}
#home{padding:42px 7% 75px}.edge-caption{font:11px/1.5 Manrope,Arial,sans-serif;letter-spacing:-.03em}
.folder-scene{width:min(880px,73vw);height:min(520px,43.2vw);margin:65px auto 68px}
.cover{color:var(--folder-ink);background:linear-gradient(110deg,#e9cbd6,#d4a3b8);box-shadow:inset 0 1px 1px #ffffff65,0 18px 35px #dca4bb0c}
.folder-back{background:#b990a4;box-shadow:none}.cover-tab{background:#e5bfd0;font-family:Manrope;letter-spacing:-.03em}.back-sheet{color:#482231}.back-sheet span{font-family:Manrope;letter-spacing:-.03em}.cover-top{border-color:#482231;top:10%;font-family:Manrope;letter-spacing:0}.cover-top>span:first-child{visibility:hidden}
.paper-label{left:3%;top:5%;width:15%;padding:17px 9px 13px;transform:rotate(-5deg);background:#f4eee3}.paper-label img{display:block;width:100%;height:auto}.paperclip{left:14%;top:-50px}
.cover-title{left:4%;right:4%;top:29%;height:66%;display:flex;align-items:center;justify-content:center}.portfolio-lettering{display:block;width:100%;height:100%;object-fit:contain;transform:rotate(6deg)}
.cover-bottom{bottom:10%;font-family:Manrope}.cover-bottom>span:first-child{display:none}.open-label{margin-left:auto;font-size:0}.plus{font-size:25px;color:#fff}.home-foot{justify-content:center;bottom:25px}.home-foot>span:first-child,.home-foot>span:last-child{display:none}.home-foot .small-script{font:24px/1.4 Manrope,Arial,sans-serif}
#archive{padding-top:27px}.eyebrow{font:11px Manrope;letter-spacing:-.03em}.archive-heading{margin-bottom:26px}.archive-heading h1{font:400 60px/1.12 Manrope,Arial,sans-serif;letter-spacing:-.055em;margin-top:16px}.back-button{border:0;font:12px Manrope}.back-button span{font-size:14px;margin-left:3px}
.cabinet{height:min(590px,66svh);padding-top:0}.file{border:0;border-radius:17px;margin-left:-1px;box-shadow:none}.file.active{flex:4.7}.file-label{background:#000;color:#fff;border:0;border-radius:7px;box-shadow:none;font-size:14px;padding:12px 8px;letter-spacing:-.03em}.file-image{filter:none}.file-preview{padding:65px 20px 4px}.file-preview h2{margin-bottom:6px}.file-preview p{margin:0 0 6px}.file-preview button{background:#000;color:#fff;border-radius:5px;font-size:11px;padding:10px 22px}.file-preview button:hover{background:#39202c}.archive-footer{display:none}
dialog{background:#090909;color:#f4f4f4}dialog::backdrop{background:#000b}.project-topbar{background:#121212;border-color:#ffffff30}.detail-head h2,.info-title{font-family:Manrope;letter-spacing:-.055em}.gallery figure{background:#181818}.job,.detail-head dl{border-color:#ffffff30}.contact-links a:hover{color:#e4b7ca}
@media(min-width:1600px){.folder-scene{width:1050px;height:620px}}
@media(max-width:800px){.masthead{height:85px}.monogram{width:112px}.masthead nav{gap:22px}#home{padding:95px 0 100px}.folder-scene{width:87vw;height:57vw;margin:35px auto 80px}.paper-label{width:16%;padding:10px 5px}.paperclip{top:-39px;left:14%}.cover-title{top:29%;height:66%}.cover-top{font-size:8px}.home-foot .small-script{display:block;font:20px Manrope}.cabinet{height:64svh}.archive-heading h1{font-size:46px}.file-label{font-size:12px;padding:10px 5px}.file-preview{padding:60px 12px 12px}}
@media(max-width:500px){.masthead nav{gap:19px}.masthead nav button{font-size:13px}.monogram{width:87px}.folder-scene{margin-bottom:80px}.cover-top{font-size:7px}.paper-label{width:17%;padding:8px 4px}.paperclip{left:13%;transform:scale(.48);top:-28px}.cover-tab{font-size:7px}.home-foot{bottom:42px}.archive-heading h1{font-size:36px}.archive-heading{gap:12px}.back-button{font-size:11px;white-space:nowrap}.cabinet{height:70svh}.file{border-radius:12px;min-height:44px}.file.active{flex:8}.file-label{background:#000;color:#fff;font-size:12px;padding:3px 8px;border-radius:4px}.file-select{padding:9px 12px}.file:nth-child(even) .file-label{margin-top:0}.file-preview h2{font-size:29px}.file-preview button{padding:10px 12px}.detail-head h2,.info-title{font-size:46px}.project-topbar{gap:12px}.project-topbar button{flex-shrink:0}}
.cover:before{display:none}
@media(min-width:801px) and (max-height:850px){.folder-scene{width:min(880px,69vw,100svh);height:min(520px,41vw,59svh);margin:38px auto 55px}#home{padding-top:35px;padding-bottom:65px}}

/* Expanded collection */
.cabinet{overflow-x:auto;overflow-y:hidden;scrollbar-color:#d4a3b8 #161616;padding-bottom:14px;gap:0}.file{flex:0 0 110px;min-width:110px}.file.active{flex:0 0 min(600px,55vw)}
.project-section>h3{margin:0 4% 24px;font:400 clamp(25px,4vw,40px)/1.2 Manrope,Arial,sans-serif;letter-spacing:-.03em}.project-section{margin-bottom:36px}.project-external{display:inline-block;margin-top:8px;text-underline-offset:5px;font-size:16px}.gallery figcaption{font-size:13px}.project-description{font-size:16px}.file-preview button{font-size:14px}
@media(max-width:500px){.cabinet{height:auto;min-height:70svh;overflow:visible;padding-bottom:30px;gap:6px}.file{flex:none;min-width:0;height:48px;min-height:48px;margin:0}.file.active{flex:none;height:440px;max-height:70svh}.file-preview h2{max-width:none;font-size:27px}.file-preview button{font-size:12px}.project-section{margin-bottom:24px}.project-section>h3{margin-bottom:18px}}

/* Straight archive paper label */
.paper-label{transform:none;clip-path:none;border-radius:0}.paper-label img{transform:none;object-fit:contain}
/* Category folders */
[hidden]{display:none!important}
.category-folders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:66px 32px;padding:45px 0 55px}
.category-folder{position:relative;isolation:isolate;aspect-ratio:1.45;display:block;text-align:left;background:none;border:0;padding:0;color:#482231;transition:transform .35s ease}
.category-tab{position:absolute;top:0;left:0;width:63%;height:35px;background:var(--folder-tone);border-radius:13px 15px 0 0;padding:10px 16px;font-size:12px;white-space:nowrap}
.category-paper{position:absolute;inset:23px 15px 12px;background:#eee7df;transform:rotate(-3deg);border:7px solid #eee7df;overflow:hidden;transition:transform .35s ease;z-index:-1}
.category-paper img{width:100%;height:100%;object-fit:cover;object-position:center 25%}
.category-front{position:absolute;inset:55px 0 0;background:linear-gradient(115deg,#ffffff22,transparent),var(--folder-tone);border-radius:4px 14px 14px 14px;box-shadow:0 12px 30px #0006,inset 0 1px #fff5;display:flex;flex-direction:column;justify-content:space-between;padding:27px 24px}
.category-front strong{font-size:clamp(25px,3vw,40px);font-weight:400;letter-spacing:-.04em}
.category-front>span{display:flex;justify-content:space-between;align-items:center;font-size:13px;border-top:1px solid #48223144;padding-top:16px}
.category-front b{font-size:25px;font-weight:400}
.category-folder:hover,.category-folder:focus-visible{transform:translateY(-8px)}
.category-folder:hover .category-paper,.category-folder:focus-visible .category-paper{transform:translateY(-17px) rotate(-4deg)}
.motion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,300px));gap:28px;padding:0 6% 45px;align-items:start;justify-content:center}
.motion-grid figure{margin:0;max-width:300px;width:100%}.motion-grid video{display:block;width:100%;height:360px;object-fit:contain;background:#111;border:1px solid #333;border-radius:8px}.motion-grid figcaption{font-size:13px;color:#bbb;margin-top:12px}
@media(min-width:801px){.cabinet:has(.file:only-child) .file.active{flex-basis:min(700px,70vw)}}
@media(max-width:900px){.category-folders{grid-template-columns:repeat(2,minmax(0,1fr));gap:50px 22px}.category-front{padding:22px 18px}.category-front strong{font-size:29px}}
@media(max-width:520px){.category-folders{grid-template-columns:1fr;gap:43px;max-width:380px;margin:auto;padding-top:25px}.category-front strong{font-size:36px}.category-tab{font-size:12px}.motion-grid{grid-template-columns:minmax(0,280px)}.motion-grid video{height:340px}.back-button{font-size:13px}.archive-heading{gap:15px;align-items:center}.archive-heading h1{font-size:36px}}

.gallery .landing-figure img{width:auto;max-width:100%;max-height:none;margin:auto}.gallery .landing-figure{background:#171717}.gallery .landing-figure button{overflow:hidden}
