:root {
  --bg: #f6f3ee;
  --paper: #fbf9f6;
  --ink: #2a2826;
  --muted: #86817a;
  --line: #e3ddd4;
  --soft: #ece7df;
  --sans: "Jost", "Noto Sans KR", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
body.art { --bg: #ffffff; --paper: #ffffff; --soft: #f3f2ef; --line: #e8e6e2; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="ko"] body { font-size: 15px; line-height: 1.8; word-break: keep-all; }
html[lang="ko"] :is(.eyebrow, .nav, .btn, .chip, .enter, .fees thead th, label, legend, .tag) { letter-spacing: .04em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); }
.logo { font-weight: 400; letter-spacing: .32em; font-size: 15px; white-space: nowrap; }
.nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: .08em; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.tools { flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .1em; }
.lang button { color: var(--muted); padding: 2px; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.switch { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; transition: background .2s; }
.switch:hover { background: var(--soft); }
.menu-btn { display: none; font-size: 12px; letter-spacing: .12em; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 15px; }
  .menu-btn { display: block; }
  .switch { display: none; }
  .logo { font-size: 12px; letter-spacing: .2em; }
  .bar { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .tools { gap: 12px; }
  .logo { min-width: 0; overflow: hidden; text-overflow: clip; }
}
@media (max-width: 420px) {
  .logo { font-size: 11px; letter-spacing: .14em; }
  .logo small { letter-spacing: .14em; }
  .tools { gap: 10px; font-size: 11px; }
}

/* ---------- common ---------- */
section { padding: clamp(64px, 10vw, 128px) var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -.005em; line-height: 1.2; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; font-weight: 400; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: #4a4642; max-width: 34em; }
.muted { color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.btn { display: inline-block; background: var(--ink); color: var(--bg); padding: 14px 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .2s; }
.btn:hover { opacity: .85; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; letter-spacing: .04em; padding: 7px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px var(--gutter) 32px; font-size: 13px; color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-grid .logo { color: var(--ink); display: inline-block; margin-bottom: 10px; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-links div { display: flex; flex-direction: column; gap: 6px; }
.foot-links a:hover { color: var(--ink); }
.legal { margin-top: 40px; font-size: 11px; letter-spacing: .02em; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,19,18,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 100%); object-fit: contain; }
.lightbox button { position: absolute; color: #fff; font-size: 13px; letter-spacing: .14em; padding: 16px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); font-size: 28px !important; }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px !important; }
.lb-cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- art / interiors switch ---------- */
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; flex-shrink: 0; }
.seg a { padding: 6px 14px; color: var(--muted); background: var(--paper); transition: background .2s, color .2s; white-space: nowrap; }
.seg a + a { border-left: 1px solid var(--line); }
.seg a:hover { color: var(--ink); }
.seg a[aria-current="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 900px) { .brand { gap: 10px; } .seg a { padding: 5px 10px; letter-spacing: .08em; } }
@media (max-width: 420px) { .seg { font-size: 10px; } .seg a { padding: 5px 8px; } }

/* about text block */
.about-art p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: #4a4642; }
.about-art p:last-child { margin-bottom: 0; }

/* about: studio statements */
.creed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.creed-item h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; color: var(--muted); margin-bottom: 12px; }
.creed-item p { margin: 0; font-size: 15px; line-height: 1.7; color: #4a4642; }
@media (max-width: 860px) { .creed { grid-template-columns: 1fr; gap: 24px; } }

/* logo */
.logo { display: inline-flex; align-items: baseline; gap: 10px; }
.logo-word { height: 13px; width: auto; display: block; }
@media (max-width: 420px) { .logo-word { height: 11px; } }

.logo small { font-size: 11px; letter-spacing: .26em; color: var(--muted); font-weight: 300; position: relative; top: -1px; }

/* 작품 상세 */
.work { padding: 40px var(--gutter) 110px; }
.w-back { display: block; width: min(880px, 100%); margin: 0 auto 26px; font-size: 13px; color: var(--muted); }
.w-back:hover { color: var(--ink); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(48px, 7vw, 100px);
  align-items: start; width: min(880px, 100%); margin: 0 auto; }
.w-gallery { display: grid; gap: 34px; }
.w-shot { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.w-shot img { display: block; width: 100%; height: auto; }
.w-info { position: sticky; top: 100px; }
.w-info h1 { font-size: 23px; font-weight: 300; margin: 0 0 5px; letter-spacing: .01em; }
.w-sub { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.w-price { font-size: 15px; margin: 0 0 22px; }
.w-buy { display: flex; justify-content: space-between; gap: 16px; align-items: center;
  border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; transition: color .2s; }
.w-buy:first-of-type { border-top: 1px solid var(--line); }
.w-buy:hover { color: var(--muted); }
.w-sold { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 13px 0; margin: 0 0 20px; }
.w-info .btn.ghost { font-size: 13px; padding: 10px 18px; }
.w-spec { list-style: none; padding: 0; margin: 26px 0 0; font-size: 13px; color: var(--muted); line-height: 1.85; }
.w-spec li { padding-left: 13px; position: relative; }
.w-spec li::before { content: ""; position: absolute; left: 1px; top: 10px; width: 3px; height: 3px; border-radius: 50%; background: #c9c3ba; }
.w-ship { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.w-ship .eyebrow { margin-bottom: 12px; }
.w-ship table { width: 100%; border-collapse: collapse; font-size: 13px; }
.w-ship th { text-align: left; font-weight: 400; padding: 6px 0; color: var(--muted); }
.w-ship td { text-align: right; padding: 6px 0; }
.w-note { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin: 14px 0 0; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; gap: 34px; }
  .w-gallery { gap: 22px; }
  .w-shot { max-width: 100%; }
  .w-info { position: static; }
  .w-info h1 { font-size: 22px; }
}

/* 인스타그램 사진 띠 */
.life { border-top: 1px solid var(--line); }
.life .section-head { align-items: end; }
.life-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.life-row::-webkit-scrollbar { display: none; }
.life-shot { padding: 0; border: 0; background: var(--soft); aspect-ratio: 1;
  overflow: hidden; cursor: zoom-in; scroll-snap-align: start; }
.life-shot img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.life-shot:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .life-row { grid-auto-columns: minmax(150px, 1fr); gap: 8px; } }
