[hidden] { display:none !important }
body { background-color:#101214 }
body:not(.in-foyer) { background-color:var(--paper) }
.signature { display:inline-flex; align-items:flex-start; flex-direction:column; gap:5px; color:#f5f0e5; text-decoration:none; flex-shrink:0 }
.signature-mark { display:block; line-height:0; }
.signature img { display:block; width:102px; height:auto; object-fit:contain }
.signature span { font:500 12px/1.15 var(--sans); letter-spacing:.025em; white-space:nowrap; color:#ddd8e6 }

.entrance {
  position:relative; isolation:isolate; overflow:hidden; display:grid;
  grid-template-rows:auto 1fr auto; width:100%; min-height:100svh;
  color:#f1ecdf; background:#101214; padding:clamp(22px,4vh,44px) clamp(24px,4.6vw,88px);
}
.scene,.scene>div,.motes { position:absolute; inset:0; pointer-events:none }
.scene { z-index:-1; overflow:hidden }
.atmosphere { background:radial-gradient(ellipse at 78% 24%,#514753 0%,transparent 39%),radial-gradient(ellipse at 23% 67%,#354345 0%,transparent 55%),linear-gradient(145deg,#131419,#1c1f24 50%,#242526) }
.moon-plane,.landscape-plane { transition:transform 1.4s cubic-bezier(.16,.7,.35,1); }
.moon-plane { transform:translate(var(--mx,0px),var(--my,0px)) }
.lunar-body { position:absolute; width:clamp(165px,min(24vw,36vh),485px); top:13%; right:10%; animation:moon-breath 17s ease-in-out infinite alternate }
.lunar-body img { width:100%; object-fit:contain; filter:drop-shadow(-5px -5px 25px #aa8d4e1c) }
.landscape-plane { transform:translate(var(--lx,0px),var(--ly,0px)) }
.silk-field { position:absolute; inset:9% -4% -6%; background:url('media/atrium/silk.webp') center / 100% 100% no-repeat; animation:ink-drift 24s ease-in-out infinite alternate; transform-origin:15% 80% }
.vignette { background:linear-gradient(116deg,#b4e0d812 5%,transparent 44%,#dac3e715 91%),radial-gradient(ellipse at 50% 44%,#0e111527,transparent 48%),linear-gradient(0deg,#090a0cc4,transparent 17%,transparent 85%,#090a0c40) }
.motes { width:100%;height:100% }
.foyer-bar,.foyer-credit { display:flex; align-items:center;justify-content:space-between;gap:14px }
.foyer-bar { padding-bottom:18px; border-bottom:1px solid #e7dcc328 }
.motion-control { display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 9px;cursor:pointer;border-radius:100px;font-family:Georgia,serif;font-size:.94rem;line-height:1.2 }
.motion-glyph { display:inline-grid; place-items:center; border:1px solid #806233;border-radius:50%; width:29px;height:29px }
.motion-glyph::before { content:"";width:5px;height:8px;border-inline:2px solid currentColor }
.motion-control[aria-pressed="false"] .motion-glyph::before { width:0;height:0;margin-left:2px;border:4px solid transparent;border-left:6px solid currentColor;border-right:0 }
.invitation { display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;position:relative;padding:39px 0; }
.entry-korean { color:#e3d7b9;font:400 .88rem/1.5 var(--serif);letter-spacing:.36em;text-indent:.36em; margin:0 0 clamp(19px,3vh,35px) }
.invitation h1 { color:#f9f4e9;font:400 clamp(65px,min(9.5vw,14.3vh),178px)/.89 Georgia,"Noto Serif",serif; letter-spacing:-.063em;text-shadow:0 4px 33px #1010146e }
.invitation h1 em { display:inline-block;font-weight:400;letter-spacing:-.066em;color:#e4cedd }
.enter-link { display:inline-grid;place-items:center;min-height:52px;min-width:144px;margin-top:clamp(30px,5.6vh,68px);border-radius:100px;font-family:Georgia,serif;font-style:italic;font-size:1.43rem;line-height:1;letter-spacing:.015em }
.foyer-credit { border-top:1px solid #e7dcc336;padding-top:16px;color:#ede4ce;font-size:.83rem; letter-spacing:.075em }
.foyer-credit i { font-family:Georgia,serif;font-weight:400;font-size:1rem;letter-spacing:0;margin-left:10px;color:#c6c0b3 }
.domain { font-family:Georgia,serif }
.entrance[data-paused="true"] *, .entrance[data-paused="true"] *::after { animation-play-state:paused }
.gallery-reveal { animation:gallery-in .65s ease-out both }
@keyframes moon-breath { to { transform:translate(1%,4%) rotate(4deg) } }
@keyframes ink-drift { from { transform:translateX(-.7%) scale(1.015) } to { transform:translateX(.7%) scale(1.055,1.035) } }
@keyframes gallery-in { from { opacity:.15 } to { opacity:1 } }
@media(max-width:760px) {
  .entrance { padding:18px 23px 20px }
  .lunar-body { width:clamp(148px,39vw,240px);right:-3%;top:17% }
  .silk-field { inset:25% -40% -5% }
  .invitation h1 { font-size:clamp(65px,15vw,100px) }
  .signature img { width:76px }
  .signature { gap:4px }
  .signature span { font-size:12px }
  header .signature span { display:none }
  .foyer-bar { padding-bottom:12px }
}
@media(max-height:530px) and (orientation:landscape) {
  .entrance { padding-block:10px }
  .foyer-bar { padding-bottom:4px }.invitation { padding-block:10px }
  .invitation h1 { font-size:clamp(46px,14vh,75px) }
  .entry-korean { margin-bottom:8px }.enter-link { margin-top:12px;min-height:44px }
  .foyer-credit { padding-top:4px }
}
@media(prefers-reduced-motion:reduce) { .gallery-reveal { animation:none } }
