/* 오월재 리모델링 스튜디오 — site.css v2
   연출 상태는 html.motion-ready:not(.rm) 아래에서만 숨긴다(자바스크립트가 멈추거나 움직임 줄이기면 그대로 보임). */
:root {
  --paper: #f3efe8; --paper-2: #ebe5db; --stone: #d9d1c4;
  --ink: #1e1c19; --ink-2: #3b3732; --mute: #6f685e; --line: rgba(30, 28, 25, .14);
  --clay: #8b6a4e; --night: #1f1d1a; --night-2: #2a2723; --night-line: rgba(243, 239, 232, .16); --cream: #efe9df;
  --bar: var(--karis-bar-h, 0px);
  --head: 76px;
  --karis-site-header-h: var(--head);
  --pad: clamp(20px, 4.2vw, 72px);
  --max: 1520px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --door: cubic-bezier(.77, 0, .18, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + var(--head) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; letter-spacing: -.005em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
html.is-loading, body.nav-open { overflow: hidden; }
.grain { position: fixed; inset: 0; z-index: 2147479000; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; transform-origin: left; transition: transform 1s var(--ease); }
.eyebrow .ko { letter-spacing: .04em; text-transform: none; }
.num { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -.035em; line-height: 1.28; }
.display { font-size: clamp(36px, 5.6vw, 88px); line-height: 1.14; font-weight: 300; letter-spacing: -.045em; }
.title-xl { font-size: clamp(30px, 3.9vw, 58px); font-weight: 300; line-height: 1.22; letter-spacing: -.04em; }
.title-l { font-size: clamp(24px, 2.6vw, 38px); font-weight: 350; line-height: 1.3; }
.title-m { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.025em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.85; color: var(--ink-2); font-weight: 350; }
.small { font-size: 14px; color: var(--mute); line-height: 1.7; }
p { margin: 0 0 1em; }
.measure { max-width: 34em; }
.u { border-bottom: 1px solid; }
[data-karis-empty]:not([data-list]) { display: none !important; }

/* ---------- arrows & buttons (작은 반응) ---------- */
.arr { position: relative; display: inline-block; width: 22px; height: 10px; flex: 0 0 auto; }
.arr i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transform-origin: left; transition: transform .45s var(--ease); }
.arr::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); transition: transform .45s var(--ease); }
a:hover > .arr i, .btn:hover .arr i, a:hover .arr i { transform: scaleX(1.35); }
a:hover > .arr::after, .btn:hover .arr::after, a:hover .arr::after { transform: translate(8px, -50%) rotate(45deg); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 16px 28px; border-radius: 999px; border: 1px solid currentColor; font-size: 15px; line-height: 1; cursor: pointer; background: transparent; overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .45s var(--ease), border-color .45s, transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--door); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid::before { background: var(--clay); }
.btn--light { background: #f6f2ec; color: var(--ink); border-color: #f6f2ec; }
.btn--light::before { background: var(--clay); }
.btn--light:hover { color: #fff; border-color: var(--clay); }
.btn--ghost-light { color: #f6f2ec; }
.btn--ghost-light::before { background: rgba(246, 242, 236, .16); }
.btn .dots { display: none; gap: 5px; }
.btn .dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: dot 1s infinite ease-in-out; }
.btn .dots i:nth-child(2) { animation-delay: .15s; } .btn .dots i:nth-child(3) { animation-delay: .3s; }
.btn.is-busy > span:first-child, .btn.is-busy .arr { display: none; }
.btn.is-busy .dots { display: inline-flex; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; padding-bottom: 6px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--door); }
.link-arrow:hover::after { animation: line-swap .8s var(--door); }
@keyframes line-swap { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 46% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- door (페이지 전환: 미닫이) ---------- */
.door { position: fixed; inset: 0; z-index: 2147481000; pointer-events: none; visibility: hidden; }
.door i { position: absolute; top: 0; bottom: 0; width: 50.2%; background: var(--paper-2); transition: transform .62s var(--door); }
.door .dl { left: 0; transform: translateX(-101%); box-shadow: inset -1px 0 0 rgba(30, 28, 25, .12); }
.door .dr { right: 0; transform: translateX(101%); box-shadow: inset 1px 0 0 rgba(30, 28, 25, .12); }
.door::after { content: ""; position: absolute; left: 50%; top: 18%; bottom: 18%; width: 1px; background: var(--clay); transform: scaleY(0); transition: transform .5s var(--ease) .12s; }
.door-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; opacity: 0; transition: opacity .3s .2s; z-index: 1; background: var(--paper-2); padding: 10px 18px; }
.door-mark b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.door-mark em { font-family: var(--serif); font-size: 14px; color: var(--mute); }
.door.closing, .door.opening, html.door-enter .door { visibility: visible; pointer-events: auto; }
.door.closing i, html.door-enter .door i { transform: none; }
.door.closing::after, html.door-enter .door::after { transform: scaleY(1); }
.door.closing .door-mark, html.door-enter .door .door-mark { opacity: 1; }
.door.opening .door-mark { opacity: 0; transition-delay: 0s; }
.door.opening::after { transform: scaleY(0); transition-delay: 0s; transition-duration: .25s; }
.door.opening i { transition-delay: .12s; transition-duration: .7s; }

/* ---------- loader (첫 방문 한 번) ---------- */
.loader { position: fixed; inset: 0; z-index: 2147481500; background: var(--paper); display: none; place-items: center; transition: transform .6s var(--door); }
html.first-visit.motion-ready:not(.rm) .loader { display: grid; }
.loader-in { width: min(560px, 80vw); display: grid; gap: 22px; }
.loader-brand { display: flex; align-items: baseline; gap: 14px; overflow: hidden; }
.loader-brand b { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -.03em; transform: translateY(110%); transition: transform .6s var(--ease); }
.loader-brand em { font-family: var(--serif); font-size: 16px; color: var(--mute); opacity: 0; transition: opacity .5s .2s; }
.loader-line { position: relative; height: 13px; }
.loader-line i { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .65s var(--door) .1s; }
.loader-line s { position: absolute; top: 0; width: 1px; height: 13px; background: var(--ink); opacity: 0; transition: opacity .3s; }
.loader-line s:first-of-type { left: 0; transition-delay: .2s; } .loader-line s:last-of-type { right: 0; transition-delay: .7s; }
.loader-meta { font-size: 13px; letter-spacing: .08em; color: var(--mute); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s .15s; }
.loader-num { color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 20px; }
.loader.go .loader-brand b { transform: none; } .loader.go .loader-brand em, .loader.go .loader-meta, .loader.go .loader-line s { opacity: 1; }
.loader.go .loader-line i { transform: scaleX(1); }
.loader.out { transform: translateY(-101%); }

/* ---------- header ---------- */
.site-header { position: fixed; left: 0; right: 0; top: var(--bar); z-index: 50; height: var(--head); color: var(--ink); background: rgba(243, 239, 232, .92); backdrop-filter: saturate(1.1) blur(10px); -webkit-backdrop-filter: saturate(1.1) blur(10px); border-bottom: 1px solid var(--line); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s, transform .5s var(--ease); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-over { background: transparent; color: #f6f2ec; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(calc(-100% - var(--bar))); }
html.is-dusk .site-header:not(.is-over) { background: rgba(31, 29, 26, .9); color: var(--cream); border-color: var(--night-line); }
.brand { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.brand-ko { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.brand-en { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; opacity: .72; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: 14.5px; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav .nn { display: none; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--door); }
.nav a:not(.nav-cta):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { margin-left: 4px; padding: 10px 20px; border: 1px solid currentColor; border-radius: 999px; transition: background .4s, color .4s, border-color .4s, transform .35s var(--ease); }
.nav .nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.is-over .nav .nav-cta:hover { background: #f6f2ec; color: var(--ink); border-color: #f6f2ec; }
.nav-foot { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; align-items: center; gap: 10px; font-size: 14px; }
.nav-toggle i { display: block; width: 24px; height: 1px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; width: 24px; height: 1px; background: currentColor; transition: transform .45s var(--door), width .3s; }
.nav-toggle i::before { top: -6px; } .nav-toggle i::after { top: 6px; width: 16px; }
.nav-toggle:hover i::after { width: 24px; }
.nav-open .nav-toggle i { background: transparent; }
.nav-open .nav-toggle i::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle i::after { width: 24px; transform: translateY(-6px) rotate(-45deg); }
/* 첫 화면 위에서 머리줄이 위에서 차례로 내려옴 */
html.motion-ready:not(.rm) body.home:not(:has(.hero.is-on)) .site-header .wrap > .brand,
html.motion-ready:not(.rm) body.home:not(:has(.hero.is-on)) .site-header .wrap > .nav-toggle { opacity: 0; transform: translateY(-14px); }
@media (min-width: 1081px) { html.motion-ready:not(.rm) body.home:not(:has(.hero.is-on)) .nav > a { opacity: 0; transform: translateY(-14px); } }
@media (min-width: 1081px) {
  body.home .site-header .wrap > *, body.home .nav > a { transition: opacity .8s var(--ease), transform .8s var(--ease); }
  body.home:has(.hero.is-on) .nav > a { transition-delay: calc(.5s + var(--i, 0) * 45ms); }
}
body.home .site-header .brand, body.home .nav-toggle { transition: opacity .7s var(--ease) .45s, transform .7s var(--ease) .45s; }

@media (max-width: 1080px) {
  :root { --head: 64px; }
  .brand-en { display: none; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(243, 239, 232, .98); }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; left: 0; right: 0; top: calc(var(--bar) + var(--head)); bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 32px; background: var(--paper); color: var(--ink); overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--door), visibility 0s .7s; }
  .nav-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--door), visibility 0s; }
  .nav a { display: flex; align-items: baseline; gap: 16px; font-size: 24px; font-weight: 300; letter-spacing: -.03em; padding: 15px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .nav .nn { display: inline; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--mute); width: 22px; }
  .nav-open .nav a { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 0) * 55ms); }
  .nav a:not(.nav-cta)::after { bottom: -1px; background: var(--clay); }
  .nav a[aria-current="page"] { color: var(--clay); }
  .nav .nav-cta { margin: 28px 0 0; justify-content: center; font-size: 17px; border: 1px solid var(--ink); }
  .nav-foot { display: flex; justify-content: space-between; margin: auto 0 0; padding-top: 28px; font-size: 13px; color: var(--mute); opacity: 0; transition: opacity .5s .5s; }
  .nav-open .nav-foot { opacity: 1; }
  body.nav-open .site-header, body.nav-open .site-header.is-over { background: var(--paper); color: var(--ink); border-color: var(--line); }
}

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh - var(--bar)); min-height: 600px; max-height: 1100px; color: #f6f2ec; overflow: hidden; background: #2b2824; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 18, 15, .38) 0%, rgba(20, 18, 15, 0) 24%, rgba(20, 18, 15, .08) 42%, rgba(20, 18, 15, .62) 100%), linear-gradient(90deg, rgba(20, 18, 15, .38) 0%, rgba(20, 18, 15, 0) 58%); }
.hero-light { position: absolute; inset: -20% -40%; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 236, 200, .16) 48%, rgba(255, 244, 222, .26) 50%, rgba(255, 236, 200, .12) 53%, transparent 62%); transform: translateX(-60%); mix-blend-mode: screen; opacity: 0; }
.hero-inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(36px, 7vh, 84px); }
.hero-inner .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero .eyebrow { color: rgba(246, 242, 236, .82); }
.hero-title { max-width: 12em; }
.hero-dim { display: flex; align-items: center; gap: 16px; margin-top: 26px; max-width: 520px; font-size: 12.5px; letter-spacing: .06em; color: rgba(246, 242, 236, .78); }
.dim-line { position: relative; flex: 1 1 auto; height: 11px; }
.dim-line::before, .dim-line::after { content: ""; position: absolute; top: 0; width: 1px; height: 11px; background: currentColor; }
.dim-line::before { left: 0; } .dim-line::after { right: 0; }
.dim-line i { position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: currentColor; transform-origin: left; }
.dim-label b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; color: #f6f2ec; font-variant-numeric: tabular-nums; }
.hero-sub { margin: 22px 0 0; max-width: 30em; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.8; color: rgba(246, 242, 236, .88); }
.hero-meta { text-align: right; font-size: 13px; line-height: 1.7; color: rgba(246, 242, 236, .78); }
.hero-meta .num { font-size: 22px; color: #f6f2ec; display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(246, 242, 236, .7); }
.hero-scroll i { width: 1px; height: 40px; background: rgba(246, 242, 236, .35); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: #f6f2ec; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }
@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .hero-inner .wrap { grid-template-columns: 1fr; }
  .hero-meta, .hero-scroll { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 18, 15, .4) 0%, rgba(20, 18, 15, .05) 22%, rgba(20, 18, 15, .45) 48%, rgba(20, 18, 15, .78) 100%); }
  .hero-sub br { display: none; }
  .hero-dim { max-width: none; }
}
/* 첫 화면 등장 순서: 사진이 가운데 틈에서 열림(1.4s) → 낱말이 차례로 올라옴 → 치수선이 그어지고 숫자가 맞춰짐 → 소개·버튼 → 빛이 한 번 지나감 */
html.motion-ready:not(.rm) .hero .hero-media { clip-path: inset(0 50% 0 50%); transform: scale(1.18); transition: clip-path 1.05s var(--door), transform 1.6s var(--ease); }
html.motion-ready:not(.rm) .hero.is-on .hero-media { clip-path: inset(0 0 0 0); transform: none; }
html.motion-ready:not(.rm) .hero::after { opacity: 0; transition: opacity .8s .35s; }
html.motion-ready:not(.rm) .hero.is-on::after { opacity: 1; }
html.motion-ready:not(.rm) .hero .hero-eyebrow, html.motion-ready:not(.rm) .hero .hero-sub, html.motion-ready:not(.rm) .hero .hero-actions > *, html.motion-ready:not(.rm) .hero .hero-meta, html.motion-ready:not(.rm) .hero .dim-label, html.motion-ready:not(.rm) .hero-scroll { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
html.motion-ready:not(.rm) .hero .eyebrow::before { transform: scaleX(0); }
html.motion-ready:not(.rm) .hero .dim-line i { transform: scaleX(0); transition: transform 1.2s var(--door); }
html.motion-ready:not(.rm) .hero .dim-line::after { opacity: 0; transition: opacity .2s 1.25s; }
html.motion-ready:not(.rm) .hero:not(.is-on) .hero-title .wi { transform: translateY(110%) !important; }
.hero.is-on .hero-title .wi { transition-delay: calc(.35s + var(--i) * 45ms) !important; transition-duration: .8s !important; }
.hero.is-on .hero-eyebrow { opacity: 1 !important; transform: none !important; transition-delay: .3s !important; }
.hero.is-on .eyebrow::before { transform: none; transition-delay: .35s; }
.hero.is-on .dim-line i { transform: none !important; transition-delay: .55s !important; transition-duration: .75s !important; }
.hero.is-on .dim-line::after { opacity: 1 !important; }
.hero.is-on .dim-label { opacity: 1 !important; transform: none !important; transition-delay: .65s !important; }
.hero.is-on .hero-sub { opacity: 1 !important; transform: none !important; transition-delay: .75s !important; }
.hero.is-on .hero-actions > * { opacity: 1 !important; transform: none !important; transition-delay: .85s !important; }
.hero.is-on .hero-actions > * + * { transition-delay: .92s !important; }
.hero.is-on .hero-meta, .hero.is-on ~ .hero-scroll, .hero.is-on .hero-scroll { opacity: 1 !important; transform: none !important; transition-delay: 1s !important; }
.hero.is-on .hero-scroll { transform: translateX(-50%) !important; }
html.motion-ready:not(.rm) .hero.is-on .hero-light { animation: light-pass 1.6s var(--ease) .6s 1 both; }
@keyframes light-pass { 0% { opacity: 0; transform: translateX(-60%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateX(60%); } }

.notice-line { border-bottom: 1px solid var(--line); }
.notice-line .wrap { display: flex; gap: 14px; align-items: baseline; font-size: 14px; padding-top: 14px; padding-bottom: 14px; color: var(--ink-2); }
.notice-line .dot { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); transform: translateY(-2px); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 106, 78, .45); } 50% { box-shadow: 0 0 0 6px rgba(139, 106, 78, 0); } }

/* ---------- 공통 등장 상태 ---------- */
html.motion-ready:not(.rm) [data-anim="fade"] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.motion-ready:not(.rm) [data-anim="fade"].is-in { opacity: 1; transform: none; }
html.motion-ready:not(.rm) .eyebrow[data-anim]::before { transform: scaleX(0); transition-delay: .2s; }
html.motion-ready:not(.rm) .eyebrow[data-anim].is-in::before { transform: none; }
/* 낱말이 틈에서 올라옴 */
[data-anim="words"] .w, [data-anim="light"] .w { display: inline-block; }
html.motion-ready:not(.rm) [data-anim="words"] .w { overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
html.motion-ready:not(.rm) [data-anim="words"] .wi { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease) calc(var(--i) * 45ms); }
html.motion-ready:not(.rm) [data-anim="words"].is-in .wi { transform: none; }
/* 볕이 드는 문장 */
html.motion-ready:not(.rm) [data-anim="light"] .wi { opacity: .16; transition: opacity .25s linear; }
/* 사진이 가운데 틈에서 열림 */
html.motion-ready:not(.rm) [data-anim="door"].frame, html.motion-ready:not(.rm) [data-anim="door"] .frame { clip-path: inset(0 50% 0 50%); transition: clip-path 1.35s var(--door); }
html.motion-ready:not(.rm) [data-anim="door"].is-in.frame, html.motion-ready:not(.rm) [data-anim="door"].is-in .frame { clip-path: inset(0 0 0 0); }
html.motion-ready:not(.rm) [data-anim="door"] .cap, html.motion-ready:not(.rm) [data-anim="door"] figcaption { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) .55s, transform .9s var(--ease) .55s; }
html.motion-ready:not(.rm) [data-anim="door"].is-in .cap, html.motion-ready:not(.rm) [data-anim="door"].is-in figcaption { opacity: 1; transform: none; }
/* 줄: 위 선이 그어지고 내용이 올라옴 */
[data-anim="row"] { position: relative; }
html.motion-ready:not(.rm) [data-anim="row"]::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); opacity: .5; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--door) calc(var(--i, 0) * 90ms), opacity 1.2s 1s; z-index: 1; }
html.motion-ready:not(.rm) [data-anim="row"].is-in::before { transform: scaleX(1); opacity: 0; }
html.motion-ready:not(.rm) [data-anim="row"] > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.15s + var(--i, 0) * 90ms); }
html.motion-ready:not(.rm) [data-anim="row"].is-in > * { opacity: 1; transform: none; }
html.motion-ready:not(.rm) a[data-anim="row"].work-row > .wr-img { opacity: 1; transform: none; }
/* 목록 자식이 차례로 */
html.motion-ready:not(.rm) [data-anim="rows"] > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.motion-ready:not(.rm) [data-anim="rows"].is-in > * { opacity: 1; transform: none; }
[data-anim="rows"].is-in > :nth-child(2) { transition-delay: .07s; } [data-anim="rows"].is-in > :nth-child(3) { transition-delay: .14s; } [data-anim="rows"].is-in > :nth-child(4) { transition-delay: .21s; } [data-anim="rows"].is-in > :nth-child(5) { transition-delay: .28s; } [data-anim="rows"].is-in > :nth-child(6) { transition-delay: .35s; } [data-anim="rows"].is-in > :nth-child(7) { transition-delay: .42s; } [data-anim="rows"].is-in > :nth-child(8) { transition-delay: .49s; } [data-anim="rows"].is-in > :nth-child(n+9) { transition-delay: .56s; }
/* 선이 그어짐 */
[data-anim="draw"] { display: block; position: relative; height: 1px; }
[data-anim="draw"] i { position: absolute; inset: 0; background: currentColor; transform-origin: left; }
html.motion-ready:not(.rm) [data-anim="draw"] i { transform: scaleX(0); transition: transform 1.6s var(--door); }
html.motion-ready:not(.rm) [data-anim="draw"].is-in i { transform: none; }
/* 글자가 하나씩 올라옴(꼬리말 큰 글자) */
[data-anim="letters"] { display: flex; justify-content: space-between; overflow: hidden; }
[data-anim="letters"] span { display: inline-block; }
html.motion-ready:not(.rm) [data-anim="letters"] span { transform: translateY(105%); transition: transform 1.2s var(--ease) calc(var(--i) * 70ms); }
html.motion-ready:not(.rm) [data-anim="letters"].is-in span { transform: none; }

/* 틀 안 사진 시차 */
.frame { overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 11vw, 180px) 0; }
.section--tight { padding: clamp(64px, 8vw, 120px) 0; }
.section--tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.section-head > :first-child { grid-column: 1 / span 8; }
.section-head > .aside { grid-column: 9 / -1; justify-self: end; text-align: right; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head > :first-child, .section-head > .aside { grid-column: auto; justify-self: start; text-align: left; } }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: clamp(64px, 8vw, 120px); }

/* intro */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.intro .col-a { grid-column: 1 / span 3; }
.intro .col-b { grid-column: 5 / -1; }
.intro-fig { margin: 0; aspect-ratio: 3 / 4; max-width: 300px; }
.intro .statement { font-size: clamp(24px, 2.9vw, 44px); font-weight: 300; line-height: 1.5; letter-spacing: -.035em; margin: 0; }
.facts { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 110px); }
.facts-rule { position: absolute !important; left: 0; right: 0; top: 0; color: var(--ink); opacity: .35; }
.fact { padding-top: 24px; }
.fact .num { display: block; font-size: clamp(44px, 4.8vw, 76px); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact .num small { font-family: var(--sans); font-style: normal; font-size: .3em; margin-left: 6px; color: var(--mute); }
.fact > span:last-child { display: block; margin-top: 14px; font-size: 14px; color: var(--mute); }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro .col-a, .intro .col-b { grid-column: auto; }
  .intro-fig { max-width: 46%; margin-bottom: 8px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .fact > span:last-child { margin: 0; text-align: right; }
}

/* ---------- before / after ---------- */
.ba { position: relative; overflow: hidden; background: #ccc; user-select: none; -webkit-user-select: none; touch-action: pan-y; aspect-ratio: 3 / 2; --pos: 50%; }
.ba.is-portrait { aspect-ratio: 2 / 3; max-width: 560px; margin: 0 auto; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: rgba(255, 255, 255, .95); pointer-events: none; box-shadow: 0 0 18px rgba(255, 240, 210, .6); }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(246, 242, 236, .95); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 10px; pointer-events: none; box-shadow: 0 8px 30px rgba(0, 0, 0, .2); transform: scale(.6); opacity: 0; transition: transform .6s var(--spring), opacity .4s; }
.ba .ba-knob i { width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.ba .ba-knob i + i { transform: rotate(-135deg); }
.ba.is-live .ba-knob, .ba.is-manual .ba-knob, .rm .ba .ba-knob { transform: none; opacity: 1; }
.ba:hover .ba-knob { transform: scale(1.08); }
.ba .ba-tag { position: absolute; bottom: 16px; padding: 6px 12px; font-size: 11.5px; letter-spacing: .14em; background: rgba(30, 28, 25, .62); color: #f6f2ec; pointer-events: none; }
.ba .ba-tag--before { left: 16px; } .ba .ba-tag--after { right: 16px; }
.ba-hint { position: absolute; left: var(--pos); top: calc(50% + 40px); transform: translateX(-50%); font-size: 12px; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .5s; pointer-events: none; white-space: nowrap; }
.ba.is-live:not(.is-manual) .ba-hint { opacity: 1; animation: hint 2.4s var(--ease) infinite; }
@keyframes hint { 0%, 100% { transform: translateX(-50%); } 50% { transform: translateX(calc(-50% + 10px)); } }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba input[type="range"]:focus-visible ~ .ba-knob { outline: 2px solid var(--clay); outline-offset: 3px; opacity: 1; transform: none; }

/* 대표 연출: 고정된 무대에서 스크롤로 공사가 진행됨 */
.ba-pin { position: relative; height: 220vh; background: var(--paper-2); }
.ba-pin-stage { position: sticky; top: calc(var(--bar) + var(--head)); height: calc(100vh - var(--bar) - var(--head)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.ba-pin-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.ba-pin-head { grid-column: 1 / span 4; }
.ba-pin .ba { grid-column: 5 / -1; max-height: calc(100vh - var(--bar) - var(--head) - 120px); width: 100%; justify-self: end; }
.ba-pin .ba { aspect-ratio: 3 / 2; height: auto; }
.ba-year { margin: 24px 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(56px, 7vw, 110px); line-height: .9; font-variant-numeric: tabular-nums; color: var(--clay); }
.ba-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ba-steps li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--mute); opacity: .4; transition: opacity .5s, color .5s, padding .5s var(--ease); }
.ba-steps li b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; margin-right: 10px; color: var(--ink); }
.ba-steps li.on { opacity: 1; color: var(--ink); padding-left: 12px; }
.ba-ruler { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; height: 10px; background: repeating-linear-gradient(90deg, rgba(30, 28, 25, .35) 0 1px, transparent 1px 2%); opacity: .5; }
.ba-ruler i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left; }
@media (max-width: 960px) {
  .ba-pin { height: 200vh; }
  .ba-pin-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-pin-head, .ba-pin .ba { grid-column: auto; }
  .ba-pin-head .title-xl { font-size: 26px; }
  .ba-year { font-size: 52px; margin: 10px 0 8px; }
  .ba-steps li { padding: 7px 0; font-size: 13px; }
  .ba-steps li:not(.on) { display: none; }
  .ba-pin-head .eyebrow { margin-bottom: 12px; }
  .ba-pin-head .mt-s { display: none; }
}

/* ---------- works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(56px, 6vw, 96px); }
.works-grid > .work-card:nth-of-type(6n+1) { grid-column: 1 / span 7; }
.works-grid > .work-card:nth-of-type(6n+2) { grid-column: 9 / span 4; margin-top: clamp(80px, 12vw, 200px); }
.works-grid > .work-card:nth-of-type(6n+3) { grid-column: 2 / span 5; }
.works-grid > .work-card:nth-of-type(6n+4) { grid-column: 7 / span 6; margin-top: clamp(40px, 6vw, 110px); }
.works-grid > .work-card:nth-of-type(6n+5) { grid-column: 1 / span 6; }
.works-grid > .work-card:nth-of-type(6n+6) { grid-column: 8 / span 5; margin-top: clamp(60px, 9vw, 160px); }
.work-card { display: block; }
.work-card .frame { aspect-ratio: 4 / 3; transition: clip-path .9s var(--door); }
.works-grid > .work-card:nth-of-type(6n+2) .frame, .works-grid > .work-card:nth-of-type(6n+5) .frame { aspect-ratio: 4 / 5; }
a.work-card:hover .frame { clip-path: inset(2.5% 2.5% 2.5% 2.5%) !important; }
.work-card .cap { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 18px; }
.work-card .cap .num { font-size: 20px; color: var(--mute); line-height: 1.3; }
.work-card .cap h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.03em; }
.work-card .cap .meta { grid-column: 2; font-size: 14px; color: var(--mute); margin: 0; display: flex; flex-wrap: wrap; gap: 0 10px; }
.work-card .cap .meta span { white-space: nowrap; }
.work-card .cap .meta span:not(:last-child)::after { content: "·"; margin-left: 10px; }
.work-card .dim { grid-column: 2; position: relative; height: 9px; margin-top: 10px; color: var(--clay); }
.work-card .dim::before, .work-card .dim::after { content: ""; position: absolute; top: 0; width: 1px; height: 9px; background: currentColor; transform: scaleY(0); transition: transform .3s .45s; }
.work-card .dim::before { left: 0; } .work-card .dim::after { right: 0; }
.work-card .dim i { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .7s var(--door); }
a.work-card:hover .dim i { transform: none; } a.work-card:hover .dim::before, a.work-card:hover .dim::after { transform: none; }
.work-card .cap .more { grid-column: 2; margin-top: 8px; font-size: 13.5px; display: inline-flex; gap: 10px; align-items: center; }
.work-card:not(a) .more, .work-card:not([href]) .more, .work-card .dim { }
.work-card:not([href]) .more, .work-card:not([href]) .dim { display: none; }
@media (max-width: 760px) {
  .works-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .works-grid > .work-card { grid-column: auto !important; margin-top: 0 !important; }
  .works-grid > .work-card:nth-of-type(odd) { width: 88%; }
  .works-grid > .work-card:nth-of-type(even) { width: 80%; justify-self: end; }
}

/* works list page */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; color: var(--ink-2); transition: background .35s, color .35s, border-color .35s, transform .3s var(--spring); }
.filter button:hover { border-color: var(--ink); transform: translateY(-2px); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.work-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--line); align-items: start; }
.work-row:last-of-type { border-bottom: 1px solid var(--line); }
.work-row .wr-img { grid-column: 1 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.work-row .wr-img figure { margin: 0; position: relative; aspect-ratio: 4 / 3; }
.work-row .wr-before { order: -1; }
.work-row .wr-before:has(img[hidden]) { display: none; }
.work-row .wr-img:has(.wr-before img[hidden]) { grid-template-columns: 1fr; }
.work-row .wr-img figcaption { position: absolute; left: 10px; top: 10px; font-size: 11px; letter-spacing: .14em; padding: 4px 8px; background: rgba(30, 28, 25, .6); color: #f6f2ec; z-index: 1; }
.work-row .wr-img:has(.wr-before img[hidden]) figcaption { display: none; }
.work-row .wr-img figure { transition: clip-path .9s var(--door); }
a.work-row[href]:hover .wr-img figure { clip-path: inset(3% 3% 3% 3%); }
.work-row .wr-body { grid-column: 8 / -1; }
.work-row .wr-body .num { font-size: 22px; color: var(--mute); }
.work-row .wr-body h3 { margin: 6px 0 16px; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 22px 0 0; font-size: 14.5px; }
.spec dt { color: var(--mute); }
.spec dd { margin: 0; }
.work-row .more { display: inline-flex; gap: 12px; align-items: center; margin-top: 26px; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.work-row:not([href]) .more { display: none; }
@media (max-width: 860px) { .work-row { grid-template-columns: 1fr; } .work-row .wr-img, .work-row .wr-body { grid-column: auto; } }

/* ---------- band: 공간이 열리는 사진 ---------- */
.band { position: relative; height: clamp(440px, 86vh, 920px); overflow: hidden; background: transparent; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.band .band-cap { position: absolute; left: 0; right: 0; bottom: 28px; color: #f6f2ec; font-size: 13px; letter-spacing: .04em; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.wide-img { margin: 0; overflow: hidden; }
.wide-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 760px) { .wide-img img { aspect-ratio: 4 / 3; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mq-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; }
.mq-track span { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 6vw, 96px); line-height: 1.1; padding: 0 .35em; color: var(--ink); }
.mq-track span:nth-of-type(3n+2) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.mq-track i { font-style: normal; color: var(--clay); font-size: clamp(20px, 2vw, 30px); }
.rm .mq-track { flex-wrap: wrap; white-space: normal; }

/* ---------- services ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 24px; padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: baseline; position: relative; isolation: isolate; }
.svc::after { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--door); }
.svc:hover::after { transform: scaleY(1); }
.svc .num { font-size: 22px; color: var(--mute); }
.svc h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; transition: transform .6s var(--ease); }
.svc:hover h3 { transform: translateX(10px); }
.svc p { margin: 0; color: var(--ink-2); }
.svc .price { text-align: right; font-size: 15px; white-space: nowrap; }
.svc .price b { display: block; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.svc .price span { color: var(--mute); font-size: 13px; }
@media (max-width: 860px) { .svc { grid-template-columns: 40px 1fr; gap: 10px 14px; } .svc p, .svc .price { grid-column: 2; } .svc .price { text-align: left; margin-top: 6px; white-space: normal; } }
.svc-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: clamp(56px, 7vw, 110px) 0; border-top: 1px solid var(--line); }
.svc-block > figure { margin: 0; grid-column: 1 / span 6; aspect-ratio: 4 / 3; }
.svc-block .body { grid-column: 8 / -1; }
.svc-block:nth-of-type(even) > figure { grid-column: 7 / -1; order: 2; }
.svc-block:nth-of-type(even) .body { grid-column: 1 / span 5; order: 1; }
.svc-block .body h2 { margin: 8px 0 22px; }
.svc-block .num { font-size: 22px; color: var(--mute); display: block; }
.svc-price b { font-size: 22px; font-weight: 500; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; justify-content: space-between; gap: 16px; }
.ticks li span:last-child { color: var(--mute); text-align: right; }
@media (max-width: 860px) { .svc-block { grid-template-columns: 1fr; } .svc-block > figure, .svc-block .body, .svc-block:nth-of-type(even) > figure, .svc-block:nth-of-type(even) .body { grid-column: auto; order: 0; } }

/* ---------- 가로로 흐르는 시공 과정 ---------- */
.hproc { position: relative; background: var(--night); color: var(--cream); }
.h-stage { padding: clamp(84px, 10vw, 150px) 0; }
.hproc.h-on .h-stage { position: sticky; top: calc(var(--bar) + var(--head)); height: calc(100vh - var(--bar) - var(--head)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0; gap: clamp(28px, 4vh, 56px); }
.h-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.h-head .eyebrow { color: rgba(239, 233, 223, .6); }
.h-side { display: grid; justify-items: end; gap: 14px; }
.h-day { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 4vw, 64px); line-height: 1; color: #d8b894; font-variant-numeric: tabular-nums; }
.h-track { list-style: none; margin: 0; display: flex; gap: 20px; padding: 0 var(--pad); will-change: transform; }
.h-card { flex: 0 0 clamp(280px, 25vw, 360px); border-top: 1px solid var(--night-line); padding: 26px 0 0; opacity: .38; transform: translateY(14px); transition: opacity .6s, transform .8s var(--ease), border-color .6s; }
.h-card.on { opacity: 1; transform: none; border-color: #d8b894; }
.h-card .num { font-size: 30px; color: #d8b894; display: block; margin-bottom: 18px; }
.h-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.h-card p { font-size: 14.5px; color: rgba(239, 233, 223, .72); margin: 0 0 14px; }
.h-card .dur { font-size: 13px; color: rgba(239, 233, 223, .5); }
.h-bar { height: 1px; background: var(--night-line); position: relative; }
.h-fill { position: absolute; inset: 0; background: #d8b894; transform: scaleX(0); transform-origin: left; }
.hproc:not(.h-on) .h-track { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
.hproc:not(.h-on) .h-card { opacity: 1; transform: none; padding: 22px 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
.hproc:not(.h-on) .h-card .num { grid-row: span 3; margin: 0; font-size: 24px; }
.hproc:not(.h-on) .h-bar, .hproc:not(.h-on) .h-day { display: none; }
@media (max-width: 860px) { .h-head { flex-direction: column; align-items: start; } .h-side { justify-items: start; } }

/* ---------- 해 질 녘 구역 ---------- */
.dusk { position: relative; padding: clamp(100px, 13vw, 220px) 0; color: var(--ink); transition: color .8s var(--ease); --dusk: 1; isolation: isolate; }
.dusk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 30%, #2c2722 0%, var(--night) 60%); opacity: var(--dusk); }
html.is-dusk .dusk, .rm .dusk, html:not(.motion-ready) .dusk { color: var(--cream); }
.dusk .eyebrow { color: currentColor; opacity: .6; }
.dusk .lead { color: inherit; opacity: .82; }
.dusk .spec dt { color: inherit; opacity: .55; }
.dusk-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.dusk-text { grid-column: 1 / span 4; position: relative; z-index: 2; padding-top: 4vw; }
.dusk-main { grid-column: 6 / -1; margin: 0; aspect-ratio: 3 / 2; }
.dusk-a { grid-column: 3 / span 4; margin: -6vw 0 0; aspect-ratio: 3 / 2; z-index: 1; position: relative; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.dusk-b { grid-column: 9 / span 3; margin: 6vw 0 0; aspect-ratio: 2 / 3; }
@media (max-width: 960px) {
  .dusk-grid { grid-template-columns: repeat(6, 1fr); }
  .dusk-text { grid-column: 1 / -1; padding: 0; }
  .dusk-main { grid-column: 1 / -1; }
  .dusk-a { grid-column: 1 / span 4; margin-top: -10vw; }
  .dusk-b { grid-column: 4 / -1; margin-top: -4vw; }
}

/* ---------- quotes ---------- */
.quote-main { margin: 0 0 clamp(56px, 7vw, 100px); max-width: 1000px; }
.quote-main blockquote { margin: 0; font-size: clamp(24px, 2.6vw, 40px); font-weight: 300; line-height: 1.55; letter-spacing: -.03em; }
.quote-main blockquote::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 84px; line-height: .6; color: var(--clay); margin-bottom: 18px; }
.quote-main cite { display: block; margin-top: 26px; font-style: normal; font-size: 14px; color: var(--mute); }
.q-marquee { overflow: hidden; }
.q-track { display: inline-flex; gap: 20px; padding: 0 10px; will-change: transform; }
.q-track blockquote { flex: 0 0 380px; margin: 0; padding: 28px; background: var(--paper-2); border-radius: 2px; white-space: normal; display: grid; align-content: space-between; gap: 22px; transition: background .4s, transform .5s var(--ease); }
.q-track blockquote:hover { background: var(--ink); color: var(--paper); transform: translateY(-6px); }
.q-track p { margin: 0; font-size: 15.5px; line-height: 1.8; }
.q-track cite { font-style: normal; font-size: 13px; opacity: .65; }
@media (max-width: 640px) { .q-track blockquote { flex-basis: 290px; padding: 22px; } }
.rm .q-track { flex-wrap: wrap; }

/* ---------- news ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 140px 110px minmax(0, 1fr) 40px; gap: 4px 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; isolation: isolate; }
.news-item::after { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--door); }
.news-item:hover::after { transform: scaleY(1); }
.news-item h3 { font-size: clamp(17px, 1.4vw, 21px); font-weight: 450; transition: transform .55s var(--ease); }
.news-item:hover h3 { transform: translateX(8px); }
.news-item time { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.news-item .cat { font-size: 13px; color: var(--clay); }
.news-item p { grid-column: 3; margin: 6px 0 0; font-size: 14.5px; color: var(--mute); }
.news-item .arr-wrap { justify-self: end; }
@media (max-width: 760px) { .news-item { grid-template-columns: auto 1fr; gap: 6px 14px; } .news-item h3, .news-item p { grid-column: 1 / -1; } .news-item .arr-wrap { display: none; } }
.news-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); align-items: end; }
.news-feature figure { grid-column: 1 / span 7; margin: 0; aspect-ratio: 16 / 10; }
.news-feature .body { grid-column: 9 / -1; }
.news-feature .body h2 { margin: 12px 0 18px; }
.news-feature .cat { color: var(--clay); }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } .news-feature figure, .news-feature .body { grid-column: auto; } }
.empty-note { display: none; color: var(--mute); padding: 40px 0; }
[data-list="news"][data-karis-empty] ~ .empty-note { display: block; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #f6f2ec; background: #2b2824; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; will-change: transform; }
.cta .wrap { position: relative; padding-top: clamp(110px, 13vw, 200px); padding-bottom: clamp(110px, 13vw, 200px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.cta .cta-text { grid-column: 1 / span 7; }
.cta .cta-act { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
.cta .eyebrow { color: rgba(246, 242, 236, .75); }
.cta .tel { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 3.2vw, 48px); letter-spacing: .01em; line-height: 1; position: relative; }
.cta .tel::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--door); }
.cta .tel:hover::after { transform: scaleX(1); transform-origin: left; }
.cta .small { color: rgba(246, 242, 236, .75); }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta .cta-text, .cta .cta-act { grid-column: auto; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(239, 233, 223, .74); font-size: 14px; padding: clamp(64px, 7vw, 100px) 0 36px; overflow: hidden; }
.site-footer .top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-bottom: 40px; }
.site-footer .f-brand { grid-column: 1 / span 3; color: #efe9df; }
.site-footer .f-brand .brand-ko { font-size: 26px; }
.site-footer .f-brand p { margin-top: 18px; color: rgba(239, 233, 223, .62); max-width: 22em; }
.site-footer .f-col { grid-column: span 2; } .site-footer .f-col.hours { grid-column: span 3; } .site-footer .f-col.wide { grid-column: span 4; }
.site-footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 233, 223, .45); margin-bottom: 16px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { transition: color .3s; } .site-footer a:hover { color: #fff; }
.f-word { margin: 0; font-family: var(--serif); font-size: clamp(64px, 17.5vw, 300px); line-height: .82; letter-spacing: -.02em; color: rgba(239, 233, 223, .09); padding-top: 10px; border-top: 1px solid var(--night-line); }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; font-size: 13px; color: rgba(239, 233, 223, .5); }
@media (max-width: 960px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .f-brand, .site-footer .f-col.wide { grid-column: 1 / -1; } .site-footer .f-col, .site-footer .f-col.hours { grid-column: span 1; } }

/* ---------- page head ---------- */
.page-head { padding: calc(var(--head) + clamp(64px, 9vw, 150px)) 0 clamp(48px, 6vw, 96px); }
.page-head .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.page-head h1 { grid-column: 1 / span 7; }
.page-head .lead { grid-column: 9 / -1; margin: 0; }
.ph-dim { margin-top: clamp(40px, 5vw, 72px); color: var(--ink); opacity: .3; }
@media (max-width: 960px) { .page-head .grid { grid-template-columns: 1fr; } .page-head h1, .page-head .lead { grid-column: auto; } .page-head .lead { margin-top: 12px; } }
.crumb { font-size: 13px; color: var(--mute); margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumb a { transition: color .3s; } .crumb a:hover { color: var(--ink); }

/* about */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.split .s-a { grid-column: 1 / span 5; }
.split .s-b { grid-column: 7 / -1; }
.split .s-a.sticky { position: sticky; top: calc(var(--bar) + var(--head) + 40px); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split .s-a, .split .s-b { grid-column: auto; } .split .s-a.sticky { position: static; } }
.principles { border-top: 1px solid var(--line); }
.principle { padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; }
.principle .num { font-size: 24px; color: var(--clay); grid-row: span 2; }
.principle h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; }
.principle p { margin: 0; color: var(--ink-2); }
.history { list-style: none; padding: 0 0 0 28px; margin: 0; position: relative; --p: 0; }
.history::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.history::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--clay); transform: scaleY(var(--p)); transform-origin: top; }
.rm .history::after { transform: none; }
.history li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.history .num { font-size: 24px; line-height: 1.3; color: var(--clay); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); }
.team > div { padding-top: 24px; }
.team .role { font-size: 13px; color: var(--clay); margin-bottom: 6px; }
.team h3 { font-size: 21px; font-weight: 500; margin-bottom: 12px; }
.team p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; gap: 0; } .team > div { padding: 24px 0; border-bottom: 1px solid var(--line); } }
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.duo figure { margin: 0; }
.duo figure:first-child { grid-column: 1 / span 7; }
.duo figure:last-child { grid-column: 9 / -1; margin-top: clamp(60px, 10vw, 180px); }
.duo .frame img { aspect-ratio: inherit; }
.duo figure:first-child .frame { aspect-ratio: 3 / 2; } .duo figure:last-child .frame { aspect-ratio: 4 / 5; }
.duo figcaption { margin-top: 12px; font-size: 13px; color: var(--mute); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo figure:first-child, .duo figure:last-child { grid-column: auto; margin-top: 0; } }

/* work detail */
.case-detail { transition: background .8s, color .8s; }
.case-detail.is-dark { background: var(--night); color: var(--cream); }
.case-detail.is-dark .spec dt, .case-detail.is-dark .small, .case-detail.is-dark .crumb, .case-detail.is-dark .eyebrow { color: rgba(239, 233, 223, .6); }
.case-detail.is-dark .tags li { border-color: var(--night-line); color: var(--cream); }
.case-detail.is-dark .lead { color: rgba(239, 233, 223, .85); }
.case-head { padding: calc(var(--head) + clamp(48px, 6vw, 96px)) 0 clamp(36px, 4vw, 64px); }
.case-head .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.case-head h1 { grid-column: 1 / span 8; }
.case-head .spec { grid-column: 9 / -1; margin: 0; }
@media (max-width: 960px) { .case-head .grid { grid-template-columns: 1fr; } .case-head h1, .case-head .spec { grid-column: auto; } }
html.motion-ready:not(.rm) .case-head .crumb, html.motion-ready:not(.rm) .case-head .eyebrow, html.motion-ready:not(.rm) .case-title, html.motion-ready:not(.rm) .case-spec > * { animation: rise 1s var(--ease) both; }
html.motion-ready:not(.rm) .case-title { animation-delay: .25s; }
html.motion-ready:not(.rm) .case-spec > :nth-child(n) { animation-delay: .45s; }
html.motion-ready:not(.rm) .case-spec > :nth-child(n+3) { animation-delay: .52s; } html.motion-ready:not(.rm) .case-spec > :nth-child(n+5) { animation-delay: .59s; } html.motion-ready:not(.rm) .case-spec > :nth-child(n+7) { animation-delay: .66s; } html.motion-ready:not(.rm) .case-spec > :nth-child(n+9) { animation-delay: .73s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.case-media .single { display: none; margin: 0; }
.case-media .single img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.case-media.no-before .ba, .case-media.no-before .ba-note { display: none; }
.case-media.no-before .single { display: block; }
.case-media:has(.ba > img:first-child[hidden]) .ba, .case-media:has(.ba > img:first-child[hidden]) .ba-note { display: none; }
.case-media:has(.ba > img:first-child[hidden]) .single { display: block; }
.case-media[data-portrait="1"] .ba { aspect-ratio: 2 / 3; max-width: 560px; margin: 0 auto; }
.case-media[data-portrait="1"] .ba-note { text-align: center; }
html.motion-ready:not(.rm) .case-media { animation: rise 1.1s var(--ease) .5s both; }
.case-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.case-body .c-a { grid-column: 1 / span 4; }
.case-body .c-b { grid-column: 6 / -1; }
.case-body h2 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; margin-bottom: 18px; }
.case-body .scope-h { font-size: 15px; color: var(--mute); font-weight: 500; }
.case-body .block { margin-bottom: 56px; }
.case-quote { margin: 0; font-size: clamp(19px, 1.6vw, 23px); font-weight: 300; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); transition: background .3s, color .3s; }
.tags li:hover { background: var(--ink); color: var(--paper); }
html.motion-ready:not(.rm) .tags li { animation: pop .6s var(--spring) both; animation-delay: calc(.8s + var(--i, 0) * 50ms); }
@keyframes pop { from { opacity: 0; transform: scale(.8) translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .case-body { grid-template-columns: 1fr; } .case-body .c-a, .case-body .c-b { grid-column: auto; } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery .frame { aspect-ratio: 4 / 3; }
.gallery[data-n="1"] figure { grid-column: 1 / -1; }
.gallery[data-n="1"] .frame { aspect-ratio: 16 / 10; }
.gallery figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.case-detail.is-dark .gallery figcaption { color: rgba(239, 233, 223, .6); }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.case-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(48px, 6vw, 80px); }
.case-nav a { padding: 34px 0; display: grid; gap: 6px; transition: padding .5s var(--ease); }
.case-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.case-nav a:hover { padding-left: 14px; } .case-nav a + a:hover { padding-right: 14px; padding-left: 24px; }
.case-nav span { font-size: 13px; color: var(--mute); }
.case-nav b { font-weight: 400; font-size: clamp(16px, 1.5vw, 20px); }

/* news post */
.post-head { padding: calc(var(--head) + clamp(56px, 7vw, 120px)) 0 40px; }
.post-head .meta { display: flex; gap: 16px; font-size: 14px; color: var(--mute); margin-bottom: 20px; }
.post-head .meta .cat { color: var(--clay); }
.post-head h1 { max-width: 20em; }
html.motion-ready:not(.rm) .post-head > .wrap > * { animation: rise 1s var(--ease) both; }
html.motion-ready:not(.rm) .post-head h1 { animation-delay: .2s; }
.post-body { max-width: 720px; margin: 0 auto; padding: 0 var(--pad) clamp(60px, 7vw, 100px); font-size: 17px; line-height: 1.95; color: var(--ink-2); }
.post-text p { margin: 0 0 1.4em; }
.post-hero { margin: 0 0 clamp(48px, 6vw, 80px); }
.post-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.post-foot { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(80px, 9vw, 140px); }
.post-foot .back { max-width: 720px; margin: 0 auto 56px; padding-top: 28px; border-top: 1px solid var(--line); }

/* tables, timeline, cols */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.price-table th, .price-table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font-size: 13px; color: var(--mute); font-weight: 500; border-bottom: 1px solid var(--ink); }
.price-table tbody th { font-weight: 500; }
.price-table td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table tbody tr { transition: background .3s; } .price-table tbody tr:hover { background: var(--paper-2); }
html.motion-ready:not(.rm) .price-table tr[data-anim="row"]::before { display: none; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; --p: 0; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--clay); transform: scaleY(var(--p)); transform-origin: top; }
.rm .timeline::after { transform: none; }
.timeline li { display: grid; grid-template-columns: 70px minmax(0, 3fr) minmax(0, 6fr) 110px; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline .num { font-size: 26px; color: var(--clay); }
.timeline h3 { font-size: 20px; font-weight: 500; }
.timeline p { margin: 0; color: var(--ink-2); }
.timeline .dur { text-align: right; font-size: 14px; color: var(--mute); }
@media (max-width: 860px) { .timeline li { grid-template-columns: 44px 1fr; gap: 8px 14px; } .timeline p, .timeline .dur { grid-column: 2; text-align: left; } }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); }
.cols3 > div { padding-top: 24px; }
.cols3 h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.cols3 p { color: var(--ink-2); font-size: 15px; }
.cols3 .roman { font-size: 26px; color: var(--clay); margin-bottom: 8px; }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; gap: 0; } .cols3 > div { padding: 22px 0; border-bottom: 1px solid var(--line); } }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; gap: 32px; } }
.list-plain { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list-plain li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.steps3 { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps3 li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.steps3 .num { color: var(--clay); font-size: 18px; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 28px; gap: 16px; padding: 28px 0; align-items: baseline; font-size: clamp(17px, 1.45vw, 21px); letter-spacing: -.025em; transition: padding .5s var(--ease), color .3s; }
.faq summary:hover { padding-left: 8px; color: var(--clay); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .num { font-size: 20px; color: var(--mute); }
.faq summary .pm { position: relative; width: 16px; height: 16px; justify-self: end; align-self: center; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 16px; height: 1px; background: currentColor; transition: transform .45s var(--door); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details.is-open .pm::before { transform: rotate(180deg); }
.faq .a { overflow: hidden; transition: height .42s var(--ease); }
.faq .a p { padding: 0 44px 32px 72px; margin: 0; color: var(--ink-2); max-width: 900px; }
@media (max-width: 640px) { .faq summary { grid-template-columns: 36px 1fr 20px; } .faq .a p { padding: 0 0 26px 52px; } }
.faq-groups { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.faq-groups .fg-a { grid-column: 1 / span 3; }
.faq-groups .fg-b { grid-column: 4 / -1; }
.faq-groups .fg-a h2 { font-size: 20px; font-weight: 500; position: sticky; top: calc(var(--bar) + var(--head) + 30px); }
@media (max-width: 960px) { .faq-groups { grid-template-columns: 1fr; } .faq-groups .fg-a, .faq-groups .fg-b { grid-column: auto; } }

/* location */
.map { position: relative; background: #e4ded3; aspect-ratio: 16 / 10; overflow: hidden; }
.map svg { width: 100%; height: 100%; display: block; }
.map-route { stroke-dasharray: 1; stroke-dashoffset: 0; }
html.motion-ready:not(.rm) [data-anim="map"] .map-route { stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--door) .3s; }
html.motion-ready:not(.rm) [data-anim="map"].is-in .map-route { stroke-dashoffset: 0; }
html.motion-ready:not(.rm) [data-anim="map"] .map-pin { transform: translateY(-40px); opacity: 0; transform-box: fill-box; transform-origin: center; transition: transform .8s var(--spring) 2.1s, opacity .3s 2.1s; }
html.motion-ready:not(.rm) [data-anim="map"].is-in .map-pin { transform: none; opacity: 1; }
.map-pin circle:first-child { animation: ping 2.4s infinite 3s; transform-box: fill-box; transform-origin: center; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.info-dl { display: grid; grid-template-columns: 110px 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.info-dl dt, .info-dl dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-dl dt { color: var(--mute); font-size: 14px; padding-top: 18px; }

/* form (작은 반응: 밑줄이 그어지고, 틀리면 흔들림) */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; }
.field label, .field .label { display: block; font-size: 13.5px; color: var(--mute); margin-bottom: 8px; transition: color .3s; }
.field label b { color: var(--clay); font-weight: 400; }
.field .opt { font-size: 12px; }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(30, 28, 25, .3); background: transparent; padding: 10px 0 12px; font-size: 17px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field .ul { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--door); pointer-events: none; }
.field textarea ~ .ul { bottom: 6px; }
.field:focus-within .ul { transform: scaleX(1); }
.field:focus-within label { color: var(--ink); }
.field.has-value label { color: var(--ink-2); }
.field input::placeholder, .field textarea::placeholder { color: #9a9286; }
.field.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; width: auto; }
.chips span { display: inline-block; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--spring); }
.chips span:hover { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.agree input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 5px; accent-color: var(--ink); }
.form-done { display: none; padding: 28px 0; border-top: 1px solid var(--ink); }
.form.is-done { display: none; }
.form.is-done + .form-done { display: block; animation: rise .8s var(--ease) both; }
.done-mark { width: 48px; height: 48px; margin-bottom: 18px; fill: none; stroke: var(--clay); stroke-width: 1.5; }
.done-mark circle, .done-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--door) .2s forwards; }
.done-mark path { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 2147480000; pointer-events: none; }
.cursor-label { position: absolute; left: 0; top: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; letter-spacing: .02em; transform: scale(0); transition: transform .45s var(--spring); }
.cursor-img { position: absolute; left: 24px; top: -70px; width: 200px; height: 136px; overflow: hidden; clip-path: inset(50% 50% 50% 50%); transition: clip-path .55s var(--door); }
.cursor-img img { width: 100%; height: 100%; object-fit: cover; }
.cursor.on .cursor-label { transform: scale(1); }
.cursor.on.has-img .cursor-label { transform: scale(.7); }
.cursor.on.has-img .cursor-img { clip-path: inset(0 0 0 0); }

/* ---------- misc ---------- */
.karis-link-off { cursor: default; }
a.karis-link-off:hover .frame, .work-row.karis-link-off:hover .wr-img figure { clip-path: inset(0) !important; }
.news-item.karis-link-off:hover::after { transform: scaleY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .door, .loader, .cursor { display: none !important; }
}
body:has(.case-detail.is-dark) { background: var(--night); }
body:has(.case-detail.is-dark) .site-header:not(.is-over) { background: rgba(31, 29, 26, .92); color: var(--cream); border-color: var(--night-line); }
body:has(.case-detail.is-dark) .case-nav, body:has(.case-detail.is-dark) .case-nav + p { color: var(--cream); }
body:has(.case-detail.is-dark) .case-nav, body:has(.case-detail.is-dark) .case-nav a + a { border-color: var(--night-line); }
/* 움직임 줄이기: 고정 구간을 풀어 일반 구역처럼 */
.rm .ba-pin { height: auto; }
.rm .ba-pin-stage { position: static; height: auto; padding: clamp(80px, 10vw, 140px) 0; }
.rm .ba-ruler { display: none; }
.post-text h2 { font-size: 22px; font-weight: 500; color: var(--ink); margin: 2.2em 0 .8em; }
.post-text ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.post-text li { margin: .3em 0; }
.ba-sub { display: block; font-size: .46em; line-height: 1.5; letter-spacing: -.02em; opacity: .66; margin-top: .55em; font-weight: 400; }
@media (max-width: 420px) { .hero-title { font-size: 29px; } }
