.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.project-desktop{position:relative;border:1px solid #73716b;border-radius:10px;overflow:hidden;background:#171715;box-shadow:0 20px 50px #0004}
.project-chrome{height:28px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#252522;color:#b1aea5;font-size:9px;line-height:1;font-family:var(--sans)}
.project-dots{display:flex;gap:4px}.project-dots i{width:5px;height:5px;background:#67675e;border-radius:50%}
.project-desktop>img,.project-desktop>picture>img{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;display:block;background:#0d0d0d}
.project-phone{position:absolute;border:5px solid #2f302d;box-shadow:0 0 0 1px #97978e,0 20px 40px #0005;border-radius:24px;overflow:hidden;background:#1b1c19;transform:rotate(5deg)}
.project-phone>img,.project-phone>picture>img{display:block;width:100%;height:auto;aspect-ratio:390/844;object-fit:contain;user-select:none}
.real-showcase{max-width:860px;padding:0 70px 0 0}.real-showcase .project-phone{width:165px;bottom:34px;right:0}.real-showcase figcaption{justify-content:space-between;gap:15px}.real-showcase figcaption>a{color:#ded8cf;font-size:11px}.real-showcase figcaption>a span{margin-left:12px}.real-showcase figcaption>span{font-size:10px;color:#8f8980}
.web-projects{position:relative}.web-projects+.section-tail{margin-top:40px}
.project-dialog{width:min(1180px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #ffffff35;border-radius:10px;background:#151513;color:var(--paper);box-shadow:0 30px 100px #0009}.project-dialog::backdrop{background:#000c;backdrop-filter:blur(7px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px 15px}.dialog-heading>div>span{font-size:10px;color:#999187}.dialog-heading h3{font-size:23px;letter-spacing:-.03em;line-height:1.2;margin-top:5px}.dialog-heading>button{width:36px;height:36px;border:1px solid #ffffff35;border-radius:50%;background:transparent;color:var(--paper);font:26px/1 Arial,sans-serif}.dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px 18px}.dialog-toolbar>div{display:flex;gap:5px}.dialog-toolbar button{border:1px solid #ffffff30;border-radius:4px;background:transparent;font-size:11px;padding:7px 11px;color:#aaa298}.dialog-toolbar button[aria-pressed=true]{background:#f0ebe2;color:#181815;border-color:#f0ebe2}.dialog-toolbar>a{font-size:12px}.dialog-image-wrap{padding:18px;background:#0a0a09;border-top:1px solid #ffffff20;overflow:auto;max-height:calc(100dvh - 196px)}.dialog-image-wrap>img{width:100%;height:auto;margin:auto;background:#171715}.project-dialog[data-device=mobile] .dialog-image-wrap>img{max-width:390px;width:100%;height:auto}.project-dialog[open]{animation:project-dialog-in .2s ease-out}body.project-dialog-open{overflow:hidden}@keyframes project-dialog-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.real-service-preview{background:radial-gradient(ellipse at 55% 50%,var(--project-color),#1a1916 82%);display:flex;flex-direction:column;justify-content:center;min-height:400px;color:var(--paper)}.service-mockup{position:relative;padding:10px 14px 35px 0}.service-mockup .project-chrome{height:20px;font-size:6px;padding:0 7px}.service-mockup .project-dots{gap:2px}.service-mockup .project-dots i{width:3px;height:3px}.service-mockup .project-desktop{transform:rotate(-2deg);border-radius:5px}.service-mockup .project-phone{right:-1px;bottom:15px;width:24%;border-width:3px;border-radius:12px}.real-service-preview>a{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-top:13px;border-top:1px solid #ffffff35;font-size:13px;position:relative;z-index:2}.real-service-preview>a>span{font-size:9px;color:#d9cabc}.real-service-preview>a:hover{color:var(--orange)}
@media(max-width:1100px){.project-phone{border-radius:19px;border-width:4px}.real-showcase .project-phone{width:150px}.real-showcase{padding-right:62px}.real-service-preview{min-height:380px}}
@media(max-width:760px){.project-chrome{height:20px;font-size:6px;padding-inline:8px}.project-dots{gap:3px}.project-dots i{height:3px;width:3px}.project-desktop{border-radius:6px}.real-showcase{padding-right:33px;max-width:570px}.real-showcase .project-phone{width:116px;bottom:27px;right:0}.project-phone{border-radius:17px;border-width:4px}.real-showcase figcaption{gap:8px;max-width:none;margin-top:18px;align-items:center}.real-showcase figcaption>a{font-size:9px}.real-showcase figcaption>span{font-size:8px}.real-showcase figcaption>a span{margin-left:5px}.web-projects+.section-tail{margin-top:30px}.project-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:7px}.dialog-heading{padding:17px 16px 14px}.dialog-heading h3{font-size:22px}.dialog-toolbar{padding:0 16px 15px;gap:12px}.dialog-toolbar>a{font-size:10px}.dialog-toolbar button{font-size:11px;padding:7px 9px;min-height:34px}.dialog-image-wrap{padding:8px;max-height:calc(100dvh - 169px)}.real-service-preview{min-height:300px;padding:22px 18px}.service-mockup{padding:15px 25px 42px 0}.service-mockup .project-phone{width:22%;right:5px;bottom:23px}.real-service-preview>a{font-size:13px}}
@media(max-width:420px){.real-showcase{padding-right:25px}.real-showcase .project-phone{width:86px;bottom:29px;border-width:3px;border-radius:12px}.real-showcase .project-chrome{height:19px}.real-showcase figcaption>a{font-size:8px}.real-showcase figcaption>span{font-size:7px}.real-service-preview{min-height:260px}}
@media(prefers-reduced-motion:reduce){.project-dialog[open]{animation:none}}

/* Compact project collection; hero and service mockups retain their styles. */
.web-projects{max-width:1050px;margin-inline:auto}
.case-switches{position:relative;display:flex;align-items:center;gap:4px;width:max-content;max-width:100%;margin:0 auto 18px;padding:5px;border:1px solid #ffffff12;border-radius:30px;background:#111110;overflow-x:auto;scrollbar-width:none}
.case-switches::-webkit-scrollbar{display:none}
.case-picker{flex-shrink:0;white-space:nowrap;padding:9px 16px;border:1px solid transparent;border-radius:24px;background:transparent;color:#a19b92;font-size:13px;line-height:1.2;min-height:38px;transition:color .2s,border-color .2s,background .2s}
.case-picker[aria-pressed=true]{color:#fff;border-color:#e7774966;background:linear-gradient(110deg,#ff792013,#ce29bb10)}
.case-picker:hover{color:#fff}.case-picker:focus-visible{outline-offset:-3px}
.case-panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:48px;padding:34px 36px;background:#10100f;border:1px solid #ffffff14;border-radius:18px;overflow:hidden}
.case-details{min-width:0;display:grid}.case-copy{grid-area:1/1;animation:case-reveal .25s ease-out}
.case-kind{font-size:11px;color:#a6a095;line-height:1.4;margin-bottom:18px}
.case-copy h3{font-family:var(--serif);font-size:clamp(31px,3vw,43px);line-height:1.12;letter-spacing:-.045em}
.case-description{font-size:15px;line-height:1.55;color:#b0aaa0;margin-top:21px;max-width:315px;min-height:93px}
.case-credit{display:flex;align-items:center;gap:8px;font-size:11px;color:#c1b9ac;margin-top:23px}.case-credit>span{color:var(--orange);font-size:15px}
.case-actions{display:flex;flex-direction:column;align-items:flex-start;gap:18px;margin-top:31px}
.case-visit{display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #fff7;border-radius:7px;background:var(--paper);color:#171614;padding:11px 17px;font-size:13px;min-width:200px;min-height:43px;transition:background .2s}
.case-visit:hover{background:#ffcfb7}.case-visit>span{font-size:21px;line-height:1}
.case-actions>button{display:flex;align-items:center;gap:18px;background:none;border:0;border-bottom:1px solid #ffffff25;color:#ada598;font-size:11px;min-height:32px;padding:0 0 5px}.case-actions>button:hover{color:var(--paper)}.case-actions>button>span{font-size:17px}
.case-mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}
.case-tile{position:relative;display:block;aspect-ratio:.72;min-width:0;overflow:hidden;border:1px solid #ffffff27;border-radius:9px;background:#181817;padding:0;text-align:left;isolation:isolate;transition:border-color .25s,transform .25s}
.case-image{position:absolute;inset:0;overflow:hidden;z-index:-1;background:#111}
.case-image>img,.case-image>picture>img{display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:center;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.case-tile:after{content:'';position:absolute;inset:54% 0 0;background:linear-gradient(transparent,#000b 76%,#000d);z-index:-1;pointer-events:none}
.case-tile-label{position:absolute;left:11px;right:11px;bottom:11px;display:flex;justify-content:space-between;align-items:center;gap:5px;color:#fff;font-size:11px;line-height:1.2}
.case-tile-label>span{font-size:15px;opacity:.7}
.case-tile:hover .case-image>img,.case-tile:hover .case-image>picture>img{transform:scale(1.035)}
.case-tile[aria-pressed=true]{border-color:#f89a6999;box-shadow:0 0 0 2px #f5853312}.case-tile[aria-pressed=true] .case-tile-label>span{color:#ff935a;opacity:1}
.case-next-client{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:16px;border:1px solid #ff865329;border-radius:9px;overflow:hidden;background:radial-gradient(ellipse at 85% 100%,#bd36c845,transparent 70%),radial-gradient(ellipse at 10% 95%,#f4792f4a,transparent 70%),#111110;transition:border-color .2s}
.case-next-client>span:first-child{font-size:7px;letter-spacing:.08em;color:#c49b86;margin-bottom:18px}.case-next-client>strong{font-weight:400;font-size:clamp(15px,1.6vw,23px);letter-spacing:-.03em;line-height:1.2}.case-next-client strong em{font-size:1.13em}.case-next-arrow{font-size:23px;line-height:1;margin-top:19px;color:#f5af85}.case-next-client:hover{border-color:#ff865377}
.case-controls{display:flex;justify-content:center;align-items:center;gap:17px;margin-top:20px}.case-controls button{width:44px;height:44px;border:1px solid #ffffff28;border-radius:14px;background:transparent;font-size:25px;line-height:1;display:grid;place-items:center;transition:background .2s,border-color .2s}.case-controls button:hover{background:#f17b3d12;border-color:#f17b3d80}.case-controls>span{font-size:10px;color:#8e877c;font-variant-numeric:tabular-nums}
@keyframes case-reveal{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.case-panel{gap:30px;padding:29px}.case-picker{font-size:12px;padding-inline:13px}.case-description{font-size:14px}.case-tile-label{font-size:10px;left:9px;right:9px}.case-mosaic{gap:9px}.case-next-client{padding:12px}.case-next-client>span:first-child{font-size:6px}.case-copy h3{font-size:34px}}
@media(max-width:860px){.case-panel{gap:24px;padding:25px;grid-template-columns:.8fr 1.2fr}.case-description{font-size:13px;min-height:101px}.case-kind{font-size:10px}.case-visit{min-width:170px;font-size:12px}.case-credit{font-size:9px}.case-copy h3{font-size:31px}.case-tile-label{font-size:9px}.case-next-client>strong{font-size:16px}}
@media(max-width:760px){.case-switches{width:100%;justify-content:flex-start;gap:2px;padding:4px;margin-bottom:14px}.case-picker{font-size:12px;min-height:40px;padding-inline:13px}.case-panel{display:flex;flex-direction:column;align-items:stretch;gap:27px;padding:25px 20px 20px;border-radius:13px}.case-details{min-height:0}.case-kind{font-size:10px;margin-bottom:12px}.case-copy h3{font-size:33px}.case-description{font-size:14px;max-width:none;min-height:87px;margin-top:15px}.case-credit{font-size:10px;margin-top:14px}.case-actions{margin-top:22px;gap:14px;flex-direction:row;align-items:center;flex-wrap:wrap}.case-visit{min-width:0;gap:20px;padding-inline:13px;font-size:12px}.case-actions>button{font-size:10px;gap:9px;min-height:43px}.case-mosaic{gap:9px}.case-tile{aspect-ratio:.68;border-radius:6px}.case-tile-label{left:7px;right:7px;bottom:9px;font-size:9px}.case-tile-label>span{display:none}.case-next-client{border-radius:6px;padding:10px}.case-next-client>span:first-child{font-size:5px;margin-bottom:12px}.case-next-client>strong{font-size:16px}.case-next-arrow{font-size:18px;margin-top:12px}.case-controls{margin-top:17px}.case-controls button{width:42px;height:42px}}
@media(max-width:390px){.case-panel{padding:22px 15px 15px}.case-description{font-size:13px;min-height:101px}.case-mosaic{gap:7px}.case-tile-label{font-size:8px;left:5px;right:5px}.case-next-client{padding:8px}.case-next-client>strong{font-size:14px}.case-next-client>span:first-child{font-size:4px}.case-next-arrow{font-size:16px;margin-top:8px}.case-actions{gap:10px}.case-actions>button{font-size:9px}.case-visit{font-size:11px;gap:15px;padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.case-copy{animation:none}.case-image>img,.case-image>picture>img,.case-tile{transition:none}.case-tile:hover .case-image>img,.case-tile:hover .case-image>picture>img{transform:none}}
@media(max-width:350px){.case-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}.case-tile-label{font-size:10px;left:8px;right:8px}.case-next-client>strong{font-size:16px}.case-next-client>span:first-child{font-size:5px}}

/* Seven projects plus the inquiry tile: 4 × 2 on wide screens, 3 × 3 below 860 px (the tile takes two cells), 2 × 4 on the smallest. */
.case-mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}.case-next-client{padding:12px}.case-next-client>strong{font-size:clamp(13px,1.1vw,16px)}
@media(max-width:860px){.case-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}.case-next-client{grid-column:span 2;padding:16px}.case-next-client>strong{font-size:20px}}
@media(max-width:350px){.case-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}.case-next-client{grid-column:auto;padding:10px}.case-next-client>strong{font-size:16px}}
