body:has([data-portfolio]) .page-head{padding-bottom:28px}
body:has([data-portfolio]) .page-head .eyebrow{display:none}
.portfolio-lead{max-width:760px;color:#c3c8cb;font-size:18px;line-height:1.55;margin:12px 0 0}
.portfolio-new{padding-top:12px;padding-bottom:72px}
.portfolio-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0 0 24px}
.portfolio-filter-group{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding-right:20px;border-right:1px solid #444c50}
.portfolio-filter-group:last-child{border-right:0;padding-right:0}
.portfolio-filter-group button{border:1px solid #363e42;border-radius:9px;background:#151b1e;color:#e9ebea;padding:10px 16px;font:inherit;font-weight:700;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.portfolio-filter-group button:hover{border-color:#ffb448}.portfolio-filter-group button.is-active{color:#171a1b;background:#ffb448;border-color:#ffb448}
.portfolio-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:28px}
.portfolio-object-card{position:relative;display:block;min-width:0;padding:0;border:1px solid #333d42;border-radius:12px;overflow:hidden;background:#192024;color:#fff;text-align:left;cursor:pointer;font:inherit}
.portfolio-object-card[hidden]{display:none}.portfolio-object-card>img,.portfolio-object-card>video{display:block;width:100%;aspect-ratio:1.8;object-fit:cover;background:#252b2d}
.portfolio-object-card:hover{border-color:#ffb448;transform:translateY(-2px)}.portfolio-object-body{display:flex;flex-direction:column;gap:4px;padding:12px 15px}.portfolio-object-body strong{font-size:18px}.portfolio-object-body>span{color:#adb5b7;font-size:14px}
.portfolio-video-play{position:absolute;top:30%;left:50%;translate:-50% -50%;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#ffb448;color:#14191b;font-size:23px;padding-left:4px}
.portfolio-empty{padding:25px;color:#c3c8cb}
.portfolio-project{padding:24px;border:1px solid #2d373b;border-radius:14px;background:linear-gradient(150deg,#151b1e,#101518);scroll-margin-top:100px}
.portfolio-project-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.portfolio-project-heading h2{font-size:clamp(25px,3vw,38px);margin:0}.portfolio-project-heading .eyebrow{color:#ffb448;margin:0 0 6px}.portfolio-project-facts{display:flex;gap:8px;flex-wrap:wrap}.portfolio-project-facts span{padding:9px 12px;border:1px solid #394248;border-radius:9px;color:#d9ddde;font-size:14px}
.portfolio-sync-heading{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;margin-bottom:10px}.portfolio-sync-heading>span{font-size:24px;font-weight:800;text-transform:uppercase}.portfolio-sync-heading>span:last-child{text-align:right}.portfolio-sync-heading button{border:1px solid #49545a;border-radius:9px;background:#11171a;color:#f0f0ee;padding:9px 20px;font:inherit;cursor:pointer}.portfolio-sync-heading button span{font-size:24px;color:#ffb448;vertical-align:middle}.portfolio-sync-heading button small{color:#a9b2b4;margin-left:6px}
.portfolio-pair-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.portfolio-slider{min-width:0}.portfolio-stage-label{display:none}
.portfolio-frame{position:relative;overflow:hidden;border-radius:10px;background:#242a2c}.portfolio-frame>img{display:block;width:100%;height:clamp(300px,32vw,510px);object-fit:contain;background:#252b2d}.portfolio-counter{position:absolute;top:12px;left:12px;background:#151a1acc;border-radius:7px;padding:5px 10px;color:#fff;font-size:14px}.portfolio-arrow{position:absolute;top:50%;translate:0 -50%;width:45px;height:45px;border:0;border-radius:50%;background:#11191de8;color:#fff;font-size:34px;line-height:1;cursor:pointer}.portfolio-arrow:hover{background:#ffb448;color:#151719}.portfolio-arrow.prev{left:12px}.portfolio-arrow.next{right:12px}
.portfolio-thumbs{display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ac7b37 #22292c;padding:10px 2px 7px;scroll-snap-type:x proximity}.portfolio-thumbs button{flex:0 0 76px;width:76px;height:65px;padding:0;border:2px solid transparent;border-radius:8px;background:#252d31;overflow:hidden;cursor:pointer;scroll-snap-align:start}.portfolio-thumbs button.is-active{border-color:#ffb448}.portfolio-thumbs img{width:100%;height:100%;object-fit:cover}
.portfolio-project-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:18px;padding:22px;border:1px solid #2a363a;border-radius:11px;background:#1b2326}.portfolio-project-cta strong{font-size:19px}.portfolio-project-cta p{margin:5px 0 0;color:#b9c1c3;max-width:550px}.portfolio-project-cta .btn{white-space:nowrap}
.portfolio-calculator-dialog,.portfolio-video-dialog{position:fixed;inset:0;margin:auto;border:1px solid #394348;border-radius:16px;background:#1b2023;color:#f7f7f3;max-width:min(1080px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:44px 22px 22px}.portfolio-calculator-dialog::backdrop,.portfolio-video-dialog::backdrop{background:#050709da}.portfolio-calculator-dialog .dialog-close,.portfolio-video-dialog .dialog-close{position:sticky;top:0;float:right;z-index:3}.portfolio-calculator-dialog .calc-card{max-width:none}.portfolio-video-dialog{padding:45px 12px 12px;width:min(900px,calc(100vw - 28px))}.portfolio-video-dialog video{display:block;max-width:100%;max-height:calc(100dvh - 95px);margin:auto}
@media(max-width:850px){.portfolio-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-pair-grid{grid-template-columns:1fr}.portfolio-sync-heading>span{display:none}.portfolio-sync-heading{display:flex;justify-content:center}.portfolio-stage-label{display:block;text-transform:uppercase;font-size:24px;font-weight:800;margin:12px 0 8px}.portfolio-frame>img{height:clamp(270px,55vw,520px)}.portfolio-project-heading{display:block}.portfolio-project-facts{margin-top:12px}}
@media(max-width:600px){.portfolio-lead{font-size:15px}.portfolio-new{padding-top:4px;padding-bottom:36px}.portfolio-filters{display:block}.portfolio-filter-group{border:0;padding:0;margin:0 0 7px;gap:5px}.portfolio-filter-group button{padding:8px 11px;font-size:12px}.portfolio-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.portfolio-object-card>img,.portfolio-object-card>video{aspect-ratio:1.1}.portfolio-object-body{padding:7px}.portfolio-object-body strong{font-size:12px;line-height:1.2}.portfolio-object-body>span{font-size:10px}.portfolio-project{padding:10px}.portfolio-project-heading h2{font-size:24px}.portfolio-project-facts span{font-size:11px}.portfolio-frame>img{height:66vw;min-height:230px}.portfolio-thumbs button{flex-basis:58px;width:58px;height:52px}.portfolio-project-cta{display:block;padding:15px}.portfolio-project-cta .btn{width:100%;margin-top:14px;white-space:normal}.portfolio-sync-heading{margin:18px 0}.portfolio-sync-heading button{width:100%}.portfolio-calculator-dialog{padding:44px 8px 8px}}
