@charset "utf-8";
/* =========================================================
   신용산짐 — 공통 스타일

   컨셉 : 미니멀 · 멀끔함 · 프라이빗 · 전문성
   피할 것(광고주 요청) : 일반 헬스장·필라테스샵 느낌 / 화려하거나 어두운 느낌 /
                          과대포장·영업적인 느낌
   그래서 : 그림자·그라디언트·형광색을 쓰지 않는다. 여백과 얇은 선으로만 구분한다.

   색은 실제 간판에서 가져왔다. 간판 글씨가 민트-틸 계열이라
   그 색을 낮춰(채도를 빼고 어둡게) 본문에서 읽히는 값으로 만들었다.
   ========================================================= */

/* ---------- 토큰 ---------- */
:root {
  /* 바탕 */
  --ivory:    #F6F3EC;   /* 기본 바탕 */
  --ivory-2:  #EFEAE0;   /* 한 단계 진한 바탕 */
  --paper:    #FFFFFF;

  /* 글자 */
  --ink:      #1A1916;   /* 제목 */
  --ink-2:    #4A463E;   /* 본문 */
  --ink-3:    #837C70;   /* 보조 */

  /* 선 */
  --line:     #DED7CA;
  --line-2:   #ECE6DA;

  /* 파트 색 — 프로그램 두 갈래를 색으로 구분한다 */
  --teal:     #1E6E68;   /* 펑셔널 (기능성) */
  --teal-2:   #2E8C84;
  --teal-bg:  #E9F1EF;
  --brown:    #6B5544;   /* 아나토미 웨이트 */
  --brown-2:  #8A7059;
  --brown-bg: #F1EBE3;
  --red:      #9E3B2C;   /* 아주 드물게 쓰는 강조 */

  /* 크기 */
  --wrap:     1180px;
  --pad:      24px;
  --radius:   4px;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
          system-ui, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

@media (max-width: 640px) { :root { --pad: 20px; } }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 고정 헤더에 제목이 가려지지 않게 */
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.02em;
  /* 한국어는 띄어쓰기 단위로 끊는다 */
  word-break: keep-all;
  /* 공백이 없는 중국어·일본어·긴 URL 이 칸을 넘지 않게 한다.
     break-word 는 flex/grid 안에서 min-content 를 못 줄여 무력하다. */
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  /* 가로 넘침을 여기서 잘라내지 않는다 — 넘치면 고쳐야 할 버그다 */
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  padding: 12px 20px; background: var(--ink); color: #fff;
  border-radius: var(--radius); font-size: 14px; font-weight: 600;
  transition: top .18s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

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

/* ---------- 공통 조각 ---------- */

/* 영문 라벨 — 섹션 머리에 작게 */
.eyebrow {
  display: block;
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow--brown { color: var(--brown-2); }
.eyebrow--muted { color: var(--ink-3); }

.section { padding: clamp(72px, 9vw, 132px) 0; }
.section--paper { background: var(--paper); }
.section--tint  { background: var(--ivory-2); }
.section--ink   { background: var(--ink); color: rgba(255,255,255,.76); }
.section--ink h2, .section--ink h3 { color: #fff; }

.section__head { max-width: 760px; margin: 0 0 clamp(40px, 5vw, 64px); }
.section__title {
  font-size: clamp(25px, 3.3vw, 40px);
  line-height: 1.34;
}
.section__lead {
  margin-top: 18px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--ink-2);
}
.section--ink .section__lead { color: rgba(255,255,255,.72); }

/* 얇은 구분선 */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.02em;
  cursor: pointer; text-align: center;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-2); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* 확인 대기 표시 — 광고주 확인 전 값에 붙인다.
   시안에서 눈에 띄어야 하므로 점선을 남긴다. 정식 오픈 전 전부 걷어낸다. */
.tbd {
  border-bottom: 1px dashed var(--red);
  color: var(--red);
  font-style: normal;
}
.tbd::after {
  content: '확인 필요';
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 2px;
  white-space: nowrap;
}

/* ---------- 헤더 ---------- */
/* ⚠️ 머리띠는 반투명하게 두지 않는다. 아래로 사진이 지나가면 글자가 그 위에 겹쳐
      읽기 어려워진다. 바탕색을 거의 채워 두고 흐림 효과는 보조로만 쓴다. */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(246,243,236,.97);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.header.is-stuck { border-bottom-color: var(--line); background: var(--ivory); }

.header__inner {
  display: flex; align-items: center; gap: 20px;
  height: 72px;
}
@media (max-width: 1180px) { .header__inner { height: 64px; } }

.header__logo { display: flex; align-items: baseline; gap: 9px; flex: none; }
.header__logo b {
  font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.045em;
}
.header__logo small {
  font-size: 10px; font-weight: 600; color: var(--teal);
  letter-spacing: 0.16em; text-transform: uppercase;
}

.gnb { display: flex; gap: 2px; margin-left: auto; }

/* 🔴 메뉴 글자는 본문보다 작으므로 **본문 규칙을 그대로 쓰면 안 된다.**
      본문에 건 음수 자간(-0.02em)이 작은 한글에 걸리면 획이 서로 붙어 뭉개진다.
      여기서는 자간을 0 에 가깝게 되돌리고, 굵기와 색을 올려 또렷하게 만든다. */
.gnb__link {
  padding: 9px 11px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;          /* 좁아져도 메뉴 이름이 두 줄로 꺾이지 않게 */
  border-radius: var(--radius);
  transition: color .16s, background-color .16s;
}
.gnb__link:hover { color: var(--teal); background: rgba(30,110,104,.07); }

.header__cta { flex: none; margin-left: 8px; }

.hamburger {
  display: none; flex: none;
  width: 44px; height: 44px; margin-left: auto;
  padding: 0; border: 0; background: transparent; cursor: pointer;
}
.hamburger span {
  display: block; width: 21px; height: 1.5px; margin: 5px auto;
  background: var(--ink); transition: transform .24s, opacity .18s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1180px) {
  .gnb, .header__cta { display: none; }
  .hamburger { display: block; }
}

/* 읽기 진행 막대 (글 페이지) */
.progress { position: sticky; top: 72px; z-index: 190; height: 2px; background: transparent; }
.progress__bar { height: 100%; width: 0; background: var(--teal); transition: width .1s linear; }
@media (max-width: 1180px) { .progress { top: 64px; } }

/* ---------- 모바일 메뉴 ---------- */
.mnav {
  position: fixed; inset: 64px 0 0; z-index: 199;
  display: none; flex-direction: column;
  padding: 18px var(--pad) 32px;
  background: var(--ivory);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mnav.is-open { display: flex; }
.mnav__link {
  display: flex; align-items: baseline; gap: 10px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-2);
  font-size: 17px; font-weight: 600; color: var(--ink);
}
.mnav__link small {
  font-size: 10px; font-weight: 600; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.mnav__foot { margin-top: 26px; display: grid; gap: 10px; }

/* ---------- 히어로 ----------
   🔴 첫 화면에 사진을 넣지 않는다 (2026-09-01 광고주 요청 — 「사진을 빼고 로고만 넣는 게 깔끔하겠다」).
      간판 캘리그래피 로고를 가운데 크게 두고 그 아래 한 문장을 둔다. */
.hero { position: relative; background: var(--ivory); overflow: hidden; }
.hero__inner {
  display: block;
  max-width: 900px;
  text-align: center;
  padding: clamp(52px, 7vw, 96px) 0 clamp(60px, 8vw, 104px);
}
.hero__copy { min-width: 0; }

/* 로고 — 광고주가 준 캘리그래피. 배경만 걷어낸 PNG 라 바탕색 위에 그대로 얹힌다 */
.hero__logo {
  display: block;
  width: min(100%, 460px);
  height: auto;
  margin: 0 auto clamp(26px, 3.4vw, 40px);
}
.hero .eyebrow { text-align: center; }
.hero__title, .hero__sub { margin-left: auto; margin-right: auto; }
.hero__actions { justify-content: center; }
.hero__title {
  font-size: clamp(29px, 4.4vw, 52px);
  line-height: 1.28;
  letter-spacing: -0.045em;
}
.hero__title em { font-style: normal; color: var(--teal); }
.hero__sub {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 34em;
}
/* 광고주 요청(2026-09-22) — 한 줄씩. 좁은 화면에서 접히면 줄 길이를 고르게 맞춘다 */
.hero__sub--lines { max-width: 43em; }
.hero__sub--lines > span { display: block; text-wrap: balance; }
.hero__sub--lines > span + span { margin-top: .15em; }
.hero__sub--lines > span.is-gap { margin-top: 1.1em; }
/* 휴대폰(360px 갤럭시 기준)에서는 한 줄이 화면 끝까지 차서 제멋대로 접힌다.
   끊을 자리를 뜻 단위로 미리 정해 두고, 줄 묶음 사이를 벌려 한 줄씩 읽히게 한다 */
.br-m { display: none; }
@media (max-width: 600px) {
  .hero__sub--lines > span + span { margin-top: .7em; }
  .hero__sub--lines { line-height: 1.7; }
  .br-m { display: inline; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(26px, 3vw, 38px); }
.hero__note {
  margin-top: 18px;
  font-size: 13.5px; color: var(--ink-3); line-height: 1.7;
}

@media (max-width: 600px) {
  .hero__logo { width: min(100%, 300px); }
}

/* 히어로 아래 한 줄 요약 띠 */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.strip__inner {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.strip__item { padding: 26px 28px; border-left: 1px solid var(--line-2); min-width: 0; }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item:last-child { padding-right: 0; }
.strip__k {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 600; color: var(--teal);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.strip__v { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.strip__d { margin-top: 5px; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }
@media (max-width: 780px) {
  .strip__inner { grid-template-columns: 1fr; }
  .strip__item { border-left: 0; border-top: 1px solid var(--line-2); padding: 20px 0; }
  .strip__item:first-child { border-top: 0; }
}

/* ---------- 인용 / 한 문장 ---------- */
.statement { text-align: left; }
.statement__q {
  font-size: clamp(21px, 2.9vw, 34px);
  font-weight: 700; color: var(--ink); line-height: 1.55; letter-spacing: -0.04em;
  max-width: 20em;
}
.statement__by { margin-top: 22px; font-size: 14px; color: var(--ink-3); }

/* ---------- 강점 3 ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.reason { background: var(--paper); padding: clamp(28px, 3.4vw, 44px); min-width: 0; }
.reason__no {
  display: block; margin-bottom: 20px;
  font-size: 12px; font-weight: 600; color: var(--teal); letter-spacing: 0.14em;
}
.reason__t { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.45; }
.reason__d { margin-top: 14px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- 이런 분께 ---------- */
.targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.target {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  min-width: 0;
}
.target__n { font-size: 13px; font-weight: 600; color: var(--teal); padding-top: 5px; }
.target__t { font-size: clamp(16px, 1.7vw, 18px); line-height: 1.5; }
.target__d { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 780px) { .targets { grid-template-columns: 1fr; } }

/* ---------- 프로그램 ---------- */
.part { padding: clamp(56px, 7vw, 104px) 0; }
.part--functional { background: var(--paper); }
.part--weight { background: var(--ivory-2); }

.part__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px); align-items: start;
}
.part--weight .part__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.part--weight .part__media { order: -1; }

.part__label {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 6px 13px;
  border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.part--functional .part__label { background: var(--teal-bg); color: var(--teal); }
.part--weight .part__label { background: var(--brown-bg); color: var(--brown); }

.part__title { font-size: clamp(23px, 3vw, 34px); line-height: 1.35; }
.part__title span { display: block; font-size: 0.56em; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 10px; }
.part__lead { margin-top: 20px; font-size: 15.5px; line-height: 1.9; }

.part__list { margin-top: 28px; border-top: 1px solid var(--line); }
.part__list li { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.part__list b { display: block; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.part__list span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }

/* 도구 목록 — 슬링·토구·XCO·인디언클럽 */
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tools li {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: var(--paper);
}
.tools li.is-key { border-color: var(--teal); color: var(--teal); font-weight: 600; }
.part--weight .tools li.is-key { border-color: var(--brown); color: var(--brown); }

/* 🔴 사진을 자르지 않는다 (2026-09-01 광고주 요청 — 「전체가 보이는 사이즈로」).
   전에는 4:3 · 1:1 로 틀을 잡고 잘라 넣었는데, 코칭 장면은 손·자세가 화면 밖으로
   잘려 나가 무엇을 하는 사진인지 알 수 없었다. 이제 원래 비율 그대로 둔다. */
.part__media { display: grid; gap: 12px; min-width: 0; align-items: start; }
.part__media img { width: 100%; height: auto; border-radius: var(--radius); }
.part__media .m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }

/* 사진 두 장을 나란히 — 자르지 않아 높이가 서로 다를 수 있다. 위를 맞춘다. */
.pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px); align-items: start; margin-top: 8px;
}
.pair figure { margin: 0; min-width: 0; }
.pair img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (max-width: 780px) { .pair { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
  .part__inner, .part--weight .part__inner { grid-template-columns: 1fr; }
  .part--weight .part__media { order: 0; }
}

/* ---------- 진행 방식 (단계) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); }
.steps li { background: var(--ink); padding: clamp(24px, 2.8vw, 34px) clamp(20px, 2.4vw, 30px); min-width: 0; }
.steps__n {
  display: block; margin-bottom: 16px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; color: #7FC9C1;
}
.steps__t { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.45; }
.steps__d { margin-top: 10px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.66); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 트레이너 ----------
   자격이 열다섯 개가 넘는 분이 있어 카드를 나란히 두는 방식으로는 담기지 않는다.
   한 분씩 가로로 길게 두고, 사진과 내용을 좌우로 나눈다. */
.pros { display: grid; gap: clamp(20px, 3vw, 32px); }
.pro {
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; min-width: 0;
}
/* 두 번째 분은 사진을 반대쪽에 둔다 — 나란히 놓았을 때 리듬이 생긴다 */
.pro:nth-child(even) .pro__media { order: 2; }
.pro__media { background: var(--ivory-2); min-height: 100%; }
.pro__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.pro__body { padding: clamp(26px, 3.2vw, 40px); min-width: 0; }
.pro__role {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
}
.pro--weight .pro__role { color: var(--brown-2); }
.pro__name { margin-top: 12px; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.35; }
.pro__name small { font-size: 13.5px; font-weight: 500; color: var(--ink-3); margin-left: 8px; letter-spacing: 0; }
.pro__part {
  display: inline-block; margin-top: 12px; padding: 5px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--teal-bg); color: var(--teal);
}
.pro--weight .pro__part { background: var(--brown-bg); color: var(--brown); }
.pro__lead { margin-top: 16px; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* 자격·경력 */
.cred { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.cred + .cred { margin-top: 20px; }
.cred__h {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px;
}
.cred__list li {
  position: relative; padding-left: 14px; margin-bottom: 9px;
  font-size: 14.5px; line-height: 1.7; color: var(--ink-2);
}
.cred__list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--teal);
}
.pro--weight .cred__list li::before { background: var(--brown-2); }
.cred__list b { color: var(--ink); font-weight: 600; }
/* 국제 자격은 발급 국가를 붙인다 — "국제자격"이라는 말보다 근거가 분명해진다 */
.cred__flag {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: 0;
  vertical-align: 1px; white-space: nowrap;
}
/* 자격이 많은 분은 접어 둔다. 접어도 글자는 문서 안에 있어 검색·AI 가 읽는다. */
.cred details { margin-top: 4px; }
.cred summary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--teal);
}
.pro--weight .cred summary { color: var(--brown); }
.cred summary::-webkit-details-marker { display: none; }
.cred summary::after {
  content: ''; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.cred details[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.cred details .cred__list { padding-top: 8px; }

@media (max-width: 900px) {
  .pro { grid-template-columns: 1fr; }
  .pro:nth-child(even) .pro__media { order: 0; }
  .pro__media img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- 후기 ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 32px); min-width: 0;
}
.review__t { font-size: 16.5px; line-height: 1.55; }
.review__b { margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.review__by { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- 시설 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.gallery .is-wide { grid-column: span 2; }
.gallery .is-wide img { aspect-ratio: 16 / 9; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .is-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .is-wide { grid-column: span 1; }
  .gallery .is-wide img { aspect-ratio: 4 / 3; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: clamp(16px, 1.7vw, 18px); font-weight: 600; color: var(--ink);
  line-height: 1.6;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 13px; height: 13px; margin: 8px 0 0 auto;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq__answer { padding: 0 0 24px; font-size: 15px; line-height: 1.95; color: var(--ink-2); max-width: 62em; }

/* ---------- 오시는 길 ---------- */
.place { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.place__map { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.place__map svg { display: block; width: 100%; height: auto; }

/* 🔴 약도가 두 벌이다 — 넓은 화면은 가로형(800x600), 좁은 화면은 세로형(390x640).
   가로형 하나를 375px 에 맞춰 줄이면 글자가 6px 이 되어 못 읽는다(2026-10-01 실측).
   두 벌 모두 tools/build-map.mjs 가 같은 사실로 그린다.
   ⚠️ 크기는 여기서만 정한다. SVG 에 인라인 style 을 적으면 이 규칙이 안 먹는다. */
.place__map .map-mob { display: none; }
.place__map .map-mob svg { max-width: 460px; margin: 0 auto; }
/* 한 칸으로 쌓일 때(760~1179px) 약도가 화면 폭만큼 커지지 않게 막는다 — 1100px 짜리 약도는 너무 크다 */
.place__map .map-desk svg { max-width: 860px; margin: 0 auto; }
@media (max-width: 759px) {
  .place__map .map-desk { display: none; }
  .place__map .map-mob { display: block; }
}
/* 「지도 보기」를 누른 동안에는 약도를 접는다 (main.js 가 is-live 를 붙인다) */
.place__map.is-live .map-desk,
.place__map.is-live .map-mob { display: none; }
/* 지도는 크게 — 작으면 어디가 어딘지 알 수 없다 */
.place__map iframe { display: block; width: 100%; height: clamp(340px, 46vh, 480px); border: 0; }

/* 「지도 보기」 — 누르기 전에는 바깥으로 나가는 요청이 하나도 없다.
   누르면 그 자리에 실제 지도가 뜨고, 다시 누르면 약도로 돌아온다. */
.place__mapbtn {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .16s, color .16s;
}
.place__mapbtn:hover { border-color: var(--teal); color: var(--teal); }
.place__dl { margin: 0; border-top: 1px solid var(--line); }
.place__dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.place__dl dt { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.place__dl dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink); }
.place__dl dd a { border-bottom: 1px solid var(--line); }
.place__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
/* 두 칸으로 나누는 것은 넓은 화면에서만 — 그보다 좁으면 약도가 줄어 글자가 11px 아래로 내려간다 */
@media (max-width: 1179px) { .place { grid-template-columns: 1fr; } }

/* ---------- 상담 신청 ---------- */
.apply { background: var(--ink); color: rgba(255,255,255,.75); }
.apply__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.apply h2 { color: #fff; }
.apply__lead { margin-top: 18px; font-size: 15.5px; line-height: 1.9; color: rgba(255,255,255,.7); }
.apply__quick { display: grid; gap: 10px; margin-top: 30px; max-width: 340px; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.82); }
.field label .req { color: #7FC9C1; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius);
  font: inherit; font-size: 15px;
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.36); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #7FC9C1; background: rgba(255,255,255,.1);
}
.field select option { color: #16150F; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.7); }
.form__agree input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: #2E8C84; }
.form__agree a { border-bottom: 1px solid rgba(255,255,255,.4); }
.form__msg { font-size: 14px; line-height: 1.7; min-height: 1.2em; }
.form__msg.is-ok { color: #7FC9C1; }
.form__msg.is-err { color: #F0A197; }
/* 사람 눈에 보이지 않는 칸 — 자동 프로그램만 채운다 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .apply__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- 푸터 ---------- */
.footer { background: #111010; color: rgba(255,255,255,.56); padding: clamp(48px, 6vw, 72px) 0 40px; font-size: 14px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo b { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.045em; }
.footer__logo small { display: block; margin-top: 7px; font-size: 10.5px; letter-spacing: 0.16em; color: #7FC9C1; text-transform: uppercase; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; max-width: 640px; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.6); }
.footer__links a:hover { color: #fff; }
.footer__body { padding: 26px 0 0; line-height: 1.9; }
.footer__body p { margin: 0; }
.footer__body a { border-bottom: 1px solid rgba(255,255,255,.22); }
.footer__copy { margin-top: 26px; font-size: 12.5px; color: rgba(255,255,255,.34); }
.footer__admin { margin-left: 12px; color: rgba(255,255,255,.24); }

/* ---------- 모바일 하단 고정 CTA ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  display: none; gap: 8px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.dock .btn { flex: 1; min-height: 48px; }
@media (max-width: 1180px) { .dock { display: flex; } body { padding-bottom: 76px; } }

/* ---------- 글 페이지 (/notes/) ---------- */
.post { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 104px); }
.post__inner { max-width: 780px; }
.post__crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 26px; }
.post__crumb a { border-bottom: 1px solid var(--line); }
.post__crumb span[aria-hidden] { margin: 0 6px; }
.post__head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post__cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.post__title { margin-top: 14px; font-size: clamp(24px, 3vw, 34px); line-height: 1.38; }
.post__meta { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.post__cover { margin: 32px 0 0; }
.post__cover img { width: 100%; border-radius: var(--radius); }
.post__summary { margin-top: 36px; padding: 26px 28px; background: var(--teal-bg); border-radius: var(--radius); }
.post__summary-title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.post__summary p { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.post__summary p + p { margin-top: 10px; }
.post__toc { margin-top: 32px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.post__toc-title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.post__toc ol { counter-reset: toc; }
.post__toc li { counter-increment: toc; padding: 5px 0; font-size: 14.5px; }
.post__toc li::before { content: counter(toc) '. '; color: var(--ink-3); }
.post__toc a { border-bottom: 1px solid transparent; }
.post__toc a:hover { border-bottom-color: var(--line); }

.post__body { margin-top: 40px; font-size: 16.5px; line-height: 1.95; }
.post__body h2 { margin: 48px 0 16px; font-size: clamp(20px, 2.3vw, 26px); }
.post__body h3 { margin: 34px 0 12px; font-size: clamp(17px, 1.9vw, 20px); }
.post__body p { margin: 0 0 18px; }
.post__body ul, .post__body ol { margin: 0 0 20px; padding-left: 4px; }
.post__body li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.post__body ul li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.post__body ol { counter-reset: n; }
.post__body ol li { counter-increment: n; }
.post__body ol li::before { content: counter(n) '.'; position: absolute; left: 0; color: var(--teal); font-weight: 600; font-size: 14px; }
.post__body blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--teal); color: var(--ink-2); }
.post__body blockquote p { margin: 0; }
.post__body img { margin: 24px 0; border-radius: var(--radius); }
.post__body a { color: var(--teal); border-bottom: 1px solid currentColor; }
.post__body code { padding: 2px 6px; background: var(--ivory-2); border-radius: 3px; font-size: 0.9em; }
.post__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.post__body th, .post__body td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.post__body th { background: var(--ivory-2); font-weight: 600; color: var(--ink); }
/* 표는 좁은 화면에서 자기 안에서만 가로로 움직인다 — 페이지가 밀리면 안 된다 */
.post__body .tablewrap { overflow-x: auto; }

.post__faq { margin-top: 56px; }
.post__faq h2 { font-size: clamp(20px, 2.3vw, 26px); margin-bottom: 20px; }
.post__place { margin-top: 56px; padding: clamp(26px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.post__place h2 { font-size: 20px; margin-bottom: 18px; }
.post__place-dl { margin: 0 0 24px; }
.post__place-dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.post__place-dl dt { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.post__place-dl dd { margin: 0; font-size: 15px; line-height: 1.7; }
.post__src { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.post__src h2 { font-size: 17px; margin-bottom: 12px; }
.post__src li { padding: 5px 0; font-size: 14.5px; color: var(--ink-2); }
.post__src a { color: var(--teal); border-bottom: 1px solid currentColor; }

/* 글 목록 */
/* 2026-10-16 작업장 뼈대 B안 「목록 밀도」 — 한 줄씩(글 왼쪽 · 정사각 사진 오른쪽 · 사진 없으면 글이 전체 폭 · 설명 3줄).
   10개 넘거나 분류가 둘 이상이면 칩·찾기·「목록 더보기」(worker/render.js LIST_SCRIPT).
   11번째부터 숨김은 스크립트가 뜬 뒤(data-ready)에만 — 스크립트가 죽어도 글이 다 보인다 */
.postlist { border-top: 2px solid var(--ink); margin-top: 12px; }
.post__head + .postlist { margin-top: 36px; }
.postlist__item { border-bottom: 1px solid var(--line); }
.postlist__item > a { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 22px; padding: 24px 0; align-items: start; }
.postlist__item--text > a { grid-template-columns: minmax(0, 1fr); }
.postlist__thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.postlist__text { min-width: 0; }
.postlist__cat { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.postlist__title { display: block; margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: -0.035em; word-break: keep-all; }
.postlist__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); word-break: keep-all; }
.postlist__date { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.postlist__empty { margin-top: 40px; padding: 48px 0; text-align: center; color: var(--ink-3); border-top: 1px solid var(--line); }
.postlist__item.is-out, .blog-wrap[data-ready] .postlist__item[data-more] { display: none; }
.blog-tools[hidden], .blog-none[hidden], .blog-more[hidden] { display: none; }
.blog-wrap { display: flex; flex-direction: column; margin-top: 36px; }
.blog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; min-width: 0; }
.blog-chips button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; transition: background-color .16s cubic-bezier(.16,1,.3,1), color .16s cubic-bezier(.16,1,.3,1), border-color .16s cubic-bezier(.16,1,.3,1); }
.blog-chips button span { margin-left: 2px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.blog-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.blog-chips button[aria-pressed="true"] span { color: inherit; opacity: .75; }
.blog-chips button:focus-visible, .blog-find input:focus-visible, .blog-more:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.blog-find { position: relative; flex: 0 1 240px; min-width: 0; }
.blog-find input { width: 100%; min-height: 40px; padding: 0 16px 0 38px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
.blog-find svg { position: absolute; left: 13px; top: 50%; margin-top: -9px; color: var(--ink-3); pointer-events: none; }
.blog-count { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.blog-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.blog-none { margin-top: 22px; color: var(--ink-2); }
.blog-more { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 52px; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.blog-more span { font-weight: 400; font-size: 13.5px; color: var(--ink-3); }
.blog-more:active { transform: translateY(1px); }
/* 글 끝 — 다른 글 4칸 · 이전/다음 · 목록으로 */
.post-rel { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-rel__title { font-size: 18px; }
.post-rel__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.post-rel__list a { display: grid; gap: 8px; color: inherit; font-size: 14px; line-height: 1.5; word-break: keep-all; }
.post-rel__list img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.post-rel__list .is-text a { align-content: start; min-height: 100%; padding: 14px; border-radius: var(--radius); background: var(--ivory-2); }
.post-rel__cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--teal); }
.post-rel__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); }
.post-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.post-pn a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 14px; line-height: 1.5; color: var(--ink); word-break: keep-all; }
.post-pn small { font-size: 12.5px; color: var(--ink-3); }
.post-pn__next { text-align: right; }
.post-tolist { display: block; width: fit-content; margin: 28px auto 0; padding: 11px 36px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .postlist__item > a:hover .postlist__title, .post-rel__list a:hover .post-rel__name, .post-pn a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .blog-chips button:hover { border-color: var(--ink-3); }
}
@media (max-width: 640px) {
  .postlist__item > a { grid-template-columns: minmax(0, 1fr) 84px; gap: 14px; padding: 16px 0; }
  .postlist__item--text > a { grid-template-columns: minmax(0, 1fr); }
  .postlist__title { font-size: 16px; }
  .postlist__desc { -webkit-line-clamp: 2; }
  .blog-tools { flex-direction: column-reverse; align-items: stretch; }
  .blog-find { flex-basis: auto; }
  .blog-find input { font-size: 16px; }
  .blog-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .blog-chips button { flex: none; }
  .post-rel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-pn { grid-template-columns: 1fr; }
  .post-pn__next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .blog-chips button { transition: none; } }

/* ---------- 등장 효과 ----------
   ⚠️ 관찰 대상은 처음부터 화면에 있는 것만이다. 나중에 만들어지는 목록에는
      절대 걸지 않는다 — opacity:0 인 채 남아 "목록이 비어 보이는" 사고가 난다. */
.has-js .reveal { opacity: 0; transform: translateY(14px); }
.has-js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 인쇄 ---------- */
@media print {
  .header, .mnav, .dock, .apply, .hamburger, .preview-flag { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
}
