/* Owner selection: A1 Editorial + B2 Project Files. Project captures stay authentic. */
#featured-work .content-shell{width:min(1320px,calc(100% - 64px));max-width:1320px;padding:0}
#featured-work h2{max-width:none;font-size:clamp(34px,4.5vw,64px);margin-bottom:44px}
#featured-work .next-grid{gap:28px;align-items:stretch}
.editorial-project-card{display:flex;flex-direction:column;min-width:0;padding:32px;border:1px solid #38201940;border-radius:24px;background:#fffdfb;color:#382019;text-decoration:none;box-shadow:0 9px 22px #38201908}
.editorial-project-copy{display:flex;flex-direction:column;flex:1;gap:18px;border-top:1px solid #382019;margin-top:28px;padding-top:24px}
.editorial-project-copy small{font:600 13px/1.4 Cabin,sans-serif;letter-spacing:.08em}
.editorial-project-copy h3{font:600 clamp(30px,3.2vw,46px)/1.08 Belanosima,sans-serif;margin:0}
.editorial-project-copy p{font:400 clamp(17px,1.7vw,23px)/1.4 Cabin,sans-serif;margin:0 0 6px}
.project-press-button{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:46px;padding:12px 24px;border:1px solid #382019;background:#713b65;color:#fff;border-radius:100px;font:600 17px/1.2 Cabin,sans-serif;text-align:center;box-shadow:0 5px 0 #382019,inset 0 1px 0 #ffffff30;transition:transform .18s ease,box-shadow .18s ease;white-space:normal;margin-top:auto;max-width:100%}
@media(hover:hover){a:hover>.editorial-project-copy .project-press-button,a:hover>.project-file-foot .project-press-button{transform:translateY(-2px);box-shadow:0 7px 0 #382019,inset 0 1px 0 #ffffff40}}
a:active>.editorial-project-copy .project-press-button,a:active>.project-file-foot .project-press-button{transform:translateY(4px);box-shadow:0 1px 0 #382019,inset 0 1px 0 #ffffff20}
.project-device-stage{position:relative;height:330px;min-width:0;padding:16px 26px 22px 0;isolation:isolate}
.project-browser{overflow:hidden;background:#fff;border:1px solid #38201940;border-radius:12px;box-shadow:0 10px 20px #38201916;height:100%;display:flex;flex-direction:column}
.project-browser-bar{flex:0 0 27px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;background:#faf8f6;border-bottom:1px solid #38201922;color:#382019;font:10px/1.2 Cabin,sans-serif}
.window-dots{font-size:8px;letter-spacing:2px}.project-browser-bar>span:nth-child(2){overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.project-browser-screen{flex:1;min-height:0;overflow:hidden}
body #main .project-device-stage .project-browser-screen img{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:top!important;transform:none!important;opacity:1!important}
.project-detail-frame{position:absolute;z-index:2;width:24%;height:69%;right:0;bottom:0;border:3px solid #382019;border-radius:20px;padding:5px;background:#fff;overflow:hidden;box-shadow:0 8px 14px #38201925}
.detail-camera{position:absolute;top:4px;left:33%;width:34%;height:7px;background:#382019;border-radius:0 0 8px 8px;z-index:2}
body #main .project-device-stage .project-detail-frame img{display:block!important;position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:50% 20%!important;border-radius:12px;transform:none!important;opacity:1!important}
.detail-label{position:absolute;bottom:8px;left:6px;right:6px;padding:5px 1px;background:#fffdfbf0;text-align:center;color:#382019;font:9px/1.2 Cabin,sans-serif;border-radius:5px}
/* Editorial CRM uses sample data instead of invented client screenshots. */
.crm-stage{padding:16px 0 22px}.crm-illustration{height:100%;display:grid;grid-template-columns:24% 1fr;border:1px solid #38201940;border-radius:12px;overflow:hidden;box-shadow:0 10px 20px #38201916;background:#fff}
.crm-illustration aside{display:flex;flex-direction:column;gap:16px;padding:20px 12px;background:#f4eeeb;font:11px Cabin,sans-serif}.crm-illustration aside strong{font:600 15px Belanosima,sans-serif;margin-bottom:10px}.crm-nav-current{border-bottom:1px solid #382019;padding-bottom:8px}
.crm-workspace{padding:22px 16px;min-width:0}.crm-workspace-top{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:22px}.crm-workspace-top strong{font:600 22px Belanosima,sans-serif}.crm-workspace-top>span{font-size:9px}.crm-workspace-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:12px}.crm-column-caption{display:block;font:8px Cabin,sans-serif;margin-bottom:10px}.crm-contact-list>div{display:flex;align-items:center;gap:7px;border-bottom:1px solid #38201918;padding:13px 0;font:10px/1.3 Cabin,sans-serif}.crm-contact-list i{font-size:10px;font-style:normal;border-radius:50%;padding:5px;background:#f4eeeb}.crm-contact-list small{display:block;font-size:8px;margin-top:4px}.crm-contact-list b{font-size:8px;font-weight:400;margin-left:auto}.crm-review-panel{padding:12px;background:#faf8f6;border:1px solid #38201920;border-radius:10px}.crm-review-panel strong{font:600 15px Belanosima,sans-serif}.crm-review-panel p{font:10px/1.5 Cabin,sans-serif;margin:12px 0}.crm-task{font:9px/1.4 Cabin,sans-serif;display:flex;gap:5px;margin:10px 0}.crm-concept-label{position:absolute;bottom:0;right:0;font:10px Cabin,sans-serif;background:#fffdfb;padding:4px 8px;color:#382019}
/* Keep original scrolling track and timings, replace only card presentation. */
body #main .timex-work-showcase #sb_instagram #sbi_images .sbi_photo.project-file-card,.portfolio-grid .project-file-card{position:relative;display:flex!important;flex-direction:column;padding:24px!important;background:#fffdfb!important;border:1px solid #382019!important;border-radius:12px!important;box-shadow:none!important;overflow:visible!important;text-decoration:none;color:#382019;isolation:isolate;aspect-ratio:auto!important;height:auto!important}
.project-file-card:before,.project-file-card:after{content:''!important;display:block!important;position:absolute;inset:0;z-index:-1;border:1px solid #38201930;border-radius:12px;background:#fffdfb;pointer-events:none;opacity:1!important;box-shadow:none!important}
.project-file-card:before{transform:rotate(-2deg)}.project-file-card:after{transform:rotate(1.5deg)}
.project-file-heading{display:flex;align-items:center;gap:18px;padding-bottom:18px;border-bottom:1px solid #382019;min-height:82px}
.project-file-number{flex:0 0 58px;height:48px;border:1px solid #382019;border-radius:14px 14px 0 0;display:grid;place-items:center;font:600 27px Belanosima,sans-serif}
.project-file-heading h4,.portfolio-grid .project-file-heading h2{font:600 clamp(25px,2.6vw,38px)/1.1 Belanosima,sans-serif!important;margin:0!important;text-transform:none!important;overflow-wrap:anywhere}
.project-file-card .project-device-stage{margin-top:18px}.project-file-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:22px;padding-bottom:7px;min-height:94px;margin-top:auto}.project-file-foot small{font:400 17px/1.35 Cabin,sans-serif;max-width:52%;color:#382019}.project-file-foot .project-press-button{flex-shrink:0;margin-top:0}
body #main .timex-work-showcase #sb_instagram #sbi_images .instagram-ticker-item{width:min(680px,47vw)!important;margin-right:40px!important}
body #main .timex-work-showcase #sb_instagram #sbi_images{padding-top:24px!important;padding-bottom:32px!important}
.portfolio-grid{gap:42px!important}.portfolio-grid .project-file-card{min-width:0}.portfolio-grid .project-device-stage{height:300px}
@media(max-width:1199px){.crm-workspace-grid{grid-template-columns:1fr}.crm-review-panel{display:none}.crm-workspace-top>span{display:none}.project-file-foot{align-items:flex-start;flex-direction:column;gap:15px}.project-file-foot small{max-width:100%}.project-file-heading{min-height:96px}.editorial-project-card{padding:24px}.project-device-stage{height:290px}}
@media(max-width:767px){#featured-work .content-shell{width:calc(100% - 40px)}#featured-work .next-grid{grid-template-columns:1fr;gap:28px}#featured-work h2{font-size:40px;margin-bottom:30px}.editorial-project-card{padding:22px}.editorial-stage{height:290px}.editorial-project-copy{margin-top:22px;gap:15px}.editorial-project-copy h3{font-size:34px}.project-press-button{font-size:16px;padding:12px 20px}.crm-workspace{padding:18px 12px}.crm-illustration aside{font-size:10px}.crm-illustration aside strong{font-size:13px}.crm-review-panel{display:block}.crm-workspace-grid{grid-template-columns:1fr}.crm-review-panel{display:none}.project-file-number{flex-basis:42px;height:40px;font-size:23px}.project-file-heading{gap:12px;min-height:85px}.project-file-heading h4,.portfolio-grid .project-file-heading h2{font-size:27px!important}.project-file-card .project-device-stage{height:250px;padding-right:18px}.project-detail-frame{width:27%;border-width:2px;border-radius:16px}.project-file-foot{padding-top:14px;min-height:112px}.project-file-foot small{font-size:16px}.portfolio-grid .project-file-card{padding:18px!important}.portfolio-grid{gap:36px!important}}
@media(max-width:575px){body #main .timex-work-showcase #sb_instagram #sbi_images .instagram-ticker-item{width:84vw!important;margin-right:28px!important}body #main .timex-work-showcase #sb_instagram #sbi_images .sbi_photo.project-file-card{padding:18px!important}.project-device-stage{height:240px}.project-browser-bar{padding:0 7px;font-size:8px}.window-dots{font-size:6px}.editorial-stage{height:250px}.crm-illustration{grid-template-columns:26% 1fr}.crm-workspace-top strong{font-size:18px}.crm-contact-list>div{font-size:9px}.crm-contact-list b{display:none}.crm-concept-label{font-size:9px}.detail-label{font-size:8px}.project-file-card .project-device-stage{height:220px}}
@media(prefers-reduced-motion:reduce){.project-press-button{transition:none!important;transform:none!important}}
/* Use real phone captures where available; archived-only projects get a second flat preview. */
body #main .project-device-stage .project-detail-frame.has-mobile img{object-position:top!important;object-fit:cover!important}
.project-detail-frame.capture-detail{width:38%;height:43%;border:1px solid #38201955;border-radius:10px;padding:4px;bottom:3px}
.project-detail-frame.capture-detail .detail-camera{display:none}
body #main .project-device-stage .project-detail-frame.capture-detail img{object-fit:contain!important;object-position:center!important;border-radius:6px}
.portfolio-grid .project-reveal-ready{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}.portfolio-grid .project-revealed{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.portfolio-grid .project-reveal-ready{opacity:1;transform:none;transition:none}}
/* Preserve the entire client capture at every card size; no cropped UI text. */
body #main .project-device-stage .project-browser-screen img,
body #main .project-device-stage .project-detail-frame.has-mobile img{object-fit:contain!important;object-position:center!important}
.project-browser-screen,.project-detail-frame.has-mobile{background:#fff}
.project-detail-frame.has-mobile{padding-top:12px;padding-bottom:21px}
/* Override the inherited gallery plugin's absolute, crop-to-fill image rules. */
body #main #work #sb_instagram #sbi_images .project-device-stage .project-browser-screen img,
body #main #work #sb_instagram #sbi_images .project-device-stage .project-detail-frame img{position:static!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important;transform:none!important;display:block!important}
/* Refined work presentation: one generous website view, quiet frame, aligned actions. */
body #main .timex-work-showcase #sb_instagram #sbi_images .sbi_photo.project-file-card,.portfolio-grid .project-file-card{padding:22px!important;border-color:#38201924!important;border-radius:22px!important;background:#fffdfb!important;box-shadow:0 12px 30px #3820190a!important;overflow:hidden!important}
.project-file-card:before,.project-file-card:after{display:none!important}
.project-file-card .project-file-heading{min-height:68px;gap:14px;padding-bottom:18px;border-bottom:1px solid #38201918}
.project-file-card .project-file-number{flex-basis:38px;height:38px;border:0;border-radius:50%;background:#f4efeb;font:600 16px Cabin,sans-serif}
.project-file-card .project-file-heading h4,.portfolio-grid .project-file-heading h2{font-size:clamp(24px,2.2vw,34px)!important;line-height:1.15!important}
.project-file-card .project-device-stage{height:auto!important;aspect-ratio:1.55;padding:0!important;margin-top:22px;margin-bottom:0}
.project-file-card .project-browser{border-radius:12px;border-color:#38201920;box-shadow:0 5px 14px #3820190a}
.project-file-card .project-browser-bar{flex-basis:30px;font:500 11px Cabin,sans-serif;background:#f7f4f1}
.project-file-card .capture-detail{display:none!important}
body #main .project-file-card .project-device-stage .project-browser-screen img,
body #main #work #sb_instagram #sbi_images .project-file-card .project-device-stage .project-browser-screen img{object-fit:cover!important;object-position:top center!important}
.project-file-card .project-device-stage:has(.has-mobile){padding-right:36px!important;padding-bottom:14px!important}
.project-file-card .project-detail-frame.has-mobile{width:22%;height:76%;border-width:2px;box-shadow:0 6px 14px #38201920}
.project-file-card .project-file-foot{min-height:80px;padding-top:20px;gap:14px;flex-direction:row;align-items:center}
.project-file-card .project-file-foot small{font:500 15px/1.4 Cabin,sans-serif;max-width:48%}
.project-file-card .project-press-button{font-size:15px;min-height:44px;padding:11px 19px;box-shadow:0 3px 0 #382019,inset 0 1px 0 #ffffff30}
@media(max-width:767px){.portfolio-grid .project-file-card,body #main .timex-work-showcase #sb_instagram #sbi_images .sbi_photo.project-file-card{padding:18px!important}.project-file-card .project-file-heading{min-height:62px}.project-file-card .project-file-foot{align-items:flex-start;flex-direction:column;min-height:106px}.project-file-card .project-file-foot small{max-width:100%}.project-file-card .project-device-stage{aspect-ratio:1.3}.project-file-card .project-browser-bar{font-size:10px}}
/* Show complete project captures; keep client content intact. */
body #main .project-file-card .project-device-stage .project-browser-screen img,
body #main #work #sb_instagram #sbi_images .project-file-card .project-device-stage .project-browser-screen img{object-fit:contain!important;object-position:center!important}
/* Homepage ticker: reserve equal space so captures cannot resize the moving row. */
body #main #work .project-file-card .project-file-heading{min-height:80px;flex-shrink:0}
body #main #work .project-file-card .project-device-stage{height:clamp(240px,25vw,360px)!important;aspect-ratio:auto;flex-shrink:0}
body #main #work .project-file-card .project-file-foot{min-height:92px;flex-shrink:0}
@media(max-width:767px){
 body #main #work .project-file-card .project-device-stage{height:220px!important}
 body #main #work .project-file-card .project-file-foot{min-height:110px}
}
