/* Scoped paper surface and first page for Devoted Plasticity. */
#project-light[data-project="devoted"]{background:#b6afaa url('../assets/devoted/paper.webp') center/cover no-repeat}
#project-light[data-project="devoted"] .project-dark{background:transparent}
#project-light[data-project="devoted"] .project-copy,#project-light[data-project="devoted"] .project-location{color:#000;text-shadow:none}
.devoted-portfolio{min-height:100svh;color:#000;text-shadow:none;background:transparent;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;font-weight:300}
.devoted-page{position:relative;box-sizing:border-box;width:100%;min-height:66.6667vw;display:grid;grid-template-columns:5% 42% 1fr;column-gap:3%;align-items:center;padding:8% 8% 4%;}


.devoted-poster{grid-column:2;margin:0;align-self:center}.devoted-poster img{display:block;width:100%;height:auto}
.devoted-copy{padding-top:15%;grid-column:3;font-size:clamp(10.8px,calc(.728vw + 1px),13.6px);line-height:1.475;letter-spacing:normal;font-weight:300;text-wrap:pretty}
.devoted-copy p{margin:0}.devoted-copy p+p{margin-top:14px}.devoted-copy p:last-child{margin-bottom:0}
@media(max-width:760px){.devoted-page{min-height:0;padding:76px 7% 64px;grid-template-columns:1fr;gap:28px}.devoted-poster{grid-column:1;width:100%;max-width:420px;justify-self:center}.devoted-copy{grid-column:1/-1;padding:0;font-size:12.2px;line-height:1.475;letter-spacing:normal}}

/* One viewport-sized paper surface; content scrolls above it. */
body.devoted-standalone{margin:0;isolation:isolate}
body.devoted-standalone::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#b6afaa url("../assets/devoted/paper.webp") center/cover no-repeat}

/* Devoted text uses the same flat black treatment throughout. */
#project-light[data-project="devoted"] .project-copy *, .devoted-portfolio .devoted-copy, .devoted-portfolio .devoted-copy *{color:#000;text-shadow:none}

.devoted-next{width:84%;max-width:1600px;margin:0 auto;padding:56px 0;box-sizing:border-box}.devoted-next .devoted-copy{padding:0;max-width:620px;margin:0 0 32px}.devoted-next figure{margin:0}.devoted-next img{display:block;width:100%;height:auto}.devoted-copy h2{font-size:clamp(14.3px,calc(1.085vw + 1px),20.6px);line-height:1.55;font-weight:450;margin:0 0 16px}.devoted-copy .devoted-label{font-size:9.4px;letter-spacing:.08em;line-height:1.7;margin:0 0 14px}.devoted-samples{padding-bottom:80px}@media(max-width:760px){.devoted-next{width:86%;padding:36px 0}.devoted-copy h2{font-size:17.1px}.devoted-next .devoted-copy{margin-bottom:24px}.devoted-samples{padding-bottom:56px}}

.devoted-next .devoted-copy,.devoted-next .devoted-copy *{color:rgba(255,255,255,.78);text-shadow:none}

.devoted-observation-head{display:grid;grid-template-columns:1.05fr .9fr 1.1fr;align-items:end;gap:24px}.devoted-observation-head .devoted-copy{grid-column:auto;margin:0}.devoted-record-head{margin-top:80px!important}.devoted-records{display:grid;grid-template-columns:1fr 4fr;gap:24px;align-items:start}.devoted-sample-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}.devoted-sample-card{min-width:0}.devoted-sample-text{color:rgba(255,255,255,.78);font-size:clamp(10.8px,calc(.728vw + 1px),13.6px);line-height:1.475}.devoted-sample-text h3,.devoted-stage h3{font-size:inherit;font-weight:450;margin:14px 0 10px}.devoted-sample-text p{margin:8px 0}.devoted-sample-text span{font-weight:450}.devoted-space>.devoted-copy{max-width:760px;margin:32px 0 56px}.devoted-space-pair{display:grid;grid-template-columns: .8fr 1.2fr;gap:7%;align-items:center}.devoted-space figcaption{font-size:13px;line-height:1.7;color:rgba(255,255,255,.78);margin-top:10px}.devoted-stage-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:start}.devoted-stage .devoted-copy{grid-column:auto;margin:16px 0 0}.devoted-stage .devoted-copy h3{font-size:clamp(12px,1vw,16px);line-height:1.55}.devoted-stage .devoted-copy p{margin-bottom:10px}.devoted-proposal{margin:48px 0 0 auto!important;max-width:740px!important}.devoted-heating-record{max-width:260px}
@media(max-width:1100px){.devoted-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.devoted-records{grid-template-columns:1fr 3fr}.devoted-stage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 20px}}
@media(max-width:760px){.devoted-observation-head{grid-template-columns:1fr 1fr;gap:18px}.devoted-observation-head .devoted-copy{grid-column:1/-1}.devoted-record-head{margin-top:48px!important}.devoted-records{display:block}.devoted-heating-record{width:50%;margin-bottom:28px!important}.devoted-sample-grid{gap:28px 16px}.devoted-sample-text{font-size:12.2px}.devoted-space-pair{grid-template-columns:1fr;gap:32px}.devoted-space>.devoted-copy{margin:24px 0 36px}.devoted-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 18px}.devoted-space figcaption{font-size:12px}.devoted-proposal{margin-top:32px!important}}

.devoted-stage>figure{aspect-ratio:1/1;display:flex;align-items:end}.devoted-stage>figure img{height:100%;object-fit:contain;object-position:center bottom}

/* Consistent opening body text; final spatial evidence follows the diagrams. */
.devoted-portfolio .devoted-page .devoted-copy,.devoted-portfolio .devoted-page .devoted-copy *{color:rgba(255,255,255,.78);text-shadow:none}
.devoted-space .devoted-exhibition{margin-top:56px}.devoted-space>.devoted-copy{margin-top:0}
@media(max-width:760px){.devoted-space .devoted-exhibition{margin-top:36px}}

.devoted-portfolio figcaption{font-size:13px;line-height:1.7;font-weight:400;color:rgba(255,255,255,.78);text-shadow:none;margin-top:10px;position:relative;padding-left:20px;text-align:left}.devoted-portfolio figcaption::before{content:"↖";position:absolute;left:0;top:0;font-size:15px}@media(max-width:760px){.devoted-portfolio figcaption{font-size:12px}}

.devoted-body-scale{display:flex;align-items:center;gap:6%;margin-top:56px}.devoted-body-scale>figure{width:50%;max-width:640px;flex-shrink:0}.devoted-body-scale>.devoted-copy{margin:0;max-width:420px;grid-column:auto}@media(max-width:760px){.devoted-body-scale{flex-direction:column;align-items:flex-start;gap:24px;margin-top:36px}.devoted-body-scale>figure{width:50%;max-width:640px}.devoted-body-scale>.devoted-copy{width:100%}}

.devoted-pan{min-width:0;max-width:100%}.devoted-pan:focus-visible{outline:1px solid #ffffff70;outline-offset:5px}@media(max-width:760px){.devoted-pan{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;touch-action:pan-x pan-y;scrollbar-width:thin;cursor:grab;-webkit-overflow-scrolling:touch}.devoted-pan:active{cursor:grabbing}.devoted-pan>.devoted-pan-content{width:1000px;max-width:none;margin:0}.devoted-pan>.devoted-records{width:1300px;display:grid;grid-template-columns:200px 1fr;gap:24px}.devoted-pan .devoted-sample-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.devoted-pan .devoted-heating-record{width:100%;max-width:none}.devoted-pan img{user-select:none;-webkit-user-drag:none}.devoted-pan>.devoted-experience-full{width:1250px}}

.devoted-portfolio .devoted-copy,.devoted-portfolio .devoted-copy *, .devoted-portfolio .devoted-sample-text,.devoted-portfolio .devoted-sample-text *, .devoted-portfolio figcaption,#project-light[data-project="devoted"] .project-copy,#project-light[data-project="devoted"] .project-copy *{text-shadow:0 1px 3px rgba(100,100,100,.25),0 3px 8px rgba(120,120,120,.16)}
