.hw-root{--gold:#C9A24B;--gold-d:#A9822E}
.hw-root .eyebrow{font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--text-2);margin:0 0 6px}
.hw-root .eyebrow.light{color:#E3C77E}
.hw-root .btn.gold{background:var(--gold);color:#1b2a36;border-color:var(--gold)}
.hw-root .btn.gold:hover{background:#d8b45c;color:#10202c}
.hw-root .sh{font-size:clamp(1.35rem,2.4vw,1.8rem);margin:0 0 18px;color:var(--navy-dark)}
.hw-root .shrow{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.hw-root .shrow .sh{margin-bottom:12px}
/* home hero */
.hw-root .hhero{background:linear-gradient(135deg,#0A2C45 0%,#0F3D5E 60%,#154d75 100%);color:#fff;padding-block:clamp(36px,6vw,72px)}
.hw-root .hhero h1{color:#fff;font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;margin:0 0 12px;letter-spacing:-.01em}
.hw-root .hhero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center}
.hw-root .chipline{color:#E3C77E;font-weight:600;font-size:clamp(.95rem,1.6vw,1.1rem);margin:0 0 14px}
.hw-root .lede.light{color:#D9E3EA;max-width:56ch}
.hw-root .hsearch{display:flex;gap:8px;margin:22px 0 10px;max-width:640px}
.hw-root .hsearch input{flex:1;min-width:0;padding:14px 16px;border-radius:10px;border:2px solid transparent;font-size:1rem;background:#fff;color:var(--text)}
.hw-root .hsearch input:focus{outline:none;border-color:var(--gold)}
.hw-root .hsearch .btn{white-space:nowrap}
.hw-root .quick{font-size:.9rem;color:#B8CAD8;margin:0}
.hw-root .quick a{color:#fff;margin-right:10px;text-decoration:underline;text-underline-offset:3px}
.hw-root .hcollage{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hw-root .hcollage .hc{background:#fff;border-radius:12px;padding:10px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.hw-root .hcollage img{width:100%;height:100%;object-fit:contain}
.hw-root .strip{background:var(--navy-dark);color:#cfe0ec;border-top:1px solid rgba(255,255,255,.08)}
.hw-root .strip .wrap{display:flex;flex-wrap:wrap;gap:8px 34px;justify-content:center;padding-block:14px;font-size:.92rem}
.hw-root .strip b{color:#fff}
.hw-root .g2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.hw-root .ecard{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:20px;box-shadow:var(--shadow)}
.hw-root .ecard h3{font-size:1.3rem;margin:14px 0 6px;color:var(--navy)}
.hw-root .ecard p{color:var(--text-2);margin:0 0 12px}
.hw-root .ethumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.hw-root .ethumbs>div{background:var(--bg);border-radius:10px;padding:8px;aspect-ratio:1;display:flex}
.hw-root .ethumbs img{width:100%;height:100%;object-fit:contain}
.hw-root .chips-inline{display:flex;flex-wrap:wrap;gap:6px}
.hw-root .chips-inline a{font-size:.82rem;padding:4px 10px;border:1px solid var(--border);border-radius:999px;text-decoration:none;color:var(--navy);background:var(--surface-2)}
.hw-root .chips-inline a:hover{border-color:var(--navy)}
/* design grid + cards */
.hw-root .dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.hw-root .dcard{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}
.hw-root .dcard:hover{border-color:var(--navy);transform:translateY(-2px)}
.hw-root .dcard[hidden]{display:none}
.hw-root .dlink{display:block;color:var(--text);text-decoration:none;padding:0 0 12px}
.hw-root .dlink .thumb{position:relative;background:var(--bg);aspect-ratio:1;padding:14px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--border)}
.hw-root .dlink .thumb img{width:100%;height:100%;object-fit:contain}
.hw-root .dlink .kind{position:absolute;top:8px;left:8px;background:var(--navy);color:#fff;font-size:.68rem;font-weight:700;padding:2px 8px;border-radius:999px;letter-spacing:.04em}
.hw-root .dlink h3{font-size:1rem;line-height:1.3;margin:12px 14px 4px;color:var(--navy)}
.hw-root .dmeta,.hw-root .dfmt{margin:0 14px;font-size:.82rem;color:var(--text-2)}
.hw-root .dfmt{color:var(--text-3);font-weight:600;letter-spacing:.03em;margin-top:2px}
.hw-root .catgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.hw-root .catcard{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:10px;text-decoration:none;color:var(--text);box-shadow:var(--shadow)}
.hw-root .catcard:hover{border-color:var(--navy)}
.hw-root .cthumb{width:64px;height:64px;flex:none;background:var(--bg);border-radius:8px;padding:6px;display:flex}
.hw-root .cthumb img{width:100%;height:100%;object-fit:contain}
.hw-root .catcard span{display:flex;flex-direction:column;min-width:0}
.hw-root .catcard b{color:var(--navy);font-size:.95rem;line-height:1.25}
.hw-root .catcard i{font-style:normal;font-size:.8rem;color:var(--text-2)}
/* library page */
.hw-root .lib-hero{background:linear-gradient(135deg,#0A2C45,#0F3D5E);color:#fff;padding-block:clamp(28px,4vw,48px)}
.hw-root .lib-hero h1{color:#fff;margin:0 0 8px;font-size:clamp(1.7rem,3.6vw,2.5rem)}
.hw-root .lib-hero .lede{color:#D9E3EA;max-width:70ch;margin:0 0 18px}
.hw-root .lib-search{display:flex;gap:8px;max-width:620px}
.hw-root .lib-search input{flex:1;min-width:0;padding:12px 14px;border-radius:10px;border:2px solid transparent;font-size:1rem}
.hw-root .lib-search input:focus{outline:none;border-color:var(--gold)}
.hw-root .chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.hw-root .chip{font:inherit;font-size:.88rem;padding:7px 13px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--navy);cursor:pointer;min-height:36px}
.hw-root .chip span{color:var(--text-3);font-size:.78rem;margin-left:3px}
.hw-root .chip:hover{border-color:var(--navy)}
.hw-root .chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.hw-root .chip.on span{color:#cfe0ec}
.hw-root .toolbar{display:flex;flex-wrap:wrap;gap:12px 18px;margin:6px 0 10px}
.hw-root .toolbar label{display:flex;align-items:center;gap:8px;font-size:.88rem;color:var(--text-2)}
.hw-root .toolbar select,.hw-root .dl-box select,.hw-root .dl-box input{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);max-width:100%}
.hw-root .count{margin:4px 0 14px;color:var(--text-2);font-size:.9rem}
.hw-root .empty{text-align:center;padding:40px 12px;border:1px dashed var(--border);border-radius:12px;background:var(--surface)}
.hw-root .more{text-align:center;margin-top:20px}
/* detail page */
.hw-root .hw-design{padding-bottom:40px}
.hw-root .crumbs2{font-size:.88rem;color:var(--text-2);padding:16px 0 10px}
.hw-root .crumbs2 a{color:var(--navy)}
.hw-root .dsplit{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px;align-items:start}
.hw-root .dstage{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;box-shadow:var(--shadow);position:sticky;top:12px}
.hw-root .stage-2d{background:var(--bg);border-radius:10px;padding:18px;display:flex;align-items:center;justify-content:center;min-height:320px}
.hw-root .stage-2d svg{width:100%;height:auto;max-height:520px}
.hw-root .viewer{position:relative;background:var(--bg);border-radius:10px;overflow:hidden;touch-action:none}
.hw-root .viewer canvas{display:block;width:100%;height:auto;aspect-ratio:900/680;cursor:grab}
.hw-root .viewer canvas:active{cursor:grabbing}
.hw-root .vctl{position:absolute;right:8px;bottom:8px;display:flex;gap:6px}
.hw-root .flat-prev{margin-top:12px}
.hw-root .flat-prev summary{cursor:pointer;color:var(--navy);font-weight:600}
.hw-root .dinfo h1{font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 10px;line-height:1.15}
.hw-root .dl-box{background:var(--soft);border:1px solid var(--border);border-radius:12px;padding:16px;margin:16px 0}
.hw-root .dl-box h2{font-size:1rem;margin:0 0 10px}
.hw-root .dl-box label{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;font-size:.92rem}
.hw-root .dl-btns{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 10px}
.hw-root .facts{display:grid;grid-template-columns:130px 1fr;gap:8px 14px;margin:0;font-size:.93rem}
.hw-root .facts dt{color:var(--text-2);font-weight:600}
.hw-root .facts dd{margin:0}
.hw-root .dsec{margin-top:34px}
.hw-root .dsec h2{font-size:1.25rem;margin:0 0 10px;color:var(--navy-dark)}
.hw-root .checks{padding-left:20px;margin:0 0 8px}
.hw-root .checks li{margin:5px 0}
.hw-root .spec-table{border-collapse:collapse;width:100%;max-width:640px;font-size:.92rem;background:var(--surface)}
.hw-root .spec-table th,.hw-root .spec-table td{border:1px solid var(--border);padding:8px 10px;text-align:left}
.hw-root .spec-table th{background:var(--soft);color:var(--navy-dark)}
.hw-root .tableWrap{overflow-x:auto}
@media(max-width:900px){
 .hw-root .hhero-grid,.hw-root .dsplit{grid-template-columns:1fr}
 .hw-root .hcollage{max-width:420px}
 .hw-root .dstage{position:static}
 .hw-root .g2{grid-template-columns:1fr}
}
@media(max-width:600px){
 .hw-root .hsearch,.hw-root .lib-search{flex-direction:column}
 .hw-root .hsearch .btn,.hw-root .lib-search .btn{width:100%}
 .hw-root .dgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .hw-root .dlink h3{font-size:.9rem;margin:10px 10px 4px}
 .hw-root .dmeta,.hw-root .dfmt{margin:0 10px;font-size:.76rem}
 .hw-root .dlink .thumb{padding:8px}
 .hw-root .facts{grid-template-columns:1fr;gap:2px}
 .hw-root .facts dd{margin-bottom:8px}
 .hw-root .catgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hw-root .catcard{flex-direction:column;align-items:flex-start;gap:6px}
 .hw-root .strip .wrap{gap:4px 16px;font-size:.82rem}
 .hw-root .spec-table{display:block;overflow-x:auto}
 .hw-root .stage-2d{min-height:220px;padding:10px}
}
@media(max-width:360px){.hw-root .dgrid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hw-root .dcard{transition:none}}

.hw-root .hcollage .hc img{border-radius:8px}.hw-root .capt{font-size:.75rem;color:#8fa9bd;margin:10px auto 0;text-align:right}

.hw-root .hbanner,.hw-root .lib-banner{background:#0A2C45;line-height:0}
.hw-root .hbanner img,.hw-root .lib-banner img{display:block;width:100%;height:auto}
.hw-root .hhero-m{display:none;padding-block:28px}
.hw-root .hsband{background:linear-gradient(180deg,#0A2C45,#0F3D5E);color:#fff;padding-block:22px 28px}
.hw-root .hsband .lede{margin:0 0 10px;max-width:70ch}
.hw-root .hsband .hsearch{margin-top:8px}
.hw-root .explore{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.hw-root .explore a{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);line-height:0}
.hw-root .explore img{width:100%;height:auto;transition:transform .25s}
.hw-root .explore a:hover img{transform:scale(1.03)}
.hw-root img.mood{width:100%;height:auto;border-radius:14px;box-shadow:var(--shadow)}
.hw-root .toolsban{display:block;margin:12px 0 18px;border-radius:14px;overflow:hidden;border:1px solid var(--border);line-height:0}
.hw-root .toolsban img{width:100%;height:auto}
.hw-root .lib-h1{display:none}
.hw-root .nobanner .lib-h1,.hw-root.nobanner .lib-h1{display:block}
@media(max-width:1000px){.hw-root .explore{grid-template-columns:repeat(3,1fr)}}
@media(max-width:699px){
 .hw-root .hbanner,.hw-root .lib-banner{display:none}
 .hw-root .hhero-m{display:block}
 .hw-root .lib-h1{display:block}
 .hw-root .explore{grid-template-columns:repeat(2,1fr);gap:10px}
}
@media(max-width:400px){.hw-root .explore{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hw-root .explore img{transition:none}}

/* v2.1 refinement: brushed brass, compact notice, curated home */
.hw-root{--gold:#B39255;--gold-d:#8F7340}
.hw-root .eyebrow.light{color:#D8C38F}
.hw-root .btn.gold{background:var(--gold);border-color:var(--gold);color:#1a2430}
.hw-root .btn.gold:hover{background:#c2a468;color:#111c26}
.hw-root .h1like{color:#fff;font-weight:700;font-size:clamp(1.8rem,7vw,2.4rem);line-height:1.1;margin:0 0 10px}
.hw-root .lib-h1{color:#fff;margin:0 0 8px;font-weight:700;font-size:clamp(1.7rem,3.6vw,2.5rem);line-height:1.15}
.hw-root .livenote{background:#f6f1e7;border-bottom:1px solid #e4d9c2}
.hw-root .livenote .ln{display:grid;grid-template-columns:1fr auto;gap:4px 24px;align-items:center;padding-block:12px}
.hw-root .livenote .ln-t{grid-column:1;margin:0;color:#10283a;display:flex;align-items:center;gap:8px}
.hw-root .livenote .ln-dot{width:9px;height:9px;border-radius:50%;background:#3b7d5a;flex:none}
.hw-root .livenote .ln-p{grid-column:1;margin:0;font-size:.92rem;color:#3d4a55;max-width:78ch}
.hw-root .livenote .ln-a{grid-column:2;grid-row:1/3;margin:0;display:flex;gap:10px;flex-wrap:wrap}
.hw-root .livenote .btn{padding:9px 16px;min-height:44px;display:inline-flex;align-items:center}
@media(max-width:699px){
 .hw-root .livenote .ln{grid-template-columns:1fr;padding-block:10px}
 .hw-root .livenote .ln-a{grid-column:1;grid-row:auto}
 .hw-root .livenote .ln-a .btn{flex:1;justify-content:center;text-align:center}
 .hw-root .hw-home .explore-sec{display:none}
 .hw-root .hw-home .section{padding-block:22px}
 .hw-root .hw-home .catcard .cthumb{display:none}
 .hw-root .hw-home .catgrid{grid-template-columns:repeat(2,1fr);gap:8px}
 .hw-root .hw-home .catcard{padding:10px 12px;min-height:48px}
}
