@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&display=swap");

:root {
  --bg: #f5f2ed;
  --paper: #fbfaf7;
  --ink: #1c1a18;
  --sub: #6f6a63;
  --line: #ddd7ce;
  --accent: #8b7b67;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.75; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; word-break: keep-all; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 17px; letter-spacing: .02em; }

/* 헤더 */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 21px; letter-spacing: .32em; font-weight: 500; }
.nav { display: flex; gap: 34px; font-size: 13px; letter-spacing: .14em; }
.nav a { opacity: .85; position: relative; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; }
.hd .book { font-size: 12px; letter-spacing: .14em; border: 1px solid currentColor; padding: 9px 18px; }
.hd.light { color: #fff; }
.hd.solid, .hd.light.solid { background: rgba(245, 242, 237, .94); backdrop-filter: blur(10px); color: var(--ink); border-color: var(--line); }
.burger { display: none; background: none; border: 0; color: inherit; width: 32px; height: 32px; cursor: pointer; }
.burger span { display: block; height: 1px; background: currentColor; margin: 7px 4px; }

/* 모바일 메뉴 */
.drawer { position: fixed; inset: 0; background: var(--bg); z-index: 60; display: flex; flex-direction: column; justify-content: center; padding: 0 36px; transform: translateY(-100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.drawer.open { transform: none; }
.drawer a { font-family: var(--serif); font-size: 38px; line-height: 1.6; }
.drawer a small { font-family: var(--sans); font-size: 13px; color: var(--sub); margin-left: 12px; letter-spacing: 0; }
.drawer .x { position: absolute; top: 20px; right: 24px; font-size: 30px; background: none; border: 0; cursor: pointer; }

/* 히어로 */
.hero { position: relative; height: 100svh; min-height: 560px; display: grid; grid-template-columns: repeat(3, 1fr); background: #111; overflow: hidden; }
.hero .col { position: relative; overflow: hidden; }
.hero .col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s ease; }
.hero .col img.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 2; color: #fff; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: 1; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; }
.hero p { margin-top: 18px; font-size: 15px; opacity: .9; }
.hero .scroll { position: absolute; right: 28px; bottom: 64px; z-index: 2; color: #fff; font-size: 11px; letter-spacing: .3em; writing-mode: vertical-rl; opacity: .8; }

/* 섹션 공통 */
section { padding: 140px 0; }
.sec-hd { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.sec-hd h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.sec-hd h2 + p, .sec-hd .ko { color: var(--sub); margin-top: 10px; }
.more { font-size: 12px; letter-spacing: .16em; border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 소개 */
.intro { display: grid; grid-template-columns: 5fr 6fr; gap: 90px; align-items: center; }
.intro .ph { aspect-ratio: 4/5; overflow: hidden; }
.intro .ph img { width: 100%; height: 100%; object-fit: cover; }
.intro h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.45; letter-spacing: -.03em; margin: 18px 0 30px; }
.intro p { color: var(--sub); margin-bottom: 14px; }
.stats { display: flex; gap: 48px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-size: 44px; font-weight: 400; line-height: 1; }
.stats span { font-size: 13px; color: var(--sub); }

/* 카테고리 카드 */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #ccc; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); }
.cat .t { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; }
.cat .t b { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.cat .t span { font-size: 13px; opacity: .85; }
.cat.wide { grid-column: span 2; aspect-ratio: auto; }

/* 상품 */
.dark { background: #1d1b19; color: #f1ede6; }
.dark .sec-hd h2 + p, .dark .sub { color: #a9a197; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #3b3733; }
.plan { padding: 44px 36px 40px 0; border-right: 1px solid #3b3733; }
.plan + .plan { padding-left: 36px; }
.plan:last-child { border-right: 0; }
.plan .en { font-family: var(--serif); font-size: 32px; }
.plan .ko { color: #a9a197; font-size: 13px; }
.plan ul { list-style: none; margin: 30px 0 26px; }
.plan li { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid #2f2c29; }
.plan li span { color: #a9a197; font-size: 13px; }
.plan li b { font-weight: 500; font-size: 16px; text-align: right; }
.plan li b small, .pblock td small { display: block; font-size: 11.5px; font-weight: 400; color: #8d867d; }
.pblock td:last-child small { color: var(--accent); }
.plan .note { color: #8d867d; font-size: 12.5px; }

/* 진행 순서 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 32px 28px 0 0; border-top: 1px solid var(--ink); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 15px; color: var(--accent); }
.step h3 { font-size: 18px; font-weight: 600; margin: 14px 0 10px; }
.step p { color: var(--sub); font-size: 14px; }

/* 오시는 길 */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.visit .ph img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.visit dl { display: grid; grid-template-columns: 90px 1fr; row-gap: 18px; margin-top: 8px; }
.visit dt { font-size: 12px; letter-spacing: .14em; color: var(--accent); padding-top: 3px; }
.visit dd { color: var(--ink); }
.visit dd small { display: block; color: var(--sub); font-size: 13px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font-size: 13px; letter-spacing: .08em; border: 1px solid var(--ink); transition: background .3s, color .3s; }
.btn.fill, .btn:hover { background: var(--ink); color: var(--bg); }
.btn.fill:hover { background: transparent; color: var(--ink); }
.dark .btn { border-color: #f1ede6; }
.dark .btn.fill, .dark .btn:hover { background: #f1ede6; color: #1d1b19; }

/* CTA */
.cta { position: relative; padding: 170px 0; text-align: center; color: #fff; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.5); }
.cta .wrap { position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; }
.cta p { margin: 20px 0 40px; opacity: .85; }
.cta .btn { border-color: #fff; color: #fff; }
.cta .btn.fill { background: #fff; color: var(--ink); }

/* 푸터 */
.ft { padding: 70px 0 50px; font-size: 12.5px; color: var(--sub); border-top: 1px solid var(--line); }
.ft .row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.ft .logo { color: var(--ink); font-size: 18px; margin-bottom: 14px; display: block; }
.ft a:hover { color: var(--ink); }
.ft .links { display: flex; gap: 20px; margin-top: 30px; }

/* 하위 페이지 */
.page-hd { padding: 170px 0 60px; }
.page-hd h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 8vw, 110px); line-height: 1; }
.page-hd p { color: var(--sub); margin-top: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; position: sticky; top: 72px; z-index: 10; padding: 14px 0; background: var(--bg); }
.filters button { font: inherit; font-size: 13px; background: none; border: 1px solid var(--line); padding: 8px 18px; border-radius: 99px; cursor: pointer; color: var(--sub); transition: all .25s; }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters button sup { font-size: 10px; margin-left: 3px; opacity: .7; }
.masonry { columns: 4 260px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; background: #e7e2da; }
.masonry img { width: 100%; height: auto; transition: transform .8s ease, opacity .6s; opacity: 0; }
.masonry img.ok { opacity: 1; }
.masonry a:hover img { transform: scale(1.03); }

/* 사진 크게 보기 */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(15, 14, 13, .96); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; padding: 20px; opacity: .8; }
.lb .x { top: 6px; right: 10px; }
.lb .p { left: 6px; top: 50%; transform: translateY(-50%); }
.lb .n { right: 6px; top: 50%; transform: translateY(-50%); }
.lb .c { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 12px; letter-spacing: .2em; }

/* 가격 페이지 표 */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 80px; }
.pblock h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; }
.pblock h3 small { font-family: var(--sans); font-size: 13px; color: var(--sub); margin-left: 10px; }
.pblock table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.pblock td { padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pblock td:last-child { text-align: right; white-space: nowrap; font-weight: 500; }
.pblock td small { display: block; color: var(--sub); font-size: 12.5px; font-weight: 400; }
.pblock .desc { color: var(--sub); font-size: 14px; margin-top: 12px; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.notes h4 { font-size: 15px; font-weight: 600; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.notes li { list-style: none; color: var(--sub); font-size: 14px; padding: 7px 0 7px 14px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 1px; background: var(--accent); }

/* 하단 고정 예약 버튼 (모바일) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fab-btn { font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 13px 20px; border: 0; border-radius: 99px; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.fab.open .fab-menu { opacity: 1; transform: none; pointer-events: auto; }
.fab-menu a { font-size: 13.5px; font-weight: 600; padding: 12px 20px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.fab-menu a.kakao { background: #fee500; color: #191919; }
.fab-menu a.insta { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; }

@media (max-width: 900px) {
  body { font-size: 14.5px; }
  .nav, .hd .book { display: none; }
  .burger { display: block; }
  .hd .wrap { height: 60px; }
  .logo { font-size: 17px; }
  .wrap { padding: 0 20px; }
  section { padding: 90px 0; }
  .hero { grid-template-columns: 1fr; }
  .hero .col:not(:first-child) { display: none; }
  .hero .copy { bottom: 110px; }
  .hero .scroll { display: none; }
  .intro, .visit, .price-grid { grid-template-columns: 1fr; gap: 44px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat .t b { font-size: 24px; }
  .plans, .steps, .notes { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 34px 0; border-right: 0; border-bottom: 1px solid #3b3733; }
  .step { padding: 24px 0 28px; }
  .sec-hd { flex-direction: column; align-items: start; margin-bottom: 36px; }
  .stats { gap: 28px; }
  .page-hd { padding: 120px 0 36px; }
  .filters { top: 60px; flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 24px; padding: 12px 20px; scrollbar-width: none; }
  .filters button { white-space: nowrap; }
  .masonry { columns: 2; column-gap: 6px; }
  .masonry a { margin-bottom: 6px; }
  .fab { right: 14px; bottom: 14px; }
  .ft { padding-bottom: 80px; }
}

/* 오시는 길 사진 위 위치 표시 */
.pinmap { position: relative; }
.pinmap img { width: 100%; height: auto; display: block; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.pin b { background: rgba(24, 22, 20, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-weight: 500; font-size: 12.5px; letter-spacing: .06em; padding: 8px 13px 7px; white-space: nowrap; text-align: center; line-height: 1.25; }
.pin b em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: 14px; opacity: .75; margin-left: 3px; }
.pin b small { display: block; font-size: 10.5px; letter-spacing: .04em; opacity: .7; font-weight: 400; margin-top: 2px; }
.pin i { width: 1px; height: 22px; background: rgba(255, 255, 255, .9); position: relative; }
.pin i::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.pin.down { transform: translate(-50%, 0); flex-direction: column-reverse; }
.pin.down i::after { bottom: auto; top: -4px; }
@media (max-width: 900px) { .pin b { font-size: 10.5px; padding: 5px 8px 4px; } .pin b em { font-size: 11.5px; } .pin b small { display: none; } .pin i { height: 12px; } }

/* 포트폴리오 레이아웃 — 앱 「홈페이지」에서 카테고리마다 PC·폰 따로 고른다 (2026-11-23) */
.masonry.hp-masonry { columns: var(--cols, 4); }
.masonry.hp-grid34, .masonry.hp-square, .masonry.hp-feature { columns: auto; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 12px; }
.masonry.hp-grid34 a, .masonry.hp-square a, .masonry.hp-feature a { margin: 0; }
.masonry.hp-grid34 a, .masonry.hp-feature a { aspect-ratio: 3/4; }
.masonry.hp-square a { aspect-ratio: 1/1; }
.masonry.hp-grid34 img, .masonry.hp-square img, .masonry.hp-feature img { width: 100%; height: 100%; object-fit: cover; }
.masonry.hp-feature a:first-child { grid-column: span 2; grid-row: span 2; }
.masonry.hp-slide { columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.masonry.hp-slide a { flex: 0 0 calc((100% - (var(--cols, 3) - 1) * 12px) / var(--cols, 3)); margin: 0; scroll-snap-align: start; }
.masonry.hp-single { columns: auto; max-width: 760px; margin: 0 auto; }
.masonry.hp-single a { margin-bottom: 18px; }
@media (max-width: 900px) {
  .masonry.hp-masonry { columns: var(--cols, 2); }
  .masonry.hp-grid34, .masonry.hp-square, .masonry.hp-feature { gap: 6px; }
  .masonry.hp-slide { gap: 6px; }
  .masonry.hp-slide a { flex-basis: calc((100% - (var(--cols, 1) - 1) * 6px) / var(--cols, 1)); }
  .masonry.hp-single a { margin-bottom: 8px; }
}
.masonry.hp-feature.c1 a:first-child { grid-column: auto; grid-row: auto; }

/* 이벤트 팝업 — 앱 「홈페이지」 탭 (site.js applySettings, 2026-11-23) */
.hp-pop { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity .25s; }
.hp-pop.open { opacity: 1; }
.hp-pop .box { width: 100%; max-width: 380px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.hp-pop .in { padding: 30px 28px 26px; text-align: center; }
.hp-pop .eb { font-size: 11px; letter-spacing: .25em; color: #9a8f80; margin: 0 0 10px; }
.hp-pop h3 { font-size: 21px; line-height: 1.4; font-weight: 600; margin: 0 0 10px; }
.hp-pop .bd { font-size: 14px; line-height: 1.65; color: #4a4640; margin: 0; }
.hp-pop .bt { display: flex; border-top: 1px solid var(--line); }
.hp-pop .bt button { flex: 1; font: inherit; font-size: 13.5px; padding: 14px; background: none; border: 0; cursor: pointer; color: #8a8378; }
.hp-pop .bt button + button { border-left: 1px solid var(--line); color: var(--ink); font-weight: 700; }
