/* LIV MATERIAL STUDY — one shared layout for overlay and standalone project detail. */
/* Match the existing homepage brand baseline; opening a detail must not move it. */
@media(min-width:1025px){#project-dialog .project-dialog-top,.detail-site-header{padding-inline:max(40px,calc((100vw - 1320px)/2 + 40px))!important}}
.liv-detail[data-moodboard],.liv-detail[data-project-id]{--liv-material-overlay:.60}
.liv-detail .liv-detail-info{position:relative!important;top:auto!important;isolation:isolate;background:#eeece5 var(--liv-material-pc,none) center/cover no-repeat;padding:clamp(24px,2vw,32px);min-width:0}
.liv-detail .liv-detail-info::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,var(--liv-material-overlay));z-index:0;pointer-events:none}
.liv-detail .liv-detail-info>:not(.liv-detail-actions){position:relative;z-index:1}
.liv-detail .liv-detail-info>.liv-detail-actions{position:relative;z-index:1}
.liv-detail .liv-detail-concept p{color:#30302c}
.liv-detail .liv-detail-facts dt{color:#45443e}
.liv-detail .liv-detail-facts{border-color:rgba(35,35,32,.25)}
@media(min-width:641px){
:is(#project-detail-content,#portfolio-page)>.liv-detail{width:100%;max-width:none;grid-template-columns:clamp(220px,26vw,430px) minmax(0,1fr);gap:clamp(20px,2.5vw,48px);padding:32px clamp(24px,3vw,52px);align-items:stretch}
:is(#project-detail-content,#portfolio-page) .liv-detail-info{height:100%;max-height:100%;min-height:0;box-shadow:0 10px 28px rgba(35,35,32,.055)}
:is(#project-detail-content,#portfolio-page) .liv-detail-content{height:100%;min-height:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0}
.liv-detail .liv-detail-sticky{display:none}
}
@media(max-width:640px){
:is(#project-detail-content,#portfolio-page)>.liv-detail{margin:0;padding:0 0 calc(98px + env(safe-area-inset-bottom,0px));width:100%;max-width:none}
.liv-detail .liv-detail-info{padding:28px 22px;isolation:auto;background-image:var(--liv-material-mobile,var(--liv-material-pc,none))}
.liv-detail .liv-detail-content{margin-top:0;width:100%}
.liv-detail .liv-detail-sticky{padding-inline:16px}
.liv-detail .liv-detail-section{margin-bottom:6px}
.liv-detail .liv-detail-photo button{aspect-ratio:4/3}
.liv-detail .liv-detail-photo img{object-fit:cover}
.liv-detail .liv-detail-info>.liv-detail-actions{position:fixed;inset:auto 0 0;z-index:50;margin:0}
}

.liv-detail[data-project-id="yeonji-chunggu1"]{--liv-material-pc:url("moodboards/yeonji-chunggu1-pc-v20261120.webp");--liv-material-mobile:url("moodboards/yeonji-chunggu1-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="yangwoo1"]{--liv-material-pc:url("moodboards/yangwoo1-pc-v20261120.webp");--liv-material-mobile:url("moodboards/yangwoo1-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="residence"]{--liv-material-pc:url("moodboards/residence-pc-v20261120.webp");--liv-material-mobile:url("moodboards/residence-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="clinic"]{--liv-material-pc:url("moodboards/clinic-pc-v20261120.webp");--liv-material-mobile:url("moodboards/clinic-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="bando2"]{--liv-material-pc:url("moodboards/bando2-pc-v20261120.webp");--liv-material-mobile:url("moodboards/bando2-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="easy5-living"]{--liv-material-pc:url("moodboards/easy5-living-pc-v20261120.webp");--liv-material-mobile:url("moodboards/easy5-living-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="epyeon"]{--liv-material-pc:url("moodboards/epyeon-pc-v20261120.webp");--liv-material-mobile:url("moodboards/epyeon-mobile-v20261120.webp");--liv-material-overlay:0.68}
.liv-detail[data-project-id="dongil"]{--liv-material-pc:url("moodboards/dongil-pc-v20261120.webp");--liv-material-mobile:url("moodboards/dongil-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="yangwoo"]{--liv-material-pc:url("moodboards/yangwoo-pc-v20261120.webp");--liv-material-mobile:url("moodboards/yangwoo-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="daebang7"]{--liv-material-pc:url("moodboards/daebang7-pc-v20261120.webp");--liv-material-mobile:url("moodboards/daebang7-mobile-v20261120.webp");--liv-material-overlay:0.6}
.liv-detail[data-project-id="office"]{--liv-material-pc:url("moodboards/office-pc-v20261120.webp");--liv-material-mobile:url("moodboards/office-mobile-v20261120.webp");--liv-material-overlay:0.66}

/* Detail hierarchy — approved 30px/500 desktop, 22px/500 mobile. */
.liv-detail .liv-detail-title-location{display:block;font-weight:500;line-height:1.4;margin:0}
.liv-detail .liv-detail-title{border-bottom:1px solid rgba(35,35,32,.18);padding-bottom:24px;margin-bottom:24px}
.liv-detail .liv-detail-facts{border-color:rgba(35,35,32,.18)}
@media(min-width:641px){
.liv-detail .liv-detail-info{--liv-detail-inset:clamp(24px,2vw,32px)}
.liv-detail .liv-detail-title-location{font-size:22px}
.liv-detail .liv-detail-info>.liv-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--liv-detail-inset);width:100%;margin-inline:0;margin-top:28px;align-items:stretch}
.liv-detail-actions .liv-detail-cta{grid-column:1}.liv-detail-actions .liv-detail-back{grid-column:2}
.liv-detail-actions a{width:100%;min-height:48px;padding:12px 0;font-size:14px;font-weight:500;display:flex;align-items:center;justify-content:center;white-space:nowrap}
.liv-detail-actions .liv-detail-call{display:none}
}
@media(min-width:1025px){.liv-detail .liv-detail-title{font-size:36px}.liv-detail .liv-detail-title-location{font-size:30px}}
@media(max-width:640px){.liv-detail .liv-detail-title{font-size:26px;padding-bottom:20px;margin-bottom:20px}.liv-detail .liv-detail-title-location{font-size:22px}}
