*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbf9f4;color:#282d26;font-family:"Malgun Gothic",Arial,sans-serif;word-break:keep-all}button,input{font:inherit}button,a,label{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}header,footer{display:flex;justify-content:space-between;align-items:center;padding:20px 6vw}header{height:76px;border-bottom:1px solid #d6d3c8}.brand{display:flex;align-items:center;gap:12px;font:700 25px Georgia,serif}.brand small,.over{font:600 10px/1.4 Arial,sans-serif;letter-spacing:.18em}.mark{font:30px Georgia;color:#9c724f}nav{display:flex;align-items:center;gap:28px;font-size:13px}nav button,#close{background:transparent;border:0;color:inherit;padding:10px}nav button{border:1px solid #c5c5b9;border-radius:30px;padding:10px 17px}.hero{position:relative;isolation:isolate;height:clamp(440px,42vw,650px);background:#363b30;color:white;overflow:hidden}.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 61%;z-index:-2}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#17221bee 0%,#18211ba8 29%,#10181016 70%);z-index:-1}.heroCopy{position:absolute;left:7%;bottom:12%}.heroCopy>p:first-child{font-size:12px;color:#eee6d7;letter-spacing:.08em}.hero h1{font:500 clamp(58px,5.8vw,92px)/1.05 Georgia,"Batang",serif;letter-spacing:-.065em;margin:24px 0}.hero h1 span{display:block;font:italic 400 .43em/1.4 Georgia;letter-spacing:-.035em;color:#e1d3b9}.intro{font-size:16px;line-height:1.7}.heroBtn,.primary{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;font-size:14px;font-weight:600}.heroBtn{background:#f5f1e8;color:#27382d;width:192px;margin-top:24px}.heroBtn b,.primary b{font-size:17px}#studio{max-width:1520px;margin:auto;padding:52px 6vw 60px;scroll-margin-top:10px}.heading,.caption,.dlgHead{display:flex;align-items:center;justify-content:space-between}.heading{margin-bottom:24px;align-items:flex-end}.heading>p,.note,dialog>p{color:#5b6055;font-size:13px;line-height:1.6}.over{color:#826348;margin:0 0 8px}h2{font:600 34px/1.25 Georgia,"Batang",serif;letter-spacing:-.06em;margin:0}.layout{display:grid;grid-template-columns:1.6fr 1fr;align-items:start;gap:32px}.photo{position:relative;overflow:hidden;background:#ddd}.photo img,.photo svg{display:block;width:100%}.photo svg{position:absolute;inset:0;height:100%;opacity:0}.photo.dark svg{opacity:1}.caption{font-size:12px;padding:12px 0}.caption span:last-child{color:#686b62;font-size:11px}.panel{border-top:2px solid #374b3e;padding-top:18px}fieldset{margin:0;padding:0;border:none}legend{font-weight:700;margin:0 0 12px;padding:0}.choices{display:flex;gap:8px}.choices label{position:relative;flex:1;cursor:pointer}.choices input{position:absolute;opacity:0}.choices span{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #c8c7bc;min-height:44px;font-weight:600}.choices input:checked+span{border:2px solid #475d49;background:#e9ede3;color:#293f2b}.choices input:focus-visible+span{outline:3px solid #ba8150;outline-offset:2px}.plan{display:flex;align-items:center;gap:12px;margin:14px 0 20px;padding-bottom:16px;border-bottom:1px solid #d5d5c9}.plan canvas{width:44%;height:auto}.plan small{display:block;color:#686b62;font-size:11px;margin-top:5px}.materials span{font-size:13px;padding:8px 4px}.materials i{width:22px;height:22px;border-radius:50%;background:repeating-linear-gradient(22deg,#bf9a6f 0 3px,#c8ac87 4px 6px,#ba9368 7px)}.materials i.walnut{filter:brightness(.56)}.note{margin:12px 0 18px}.primary{width:100%;background:#334a3b;color:white;border:0}.primary:hover,.heroBtn:hover{filter:brightness(.9)}footer{border-top:1px solid #d5d5c9;font-size:11px;color:#666c60}footer strong{font-size:19px;color:#394536}dialog{width:min(440px,92vw);border:0;padding:28px;background:#fbf9f4;color:inherit}dialog::backdrop{background:#17221bb8}dialog dl{margin:25px 0}dialog dl div{display:flex;justify-content:space-between;border-bottom:1px solid #dedfd5;padding:12px 0;font-size:14px}dd{margin:0;font-weight:700}.dlgHead{margin-bottom:15px}.dlgHead p{margin:0}@media(max-width:780px){header{height:62px;padding:10px 5%}.brand{font-size:21px;gap:7px}.brand small{display:none}nav{gap:12px;font-size:12px}.hero{height:470px}.heroCopy{left:6%;bottom:8%}.hero:after{background:linear-gradient(10deg,#16231aec,transparent 120%)}.heading{display:block}.heading>p{margin-bottom:0}.layout{grid-template-columns:1fr;gap:12px}#studio{padding:38px 5vw}.panel{padding-top:18px}.plan canvas{max-width:160px}.hero img{object-position:60% 50%}footer{gap:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

#tour{position:relative;isolation:isolate;aspect-ratio:4/3;background:#e8e5da;border:1px solid #cfcbbf;overflow:hidden}
#tour canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}
#tour canvas:active{cursor:grabbing}
#tour button{border:1px solid #bcbeb2;color:#26392d;background:#fbfaf4f2;border-radius:24px;padding:9px 14px;font-size:13px}
#tour button:hover{background:#fff}.tour-bar,.tour-bottom{position:absolute;left:14px;right:14px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.tour-bar{top:14px}.tour-bottom{bottom:12px}.tour-bar strong,.tour-bottom span{background:#f9f8f0e8;padding:6px 11px;font-size:12px;border-radius:16px}.tour-bar button,.tour-bottom button{pointer-events:auto}#tour #enterRoom{position:absolute;transform:translate(-50%,-50%);background:#304a39;color:white;border:1px solid #faf9e7;box-shadow:0 4px 14px #0003;white-space:nowrap}
@media(max-width:780px){#tour{aspect-ratio:1.23}.tour-bar,.tour-bottom{left:8px;right:8px}}
/* Architectural catalogue: the hero plate is a render of the interactive room. */
body{background:#f7f5ef;color:#30352c}
header{height:70px;background:#f7f5ef}.mark{color:#988268}
.hero{display:grid;grid-template-columns:minmax(275px,30%) 1fr;height:clamp(440px,43vw,680px);background:#26382e;isolation:auto}
.hero:after{display:none}.heroCopy{position:static;padding:clamp(26px,4vw,73px);align-self:center}
.heroCopy>p:first-child{font-size:11px;color:#d6cbaf}
.hero h1{font-size:clamp(62px,6vw,100px);margin:38px 0 20px}
.hero h1 span{font-size:.35em;letter-spacing:-.045em;color:#dacbb4}
.intro{font-size:clamp(14px,1.3vw,19px);line-height:1.8;color:#e6e6d8}
.heroBtn{background:transparent;color:#f4efdf;border-bottom:1px solid #9eaa98;width:168px;padding:12px 0;margin-top:36px}
.hero figure{margin:0;position:relative;height:100%;min-width:0}
.hero img{position:absolute;z-index:auto;object-fit:cover;object-position:53% 52%}
.hero figcaption{position:absolute;right:16px;bottom:16px;padding:7px 13px;background:#f5f2e9e8;color:#342f27;font-size:11px}
.hero figcaption span{color:#ada18c;margin:0 6px}
.materials span{flex-direction:column;align-items:stretch;padding:5px 5px 9px;text-align:center;gap:7px}
.materials img{width:100%;height:48px;object-fit:cover}
.material-note{font-size:11px;color:#66685d;line-height:1.5;margin:0 0 15px}
#tour #detailView{background:#304637;color:#fff}
.tour-bottom{gap:6px}.tour-bottom #gesture{margin-right:auto}
@media(max-width:780px){.hero{grid-template-columns:1fr;grid-template-rows:255px 260px;height:auto}.hero figure{grid-row:1}.heroCopy{padding:22px 6%;height:100%;position:relative}.hero h1{font-size:49px;margin:15px 0 9px}.hero h1 span{display:inline;margin-left:12px;font-size:.43em}.heroCopy>p:first-child{margin:0}.intro{font-size:15px;margin:12px 0}.heroBtn{margin-top:6px}.hero img{object-position:50% 55%}.tour-bottom{gap:3px}.tour-bottom span{font-size:10px}.tour-bottom button{font-size:11px!important;padding:7px 8px!important}.layout:has(#tour[data-mode="detail"]) .panel{display:flex;flex-direction:column}.layout:has(#tour[data-mode="detail"]) .panel fieldset:has(.materials){order:-2}.layout:has(#tour[data-mode="detail"]) .panel #detail{order:-1}}
#roomMap:empty{display:none}
.plan:has(#roomMap:not(:empty)){flex-direction:column;align-items:stretch}
#roomMap{position:relative;background:#e5dece;border:1px solid #8e8e7c;max-width:355px;width:100%;align-self:center;margin:1px 0 4px}
#roomMap button{position:absolute;border:1px solid #8d9485;background:#f4f0e7;color:#374538;font:600 13px/1.15 inherit;padding:2px;cursor:pointer}
#roomMap button:hover,#roomMap button[aria-pressed=true]{background:#3c5544;color:white}
.plan:has(#roomMap:not(:empty))>div:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#walkControls{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:7px 0;color:#425040}
#walkControls[hidden],#plan[hidden]{display:none}#walkControls span{font-size:12px;margin-right:4px}
#walkControls button{height:40px;min-width:40px;background:#efeee6;border:1px solid #c4c7b9;color:#354a39;border-radius:4px;touch-action:none}
#walkControls #nextSpace{margin-left:auto;background:#344d3b;color:white;padding:0 12px}
@media(max-width:780px){#roomMap{max-width:270px}#walkControls button{height:44px}.plan:has(#roomMap:not(:empty))>div:last-child{justify-content:center}}


.sceneNav{display:flex;gap:6px;margin:0 0 14px}.sceneNav[hidden],#woodSet[hidden],#roomChoices[hidden],#detail[hidden]{display:none}
.sceneNav button,#roomChoices button{background:#faf8f2;color:#423e34;border:1px solid #c6c1b4;padding:10px 14px;cursor:pointer;font:inherit;border-radius:4px}
.sceneNav button[aria-pressed=true],#roomChoices button[aria-pressed=true]{background:#384436;color:#fff;border-color:#384436}
#roomChoices h3{font-size:17px;margin:16px 0 8px}#roomChoices fieldset{margin:12px 0;padding:0;border:0}#roomChoices legend{font-size:13px;margin-bottom:5px}#roomChoices button{font-size:13px;margin:0 5px 4px 0}
#summary{max-height:85dvh;overflow-y:auto}#tour[data-mode=exterior] #enterRoom{left:50%;top:auto;bottom:48px}
@media(max-width:780px){#roomChoices button,.sceneNav button{min-height:44px}}

#exteriorZoom{position:absolute;right:12px;top:64px;display:grid;gap:4px}#exteriorZoom[hidden]{display:none}#exteriorZoom button{width:42px;height:42px;border:1px solid #b5b29e;background:#f6f3e9;border-radius:50%;color:#314032;font-size:21px}
