/* Overview cards and category-specific visual studies. */
#works .project[hidden],#works .category-panel[hidden],#works [data-project-group][hidden]{display:none!important}
#works .category-card-meta,#works .category-stage-copy,#works .catalog-design-preview{display:none}
#works .catalog-thumb>.category-source-frame{display:contents}
#works .work-catalog,#works .work-catalog.is-filtered{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
#works .catalog-group-heading{margin-bottom:20px}
#works .work-catalog .project:nth-child(n){border:1px solid #d7cdbf!important;border-radius:8px;background:linear-gradient(120deg,#fffdf8b0,#ffffff45);overflow:hidden;transition:background .25s,border-color .25s}
#works .work-catalog .project:hover{background:#fffdf8e6;border-color:#bfae9d!important}
#works .work-catalog .catalog-open{grid-template-columns:96px minmax(0,1fr) 22px;min-height:148px;gap:18px;padding:18px}
#works .work-catalog .catalog-thumb{width:96px;height:108px;border-radius:5px;border:0;background:#ece5db}
#works .work-catalog .catalog-copy{display:block}
#works .work-catalog .catalog-meta{font-size:11px;line-height:1.6;gap:10px;margin-bottom:6px}
#works .work-catalog .catalog-copy h3{font-size:21px;line-height:1.45;letter-spacing:-.4px}
#works .work-catalog .catalog-description{margin-top:6px;font-size:14px;line-height:1.8;color:#62564b}
#works .work-catalog .catalog-arrow{font-size:24px;color:#3e352e}
#works .work-catalog .project[data-category=design]{grid-column:1/-1;background:linear-gradient(110deg,#e8e2ed80,#f8ede17d 65%,#fff8efb0)}
#works .work-catalog .project[data-category=design] .catalog-open{grid-template-columns:272px minmax(0,1fr) 30px;gap:32px;padding:20px 24px}
#works .work-catalog .catalog-cover-design{display:flex;align-items:center;gap:8px;width:272px;height:122px;overflow:visible;background:transparent}
#works .work-catalog .catalog-cover-design>.category-source-frame{display:block;width:87px;height:116px;transform:rotate(-5deg);overflow:hidden;border:4px solid #fffdf8;border-radius:3px;box-shadow:0 4px 10px #45322512}
#works .work-catalog .catalog-cover-design .category-source-frame>img{width:100%;height:100%;object-fit:cover;transform:none}
#works .work-catalog .catalog-cover-design .catalog-cover-title{display:none}
#works .work-catalog .catalog-design-preview{display:flex;align-items:center;gap:8px;height:100%}
#works .work-catalog .catalog-design-preview img{position:static;width:80px;height:111px;object-fit:cover;border:4px solid #fffdf8;border-radius:3px;box-shadow:0 4px 10px #45322512;transform:rotate(3deg)}
#works .work-catalog .catalog-design-preview img:last-child{transform:rotate(-2deg)}
/* Original portrait frames share a soft stage, a short theme, and a file label. */
#works .category-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:26px;margin:28px 0 25px}
#works .category-kicker{font:11px/1.5 var(--display);letter-spacing:1.5px;color:#6b5b4b;margin-bottom:8px}
#works .category-heading h3{font-size:29px;font-weight:550;line-height:1.4;letter-spacing:-.8px}
#works .category-description{color:#5b5147;font-size:15px;line-height:1.8;margin:0}
#works .category-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 26px;align-items:start}
#works .category-gallery[data-category-view=creative]{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 30px}
#works .category-gallery .project:nth-child(n){display:block;min-width:0;grid-column:auto;margin:0;padding:0;border:0!important}
#works .category-gallery .project-open{display:block;padding:0;min-height:0;width:100%;text-align:left;border-radius:0;background:transparent}
#works .category-gallery .featured-brief,#works .category-gallery .featured-cover-type,#works .category-gallery .catalog-cover-title,#works .category-gallery .catalog-design-preview{display:none}
#works .category-gallery .featured-cover,#works .category-gallery .catalog-thumb{--stage-bg:linear-gradient(135deg,#fff7e8,#f2decb);display:block;position:relative;width:100%;height:330px;aspect-ratio:auto;isolation:isolate;overflow:hidden;margin:0 0 18px;border:1px solid #c9bcae;border-radius:9px;background:var(--stage-bg);transform:none!important}
#works .category-gallery [data-stage=founder]{--stage-bg:linear-gradient(135deg,#fff7e8 5%,#f2decb 60%,#e2d5c6)}
#works .category-gallery [data-stage=tal]{--stage-bg:linear-gradient(135deg,#edf0e6,#dce3d6 60%,#eee7d8)}
#works .category-gallery [data-stage=camp]{--stage-bg:linear-gradient(130deg,#f2edf3,#d9cddd 65%,#ece4df)}
#works .category-gallery [data-stage=education]{--stage-bg:linear-gradient(135deg,#f8edda,#ead9be 60%,#f0e7db)}
#works .category-gallery [data-stage=news]{--stage-bg:linear-gradient(135deg,#eeece6,#dce3e7 70%,#eae3da)}
#works .category-gallery [data-stage=live]{--stage-bg:linear-gradient(135deg,#f6e8df,#ead6c9 60%,#e6ddd2)}
#works .category-gallery [data-stage=ai]{--stage-bg:linear-gradient(130deg,#f3eaf0,#ded3e3 60%,#ebe3de)}
#works .category-gallery [data-stage=commercial]{--stage-bg:linear-gradient(125deg,#f1e3d6,#e9d0c2 70%,#f5eade)}
#works .category-gallery [data-stage=stories]{--stage-bg:linear-gradient(125deg,#eef0e5,#dce4d4 70%,#f0e9de)}
#works .category-gallery [data-stage=design]{--stage-bg:linear-gradient(130deg,#f2ecf3,#ddd3e5 60%,#eee1d2)}
#works .category-gallery .featured-cover:after,#works .category-gallery .catalog-thumb:after{content:"";position:absolute;z-index:-1;width:230px;height:230px;border:1px solid #ffffff75;border-radius:50%;left:-105px;bottom:-85px;pointer-events:none}
#works .category-gallery .category-source-frame{display:block;position:absolute;right:16px;top:19px;width:auto;height:290px;aspect-ratio:9/16;overflow:hidden;background:#fffdf6;border:5px solid #fffdf6;border-radius:5px;box-shadow:0 12px 30px #54443121;transform:rotate(2deg);transition:transform .45s cubic-bezier(.2,.65,.25,1)}
#works .category-gallery .featured-cover-image img,#works .category-gallery .catalog-thumb img{display:block;width:100%;max-width:100%;height:100%;object-fit:contain;object-position:center;transform:none!important;transition:none}
#works .category-gallery .project-open:hover .category-source-frame{transform:translateY(-3px) rotate(0)}
#works .category-gallery .category-stage-copy{display:flex;position:absolute;inset:22px auto 23px 20px;flex-direction:column;align-items:flex-start;justify-content:space-between;z-index:1;max-width:calc(100% - 190px);pointer-events:none}
#works .category-gallery .category-stage-number{font:10px/1.5 var(--display);letter-spacing:.8px;color:#5c5047;white-space:nowrap}
#works .category-gallery .category-stage-title{font-size:34px;line-height:1.2;font-weight:600;letter-spacing:-1.1px;white-space:pre-line;color:#25231e}
#works .category-gallery .category-stage-label{font:9px/1.7 var(--display);letter-spacing:1px;max-width:96px;color:#675b50}
#works .category-gallery .category-stage-title:after{content:"";display:block;width:21px;height:2px;margin-top:16px;background:#c87648}
#works .category-gallery .category-card-meta,#works .category-gallery .catalog-meta{display:flex;align-items:center;gap:11px;margin:0 0 7px;font-size:12px;line-height:1.7;color:#64594e}
#works .category-card-number,#works .category-gallery .catalog-number{font:500 12px/1.7 var(--display);color:#b4562b;letter-spacing:.3px}
#works .category-gallery .featured-title-line{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin:0}
#works .category-gallery .featured-project-title,#works .category-gallery .catalog-copy h3{font-size:23px;font-weight:600;line-height:1.5;letter-spacing:-.45px;margin:0}
#works .category-gallery .featured-title-line>span:last-child{color:#b4562b;font:24px/1.5 var(--display)}
#works .category-gallery .catalog-copy{display:block;padding-right:29px;position:relative}
#works .category-gallery .catalog-arrow{position:absolute;right:0;bottom:47px;font:24px/1.5 var(--display);color:#b4562b}
#works .category-gallery .catalog-open{position:relative}
#works .category-gallery .catalog-description,#works .category-gallery .featured-open-hint{display:block;font-size:14px;line-height:1.8;color:#64594e;margin:7px 0 0}
#works .category-gallery[data-category-view=creative] [data-orientation=portrait]{height:340px}
#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-source-frame{right:32px;height:300px;top:18px}
#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-copy{left:30px;max-width:calc(100% - 240px)}
#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-title{font-size:48px}
#works .category-gallery [data-orientation=landscape]{height:auto;aspect-ratio:1.56}
#works .category-gallery [data-orientation=landscape] .category-source-frame{inset:auto 20px 20px;width:calc(100% - 40px);height:auto;aspect-ratio:16/9;transform:none;border-width:4px;border-radius:4px}
#works .category-gallery [data-orientation=landscape] .category-stage-copy{inset:14px 22px auto;max-width:none;flex-direction:row;align-items:center;gap:12px}
#works .category-gallery [data-orientation=landscape] .category-stage-title{font-size:12px;line-height:1.5;letter-spacing:.1px;margin-left:auto}
#works .category-gallery [data-orientation=landscape] .category-stage-title:after,#works .category-gallery [data-orientation=landscape] .category-stage-label{display:none}
#works .category-gallery[data-category-view=design]{grid-template-columns:minmax(0,1fr)}
#works .category-gallery[data-category-view=design] .catalog-open{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:48px}
#works .category-gallery[data-category-view=design] .catalog-thumb{margin:0;height:360px}
#works .category-gallery[data-category-view=design] .category-source-frame{height:290px;top:35px;right:32px;aspect-ratio:.72;transform:rotate(4deg)}
#works .category-gallery[data-category-view=design] .category-stage-copy{inset:35px auto 35px 30px;max-width:calc(100% - 270px)}
#works .category-gallery[data-category-view=design] .category-stage-title{font-size:47px}
#works .category-gallery[data-category-view=design] .catalog-copy{padding:20px 44px 20px 0}
#works .category-gallery[data-category-view=design] .catalog-copy h3{font-size:31px;line-height:1.45;margin:15px 0}
#works .category-gallery[data-category-view=design] .catalog-description{font-size:16px;line-height:1.9}
#works .category-gallery[data-category-view=design] .catalog-arrow{right:6px;bottom:calc(50% - 18px);font-size:30px}
@media(max-width:1150px){
 #works .work-catalog .catalog-open{grid-template-columns:82px minmax(0,1fr) 20px;gap:14px;padding:16px}
 #works .work-catalog .catalog-thumb{width:82px;height:103px}
 #works .work-catalog .catalog-copy h3{font-size:20px}
 #works .category-gallery{gap:30px 20px}
 #works .category-gallery .featured-cover,#works .category-gallery .catalog-thumb{height:300px}
 #works .category-gallery .category-source-frame{height:263px;right:12px;top:17px;border-width:4px}
 #works .category-gallery .category-stage-copy{left:16px;max-width:calc(100% - 163px)}
 #works .category-gallery .category-stage-title{font-size:29px}
 #works .category-gallery .category-stage-label{font-size:8px;letter-spacing:.5px;max-width:82px}
 #works .category-gallery .featured-project-title,#works .category-gallery .catalog-copy h3{font-size:21px}
 #works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-title{font-size:43px}
 #works .category-gallery[data-category-view=design] .catalog-thumb{height:330px}
 #works .category-gallery[data-category-view=design] .category-source-frame{height:267px;right:20px;top:29px}
 #works .category-gallery[data-category-view=design] .category-stage-copy{left:22px;max-width:calc(100% - 220px)}
 #works .category-gallery[data-category-view=design] .category-stage-title{font-size:39px}
}
@media(max-width:950px){
 #works .work-catalog,#works .work-catalog.is-filtered{gap:14px}
 #works .work-catalog .catalog-open{grid-template-columns:75px minmax(0,1fr) 18px;gap:12px;padding:15px}
 #works .work-catalog .catalog-thumb{width:75px;height:99px}
 #works .work-catalog .catalog-copy h3{font-size:19px}
 #works .work-catalog .catalog-description{font-size:13px}
 #works .work-catalog .catalog-meta{font-size:10px;gap:7px}
 #works .category-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 #works .category-gallery .featured-cover,#works .category-gallery .catalog-thumb{height:320px}
 #works .category-gallery .category-source-frame{height:283px;right:18px;top:17px}
 #works .category-gallery .category-stage-copy{left:20px;max-width:calc(100% - 185px)}
 #works .category-gallery .category-stage-title{font-size:34px}
 #works .category-gallery[data-category-view=creative] [data-orientation=portrait]{height:320px}
 #works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-source-frame{right:18px;height:283px;top:17px}
 #works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-copy{left:20px;max-width:calc(100% - 185px)}
 #works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-title{font-size:36px}
 #works .category-heading{align-items:flex-start}
 #works .category-description{max-width:270px}
 #works .category-gallery[data-category-view=design] .catalog-open{gap:28px}
 #works .category-gallery[data-category-view=design] .catalog-copy h3{font-size:25px}
 #works .category-gallery[data-category-view=design] .category-source-frame{height:263px;right:18px}
 #works .category-gallery[data-category-view=design] .category-stage-copy{max-width:calc(100% - 210px);left:20px}
 #works .category-gallery[data-category-view=design] .category-stage-title{font-size:31px}
}
@media(max-width:700px){
 #works .work-catalog,#works .work-catalog.is-filtered{grid-template-columns:minmax(0,1fr)}
 #works .work-catalog .catalog-open{grid-template-columns:88px minmax(0,1fr) 21px;gap:18px;padding:16px}
 #works .work-catalog .catalog-thumb{width:88px;height:103px}
 #works .work-catalog .catalog-copy h3{font-size:21px}
 #works .work-catalog .catalog-description{font-size:14px}
 #works .work-catalog .catalog-meta{font-size:11px}
 #works .work-catalog .project[data-category=design] .catalog-open{grid-template-columns:126px minmax(0,1fr) 21px;gap:20px;padding:17px}
 #works .work-catalog .catalog-cover-design{width:126px;height:113px;gap:0}
 #works .work-catalog .catalog-cover-design>.category-source-frame{width:80px;height:103px;position:relative;z-index:1}
 #works .work-catalog .catalog-design-preview{position:absolute;right:0;width:65px;opacity:.85}
 #works .work-catalog .catalog-design-preview img{width:65px;height:93px}
 #works .work-catalog .catalog-design-preview img:last-child{display:none}
 #works .category-gallery[data-category-view=design] .catalog-open{display:block}
 #works .category-gallery[data-category-view=design] .catalog-thumb{height:340px;margin-bottom:18px}
 #works .category-gallery[data-category-view=design] .category-source-frame{height:280px;right:30px;top:27px}
 #works .category-gallery[data-category-view=design] .category-stage-copy{inset:28px auto 30px 26px;max-width:calc(100% - 245px)}
 #works .category-gallery[data-category-view=design] .category-stage-title{font-size:42px}
 #works .category-gallery[data-category-view=design] .catalog-copy{padding:0 31px 0 0}
 #works .category-gallery[data-category-view=design] .catalog-copy h3{font-size:25px;margin:9px 0}
 #works .category-gallery[data-category-view=design] .catalog-description{font-size:15px}
 #works .category-gallery[data-category-view=design] .catalog-arrow{right:0;bottom:49px;font-size:25px}
}
@media(max-width:600px){
 #works .filters{display:flex;gap:0;flex-wrap:wrap;justify-content:flex-start;column-gap:21px;row-gap:0}
 #works .filter{font-size:14px;padding:12px 0;white-space:nowrap}
 #works .filter .filter-long{display:inline}
 #works .filter .filter-short{display:none}
 #works .catalog-group-heading{margin-bottom:17px}
 #works .work-catalog .catalog-open{grid-template-columns:74px minmax(0,1fr) 18px;gap:13px;min-height:136px;padding:14px}
 #works .work-catalog .catalog-thumb{width:74px;height:102px}
 #works .work-catalog .catalog-meta{font-size:10px;gap:8px;margin-bottom:4px}
 #works .work-catalog .catalog-copy h3{font-size:19px;line-height:1.45}
 #works .work-catalog .catalog-description{font-size:13px;line-height:1.7;margin-top:5px}
 #works .work-catalog .catalog-arrow{font-size:22px}
 #works .work-catalog .project[data-category=design] .catalog-open{grid-template-columns:93px minmax(0,1fr) 18px;gap:13px;padding:14px}
 #works .work-catalog .catalog-cover-design{width:93px;height:108px}
 #works .work-catalog .catalog-cover-design>.category-source-frame{width:70px;height:96px}
 #works .work-catalog .catalog-design-preview{width:55px}
 #works .work-catalog .catalog-design-preview img{width:55px;height:90px;border-width:3px}
 #works .category-heading{display:block;margin:23px 0 22px}
 #works .category-heading h3{font-size:27px}
 #works .category-description{font-size:14px;max-width:none;margin-top:9px}
 #works .category-gallery,#works .category-gallery[data-category-view=creative]{grid-template-columns:minmax(0,1fr);gap:30px}
 #works .category-gallery .featured-cover,#works .category-gallery .catalog-thumb,#works .category-gallery[data-category-view=creative] [data-orientation=portrait]{height:338px;margin-bottom:16px}
 #works .category-gallery .category-source-frame,#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-source-frame{right:23px;top:20px;height:296px;border-width:5px}
 #works .category-gallery .category-stage-copy,#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-copy{inset:25px auto 25px 24px;max-width:calc(100% - 207px)}
 #works .category-gallery .category-stage-title,#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-title{font-size:37px}
 #works .category-gallery .category-stage-label{font-size:9px;letter-spacing:.7px;max-width:100px}
 #works .category-gallery .featured-project-title,#works .category-gallery .catalog-copy h3{font-size:23px}
 #works .category-gallery .category-card-meta,#works .category-gallery .catalog-meta{font-size:12px}
 #works .category-gallery [data-orientation=landscape]{height:auto;aspect-ratio:1.5}
 #works .category-gallery [data-orientation=landscape] .category-source-frame{inset:auto 15px 15px;width:calc(100% - 30px);height:auto;border-width:4px}
 #works .category-gallery [data-orientation=landscape] .category-stage-copy{inset:13px 17px auto;max-width:none}
 #works .category-gallery [data-orientation=landscape] .category-stage-title{font-size:12px}
 #works .category-gallery[data-category-view=design] .catalog-thumb{height:338px}
 #works .category-gallery[data-category-view=design] .category-source-frame{height:277px;right:23px;top:27px}
 #works .category-gallery[data-category-view=design] .category-stage-copy{left:23px;max-width:calc(100% - 234px)}
 #works .category-gallery[data-category-view=design] .category-stage-title{font-size:37px}
}
@media(max-width:360px){
 #works .filters{column-gap:16px}
 #works .filter{font-size:13px}
 #works .work-catalog .catalog-open{grid-template-columns:62px minmax(0,1fr) 16px;gap:11px;padding:12px}
 #works .work-catalog .catalog-thumb{width:62px;height:94px}
 #works .work-catalog .catalog-copy h3{font-size:18px}
 #works .work-catalog .catalog-meta{font-size:9px;gap:7px}
 #works .work-catalog .catalog-description{font-size:12px}
 #works .work-catalog .project[data-category=design] .catalog-open{grid-template-columns:73px minmax(0,1fr) 16px;gap:11px;padding:12px}
 #works .work-catalog .catalog-cover-design{width:73px;height:100px}
 #works .work-catalog .catalog-cover-design>.category-source-frame{width:61px;height:91px}
 #works .work-catalog .catalog-design-preview{width:42px}
 #works .work-catalog .catalog-design-preview img{width:42px;height:82px}
 #works .category-gallery .featured-cover,#works .category-gallery .catalog-thumb,#works .category-gallery[data-category-view=creative] [data-orientation=portrait]{height:308px}
 #works .category-gallery .category-source-frame,#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-source-frame{height:254px;right:14px;top:24px;border-width:4px}
 #works .category-gallery .category-stage-copy,#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-copy{left:17px;max-width:calc(100% - 177px)}
 #works .category-gallery .category-stage-title,#works .category-gallery[data-category-view=creative] [data-orientation=portrait] .category-stage-title{font-size:31px}
 #works .category-gallery .category-stage-number{font-size:9px}
 #works .category-gallery .category-stage-label{font-size:8px;max-width:80px;letter-spacing:.4px}
 #works .category-gallery [data-orientation=landscape]{height:auto}
 #works .category-gallery [data-orientation=landscape] .category-source-frame{height:auto;right:15px;top:auto}
 #works .category-gallery [data-orientation=landscape] .category-stage-copy{left:17px;max-width:none}
 #works .category-gallery [data-orientation=landscape] .category-stage-title{font-size:11px}
 #works .category-gallery[data-category-view=design] .catalog-thumb{height:308px}
 #works .category-gallery[data-category-view=design] .category-source-frame{height:249px;right:15px;top:26px}
 #works .category-gallery[data-category-view=design] .category-stage-copy{left:17px;max-width:calc(100% - 203px)}
 #works .category-gallery[data-category-view=design] .category-stage-title{font-size:31px}
}
@media(prefers-reduced-motion:reduce){#works .category-gallery .category-source-frame,#works .work-catalog .project{transition:none!important}}
