@font-face{font-family:"Pretendard Variable";src:url("./assets/pretendard-variable.woff2") format("woff2");font-style:normal;font-weight:45 930;font-display:swap}
:root{color-scheme:light;--brand-sky:#55c9f5;--brand-sun:#ffda4d;--brand-peach:#ffb4a8;--ink:#252b36;--muted:#596478;--paper:#ffffff;--accent:#127aa6;--sky:#b2f1ff;--world-backdrop:linear-gradient(180deg,var(--sky) 0 58%,#77994e 100%);font-family:"Pretendard Variable","Pretendard","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;color:var(--ink);background:var(--sky)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{color:inherit;font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #146f95;outline-offset:4px}svg{display:block}button svg,.icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.experience{height:100svh;min-height:420px;position:relative;overflow:hidden;isolation:isolate;background:var(--sky)}
.world,.poster,#canvas{inset:0;position:absolute;width:100%;height:100%}.world{touch-action:none;cursor:grab;background:var(--sky)}.world.dragging{cursor:grabbing}.world.pointing{cursor:pointer}.poster{display:none;background:center/cover url("./assets/diorama-poster.webp?v=35") no-repeat,var(--world-backdrop);pointer-events:none}#canvas{display:block;opacity:0;background:var(--world-backdrop);transition:opacity .24s ease-out}.experience[data-stage=ready] #canvas{opacity:1}.experience[data-stage=fallback] .poster{display:block}.experience[data-stage=fallback] .world{cursor:default}
.brand-bar{position:absolute;z-index:2;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:max(16px,env(safe-area-inset-top)) clamp(16px,4vw,54px) 0;pointer-events:none}.brand-bar>*{pointer-events:auto}
.brand,.language{display:flex;align-items:center;background:#fffffff2;border:1px solid #ffffffaf;border-radius:40px;box-shadow:0 5px 18px #2f56711c;min-height:46px}.brand{padding:6px 15px 6px 10px;gap:7px;color:#252b36;font-size:1.06rem;font-weight:850;letter-spacing:-.04em}.brand small{font-size:.88rem;margin-inline-start:3px}.language{min-width:49px;justify-content:center;font-size:.9rem;font-weight:800}.language:hover,.controls button:hover{background:#fff}
.intro{position:absolute;pointer-events:none;top:clamp(78px,14vh,140px);left:clamp(17px,4.5vw,69px);right:17px;transition:opacity .24s ease}.eyebrow{margin:0 0 .57em;font-size:.84rem;font-weight:850;letter-spacing:.075em;color:#1d506a}.intro h1{margin:0;font-size:clamp(2.35rem,4.2vw,4.65rem);line-height:1.08;letter-spacing:-.025em;font-weight:860;text-wrap:balance;color:#252b36;text-shadow:none}.subtitle{font-size:clamp(.92rem,1.35vw,1.13rem);line-height:1.55;margin:.72rem 0 0;font-weight:650;color:#303d53}
.dock{position:absolute;left:50%;transform:translateX(-50%);bottom:max(17px,env(safe-area-inset-bottom));width:min(690px,calc(100% - 28px));transition:opacity .24s ease}.destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px;background:#fffffff5;border:1px solid #ffffff;border-radius:22px;box-shadow:0 13px 32px #26455d42}.destinations a{padding:8px;min-height:58px;min-width:0;display:flex;gap:9px;align-items:center;border-radius:15px;transition:background .18s ease}.destinations a:hover,.destinations a.is-hot{background:#e6f8ff}.destinations strong,.destinations small{display:block}.destinations strong{font-size:.94rem;line-height:1.25;font-weight:830;white-space:nowrap}.destinations small{font-size:.82rem;color:var(--muted);margin-top:.24rem;white-space:nowrap}.icon{position:relative;display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:12px}.icon svg{width:22px;height:22px}.icon.app{color:#624a19;background:var(--brand-sun)}.icon.studio{color:#214d65;background:var(--brand-sky)}.icon.contact{color:#713e3b;background:var(--brand-peach)}
.controls{position:absolute;right:clamp(13px,3vw,40px);bottom:max(32px,env(safe-area-inset-bottom));display:flex;gap:6px;transition:opacity .24s ease}.controls button,.close{width:43px;height:43px;display:grid;place-items:center;background:#fffffff0;border:1px solid #fff8;border-radius:50%;box-shadow:0 4px 12px #29496924}.controls button:disabled{opacity:.45;cursor:default}.experience[data-stage=fallback] .controls{display:none}.experience[data-focus=true] .intro,.experience[data-focus=true] .dock,.experience[data-focus=true] .controls{opacity:0;pointer-events:none}
dialog{position:fixed;inset:0 0 0 auto;margin:0;border:0;padding:0;min-width:0;width:min(450px,46vw);height:100%;max-height:none;max-width:none;background:var(--paper);color:var(--ink);box-shadow:-15px 0 52px #273b5226;overscroll-behavior:contain;scrollbar-gutter:stable}dialog::backdrop{background:#25334224}dialog[open]{animation:panelin .22s ease-out}.sheet{padding:max(34px,env(safe-area-inset-top)) clamp(22px,3vw,40px) 42px}.sheet .close{margin:0 0 2rem auto;border:1px solid #d3e1ec;box-shadow:none}.sheet h2{font-size:clamp(2rem,4vw,3.25rem);line-height:1.1;margin:0 0 1rem;letter-spacing:-.065em;text-wrap:balance}.detail-lead{font-size:1.07rem;font-weight:650;padding-bottom:1.1rem}.sheet p{line-height:1.65}.topic{padding:1rem 0;border-top:1px solid #e3eaf1}.topic h3{margin:0 0 .42rem;font-size:1.04rem}.topic p{margin:0;color:var(--muted);font-size:1rem}.topic summary{font-weight:800;cursor:pointer}.topic details p{margin-top:.7rem}.sheet .notice{padding:1rem;border-radius:14px;border:1px solid #e3eaf1;background:#edf8ff}.sheet .notice p{margin:0;color:#3b4d66}.sheet .notice h3{margin:0 0 .35rem;font-size:1rem}
@keyframes panelin{from{transform:translateX(24px);opacity:.65}to{transform:none;opacity:1}}
@media (max-width:700px){
  .intro{top:83px;left:20px;text-align:left}.intro h1{font-size:clamp(2.1rem,9.6vw,3.25rem)}.intro .eyebrow{font-size:.80rem}.subtitle{margin-top:.54rem;font-size:.95rem}
  .controls{bottom:calc(max(17px,env(safe-area-inset-bottom)) + 10px)}.controls button{width:42px;height:42px}.dock{width:calc(100% - 20px)}.destinations{padding:5px;gap:3px;border-radius:18px}.destinations a{flex-direction:column;gap:6px;justify-content:center;text-align:center;padding:6px 2px;min-height:72px}.destinations strong{font-size:.87rem}.destinations small{display:none}.icon{height:30px;flex:0 0 30px;width:30px;border-radius:9px}.icon svg{width:19px;height:19px}
  .poster{background-size:auto 58%;background-position:center 58%}
  dialog{inset:auto 0 0;margin:0;width:100%;height:auto;max-height:57svh;border-radius:22px 22px 0 0}.sheet{padding:18px 21px max(28px,env(safe-area-inset-bottom))}.sheet .close{float:right;width:38px;height:38px;margin:0 0 .5rem .5rem}.sheet h2{font-size:2rem}.sheet .eyebrow{margin-top:.25rem}.detail-lead{clear:both;margin-bottom:0}
  @keyframes panelin{from{transform:translateY(20px);opacity:.65}to{transform:none;opacity:1}}
}
@media (max-height:600px) and (min-width:701px){.intro{top:75px}.intro h1{font-size:2.35rem}.subtitle{margin-top:.4rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Hide the scene instruction visually, while preserving accessible status announcements. */
.hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* The artwork keeps its original alpha and aspect ratio. */
.brand{padding:0;background:transparent;border:0;border-radius:8px;box-shadow:none;min-height:44px}.brand img{display:block;height:42px;width:auto}
.language,.controls button{background:rgba(255,255,255,.15)}.language:hover,.controls button:hover{background:rgba(255,255,255,.28)}

/* No destination bar in the 3D view. Keep accessible focus and a non-WebGL route. */


/* One tighter edge inset for the homepage overlay; the 3D camera is unchanged. */
.experience{--edge-inset:clamp(12px,1.72vw,28px);--edge-left:max(var(--edge-inset),env(safe-area-inset-left));--edge-right:max(var(--edge-inset),env(safe-area-inset-right))}
.brand-bar{padding-left:var(--edge-left);padding-right:var(--edge-right)}
.intro{left:var(--edge-left);right:var(--edge-right)}
.controls{right:var(--edge-right)}


/* No dock in any mode: fallback uses the same buildings as transparent poster hit regions. */
.experience{container-type:size}
.experience[data-stage=fallback] .poster{background-size:contain;background-position:center}
.sr-scene{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:-1px;padding:0;border:0}
.place-targets{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(100cqw,177.7778cqh);height:min(56.25cqw,100cqh);pointer-events:none}
.place-hit{position:absolute;display:block;outline:none;border-radius:10px;pointer-events:none}
.place-hit[data-place=app]{left:8.4%;top:29.2%;width:32.5%;height:56.4%}
.place-hit[data-place=studio]{left:65.4%;top:29.3%;width:23.7%;height:36%}
.place-hit[data-place=contact]{left:45.7%;top:30.4%;width:12.8%;height:23.5%}
.experience[data-stage=fallback] .place-hit{pointer-events:auto;cursor:pointer}
.place-hit:focus-visible{outline:3px solid #206581;outline-offset:3px}
.experience[data-focus=true] .place-targets{visibility:hidden}

.peek-label{position:fixed;z-index:8;display:block;max-width:calc(100vw - 16px);padding:8px 12px;transform:translateY(-50%);pointer-events:none;user-select:none;border-radius:11px;background:rgba(255,255,255,.50);color:#293549;box-shadow:0 3px 13px rgba(31,68,88,.14);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.86rem;font-weight:650;line-height:1.3}
.peek-label[hidden]{display:none}
