
/* JUSTWOOD_WORK_CATALOG_20261108 - bilingual mobile-first real-project browsing */
#jw-work-catalog {--jc-bg:#faf9f6;--jc-ink:#262a2a;--jc-gold:#aa917a;--jc-soft:#f0eeea;box-sizing:border-box;position:relative;margin:20px auto 36px;padding:clamp(18px,4vw,46px);max-width:1340px;border-radius:18px;background:var(--jc-bg);color:var(--jc-ink);border:1px solid #e8e4dc;box-shadow:0 15px 48px rgba(29,32,30,.06)}
#jw-work-catalog *,#jw-work-catalog *:before,#jw-work-catalog *:after {box-sizing:border-box}
#jw-work-catalog .jw-cat-kicker{font-size:11px;letter-spacing:.24em;text-transform:uppercase;font-weight:700;color:#806951;margin:0 0 12px}
#jw-work-catalog .jw-cat-title{font-size:clamp(29px,4vw,51px);letter-spacing:-.035em;line-height:1.12;margin:0;color:#262a2a;font-weight:550;max-width:890px}
#jw-work-catalog .jw-cat-intro{font-size:clamp(14px,1.5vw,17px);line-height:1.75;color:#5e625f;max-width:680px;margin:16px 0 23px}
#jw-work-catalog .jw-cat-headbar{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 19px}
#jw-work-catalog .jw-cat-filterline{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:0 0 10px;max-width:100%}
#jw-work-catalog .jw-cat-tab{cursor:pointer;white-space:nowrap;background:#fff;color:#4c514e;border:1px solid #dcd8d2;border-radius:99px;padding:10px 16px;font-size:13px;line-height:1.1;font-weight:600;transition:background .2s,color .2s,border-color .2s}
#jw-work-catalog .jw-cat-tab[aria-pressed="true"]{background:#292d2c;color:#fff;border-color:#292d2c}
#jw-work-catalog .jw-cat-tab:hover{border-color:#9b8268}
#jw-work-catalog .jw-cat-summary{font-size:12px;color:#78756f;margin:0 0 10px}
#jw-work-catalog .jw-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
#jw-work-catalog .jw-cat-card{cursor:pointer;text-align:left;border:1px solid #e8e4df;border-radius:12px;overflow:hidden;background:#fff;padding:0;color:inherit;min-width:0;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 4px 12px rgba(36,33,30,.025)}
#jw-work-catalog .jw-cat-card:hover{transform:translateY(-3px);border-color:#baa58f;box-shadow:0 13px 32px rgba(43,38,31,.11)}
#jw-work-catalog .jw-cat-cover{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e7e3df}
#jw-work-catalog .jw-cat-card-body{display:block;padding:17px 17px 20px}
#jw-work-catalog .jw-cat-tag{display:block;color:#846b50;font-size:10px;text-transform:uppercase;letter-spacing:.14em;margin-bottom:8px;font-weight:700}
#jw-work-catalog .jw-cat-card-title{display:block;color:#282b2a;font-size:clamp(16px,1.6vw,20px);line-height:1.3;font-weight:680;letter-spacing:-.02em;margin:0 0 8px}
#jw-work-catalog .jw-cat-desc{display:block;color:#676c69;font-size:13px;line-height:1.55;min-height:40px}
#jw-work-catalog .jw-cat-card-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;padding-top:12px;margin-top:9px;border-top:1px solid #eeeae6;color:#77614f;font-size:12px;font-weight:600}
#jw-work-catalog .jw-cat-empty{font-size:14px;padding:20px;color:#656a67}
#jw-work-catalog .jw-cat-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:25px;padding-top:24px;border-top:1px solid #e7e2db}
#jw-work-catalog .jw-cat-bottom p{margin:0;color:#666d68;font-size:13px;line-height:1.6;max-width:600px}
#jw-work-catalog .jw-cat-quote{background:#302e2a!important;color:#fff!important;text-decoration:none!important;border-radius:8px;padding:13px 18px;font-size:13px;font-weight:600;display:inline-flex}
.jw-cat-archive{max-width:1340px;margin:16px auto 28px;background:#fff;border:1px solid #e3e0d9;border-radius:11px;overflow:hidden}
.jw-cat-archive>summary{cursor:pointer;list-style:none;padding:18px 21px;color:#444a45;font-weight:600;font-size:14px;display:flex;justify-content:space-between}
.jw-cat-archive>summary::-webkit-details-marker{display:none}
.jw-cat-archive>summary:after{content:"＋";font-size:19px;font-weight:400}
.jw-cat-archive[open]>summary:after{content:"−"}
.jw-cat-archive .jw-cat-archive-content{padding:8px 16px 20px}
.jw-cat-archive .jw-cat-archive-content .filter-bar{display:flex;flex-wrap:wrap}
.jw-cat-archive .jw-cat-archive-content #gallery{display:grid}
#jw-cat-viewer{position:fixed;z-index:2147483000;inset:0;background:#151717f5;color:#fff;display:none;flex-direction:column;align-items:center;justify-content:center;padding:clamp(10px,2vw,25px)}
#jw-cat-viewer[data-open="true"]{display:flex}
#jw-cat-viewer .jw-view-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1250px;margin-bottom:10px}
#jw-cat-viewer .jw-view-title{font-size:clamp(16px,2vw,24px);font-weight:600;line-height:1.25;margin:0}
#jw-cat-viewer .jw-view-count{font-size:12px;color:#d6c8b7;letter-spacing:.12em}
#jw-cat-viewer .jw-view-stage{display:flex;align-items:center;justify-content:center;position:relative;width:100%;max-width:1300px;flex:1;min-height:0}
#jw-cat-viewer .jw-view-photo{display:block;max-width:100%;max-height:calc(100dvh - 160px);width:auto;height:auto;object-fit:contain;border-radius:3px}
#jw-cat-viewer button{cursor:pointer;color:#fff;background:#ffffff26;border:1px solid #ffffff38;border-radius:999px;font-size:23px;width:45px;height:45px;display:flex;align-items:center;justify-content:center}
#jw-cat-viewer .jw-view-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
#jw-cat-viewer .jw-view-prev{left:4px}
#jw-cat-viewer .jw-view-next{right:4px}
#jw-cat-viewer .jw-view-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;width:100%;max-width:1250px;margin-top:11px}
#jw-cat-viewer .jw-view-footer a{color:#e7d4bb;font-weight:600;font-size:13px;text-underline-offset:4px}
#jw-cat-viewer .jw-view-footer span{color:#b8beb9;font-size:12px}
@media(max-width:920px){#jw-work-catalog .jw-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:520px){#jw-work-catalog{margin:14px -4px 26px;padding:16px 12px;border-radius:10px}#jw-work-catalog .jw-cat-grid{gap:10px}#jw-work-catalog .jw-cat-card-body{padding:11px}#jw-work-catalog .jw-cat-card-title{font-size:14px}#jw-work-catalog .jw-cat-desc{font-size:11px;min-height:0}#jw-work-catalog .jw-cat-card-foot{font-size:10px}#jw-work-catalog .jw-cat-tag{font-size:9px}#jw-work-catalog .jw-cat-tab{font-size:12px;padding:9px 12px}#jw-work-catalog .jw-cat-headbar{display:block}#jw-cat-viewer .jw-view-photo{max-height:calc(100dvh - 150px)}#jw-cat-viewer .jw-view-nav{width:38px;height:38px}#jw-cat-viewer .jw-view-head{padding:0 3px}}
@media(prefers-reduced-motion:reduce){#jw-work-catalog .jw-cat-card{transition:none}}


/* Reference-page decluttering: only explicitly opened archives show the old giant galleries. */
.archive-page>.wrap>.filter-bar,
.archive-page>.wrap>#gallery,
.archive-page>.wrap>.jw-portfolio-tools,
.archive-page>.wrap>.jw-facebook-portfolio-note,
.archive-page>.wrap>#jw-album-groups,
.archive-page>.wrap>#jw-owner-featured-albums,
.archive-page>.wrap>.jw-catalogue-controls{display:none!important;}
.jw-cat-archive:not([open]) .jw-cat-archive-content{display:none!important;}
.jw-cat-archive[open] .jw-cat-archive-content{display:block;}
#jw-all-photos:not(.jw-cat-archive #jw-all-photos){display:none!important;}
.jw-cat-archive[open] #jw-all-photos{display:block!important;}
#jw-work-catalog+.jw-cat-archive{margin-top:10px;}
