:root{--paper:#ecebe6;--blue:#3469e1;color:#191919;background:var(--paper);font-family:Arial,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}*{box-sizing:border-box}body{margin:0}header,nav,section,footer{margin:auto;width:min(90%,1200px)}header,nav,footer{padding:20px 0;display:flex;justify-content:space-between}header strong{letter-spacing:.1em}a{color:inherit}header a,nav a{text-decoration:none}a:hover{text-decoration:underline}.hero{background:var(--blue);color:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}.hero>div{padding:clamp(32px,6vw,105px);display:flex;flex-direction:column;align-items:flex-start}.hero img{display:block;width:100%;height:auto;align-self:center}h1{font-size:clamp(62px,8vw,120px);line-height:.99;letter-spacing:-.08em;margin:auto 0;font-weight:800}h1 span{display:block;font-size:clamp(19px,2.3vw,38px);letter-spacing:-.05em;margin-top:22px}time,small,figcaption{font-size:.9rem}nav{justify-content:flex-start;flex-wrap:wrap;gap:1.5rem;border-bottom:1px solid #555}section{padding:clamp(45px,7vw,100px) 0;border-bottom:1px solid #b7b6b3}.heading small{color:#234faa;font-weight:700}h2{color:var(--blue);letter-spacing:-.065em;font-size:clamp(32px,5vw,78px);margin:.25em 0 .6em}.copy{max-width:720px;margin:2rem 0 0 auto;font-size:1.08rem;line-height:1.9;word-break:keep-all}.copy p{margin:0 0 1.15em}figure{margin:0}.painting{display:block;max-height:75vh;max-width:100%;margin:auto}figcaption{line-height:1.7;margin:12px 0 20px}.triptych{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.compare{position:relative;aspect-ratio:2/3;overflow:hidden}.compare img,.compare input{position:absolute;width:100%;height:100%;inset:0;margin:0}.compare input{opacity:0;cursor:ew-resize;touch-action:pan-y}.compare:focus-within{outline:3px solid var(--blue)}.compare i{position:absolute;top:0;bottom:0;border-left:2px solid white}.compare i:after{content:'↔';position:absolute;top:50%;left:0;transform:translateX(-50%);background:white;color:var(--blue);border-radius:20px;padding:6px}button{padding:14px 24px;background:var(--blue);color:white;border:0;font:inherit;font-weight:700;cursor:pointer}button:disabled{opacity:.55}form,article{max-width:680px;margin-top:28px}label,textarea,form small{display:block;margin:12px 0}textarea{width:100%;height:125px;padding:12px;font:inherit}article{border-top:1px solid #ccc;padding-top:16px}article p{white-space:pre-wrap;overflow-wrap:anywhere}footer{color:#444}@media(max-width:700px){.hero{grid-template-columns:1fr;min-height:0}.hero>div{padding:32px 5%}.hero h1{margin:32px 0}.triptych{grid-template-columns:1fr;gap:20px}nav{gap:12px;font-size:.9rem}.copy{font-size:1rem}}
nav a{white-space:nowrap}.book-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap}.book-heading h2{margin:0}.tessera-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:4px;max-width:900px;padding:5px;background:#dcdcd7}.tessera,.empty-tile{aspect-ratio:1;display:block;border-radius:2px}.empty-tile{background:linear-gradient(145deg,#f4f3ed,#e3e2da);box-shadow:inset 1px 1px 1px white}.tessera{padding:0;background-image:linear-gradient(145deg,#ffffff38,transparent 42%,#0d24501f);box-shadow:inset 1px 2px 2px #ffffff70,inset -2px -2px 2px #182e5c42}.tessera:hover,.tessera:focus-visible{outline:2px solid #122954;outline-offset:-3px}dialog{background:var(--paper);color:#191919;border:0;border-top:6px solid var(--blue);padding:26px;width:min(450px,88vw)}dialog p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}dialog::backdrop{background:#141e34a6}@media(max-width:700px){nav{row-gap:0}nav a{padding:9px 0}.tessera-wall{grid-template-columns:repeat(auto-fill,minmax(44px,1fr))}}
.palette{border:0;margin:20px 0;padding:0}.palette legend{padding:0;margin-bottom:10px}.swatches{display:grid;grid-template-columns:repeat(auto-fit,minmax(66px,1fr));gap:8px}.swatches label{position:relative;margin:0;display:grid;justify-items:center;gap:4px;padding:5px 0;cursor:pointer;font-size:.875rem}.swatches input{position:absolute;opacity:0}.sample{width:34px;height:34px;border-radius:2px;box-shadow:inset 0 2px 0 #fff5,inset -2px -2px 0 #0001}.swatches input:checked+.sample{outline:2px solid #171717;outline-offset:2px}.swatches input:checked+.sample:after{content:'✓';display:grid;place-items:center;height:100%;color:white;text-shadow:0 1px 2px #333;font-size:20px}.swatches label:focus-within{outline:2px dashed #234faa;outline-offset:1px}

header { align-items: center; gap: 12px; }
.guestbook-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  background: var(--blue);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.guestbook-shortcut:hover { background: #244fb4; text-decoration: none; }
.guestbook-shortcut:focus-visible { outline: 2px solid #191919; outline-offset: 3px; }
nav[aria-label="목차"] {
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 0;
}
nav[aria-label="목차"] a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 6px 0;
  white-space: normal;
}
nav .toc-title { margin: 0 0 8px; color: var(--blue); font-size: 1.25rem; letter-spacing: -.03em; }
nav[aria-label="목차"] a { text-decoration: underline; text-underline-offset: .24em; text-decoration-thickness: 1px; }
nav[aria-label="목차"] a:hover, nav[aria-label="목차"] a:focus-visible { color: var(--blue); }

.installation{display:block;width:100%;max-width:960px;height:auto;margin-inline:auto}
