/* Screenshot-led portfolio: original imagery, responsive editorial annotations. */
[data-brand=spmega]{--project-bg:#e1eaf0;--project-ink:#152c3c;--project-accent:#216687;--project-line:#152c3c26}
[data-brand=mamicat]{--project-bg:#eeeade;--project-ink:#003e36;--project-accent:#b83b0d;--project-line:#003e3626}
[data-brand=brotenders]{--project-bg:#191b1b;--project-ink:#f4d395;--project-accent:#f4d395;--project-line:#f4d39540}
.portfolio-card{position:relative;min-width:0}.project-cover{background:var(--project-bg);color:var(--project-ink);height:360px;border-radius:10px;overflow:hidden;padding:20px 24px 0;position:relative;border:1px solid var(--project-line)}.cover-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.1em}.cover-arrow{display:grid;place-items:center;border:1px solid var(--project-line);border-radius:50%;width:30px;height:30px;font-size:18px}.cover-brand{height:145px;display:flex;align-items:center;justify-content:center;gap:12px}.client-logo{display:block;max-width:75%;height:auto;max-height:75px;object-fit:contain}[data-brand=spmega] .client-logo{width:39px;max-height:65px}[data-brand=spmega] .cover-brand strong{font-size:17px;letter-spacing:-.04em}.cover-screen{border:1px solid var(--project-line);border-radius:7px 7px 0 0;overflow:hidden;box-shadow:0 12px 30px #0002;transform:translateY(8px);transition:transform .35s ease}.cover-screen>img{display:block;width:100%;height:auto}.screen-bar{display:flex;gap:4px;padding:8px 10px;background:#fafafa}.screen-bar>span{width:4px;height:4px;border-radius:50%;background:#c2c2c2}.portfolio-card:hover .cover-screen{transform:translateY(-5px)}.portfolio-card .project-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:17px}.case-trigger{border:0;background:none;color:var(--purple);font-size:12px!important;font-weight:700;display:flex;align-items:center;gap:10px;padding:12px 0;white-space:nowrap}.case-trigger::after{content:'';position:absolute;inset:0;z-index:1}.portfolio-card:has(.case-trigger:focus-visible){outline:3px solid var(--purple);outline-offset:5px;border-radius:10px}.case-trigger:focus-visible{outline:none}.case-open{overflow:hidden}html{scrollbar-gutter:stable}
#project-dialog{padding:0;border:1px solid #ffffff30;border-radius:14px;background:var(--paper);color:var(--ink);width:min(1160px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);overflow:hidden;box-shadow:0 26px 100px #0006}#project-dialog::backdrop{background:#171020b8;backdrop-filter:blur(6px)}.case-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}.case-toolbar{min-height:60px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--paper);font-size:12px;border-bottom:1px solid var(--line)}.case-toolbar>span:nth-child(2){color:#675571}.case-toolbar button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:50%;width:40px;height:40px;font-size:16px}.case-scroll{overflow-y:auto;overscroll-behavior:contain;min-height:0}.case-scroll:focus-visible{outline:2px solid var(--purple);outline-offset:-3px}.project-story{background:var(--project-bg);color:var(--project-ink)}.story-intro{padding:48px 48px 28px}.story-intro h2{font-size:clamp(30px,4vw,52px);line-height:1.08;letter-spacing:-.045em;margin:14px 0 18px;max-width:820px}.story-intro>p{font-size:16px;line-height:1.65;margin:0;max-width:620px}.story-figure{margin:0;padding:0 48px 44px}.story-screen{position:relative;border:1px solid var(--project-line);border-radius:8px;box-shadow:0 16px 40px #0002}.story-screen>img{display:block;width:100%;height:auto;border-radius:8px}.shot-marker{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);background:var(--project-ink);color:var(--project-bg);border:2px solid var(--project-bg);width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;box-shadow:0 2px 8px #0003}.design-notes{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-top:32px}.design-note{display:flex;gap:18px}.note-number{color:var(--project-accent);font-size:20px;line-height:1.4}.design-note>div{border-left:1px solid var(--project-line);padding-left:18px}.design-note h3{font-size:18px;line-height:1.4}.design-note p{font-size:14px;line-height:1.7;margin:8px 0 0}.story-details{padding:36px 48px 44px;background:var(--paper);color:var(--ink);display:grid;grid-template-columns:1fr 1fr;gap:48px}.story-details h3{font-size:20px;line-height:1.35;margin-top:10px}.story-details p{font-size:15px;line-height:1.7}.story-link{display:inline-flex;align-items:center;gap:28px;color:var(--purple);border-bottom:1px solid currentColor;font-size:14px;font-weight:700;padding:8px 0}.case-navigation{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 24px;background:var(--paper);border-top:1px solid var(--line);flex-shrink:0}.case-navigation button{min-height:44px;display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;background:transparent;border:0;color:var(--purple)}.keyboard-hint{font-size:11px;color:#675571}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(min-width:801px) and (max-width:1100px){.project-cover{height:300px;padding-inline:16px}.cover-brand{height:125px}.portfolio-card .project-meta{display:block}.case-trigger{padding-top:8px}[data-brand=spmega] .cover-brand strong{font-size:14px}}
@media(max-width:800px){.works .portfolio-grid{grid-template-columns:1fr}.project-cover{height:400px}.cover-brand{height:160px}.cover-screen{max-width:540px;margin:auto}}
@media(max-width:700px){#project-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.case-shell{max-height:calc(100dvh - 18px)}.case-toolbar{padding:8px 14px;min-height:58px;font-size:11px}.story-intro{padding:30px 20px 24px}.story-intro>p{font-size:14px}.story-figure{padding:0 16px 28px}.design-notes{grid-template-columns:1fr;gap:22px;padding:24px 4px 0}.design-note h3{font-size:17px}.design-note p{font-size:14px}.shot-marker{width:23px;height:23px;font-size:9px;border-width:1px}.story-details{grid-template-columns:1fr;gap:26px;padding:28px 20px}.case-navigation{padding:8px 12px;gap:6px}.case-navigation button{font-size:11px;gap:7px}.keyboard-hint{display:none}}
@media(max-width:480px){.project-cover{height:335px;padding-inline:18px}.cover-brand{height:130px}.portfolio-card .project-meta h3{font-size:20px}.case-trigger{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.cover-screen{transition:none}.portfolio-card:hover .cover-screen{transform:translateY(8px)}}

/* Additional client identities; neutral text labels where no logo was supplied. */
[data-brand=techmasters]{--project-bg:#e3edf3;--project-ink:#19334f;--project-accent:#265897;--project-line:#19334f26}
[data-brand=hni]{--project-bg:#f1e7cd;--project-ink:#242420;--project-accent:#765a13;--project-line:#24242026}
[data-brand=shinolub]{--project-bg:#1b1224;--project-ink:#f5eafa;--project-accent:#d1a8f3;--project-line:#d1a8f340}
[data-brand=clearlightsaunas]{--project-bg:#e8dece;--project-ink:#493827;--project-accent:#775532;--project-line:#49382726}
[data-brand=cr-mold]{--project-bg:#152640;--project-ink:#f0f4fa;--project-accent:#a9c8ff;--project-line:#a9c8ff40}
.client-wordmark{font-size:clamp(22px,2.3vw,30px);letter-spacing:-.05em;line-height:1.1;text-align:center}
[data-brand=clearlightsaunas] .client-wordmark{font-family:Georgia,serif;font-weight:400}
.portfolio-card .project-meta>div{min-width:0}.portfolio-card .project-meta h3{overflow-wrap:anywhere}
