
:root{--paper:#f4f7f9}
body,header,.section,.work,.process,.web-service,.experience,.creator-credit,footer{background:var(--paper)!important}
.work,.process,.experience{color:var(--ink)!important;border-radius:0!important}
.work .section-note,.process .section-note{color:var(--muted)!important}
#viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:70px 4vw 30px;border-radius:0;background:var(--paper);overflow:auto}
#viewer[open]{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:32px;align-content:center}
#viewer .viewer-frame{align-self:center;min-width:0}
#viewerImage{height:auto;max-height:76vh;border-radius:24px;background:transparent}
#viewer .viewer-caption{display:flex;flex-direction:column;align-items:stretch;justify-content:start;padding:0;gap:16px}
#viewerTitle{font-size:clamp(23px,2.3vw,36px);line-height:1.4}
#closeViewer{top:18px;inset-inline-end:4vw;border:1px solid var(--line);border-radius:50%;width:40px;height:40px;font-size:27px}
.project-description{font-size:14px;color:var(--muted);margin:0}
.mood-title{font-size:13px;letter-spacing:.08em;color:var(--blue);margin:10px 0 0}
.mood-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.mood-swatch{margin:0;min-width:0}.mood-texture{height:94px;border-radius:16px;background-size:650%;border:1px solid #467f9520}
.mood-swatch figcaption{font-size:11px;margin-top:6px;color:var(--muted)}
.mood-note{font-size:10px;line-height:1.6;color:var(--muted);margin:0}
#viewer .viewer-caption>a{align-self:start}
@media(max-width:700px){#viewer[open]{display:block;padding:70px 5% 25px}#viewerImage{max-height:50vh}#viewer .viewer-caption{padding-top:20px}.mood-grid{grid-template-columns:repeat(4,1fr);gap:8px}.mood-texture{height:75px;border-radius:12px}.mood-swatch figcaption{font-size:10px}}

.material-board{overflow:hidden;border-radius:18px;margin:12px 0 10px;box-shadow:0 4px 22px #2446510d}
.material-band{position:relative;height:90px;overflow:hidden;display:flex;align-items:center;justify-content:center;isolation:isolate}
.material-surface{position:absolute;width:100%;aspect-ratio:1;top:50%;transform:translateY(-50%);background-image:url('assets/material-atlas.png');background-size:400% 300%;z-index:-1}
.material-band span{font-size:15px;color:#403c36;text-shadow:0 1px 5px #ffffffb0;padding:8px 16px;text-align:center;font-weight:500}
.dark-material span{color:#fff9ef;text-shadow:0 1px 5px #0009}
#viewer[open]{align-content:start}#viewer .viewer-frame{position:sticky;top:20px;align-self:start;margin-top:65px}#viewerImage{object-fit:contain;border-radius:24px}
#projectDetails .mood-title{margin-top:24px}
@media(max-width:700px){#viewer .viewer-frame{position:relative;top:auto;margin-top:0}#viewer .viewer-frame>img{height:auto!important;max-height:50vh;border-radius:18px}#viewer .viewer-caption{margin-top:0}.material-band{height:105px}.material-band span{font-size:17px}.material-board{border-radius:18px}}

.actual-band{height:115px}.actual-surface{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;image-rendering:auto}
.actual-band span{color:#20363e;background:#ffffffeb;border-radius:100px;padding:5px 14px;font-size:13px;text-shadow:none;box-shadow:0 2px 10px #0001}
.sample-color{position:absolute;bottom:7px;right:8px;background:#fffffff0;border-radius:20px;padding:2px 7px;font:10px monospace;color:#20363e;direction:ltr}
.sample-color:before{content:'';display:inline-block;width:9px;height:9px;background:var(--sample);border:1px solid #0002;border-radius:50%;margin-right:5px}
#closeViewer{position:fixed!important;z-index:50;background:var(--paper)}
@media(max-width:700px){.actual-band{height:125px}.actual-band span{font-size:15px}}

.actual-band{height:115px}.actual-surface{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;image-rendering:auto}
.actual-band span{color:#20363e;background:#ffffffeb;border-radius:100px;padding:5px 14px;font-size:13px;text-shadow:none;box-shadow:0 2px 10px #0001}
.sample-color{position:absolute;bottom:7px;right:8px;background:#fffffff0;border-radius:20px;padding:2px 7px;font:10px monospace;color:#20363e;direction:ltr}
.sample-color:before{content:'';display:inline-block;width:9px;height:9px;background:var(--sample);border:1px solid #0002;border-radius:50%;margin-right:5px}
#closeViewer{position:fixed!important;z-index:50;background:var(--paper)}
@media(max-width:700px){.actual-band{height:125px}.actual-band span{font-size:15px}}

.actual-band{height:115px}.actual-surface{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;image-rendering:auto}
.actual-band span{color:#20363e;background:#ffffffeb;border-radius:100px;padding:5px 14px;font-size:13px;text-shadow:none;box-shadow:0 2px 10px #0001}
.sample-color{position:absolute;bottom:7px;right:8px;background:#fffffff0;border-radius:20px;padding:2px 7px;font:10px monospace;color:#20363e;direction:ltr}
.sample-color:before{content:'';display:inline-block;width:9px;height:9px;background:var(--sample);border:1px solid #0002;border-radius:50%;margin-right:5px}
#closeViewer{position:fixed!important;z-index:50;background:var(--paper)}
@media(max-width:700px){.actual-band{height:125px}.actual-band span{font-size:15px}}

.actual-band{height:115px}.actual-surface{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1;image-rendering:auto}
.actual-band span{color:#20363e;background:#ffffffeb;border-radius:100px;padding:5px 14px;font-size:13px;text-shadow:none;box-shadow:0 2px 10px #0001}
.sample-color{position:absolute;bottom:7px;right:8px;background:#fffffff0;border-radius:20px;padding:2px 7px;font:10px monospace;color:#20363e;direction:ltr}
.sample-color:before{content:'';display:inline-block;width:9px;height:9px;background:var(--sample);border:1px solid #0002;border-radius:50%;margin-right:5px}
#closeViewer{position:fixed!important;z-index:50;background:var(--paper)}
@media(max-width:700px){.actual-band{height:125px}.actual-band span{font-size:15px}}
