/* 온자리 공간상담 — 풍수 인테리어 상담 원페이지 (디코랩 디자인 샘플)
   골격: 섹션 여덟 개 = 나경 여덟 방위. 대표 인터랙션: 나경 위의 평면도 */

:root {
  --tracing: #F3F5F1;      /* 도면 트레이싱지 바탕 */
  --paper: #FFFFFF;        /* 패널 */
  --ink: #1C2423;          /* 먹 — 본문 글자 */
  --ink-soft: #46524F;     /* 보조 글자 (바탕 대비 7:1 안팎) */
  --loess: #B8862B;        /* 황토 — 나경 판, 주 버튼 */
  --loess-deep: #8A6419;   /* 황토 테두리 */
  --loess-pale: #F1DDA8;   /* 나경 칸 */
  --celadon: #2C6E6A;      /* 청록 — 도면 선, 제목 표지, 보조 버튼 */
  --celadon-pale: #E2ECE9; /* 청록 옅은 면 */
  --lacquer: #9C3B26;      /* 나경의 붉은 글자·바늘 */
  --line: #C9D3CE;         /* 도면 보조선 */

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --fs-h1: clamp(1.85rem, 1.15rem + 3vw, 3.3rem);
  --fs-h2: clamp(1.55rem, 1.15rem + 1.6vw, 2.4rem);
  --fs-h3: 1.15rem;
  --radius: 6px;
  --header-h: 64px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--tracing);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; vertical-align: middle; margin: 0 .45em; }
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed #8C9894; border-radius: 4px; color: var(--ink-soft); font-size: .92em; line-height: 1.5; }
.ph--dark { border-color: #7F8C88; color: #D5DCD9; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--celadon); outline-offset: 2px; }

/* ---------- 샘플 안내 띠 ---------- */
.sample-banner { background: var(--ink); color: #E8EEEB; font-size: 13px; line-height: 1.55; }
.sample-banner__inner { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; }
.sample-banner__tag { flex: none; background: var(--loess); color: var(--ink); font-weight: 700; font-size: 12px; padding: 1px 8px; border-radius: 3px; }
.sample-banner a { color: #F1DDA8; font-weight: 600; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 54px; padding: 12px 24px; font-size: 17px; }
.btn--small { min-height: 38px; padding: 6px 14px; font-size: 14px; }
.btn--loess { background: var(--loess); color: var(--ink); border-color: var(--loess-deep); }
.btn--loess:hover { background: #C9963A; }
.btn--teal { background: var(--celadon); color: #fff; }
.btn--teal:hover { background: #235955; }
.btn--line { background: transparent; color: var(--celadon); border-color: var(--celadon); }
.btn--line:hover { background: var(--celadon-pale); }
.btn--ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn--kakao { background: #FEE500; color: #191600; }

/* ---------- 머리글 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { width: 38px; height: 38px; }
.logo b { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.logo b span { color: var(--celadon); }
.gnav { display: none; margin-left: auto; }
.gnav ol { display: flex; gap: 2px; }
.gnav a {
  display: flex; flex-direction: column; align-items: center; padding: 6px 9px; border-radius: 4px;
  text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ink-soft);
  transition: color .2s, background-color .2s;
}
.gnav a i { font-style: normal; font-size: 11px; font-weight: 700; color: #7B8784; letter-spacing: .02em; }
.gnav a:hover { color: var(--ink); background: var(--tracing); }
.gnav a.is-active { color: var(--celadon); background: var(--celadon-pale); }
.gnav a.is-active i { color: var(--lacquer); }
.hcompass { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; color: var(--ink-soft); min-width: 0; }
.hcompass svg { width: 34px; height: 34px; flex: none; }
.hcompass__needle { transform-box: view-box; transform-origin: 20px 20px; transform: rotate(var(--hb, 0deg)); transition: transform .9s cubic-bezier(.3, 1.4, .5, 1); }
.hcompass__now { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.header-cta { display: none; flex: none; min-height: 42px; padding: 8px 16px; font-size: 15px; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; flex: none; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .25s, opacity .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu-btn__label { font-size: 14px; font-weight: 700; }

@media (min-width: 1180px) {
  .gnav { display: block; }
  .hcompass { margin-left: 4px; }
  .hcompass__now { display: none; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 720px) and (max-width: 1179px) {
  .header-cta { display: inline-flex; }
}

/* ---------- 모바일 메뉴: 나경 원판 ---------- */
.rose {
  position: fixed; left: 0; right: 0; top: var(--menu-top, 120px); bottom: 0; z-index: 39;
  background: var(--tracing); overflow-y: auto; padding: 20px var(--gutter) 40px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.rose__plate { position: relative; width: min(340px, 100%); aspect-ratio: 1; margin-top: 4px; }
.rose__plate::before { content: ""; position: absolute; inset: 0; border-radius: 16px; background: var(--loess); }
.rose__plate::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--loess-pale); border: 2px solid var(--ink); }
.rose__disc { position: absolute; inset: 34%; z-index: 1; border-radius: 50%; background: var(--tracing); border: 2px solid var(--ink); display: grid; place-items: center; }
.rose__disc svg { width: 70%; height: 70%; transform: rotate(var(--hb, 0deg)); transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.rose__list { position: absolute; inset: 0; z-index: 2; }
.rose__list li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.rose__list a {
  position: absolute; left: 0; top: 0; width: 84px; margin-left: -42px; margin-top: -26px;
  transform: rotate(var(--a)) translateY(-118px) rotate(calc(var(--a) * -1));
  display: flex; flex-direction: column; align-items: center; padding: 5px 2px; min-height: 52px; justify-content: center;
  border-radius: 8px; text-decoration: none; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.2;
  color: var(--ink);
}
.rose__list a i { font-style: normal; font-family: var(--serif); font-size: 12px; color: var(--lacquer); }
.rose__list a.is-active { background: var(--celadon); color: #fff; }
.rose__list a.is-active i { color: #F1DDA8; }
.rose__tel a { font-weight: 700; color: var(--celadon); }
body.nav-open .quickbar { visibility: hidden; }
@media (max-width: 360px) { .rose__list a { transform: rotate(var(--a)) translateY(-104px) rotate(calc(var(--a) * -1)); width: 76px; margin-left: -38px; font-size: 13px; } }

/* ---------- 히어로 ---------- */
.hero { padding: 32px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; }
.hero__grid { display: grid; gap: 28px; }
.hero__kicker { font-size: 14px; font-weight: 700; color: var(--celadon); margin-bottom: 12px; }
.hero__title { font-family: var(--serif); font-size: var(--fs-h1); font-weight: 700; line-height: 1.28; letter-spacing: -.035em; }
.hero__lead { margin-top: 16px; font-size: 16.5px; color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.hero__art {
  position: relative; padding: 18px; border-radius: var(--radius);
  background-color: var(--tracing);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 480'%3E%3Cg fill='none' stroke='%232C6E6A' stroke-width='1.4' opacity='.55'%3E%3Cpath d='M20 20h440v440H20zM20 70h440M170 70v190M320 70v190M20 260h440M120 260v200M250 260v120M380 260v200M250 380h130'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}
.luopan { width: min(100%, 460px); margin-inline: auto; filter: drop-shadow(0 10px 18px rgba(28, 36, 35, .18)); }
.luopan__disc, .luopan__needle { transform-box: view-box; transform-origin: 200px 200px; }
.hero__caption { margin: 14px auto 0; max-width: 30em; padding: 6px 10px; background: var(--paper); border-radius: 4px; font-size: 14px; color: var(--ink-soft); text-align: center; }
@media (min-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero__lead { font-size: 18px; }
}
@media (max-width: 400px) {
  .hero { padding-top: 22px; }
  .hero__lead { font-size: 15.5px; margin-top: 12px; }
  .hero__actions .btn--lg { min-height: 50px; padding: 10px 18px; font-size: 16px; }
}

/* 히어로 나경: 처음 한 번 돌아 자리 잡기 */
.has-motion .luopan__disc { animation: disc-settle 2.4s cubic-bezier(.2, .9, .25, 1.12) .2s both; }
.has-motion .luopan__needle { animation: needle-sway 2.8s ease-out .5s both; }
@keyframes disc-settle { from { transform: rotate(-70deg); } to { transform: rotate(0); } }
@keyframes needle-sway { 0% { transform: rotate(38deg); } 35% { transform: rotate(-22deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-4deg); } 100% { transform: rotate(0); } }

/* ---------- 섹션 공통 ---------- */
.sec { padding: 64px 0; scroll-margin-top: 70px; position: relative; }
.sec:nth-of-type(odd) { background: var(--paper); }
.sec-head { margin-bottom: 30px; max-width: 46em; }
.sec-head h2 { font-family: var(--serif); font-size: var(--fs-h2); font-weight: 700; }
.sec-lead { margin-top: 12px; color: var(--ink-soft); }
.sec-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-end; justify-content: space-between; }
.sec-head--split > div { max-width: 40em; }
.sec-mark { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13.5px; color: var(--ink-soft); }
.sec-mark b { font-family: var(--serif); color: var(--celadon); font-size: 16px; margin-right: 4px; }
.sec-mark__dial { width: 36px; height: 36px; flex: none; }
.sec-mark__needle { transform-box: view-box; transform-origin: 20px 20px; transform: rotate(var(--b)); }
.has-motion .sec-mark__needle { transition: transform 1.3s cubic-bezier(.3, 1.35, .45, 1) .15s; }
.has-motion .sec-mark:not(.is-in) .sec-mark__needle { transform: rotate(0deg); }
@media (min-width: 960px) { .sec { padding: 96px 0; } }

/* ---------- 북: 소개 ---------- */
.about__grid { display: grid; gap: 28px; }
.look { display: grid; gap: 0; border-top: 1px solid var(--line); }
.look__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.look__item svg { width: 56px; height: 56px; }
.look__item h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.look__item p { color: var(--ink-soft); font-size: 16px; }
.dont { background: var(--tracing); border: 1.5px dashed var(--celadon); border-radius: var(--radius); padding: 22px; align-self: start; }
.dont h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 10px; }
.dont ul { display: grid; gap: 6px; margin-bottom: 14px; }
.dont li { position: relative; padding-left: 26px; }
.dont li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 14px; height: 2px; background: var(--lacquer); transform: rotate(45deg); }
.dont li::after { content: ""; position: absolute; left: 2px; top: .7em; width: 14px; height: 2px; background: var(--lacquer); transform: rotate(-45deg); }
.dont p { font-size: 15px; color: var(--ink-soft); }
@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .look { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* ---------- 북동: 나경 위의 평면도 ---------- */
.plan__grid { display: grid; gap: 22px; }
.plan__board { background: var(--tracing); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.floor { width: 100%; height: auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.floor__dim path { stroke: #8C9894; stroke-width: 1; fill: none; }
.floor__dim text { font-size: 11px; fill: #66726F; font-family: var(--font); }
.room rect { fill: #FFFFFF; transition: fill .25s; }
.room--balcony rect { fill: #EEF2EF; }
.room--wet rect { fill: #EDF3F2; }
.room--entry rect { fill: #F7EEDA; }
.room--hall rect { fill: #FAFBFA; }
.room[role="button"] { cursor: pointer; outline: none; }
.room[role="button"]:hover rect, .room.is-drop rect { fill: #E2ECE9; }
.room[role="button"]:focus-visible rect { fill: #E2ECE9; stroke: var(--celadon); stroke-width: 3; }
.floor.is-armed .room[role="button"] rect { fill: #F2F7F5; }
.floor.is-armed .room[role="button"]:hover rect { fill: #DCEAE5; }
.room__name { font-size: 16px; font-weight: 700; fill: var(--ink); text-anchor: middle; font-family: var(--font); pointer-events: none; }
.room__name--sm { font-size: 13px; }
.room__dir { font-size: 13px; font-weight: 700; fill: var(--celadon); text-anchor: middle; font-family: var(--font); pointer-events: none; }
.room--balcony .room__name { font-size: 13px; fill: var(--ink-soft); }
.floor__walls rect, .floor__walls path { stroke: var(--ink); stroke-width: 5; fill: none; stroke-linecap: square; }
.floor__walls .floor__door { stroke: #FFFFFF; stroke-width: 7; stroke-linecap: butt; }
.floor__swing path { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 4 3; }
.floor__facing path { fill: none; stroke: var(--lacquer); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.floor__facing text { font-size: 14px; font-weight: 700; fill: var(--lacquer); font-family: var(--font); }
.placed__item { opacity: 0; pointer-events: none; transition: opacity .25s; }
.placed__item.is-on { opacity: 1; }

.compass { pointer-events: none; transform-box: view-box; transform-origin: 320px 240px; transform: rotate(var(--r)); }
.has-motion .compass { transition: transform 1.25s cubic-bezier(.3, 1.25, .45, 1); }
.compass__band { fill: none; stroke: var(--loess); stroke-width: 30; opacity: .26; }
.compass__ticks { fill: none; stroke: var(--loess-deep); stroke-width: 8; stroke-dasharray: 1.2 15.38; opacity: .7; }
.compass__inner { fill: none; stroke: var(--loess-deep); stroke-width: 1.2; stroke-dasharray: 3 4; opacity: .7; }
.compass__thread { stroke: var(--lacquer); stroke-width: 1; opacity: .35; }
.compass__labels text {
  font-family: var(--serif); font-size: 17px; font-weight: 700; fill: var(--loess-deep); text-anchor: middle; dominant-baseline: central;
  transform-box: fill-box; transform-origin: center; transform: rotate(calc(var(--r) * -1));
}
.has-motion .compass__labels text { transition: transform 1.25s cubic-bezier(.3, 1.25, .45, 1); }
.compass__labels text.is-north { fill: var(--lacquer); font-size: 19px; }
.compass__needle path, .compass__needle circle { opacity: .92; }

@media (max-width: 640px) {
  .plan__board { padding: 6px; }
  .room__name { font-size: 24px; }
  .room__name--sm, .room--balcony .room__name { font-size: 17px; }
  .room__dir { font-size: 19px; }
  .compass__labels text { font-size: 23px; }
  .compass__labels text.is-north { font-size: 25px; }
  .floor__facing text { font-size: 20px; }
}
@media (max-width: 479px) { .hcompass__now { display: none; } }
.plan__hint { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }
.plan__side { display: grid; gap: 18px; align-content: start; }
.dirpad { border: 0; margin: 0; padding: 0; min-width: 0; }
.dirpad legend { font-weight: 700; font-size: 17px; margin-bottom: 10px; padding: 0; }
.dirpad__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 330px; }
.dirpad__btn {
  min-height: 48px; border: 1.5px solid var(--line); background: var(--paper); border-radius: var(--radius);
  font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.dirpad__btn:hover { border-color: var(--celadon); }
.dirpad__btn[aria-pressed="true"] { background: var(--celadon); border-color: var(--celadon); color: #fff; }
.dirpad__mid { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-soft); background: var(--loess-pale); border-radius: 50%; aspect-ratio: 1; max-height: 64px; margin: auto; }
.dirpad__mid svg { width: 26px; height: 26px; }
.dirpad__how { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }
.tray { background: var(--tracing); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.tray__title { font-weight: 700; margin-bottom: 10px; }
.tray__items { display: flex; gap: 8px; flex-wrap: wrap; }
.token {
  display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 6px 14px 6px 8px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); cursor: grab; font-weight: 700;
  touch-action: none; transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.token svg { width: 36px; height: 36px; }
.token:hover { border-color: var(--celadon); }
.token[aria-pressed="true"] { border-color: var(--celadon); background: var(--celadon-pale); box-shadow: 0 0 0 3px rgba(44, 110, 106, .25); }
.token.is-placed::after { content: "놓임"; font-size: 11px; font-weight: 700; color: var(--celadon); border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; margin-left: 2px; }
.tray__how { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); }
.drag-ghost { position: fixed; z-index: 90; width: 54px; height: 54px; margin: -27px 0 0 -27px; pointer-events: none; background: #fff; border: 2px solid var(--celadon); border-radius: 12px; padding: 4px; box-shadow: 0 8px 18px rgba(28, 36, 35, .25); }
.readout { display: grid; gap: 10px; }
.readout__dir { font-size: 15.5px; }
.readout__dir b { color: var(--celadon); }
.tipcard { border-left: 4px solid var(--loess); background: var(--tracing); padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; }
.tipcard__label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; color: var(--loess-deep); margin-bottom: 6px; }
.tipcard__label em { font-style: normal; color: var(--lacquer); border: 1px solid currentColor; border-radius: 4px; padding: 0 6px; }
.tipcard__text { font-size: 16px; }
.has-motion .tipcard.is-flash { animation: tip-in .5s ease-out; }
@keyframes tip-in { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.placedlist { display: grid; gap: 4px; font-size: 14.5px; color: var(--ink-soft); }
.placedlist li b { color: var(--ink); }
.plan__disclaimer { margin-top: 20px; font-size: 14px; color: var(--ink-soft); padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--paper); }
@media (min-width: 960px) {
  .plan__grid { grid-template-columns: 1.45fr 1fr; gap: 32px; align-items: start; }
  .plan__board { padding: 18px; }
}

/* ---------- 동: 배치 참고 ---------- */
.tips { display: grid; gap: 14px; }
.tip { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.sec--tips:nth-of-type(odd) .tip { background: var(--tracing); }
.tip svg { width: 96px; height: auto; }
.tip h3 { font-size: var(--fs-h3); margin-bottom: 4px; }
.tip p { font-size: 15.5px; color: var(--ink-soft); }
@media (min-width: 760px) {
  .tips { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .tips { grid-template-columns: repeat(4, 1fr); }
  .tip { grid-template-columns: 1fr; }
  .tip svg { width: 120px; }
  .tip--wide { grid-column: span 2; grid-template-columns: 130px 1fr; }
  .tip--wide svg { width: 130px; }
}

/* ---------- 남동: 상담 방식 ---------- */
.seg { display: inline-flex; border: 1.5px solid var(--celadon); border-radius: var(--radius); overflow: hidden; }
.seg__btn { min-height: 44px; padding: 6px 18px; border: 0; background: var(--paper); font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.seg__btn[aria-pressed="true"] { background: var(--celadon); color: #fff; }
.ways { display: grid; border-top: 2px solid var(--ink); }
.way { display: grid; grid-template-columns: 76px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.way__art { width: 76px; grid-row: span 2; }
.way__body h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.way__body p { font-size: 15.5px; color: var(--ink-soft); }
.way__meta { margin-top: 8px; font-size: 14px !important; color: var(--ink) !important; }
.way__price { grid-column: 2; display: flex; align-items: baseline; gap: 8px; }
.way__price small { font-size: 12px; font-weight: 700; color: var(--loess-deep); border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; }
.way__price b { font-size: 1.45rem; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.way--visit .way__price b { color: var(--celadon); }
.has-motion .way__price b.is-swap { animation: tip-in .4s ease-out; }
.ways__note { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }
@media (min-width: 860px) {
  .way { grid-template-columns: 120px 1fr 220px; gap: 32px; align-items: center; padding: 28px 0; }
  .way__art { width: 120px; grid-row: auto; }
  .way__price { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 4px; }
  .way__price b { font-size: 1.75rem; }
  .way:nth-child(2) { padding-block: 36px; }
  .way--visit { padding-block: 44px; }
}

/* ---------- 남: 순서 ---------- */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 0 0 26px; }
.step::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 4px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 10px); }
.step:last-child::before { display: none; }
.step__dial { width: 46px; height: 46px; grid-row: span 3; }
.step__needle { transform-box: view-box; transform-origin: 20px 20px; transform: rotate(var(--s)); }
.step__no { font-size: 13px; color: var(--celadon); font-weight: 800; }
.step h3 { font-size: var(--fs-h3); margin: 2px 0 4px; }
.step p { font-size: 15.5px; color: var(--ink-soft); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; padding: 0; }
  .step::before { left: 54px; right: -18px; top: 22px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
  .step__dial { grid-row: auto; margin-bottom: 14px; }
}

/* ---------- 남서: 상담사 ---------- */
.counselor { display: grid; gap: 28px; }
.counselor__art svg { width: min(100%, 380px); border-radius: 12px; }
.counselor__name { font-size: 1.1rem; font-weight: 700; margin-top: 14px; }
.counselor__career { margin: 6px 0 22px; }
.counselor__body h2 { font-family: var(--serif); font-size: var(--fs-h2); }
.counselor__body h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.promise { display: grid; gap: 10px; counter-reset: p; }
.promise li { counter-increment: p; position: relative; padding: 12px 14px 12px 50px; background: var(--tracing); border-radius: var(--radius); font-size: 15.5px; color: var(--ink-soft); }
.promise li::before { content: counter(p); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--celadon); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.promise b { color: var(--ink); }
@media (min-width: 900px) { .counselor { grid-template-columns: 380px 1fr; gap: 64px; align-items: center; } }

/* ---------- 서: 질문 ---------- */
.faq__list { border-top: 2px solid var(--ink); max-width: 860px; }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 1.05rem; }
.qa button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  padding: 18px 2px; background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 1.05rem; line-height: 1.45;
}
.qa button::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--celadon); border-bottom: 2px solid var(--celadon); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.qa button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.qa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding: 0 2px 18px; color: var(--ink-soft); }
.qa.is-open .qa__panel { grid-template-rows: 1fr; }
html:not(.js) .qa__panel { grid-template-rows: 1fr; }

/* ---------- 북서: 문의 ---------- */
.contact__grid { display: grid; gap: 26px; }
.ask { display: grid; gap: 16px; }
.ask__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.ask__set legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 15.5px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--celadon); border-color: var(--celadon); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--loess); outline-offset: 2px; }
.letter { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--loess); border-radius: var(--radius); padding: 20px; align-self: start; }
.letter__label { font-size: 13px; font-weight: 700; color: var(--loess-deep); margin-bottom: 8px; }
.letter__text { font-size: 16.5px; line-height: 1.8; padding: 14px 16px; background: var(--tracing); border-radius: var(--radius); min-height: 8em; }
.letter__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.letter__status { min-height: 1.6em; font-size: 14px; color: var(--celadon); font-weight: 700; margin-top: 6px; }
.office { margin: 14px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.office div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.office dt { font-weight: 700; font-size: 14.5px; }
.office dd { margin: 0; font-size: 15px; }
.office small { display: block; color: var(--ink-soft); font-size: 13px; }
.office a { color: var(--celadon); font-weight: 700; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ---------- 푸터·하단 바 ---------- */
.site-footer { background: var(--ink); color: #C9D2CE; padding: 40px 0 110px; font-size: 14px; }
.site-footer__inner { display: grid; gap: 18px; }
.site-footer__logo { font-family: var(--serif); font-size: 18px; color: #fff; font-weight: 700; margin-bottom: 8px; }
.site-footer__biz { line-height: 1.85; }
.site-footer a { color: #F1DDA8; }
.site-footer__note { margin-top: 8px; color: #A9B4B0; }
.site-footer__links { display: flex; gap: 14px; margin-top: 8px; }
.site-footer__links .strong { font-weight: 800; }
.site-footer__credit { color: #A9B4B0; border-top: 1px solid #34403D; padding-top: 14px; }
@media (min-width: 960px) { .site-footer { padding-bottom: 40px; } }

.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: 15px; border: 1.5px solid var(--line); }
.quickbar svg { width: 18px; height: 18px; }
.quickbar__kakao { background: #FEE500; border-color: #FEE500 !important; color: #191600; }
.quickbar__cta { background: var(--loess); border-color: var(--loess-deep) !important; color: var(--ink); }
@media (min-width: 960px) { .quickbar { display: none; } }

/* ---------- 등장 (보이는 상태가 기본) ---------- */
.has-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.has-motion .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 동작 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn, .chips span, .dirpad__btn, .seg__btn, .room rect, .placed__item, .qa__panel { transition-duration: .2s !important; }
}
.is-reduced .compass, .is-reduced .compass__labels text, .is-reduced .hcompass__needle, .is-reduced .rose__disc svg { transition: none !important; }
html.is-reduced { scroll-behavior: auto; }
