/* 템플릿 공통 뼈대 — 동작에 딸린 CSS 만. 생김새는 한 줄도 없다.
 *
 * 여기에 있는 것: 무JS 완성본을 만드는 분기, 접근성 최소선(초점 테두리·44px 터치),
 * 가로 넘침을 막는 장치, 모션 끔 대비, 서랍·토스트의 기계 장치.
 * 여기에 **없어야 하는 것**: 색·활자·간격·배치·그림자·모서리. 그건 벌마다 달라야 한다
 * (원자료 프롬프트가 「섹션 순서·이미지 비율을 다른 벌에서 복제 금지」를 명시한다).
 *
 * 쓰는 법: 벌의 styles.css 맨 위에 이 내용을 붙이고, 그 아래에 그 벌의 디자인을 쓴다.
 * 아래 값 중 색이 필요한 두 곳(스크림·초점 테두리)만 벌의 색으로 바꿔도 된다.
 */

/* ── 기본 ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* 한국어는 낱말 가운데서 끊으면 읽기 힘들다 — 낱말 단위로 넘긴다. */
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, video { max-width: 100%; height: auto; }

/* 이미지 드래그가 포인터를 가로채지 않게 — JS 쪽 dragstart 차단과 한 쌍이다(§4-C 7) */
img { -webkit-user-drag: none; user-select: none; }

/* `.frame` 을 span 으로 두면 inline 이라 aspect-ratio 가 무시된다(§4 함정 5) */
.frame { display: block; }

/* ── 초점 ─────────────────────────────────────────────────────────── */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: .75rem 1rem; background: Canvas; color: CanvasText;
}
.skip-link:focus { left: 0; }

/* ── 터치 영역 ─────────────────────────────────────────────────────
   검사기가 화면 좌표로 ±22px 을 찍어 44px 을 확인한다. 눈에 보이는 점이 작아도
   **단추 자체를 44×44 로 두고 시각 요소는 ::after 로** 그리면 둘 다 만족한다. */
@media (max-width: 767px) {
  .site-header a, .site-header button,
  .drawer a, .drawer button,
  .dots button, .pager button, .tab {
    min-width: 44px; min-height: 44px;
  }
}

/* ── 가로 넘침 ─────────────────────────────────────────────────────
   `overflow-x:auto` 상자가 `position:static` 이면 넘친 표가 문서 스크롤 폭을 밀어
   320·390px 에서 페이지 전체가 가로로 밀린다(§4-C 9). `overflow:hidden` 을 얹어도 안 고쳐진다. */
.scroll-x { overflow-x: auto; position: relative; -webkit-overflow-scrolling: touch; }

/* 넘침을 자를 때는 hidden 이 아니라 clip 을 쓴다.
   hidden 은 스크롤 컨테이너를 만들어 조상에 있으면 animation-timeline: view() 가
   얼어붙는다 — 스크롤해도 진행이 0 에서 안 움직이는데 콘솔은 조용하다(§4-C 13). */
.clip { overflow: clip; }

/* ── 무JS 완성본 ───────────────────────────────────────────────────
   JS 가 없으면 접힌 것이 전부 펼쳐지고, 등장 효과는 처음부터 보인다.
   `html.js` 는 kit.js 첫 줄이 붙인다. */
.acc-item .acc-panel { display: block; }          /* 무JS 기본값: 펼침 */
.js .acc-item .acc-panel { display: none; }
.js .acc-item.open .acc-panel { display: block; }

.js [role="tabpanel"][hidden] { display: none; }
[role="tabpanel"][hidden] { display: block; }      /* 무JS: 모든 탭 내용을 이어서 보여 준다 */

.reveal { opacity: 1; transform: none; }           /* 무JS 기본값: 이미 보임 */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* JS 로만 동작하는 조작기는 무JS 에서 감춘다 — 「눌러도 반응 없는 단추」를 남기지 않는다.
   **방향에 주의**: `.js-only{display:none}` + `.js .js-only{display:revert}` 로 짜면
   revert 가 UA 기본값(대개 block)으로 되돌려, 그 요소가 원래 갖고 있던 display 나
   미디어쿼리의 `display:none` 을 덮어쓴다(모바일 전용 구매 Dock 이 데스크톱에도 떴다).
   숨기는 쪽에만 규칙을 걸어 요소 자신의 display 를 건드리지 않는다. */
html:not(.js) .js-only { display: none !important; }

/* `hidden` 속성은 `display:grid`·`flex` 에 진다 — 골격 클래스를 단 요소는 안 숨는다(§4-C 18).
   무JS 탭 규칙(위의 `[role="tabpanel"][hidden] { display:block }`)은 살려 두어야 하므로 :not 이 필요하다. */
:where([hidden]):not([role="tabpanel"]) { display: none !important; }

/* ── 모션 끔 ───────────────────────────────────────────────────────
   검사기가 reducedMotion 문맥을 따로 열어 본문이 실제로 보이는지 잰다.
   연출을 끄는 데 그치지 말고 **최종 상태로 고정**해야 한다. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── 모바일 서랍 ───────────────────────────────────────────────────
   햄버거는 **모바일 전용**이다(§4-C 11). 데스크톱에 남기면 검사기가 눌러
   서랍이 열리고 그 뒤 클릭을 전부 삼킨다. */
.menu-btn { display: none; }
@media (max-width: 767px) { .menu-btn { display: inline-flex; } }

.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px);
  transform: translateX(100%); transition: transform .28s ease;
  z-index: 60; overflow-y: auto;
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }

.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: rgb(0 0 0 / .45);
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }

@media (min-width: 768px) { .drawer, .scrim { display: none; } }

/* ── 토스트 ───────────────────────────────────────────────────────
   `pointer-events:none` 이 없으면 덮개가 아래 단추의 클릭을 삼켜
   전폭 제출 단추가 안 눌린다(§4 함정 2). 지우지 마라. */
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0;
  z-index: 80; pointer-events: none;
  opacity: 0; transition: opacity .25s ease, translate .25s ease;
}
.toast.show { opacity: 1; translate: -50% -6px; }

/* ── 폼 ───────────────────────────────────────────────────────────
   동의 체크박스는 input 을 label **밖에** 두고 형제 선택자로 그린다.
   label 이 input 을 감싸면서 for 까지 걸면 두 번 토글돼 영영 안 켜진다(§4 함정 4). */
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree input:focus-visible + label .box { outline: 2px solid currentColor; outline-offset: 2px; }

.spinner {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.125em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: kit-spin .7s linear infinite;
}
@keyframes kit-spin { to { rotate: 360deg; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ── 구획 리듬 ─────────────────────────────────────────────────────
   구획마다 위아래 절반씩 나눠 가지면 이웃한 구획 사이 간격이 겹치지 않는다.
   `--section` 값은 벌마다 정하라 — 이 파일은 규칙만 준다. */
.section { padding-block: calc(var(--section, 96px) / 2); }
.section-lead { padding-top: var(--section, 96px); }
.section-last { padding-bottom: var(--section, 96px); }


/* ══════════════════════════════════════════════════════════════════
   LIVINODE — Warm Editorial Habitat
   사진은 감정을, 표와 라벨은 결정을 맡는다. 둘을 한 카드 안에서 섞지 않는다.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --linen: #F3EFE7;
  --sand: #DCCDB8;
  --green: #3F5B4B;
  --green-d: #2C3E33;
  --clay: #B86445;
  --clay-ink: #97482B;
  --ink: #22231F;
  --ink-2: #565A50;
  --ink-3: #676B60;
  --cream: #FFF9F0;
  --sage: #8FA58D;
  --line: #DED6C7;
  --line-soft: #E8E1D4;
  --white: #FFFFFF;

  --r-photo: 28px;
  --r-card: 18px;
  --r-s: 10px;
  --wrap: 1280px;
  --section: 108px;

  --sans: "Pretendard Variable", Pretendard, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Noto Serif KR", Georgia, "Times New Roman", serif;
  --ease-enter: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--sans);
  background: var(--linen);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
h1, h2, h3, h4 { margin: 0; line-height: 1.26; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }
.sr-only:focus { position: static; width: auto; height: auto; clip-path: none; }
.mt-xl { margin-top: 76px; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .9em; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.eyebrow-ink { color: var(--clay-ink); }

/* ── 단추 ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; background: none; color: inherit;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-block { display: flex; width: 100%; }
.btn-block + .btn-block { margin-top: 10px; }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: #4E6E5B; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #3A3B34; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255, 249, 240, .5); color: var(--cream); }
.btn-ghost:hover { background: rgba(255, 249, 240, .14); }
.btn-ghost-ink { border-color: var(--line); color: var(--ink-2); }
.btn-ghost-ink:hover { border-color: var(--ink); color: var(--ink); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ── 머리 ──────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(243, 239, 231, .93); border-bottom: 1px solid var(--line-soft); }
.site-header.is-stuck { background: rgba(243, 239, 231, .98); }
.header-inner { max-width: var(--wrap); margin-inline: auto; padding: 12px 32px; display: flex; align-items: center; gap: 28px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark { font-size: 19px; font-weight: 800; letter-spacing: .05em; }
.brand-ko { font-size: 10px; letter-spacing: .18em; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { background: rgba(34, 35, 31, .07); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green); }
.header-cta { padding: 11px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-cta:hover { background: var(--green); }
.menu-btn { width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); cursor: pointer; }
.menu-bar, .menu-bar::before, .menu-bar::after { display: block; width: 18px; height: 2px; background: currentColor; content: ""; }
.menu-bar { position: relative; }
.menu-bar::before { position: absolute; top: -6px; }
.menu-bar::after { position: absolute; top: 6px; }

.drawer { background: var(--cream); color: var(--ink); padding: 20px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-close { background: none; border: 1px solid var(--line); border-radius: 999px; color: inherit; font: inherit; padding: 8px 16px; cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; margin: 12px 0 18px; }
.drawer-nav a { padding: 13px 4px; text-decoration: none; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; }
.drawer-nav a[aria-current="page"] { color: var(--green); }
.drawer-cta { display: flex; align-items: center; justify-content: center; padding: 14px; border-radius: 999px; background: var(--green); color: var(--cream); font-weight: 800; text-decoration: none; }
.drawer-tel { margin-top: 14px; font-size: 15px; color: var(--ink-3); }

/* ── 히어로 ────────────────────────────────────────────────────── */
.hero { position: relative; overflow: clip; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(96deg, rgba(20, 22, 18, .88) 0, rgba(20, 22, 18, .66) 44%, rgba(20, 22, 18, .12) 74%); }
.js .hero-img { -webkit-mask-image: linear-gradient(90deg, #000 0 100%); mask-image: linear-gradient(90deg, #000 0 100%); animation: lv-open .52s var(--ease-enter) both; }
@keyframes lv-open { from { clip-path: inset(0 22% 0 22%); } to { clip-path: inset(0 0 0 0); } }
.hero-inner { position: relative; z-index: 2; min-height: 560px; padding-block: 84px 128px; display: flex; align-items: center; }
.hero-copy { max-width: 760px; color: var(--cream); }
.hero h1 { font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -.032em; }
.hero-sub { margin-top: 20px; max-width: 30em; color: #E4DED2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.live-badge {
  position: absolute; right: 32px; bottom: 104px; z-index: 3;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 20px; border-radius: var(--r-card);
  background: rgba(243, 239, 231, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 249, 240, .35); color: var(--cream); font-size: 13px;
}
.live-tag { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--sand); }
.live-badge strong { font-size: 15px; }
.live-sub { color: #E4DED2; font-size: 12.5px; }

/* ── 빠른 검색 ─────────────────────────────────────────────────── */
.quick-band { background: var(--linen); }
.quick {
  position: relative; z-index: 5; margin-top: -56px;
  display: grid; grid-template-columns: 1.4fr 1.3fr 1fr auto; align-items: end;
  background: var(--cream); border-radius: var(--r-card);
  box-shadow: 0 28px 60px -34px rgba(34, 35, 31, .45);
  padding: 20px 20px 20px 28px;
}
.quick-field { padding-right: 22px; border-right: 1px solid var(--line-soft); }
.quick-field + .quick-field { padding-left: 22px; }
.quick-field label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.quick-input { font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); border: 0; background: none; padding: 4px 0; width: 100%; cursor: pointer; }
.quick-go { margin-left: 22px; white-space: nowrap; gap: 0; }
.quick-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

/* ── 번호 머리 ─────────────────────────────────────────────────── */
.numhead { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 340px); gap: 32px; align-items: start; }
.numhead-no { font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--clay); }
.numhead h2 { font-size: clamp(26px, 3vw, 38px); }
.numhead-desc { font-size: 15px; color: var(--ink-2); }
.head-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 36px; align-items: end; }
.head-2col h2 { font-size: clamp(26px, 3vw, 38px); }
.head-desc { color: var(--ink-2); font-size: 16px; }
.head-desc-light { color: #CFD8CD; }

/* ── 대표 방 ───────────────────────────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 18px; margin-top: 44px; }
.feat-main { position: relative; border-radius: var(--r-photo); overflow: clip; background: var(--sand); }
.feat-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.feat-body { position: absolute; inset: auto 0 0 0; padding: 26px 30px; background: linear-gradient(180deg, rgba(31, 46, 37, 0), rgba(31, 46, 37, .93) 46%); color: var(--cream); }
.feat-top { font-size: 13px; color: #D8E0D6; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feat-body h3 { font-size: 26px; margin-top: 8px; }
.feat-cost { margin-top: 10px; display: flex; align-items: baseline; gap: 10px; }
.feat-cost strong { font-size: 26px; }
.feat-cost span { font-size: 13px; color: #D8E0D6; }
.feat-sub { font-size: 13px; color: #C9D3C7; margin-top: 2px; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.feat-body .chip { background: rgba(255, 249, 240, .16); color: var(--cream); }
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 12px; font-weight: 600; }

.feat-side { display: grid; gap: 18px; align-content: start; }
.side-card { background: var(--sand); border-radius: var(--r-photo); overflow: clip; }
.side-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.side-body { padding: 16px 20px 20px; }
.side-top { font-size: 12px; color: var(--ink-3); }
.side-card h3 { font-size: 18px; margin-top: 4px; }
.side-cost { font-size: 17px; font-weight: 800; margin-top: 6px; }
.side-link { margin-top: 8px; font-size: 13px; }
.side-link a { color: var(--clay-ink); font-weight: 700; }

/* ── 공용공간 벤토 ─────────────────────────────────────────────── */
.band-green { background: var(--green-d); color: var(--cream); }
.band-green .eyebrow { color: var(--sand); }
.bento { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); grid-template-rows: auto auto; gap: 16px; margin-top: 40px; }
.bento-photo { grid-row: 1 / span 2; position: relative; border-radius: var(--r-photo); overflow: clip; }
.bento-photo img { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.bento-photo-cap { position: absolute; inset: auto 0 0 0; padding: 24px 26px; background: linear-gradient(180deg, rgba(20, 30, 24, 0), rgba(20, 30, 24, .9)); }
.bento-open { font-size: 12px; letter-spacing: .12em; color: var(--sand); }
.bento-photo-cap h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-top: 6px; }
.bento-meta { font-size: 13px; color: #CFD8CD; margin-top: 6px; }
.bento-clay, .bento-cream { border-radius: var(--r-card); padding: 26px 28px; display: flex; flex-direction: column; }
.bento-clay { background: var(--clay); color: var(--cream); }
.bento-cream { background: var(--sand); color: var(--ink); }
.bento-tag { font-size: 11px; letter-spacing: .18em; font-weight: 700; }
.bento-clay .bento-tag { color: #FFE3D6; }
.bento-cream .bento-tag { color: var(--ink-3); }
.bento-clay h3, .bento-cream h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-top: 10px; }
.bento-cream .bento-meta { color: var(--ink-2); }
.bento-clay .bento-meta { color: #FFE3D6; }
.bento-note { font-size: 13.5px; margin-top: auto; padding-top: 14px; line-height: 1.7; }
.bento-clay .bento-note { color: #FFEDE4; }
.bento-cream .bento-note { color: var(--ink-2); }
.bento-quote { grid-column: 2 / span 2; margin: 0; background: var(--cream); color: var(--ink); border-radius: var(--r-card); padding: 30px 32px; }
.bento-quote p { font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.bento-quote cite { display: block; margin-top: 14px; font-size: 13px; font-style: normal; color: var(--ink-3); }

/* ── 4단계 ─────────────────────────────────────────────────────── */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.steps4 li { position: relative; }
.s4-no { font-family: var(--serif); font-size: 15px; color: var(--clay-ink); font-weight: 600; }
.steps4 h3 { font-size: 18px; margin-top: 12px; }
.steps4 p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* ── 아코디언 ──────────────────────────────────────────────────── */
.acc { border-top: 1px solid var(--line); margin-top: 18px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3, .acc-item h4 { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); text-align: left; }
.acc-trigger::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--ink-3); flex: none; }
.acc-item.open .acc-trigger::after { content: "−"; }
.acc-panel { padding: 0 2px 20px; color: var(--ink-2); font-size: 16px; max-width: 74ch; }

/* ── 면 머리 ───────────────────────────────────────────────────── */
.page-head { padding-block: 56px 44px; background: var(--linen); border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(30px, 3.6vw, 46px); }
.page-sub { margin-top: 16px; max-width: 52em; color: var(--ink-2); }
.page-meta { margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* ── 방 목록 ───────────────────────────────────────────────────── */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px; padding: 24px 26px; background: var(--cream); border-radius: var(--r-card); }
.fgroup-l { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 9px; display: block; }
.fchips { display: flex; flex-wrap: wrap; gap: 7px; }
.fchip { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .12s ease, color .12s ease, border-color .12s ease; }
.fchip:hover { border-color: var(--ink-3); }
.fchip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.fgroup select { border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; background: var(--white); }
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.fcount { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fbar-sub { color: var(--ink-3); font-size: 14px; margin-right: auto; }

.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.rc { background: var(--cream); border-radius: var(--r-card); overflow: clip; display: flex; flex-direction: column; }
.rc[hidden] { display: none !important; }
.rc:target { box-shadow: 0 0 0 2px var(--green); }
.rc-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: scale .28s var(--ease-enter); }
@media (hover: hover) and (pointer: fine) { .rc:hover .rc-photo img { scale: 1.025; } }
.rc-photo { overflow: clip; }
.rc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.rc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rc-area { font-size: 12.5px; color: var(--ink-3); }
.rc-name { font-size: 19px; margin-top: 10px; }
.rc-kind { font-size: 13.5px; color: var(--ink-2); margin-top: 5px; }
.rc-cost { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.rc-cost strong { font-size: 24px; }
.rc-cost-l { font-size: 12px; color: var(--ink-3); }
.rc-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.rc-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.cmp .cmp-on { display: none; }
.cmp[aria-pressed="true"] .cmp-on { display: inline; }
.cmp[aria-pressed="true"] .cmp-off { display: none; }
.cmp[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pill-sm { padding: 4px 10px; font-size: 12px; }
.pill-icon { font-size: 9px; line-height: 1; }
.pill-ok { background: #E1EFE4; color: #2A6141; }
.pill-date { background: #EDE6D6; color: #7A5A20; }
.pill-wait { background: #F6E4DB; color: var(--clay-ink); }
.pill-closed { background: #E6E4DE; color: #5A5A52; }
.feat-top .pill-ok, .detail-state .pill-ok { background: rgba(225, 239, 228, .9); }

.empty { margin-top: 24px; padding: 34px 32px; background: var(--cream); border: 1px dashed var(--sand); border-radius: var(--r-card); }
.empty h3 { font-size: 21px; }
.empty p { margin-top: 10px; color: var(--ink-2); }
.empty-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.empty-alt { font-size: 14px; color: var(--ink-3); }
.empty-alt a { color: var(--clay-ink); font-weight: 700; }

/* 비교함 레일 */
.tray { position: fixed; inset: auto 0 0 0; z-index: 45; background: var(--ink); color: var(--cream); padding: 12px 0; translate: 0 100%; transition: translate .22s var(--ease-enter); }
.tray.show { translate: 0 0; }
.tray-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.tray-l { font-size: 13px; color: var(--sand); font-weight: 700; }
.tray-list { display: flex; flex-wrap: wrap; gap: 8px; margin-right: auto; }
.tray-list li { font-size: 13px; background: rgba(255, 249, 240, .14); padding: 6px 12px; border-radius: 999px; }
.tray-cta { display: flex; gap: 8px; }

/* ── 방 상세 ───────────────────────────────────────────────────── */
.detail-hero { padding-block: 44px 0; }
.detail-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.detail-hero h1 { font-size: clamp(28px, 3.4vw, 44px); }
.detail-kind { margin-top: 10px; color: var(--ink-2); }
.detail-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.detail-from { font-size: 14px; color: var(--ink-3); }
.gallery { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 14px; }
.gal-main { border-radius: var(--r-photo); overflow: clip; }
.gal-main img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gal-thumbs { display: grid; gap: 12px; align-content: start; }
.gal-thumb { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: clip; background: none; cursor: pointer; display: block; }
.gal-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal-thumb[aria-pressed="true"] { border-color: var(--green); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 44px 48px; align-items: start; }
.dmain-a { grid-column: 1; grid-row: 1; }
.dmain-b { grid-column: 1; grid-row: 2; }
.book { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 92px; }
.detail-grid h2, .tour-main h2, .cmp-notes h2 { font-size: 25px; }
.detail-lead { margin-top: 10px; color: var(--ink-2); max-width: 62ch; }
.detail-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }

.cost { margin-top: 18px; background: var(--cream); border-radius: var(--r-card); padding: 8px 24px; }
.cost > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.cost > div:last-child { border-bottom: 0; }
.cost dt { font-weight: 600; display: flex; flex-direction: column; }
.cost-sub { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.cost dd { margin: 0; font-weight: 700; }
.cost-total { border-top: 2px solid var(--ink); margin-top: 4px; }
.cost-total dt { font-weight: 800; }
.cost-total dd { font-size: 24px; font-weight: 800; }
.cost-big .cost-total dd { font-size: 30px; }
.once { margin-top: 26px; }
.once h3 { font-size: 18px; }
.once-note { margin-top: 12px; font-size: 14px; color: var(--ink-2); background: var(--sand); border-radius: var(--r-s); padding: 14px 16px; }

.specs { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.specs > div { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--ink-3); }
.specs dd { margin: 4px 0 0; font-weight: 600; }

.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; background: var(--cream); font-size: 15px; }
.tbl th, .tbl td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; white-space: nowrap; }
.tbl thead th { font-size: 13px; color: var(--ink-3); background: var(--sand); }

.book-in { background: var(--green-d); color: var(--cream); border-radius: var(--r-card); padding: 26px 26px 24px; }
.book-l { font-size: 13px; color: var(--sand); font-weight: 700; }
.book-total { font-size: 32px; font-weight: 800; margin-top: 6px; }
.book-sub { font-size: 13px; color: #CFD8CD; margin-top: 4px; }
.book-list { margin: 18px 0 20px; }
.book-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 249, 240, .16); font-size: 14.5px; }
.book-list > div:last-child { border-bottom: 0; }
.book-list dt { color: #CFD8CD; }
.book-list dd { margin: 0; font-weight: 700; text-align: right; }
.book-list-lead { margin-top: 10px; }
.book-note { margin-top: 14px; font-size: 12.5px; color: #BFCABD; line-height: 1.7; }
.book-ok { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 249, 240, .2); }
.book-ok h3 { font-size: 17px; color: var(--sand); }
.book-code { font-size: 24px; font-weight: 800; margin-top: 8px; letter-spacing: .04em; }
.book-okmeta { font-size: 14px; margin-top: 4px; }
.book-oknote { font-size: 12.5px; color: #BFCABD; margin-top: 10px; }
.book-oknote a { color: var(--sand); }

.spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.space-card { background: var(--cream); border-radius: var(--r-card); padding: 22px 24px; }
.space-card h3 { font-size: 18px; display: flex; flex-direction: column; }
.space-en { font-family: var(--serif); font-size: 13px; font-weight: 400; color: var(--ink-3); margin-top: 3px; }
.space-open { font-size: 14px; font-weight: 700; color: var(--green); margin-top: 10px; }
.space-meta { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.space-note { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.7; }

.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.review { margin: 0; background: var(--sand); border-radius: var(--r-card); padding: 24px 26px; }
.review p { font-family: var(--serif); font-size: 17px; line-height: 1.75; }
.review cite { display: block; margin-top: 12px; font-size: 12.5px; font-style: normal; color: var(--ink-2); }

/* ── 비교표 ────────────────────────────────────────────────────── */
.pickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.picker label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; }
.picker select { width: 100%; border: 1px solid var(--line); border-radius: var(--r-s); padding: 11px 12px; font-size: 15px; font-weight: 600; background: var(--white); }
.cmp-wrap { background: var(--cream); border-radius: var(--r-card); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.cmp-table thead th { background: var(--sand); border-bottom: 1px solid var(--line); }
.cmp-corner { width: 200px; font-size: 13px; color: var(--ink-3); }
.cmp-name { display: block; font-size: 17px; }
.cmp-kind { display: block; font-size: 12.5px; color: var(--ink-2); font-weight: 400; margin-top: 3px; }
.cmp-table tbody th { font-weight: 600; font-size: 14px; color: var(--ink-2); width: 200px; }
.cmp-table td { font-weight: 600; }
.cmp-big td { font-size: 22px; font-weight: 800; }
.cmp-table td.is-best { position: relative; color: var(--green); }
.cmp-table td.is-best::after { content: "가장 낮음"; display: block; font-size: 11px; font-weight: 700; color: var(--clay-ink); margin-top: 2px; }
.cmp-cta td { white-space: nowrap; }
.cmp-notes { margin-top: 56px; }

/* ── 투어 ──────────────────────────────────────────────────────── */
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 44px 48px; align-items: start; }
.tour-main { grid-column: 1; }
.tour-grid .book { grid-column: 2; grid-row: 1; }
.tstep { background: var(--cream); border-radius: var(--r-card); padding: 26px 28px; margin-bottom: 16px; }
.tstep h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.tstep-no { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--cream); align-items: center; justify-content: center; font-size: 15px; flex: none; }
.tstep-lead { margin-top: 12px; color: var(--ink-2); }
.tstep-help { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.ttype { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ttype-btn { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); font: inherit; cursor: pointer; }
.ttype-btn strong { font-size: 16px; }
.ttype-btn span { font-size: 13px; color: var(--ink-3); }
.ttype-btn[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }

.cal { width: 100%; border-collapse: separate; border-spacing: 6px; margin-top: 14px; min-width: 480px; }
.cal th { font-size: 12px; color: var(--ink-3); font-weight: 700; padding-bottom: 4px; }
.cal td { padding: 0; }
.cal-pad { visibility: hidden; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 56px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); font: inherit; cursor: pointer; }
.cal-n { font-size: 16px; font-weight: 700; }
.cal-s { font-size: 10.5px; color: var(--ink-3); }
.cal-day.is-off { background: #EEEAE0; border-color: transparent; color: var(--ink-3); cursor: default; }
.cal-day[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.cal-day[aria-pressed="true"] .cal-s { color: #CFD8CD; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.slot { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ── 폼 ────────────────────────────────────────────────────────── */
.inquiry-form { margin-top: 18px; display: grid; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.control { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--ink); }
.control:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.err { display: none; margin-top: 6px; font-size: 13px; color: #A33422; font-weight: 600; }
.field.invalid .control { border-color: #A33422; background: #FDF4F2; }
.field.invalid .err, .agree.invalid .err { display: block; }
.counter { margin-top: 6px; font-size: 12px; color: var(--ink-3); text-align: right; }
.field-radio { border: 0; padding: 0; margin: 0; min-width: 0; }
.field-radio legend { padding: 0; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.radio input:checked + span { background: var(--green); border-color: var(--green); color: var(--cream); }
.radio input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.agree label { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.agree .box { width: 22px; height: 22px; border: 1px solid var(--ink-3); border-radius: 5px; flex: none; margin-top: 1px; background: var(--white); }
.agree input:checked + label .box { background: var(--green); border-color: var(--green); position: relative; }
.agree input:checked + label .box::after { content: "✓"; position: absolute; inset: 0; color: var(--cream); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.form-hint { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.form-submit { justify-self: start; }

/* ── 푸터 ──────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #B7B8AF; padding-block: 52px 44px; font-size: 14px; margin-top: 0; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 249, 240, .14); }
.footer-brand { display: flex; flex-direction: column; color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #D6D7CE; text-decoration: none; }
.footer-nav a:hover { color: var(--cream); }
.footer-biz { margin-top: 24px; font-style: normal; line-height: 1.9; }
.footer-biz a { color: #D6D7CE; }
.footer-legal { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #D6D7CE; }
.footer-note { margin-top: 18px; font-size: 12.5px; color: #8E8F87; max-width: 68ch; line-height: 1.8; }
.footer-copy { margin-top: 16px; font-size: 12.5px; }

.toast .toast-msg { display: inline-block; background: var(--ink); color: var(--cream); padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; box-shadow: 0 16px 34px -18px rgba(34, 35, 31, .7); max-width: min(92vw, 460px); }

/* ══ 태블릿 ══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --section: 86px; }
  .detail-grid, .tour-grid { grid-template-columns: minmax(0, 1fr); }
  .dmain-a, .dmain-b, .tour-main { grid-column: 1; }
  .dmain-a, .tour-main { grid-row: 1; }
  .detail-grid .book, .tour-grid .book { grid-column: 1; grid-row: 2; position: static; }
  .dmain-b { grid-row: 3; }
  .book-in { max-width: 560px; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feat-side { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-photo { grid-row: auto; grid-column: 1 / span 2; }
  .bento-quote { grid-column: 1 / span 2; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .numhead { grid-template-columns: 84px minmax(0, 1fr); }
  .numhead-desc { grid-column: 2; }
  .spaces { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { min-height: 460px; }
}

@media (max-width: 1000px) {
  .header-cta { display: none; }
  .nav a { padding: 9px 10px; font-size: 14px; }
}

@media (max-width: 900px) {
  .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 20px; }
  .quick-field { border-right: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line-soft); }
  .quick-field + .quick-field { padding-left: 0; }
  .quick-go { grid-column: 1 / -1; margin-left: 0; }
  .head-2col { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gal-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); display: grid; }
  .specs, .reviews, .ttype, .pickers { grid-template-columns: minmax(0, 1fr); }
  .detail-hero { padding-top: 34px; }
}

/* ══ 모바일 ══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root { --section: 60px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .header-inner { padding: 10px 20px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand { margin-right: auto; }
  .hero-inner { min-height: 0; padding-block: 56px 96px; }
  .hero h1 { font-size: 31px; }
  .hero-cta { display: grid; }
  .hero-shade { background: linear-gradient(180deg, rgba(20, 22, 18, .5) 0, rgba(20, 22, 18, .86) 42%); }
  .live-badge { position: static; margin-top: 26px; display: inline-flex; }
  .quick { grid-template-columns: minmax(0, 1fr); margin-top: -34px; }
  .rooms, .feat-side, .bento, .steps4 { grid-template-columns: minmax(0, 1fr); }
  .bento-photo, .bento-quote { grid-column: auto; }
  .numhead { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .numhead-no { font-size: 40px; }
  .numhead-desc { grid-column: auto; }
  .feat-body { position: static; background: var(--green-d); }
  .steps4 li { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .steps4 li:last-child { border-bottom: 0; padding-bottom: 0; }
  .tstep, .empty, .space-card, .review, .filters { padding: 20px; }
  .cost { padding-inline: 18px; }
  .mt-xl { margin-top: 52px; }
  .gal-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cmp-corner, .cmp-table tbody th { width: 132px; }

  /* 검사기가 화면 좌표로 ±22px 을 찍어 44px 을 확인한다 */
  .btn, .fchip, .acc-trigger, .ttype-btn, .slot, .gal-thumb, .cal-day, .drawer-close { min-height: 44px; }
}

@media (max-width: 380px) {
  .bento-quote p { font-size: 18px; }
  .book-total { font-size: 27px; }
}
