/* ============================================================
   BNSK · 강미래 필라테스 — Quiet Luxury Editorial
   2026-11-23 전면 개편
   - 아이보리 바탕 · 명조 헤드라인 · 버건디 포인트 · 헤어라인 규칙
   - 둥근 카드/그림자/그라디언트 배지 제거, 인쇄물 같은 그리드
   - 접근성: 본문 14px↑, 명도 대비 4.5:1↑, 터치타깃 44px,
     prefers-reduced-motion 전 구간 대응, 무 JS에서도 전체 노출
   ============================================================ */

:root {
  --paper: #f7f3ec;
  --paper-2: #efe8dc;
  --paper-3: #fbf8f2;
  --ink: #17140f;
  --body: #3d372f;
  --muted: #6c6357;
  --line: rgba(23, 20, 15, .14);
  --line-soft: rgba(23, 20, 15, .07);
  --wine: #7f1d1d;
  --wine-dark: #5d1414;
  --wine-tint: #f0e4e1;
  --char: #14181f;
  --cream: #f7f3ec;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Apple SD Gothic Neo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.75 var(--sans);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
::selection { background: var(--wine); color: var(--cream); }

.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
section { scroll-margin-top: 92px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .06em; }

/* ===== 스킵 링크 ===== */
.skip-link {
  position: absolute; left: 16px; top: -70px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 14px 20px; font-size: 14px;
  transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ===== 데모 리본 ===== */
.demo-ribbon {
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; align-items: center;
  background: var(--ink); color: rgba(247, 243, 236, .9);
  font-size: 11px; letter-spacing: .06em; padding: 10px 18px;
}
.demo-ribbon b { font-weight: 700; letter-spacing: .14em; color: #fff; }
.demo-ribbon a { color: rgba(247, 243, 236, .86); text-decoration: underline; text-underline-offset: 3px; }
.demo-ribbon a:hover { color: #fff; }

/* ===== 공통 타입 ===== */
.mini-label {
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: var(--muted); text-transform: uppercase;
}
.section { padding-block: clamp(72px, 8.5vw, 128px); }
.section-head { max-width: 760px; }
.section-index {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--wine);
}
.section-index::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .55;
}
.section-index span { font-family: var(--serif); font-size: 12px; letter-spacing: .12em; }
.section-index.light { color: #d7b4ae; }
.section-head h2 {
  margin-top: 20px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.42; letter-spacing: -.022em;
}
.section-sub { margin-top: 16px; max-width: 48ch; font-size: 15px; color: var(--muted); line-height: 1.85; }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--wine); color: var(--cream); }
.btn-primary:hover { background: var(--wine-dark); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 13.5px; }
.btn-cream { background: var(--cream); color: var(--wine); }
.btn-cream:hover { background: #fff; }
.btn-line { min-height: 48px; padding: 0 20px; border-color: rgba(23, 20, 15, .5); font-size: 13.5px; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid rgba(23, 20, 15, .35); padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--wine); border-color: var(--wine); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow.cream { color: var(--cream); border-color: rgba(247, 243, 236, .5); }
.link-arrow.cream:hover { color: #fff; border-color: #fff; }
.link-underline {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--wine);
  border-bottom: 1px solid rgba(127, 29, 29, .4);
}
.link-underline:hover { color: var(--ink); border-color: var(--ink); }

/* ===== 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(247, 243, 236, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: rgba(23, 20, 15, .2);
  box-shadow: 0 14px 28px -22px rgba(23, 20, 15, .5);
}
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: var(--ink); }
.logo-avatar {
  width: 48px; height: 48px; flex: none; padding: 3px;
  border: 1px solid rgba(127, 29, 29, .26); border-radius: 50%;
  background: var(--paper);
  transition: border-color .25s var(--ease);
}
.logo-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.logo:hover .logo-avatar { border-color: rgba(127, 29, 29, .6); }
.logo-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.logo-text b {
  font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: -.005em; line-height: 1.05;
}
.logo-text em {
  font-style: normal; font-size: 9.5px; letter-spacing: .2em; line-height: 1;
  color: var(--muted); font-weight: 500;
}
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-size: 13.5px; color: var(--muted); letter-spacing: .01em;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.site-nav a:hover { color: var(--ink); border-color: var(--ink); }
.site-nav a[aria-current] { color: var(--ink); border-color: var(--wine); }
.header-cta { flex: none; }
.menu-toggle { display: none; }

/* ===== HERO ===== */
.hero { padding-block: clamp(52px, 6.5vw, 92px) 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: clamp(40px, 5.5vw, 84px); align-items: center;
}
.hero-copy { padding-bottom: 8px; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .22em; color: var(--wine);
}
.eyebrow i { flex: 1; height: 1px; background: rgba(127, 29, 29, .3); }
.hero h1 {
  margin-top: 28px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.85rem, 3.95vw, 3.2rem);
  line-height: 1.35; letter-spacing: -.028em;
}
.hero-lead {
  margin-top: 26px; max-width: 44ch;
  font-size: 15.5px; line-height: 1.95; color: var(--body);
}
.hero-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; }
.hero-meta { margin-top: 22px; font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }

.hero-figure { display: flex; flex-direction: column; }
.hero-photo {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper-2);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(23, 20, 15, .1); pointer-events: none;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-figure figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-top: 12px; font-size: 11px; color: var(--muted); letter-spacing: .06em;
}

/* ===== 스탯 바 ===== */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.t-card { padding: 30px 24px 30px 28px; border-left: 1px solid var(--line-soft); }
.t-card:first-child { border-left: 0; padding-left: 0; }
.t-card b {
  display: block;
  font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 1.9rem);
  font-weight: 500; letter-spacing: -.02em; line-height: 1.2;
}
.t-card span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* ===== 01 이런 분들 ===== */
.who { background: var(--paper-2); border-top: 1px solid var(--line); }
.who-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 5vw, 76px); row-gap: 0; margin-top: clamp(40px, 5vw, 56px);
}
.who-item { padding: 32px 0 34px; border-top: 1px solid var(--line); }
.who-no { font-family: var(--serif); font-size: 12px; color: var(--wine); letter-spacing: .12em; }
.who-item h3 {
  margin-top: 12px; font-family: var(--serif); font-weight: 500;
  font-size: 1.2rem; line-height: 1.5; letter-spacing: -.015em;
}
.who-item p:last-child { margin-top: 10px; font-size: 14.5px; line-height: 1.88; color: var(--muted); max-width: 46ch; }

/* ===== 02 강사 소개 ===== */
.about-grid {
  display: grid; grid-template-columns: .82fr 1.18fr;
  gap: clamp(36px, 5.5vw, 80px); align-items: start;
}
.about-figure { position: sticky; top: 110px; }
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.about-figure figcaption {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 12px; font-size: 10.5px; letter-spacing: .18em; color: var(--muted);
}
.about-text { margin-top: 30px; }
.about-text p { font-size: 15px; line-height: 1.95; color: var(--body); }
.about-text p + p { margin-top: 16px; }
.about-text p:first-child { font-size: 16.5px; color: var(--ink); }

.cred {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line);
}
.cred-list { margin-top: 14px; }
.cred-list div { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.cred-list dt { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.cred-list dd { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.about-sign { margin-top: 30px; }

/* ===== 03 스튜디오 ===== */
.studio { position: relative; color: var(--cream); overflow: hidden; }
.studio-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.studio-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 15, 12, .9) 0%, rgba(18, 15, 12, .72) 42%, rgba(18, 15, 12, .3) 100%),
    linear-gradient(0deg, rgba(18, 15, 12, .55) 0%, rgba(18, 15, 12, 0) 45%);
}
.studio-inner {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(40px, 5vw, 72px); align-items: end;
  padding-block: clamp(80px, 9vw, 124px) clamp(56px, 6vw, 80px);
}
.studio h2 {
  margin-top: 20px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.45; letter-spacing: -.022em;
}
.studio-copy p:last-child {
  margin-top: 20px; max-width: 40ch;
  font-size: 14.5px; line-height: 1.95; color: rgba(247, 243, 236, .78);
}
.studio-facts { border-top: 1px solid rgba(247, 243, 236, .28); }
.studio-facts > div {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid rgba(247, 243, 236, .16);
}
.studio-facts dt { font-size: 11px; letter-spacing: .16em; color: rgba(247, 243, 236, .7); padding-top: 3px; }
.studio-facts dd { font-size: 14.5px; line-height: 1.7; }
.studio-facts dd span { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(247, 243, 236, .68); }
.studio-caption { padding-top: 16px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

/* ===== 04 프로그램 ===== */
.program-list { margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--ink); }
.program-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 300px;
  gap: clamp(20px, 3vw, 40px);
  padding: 34px 0 36px; border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.program-row:hover { background: rgba(23, 20, 15, .025); }
.program-no { font-family: var(--serif); font-size: 13px; color: var(--wine); padding-top: 4px; }
.program-en { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.program-main h3 {
  margin-top: 8px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.02em; line-height: 1.4;
}
.program-target { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--wine); }
.program-desc { margin-top: 12px; max-width: 52ch; font-size: 14.5px; line-height: 1.9; color: var(--body); }
.program-side { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.program-meta div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.program-meta dt { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.program-meta dd { font-size: 13.5px; font-weight: 600; text-align: right; }
.program-meta dd span {
  margin-left: 4px; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .04em;
}
.program-note { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ===== 05 진행 방식 ===== */
.method { background: var(--paper-2); border-block: 1px solid var(--line); }
.method-grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(24px, 3vw, 44px); margin-top: clamp(40px, 5vw, 56px);
}
.method-grid li { padding-top: 22px; border-top: 1px solid rgba(23, 20, 15, .35); }
.method-no {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: rgba(127, 29, 29, .62); line-height: 1;
}
.method-grid h3 {
  margin-top: 16px; font-family: var(--serif); font-weight: 500;
  font-size: 1.08rem; line-height: 1.55; letter-spacing: -.012em;
}
.method-grid h3 span {
  display: inline-block; vertical-align: 2px; margin-left: 6px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--wine); border: 1px solid rgba(127, 29, 29, .35); padding: 1px 6px;
}
.method-grid p:last-child { margin-top: 10px; font-size: 13.5px; line-height: 1.85; color: var(--muted); }

/* ===== 06 회원 이야기 ===== */
.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px); margin-top: clamp(40px, 5vw, 56px);
}
.review-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 28px 26px; border: 1px solid var(--line);
  background: var(--paper-3);
}
.review-card blockquote {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 400;
  line-height: 1.9; letter-spacing: -.01em; color: var(--ink);
  word-break: keep-all;
}
.review-card figcaption { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.review-card b { display: block; font-size: 13px; font-weight: 600; }
.review-card span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.review-note { margin-top: 20px; font-size: 11.5px; color: var(--muted); }

/* ===== 07 출강 ===== */
.partners { background: var(--char); color: #f1ebe1; padding-block: clamp(72px, 8.5vw, 120px); }
.partners-inner {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.partners h2 {
  margin-top: 20px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.022em; line-height: 1.4;
}
.partners-copy > p {
  margin-top: 20px; max-width: 42ch;
  font-size: 14.5px; line-height: 1.95; color: rgba(241, 235, 225, .76);
}
.partners-copy .partners-terms { font-size: 13px; color: rgba(241, 235, 225, .6); }
.partners-copy .btn { margin-top: 32px; }
.partners-list { list-style: none; border-top: 1px solid rgba(241, 235, 225, .3); }
.partners-list li {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px;
  padding: 20px 0; border-bottom: 1px solid rgba(241, 235, 225, .16);
}
.partners-list .mono { font-family: var(--serif); font-size: 12px; color: #b98a86; padding-top: 3px; }
.partners-list b { font-size: 15px; font-weight: 500; line-height: 1.6; }
.partners-list em {
  grid-column: 2; margin-top: 3px; font-style: normal;
  font-size: 12.5px; color: rgba(241, 235, 225, .66);
}

/* ===== 사진 출처 ===== */
.photo-note {
  display: flex; align-items: flex-start; gap: 16px;
  padding-block: 22px; border-bottom: 1px solid var(--line);
}
.photo-chip {
  flex: none; margin-top: 1px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .08em;
  border: 1px solid rgba(23, 20, 15, .45); padding: 4px 10px;
}
.photo-note p { font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 74ch; }

/* ===== 08 FAQ ===== */
.faq-wrap { max-width: 860px; }
.faq-box { margin-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--ink); }
.faq-box details { border-bottom: 1px solid var(--line); }
.faq-box summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 44px; padding: 22px 0;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  transition: color .2s var(--ease);
}
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary:hover { color: var(--wine); }
.faq-mark {
  flex: none; font-size: 1.15rem; font-weight: 300; color: var(--wine);
  transition: transform .25s var(--ease);
}
.faq-box details[open] .faq-mark { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 24px; max-width: 62ch;
  font-size: 14px; line-height: 1.95; color: var(--body);
}

/* ===== 09 상담 ===== */
.contact { background: var(--wine); color: var(--cream); padding-block: clamp(76px, 9vw, 132px); }
.contact-inner { text-align: center; max-width: 780px; }
.contact .section-index::before { opacity: .45; }
.contact h2 {
  margin-top: 22px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.4; letter-spacing: -.025em;
}
.contact-copy {
  margin: 22px auto 0; max-width: 44ch;
  font-size: 14.5px; line-height: 1.95; color: rgba(247, 243, 236, .82);
}
.contact-acts {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 18px 32px; margin-top: 38px;
}
.contact-note {
  margin-top: 30px; font-size: 11.5px; line-height: 1.9; color: rgba(247, 243, 236, .72);
}

/* ===== 푸터 ===== */
.site-footer { background: var(--char); color: rgba(241, 235, 225, .8); padding: 56px 0 34px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 15.5px; font-weight: 500; color: #f1ebe1;
}
.footer-avatar {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(241, 235, 225, .32);
}
.footer-tag { margin-top: 12px; font-size: 12.5px; color: rgba(241, 235, 225, .55); }
.footer-info { font-size: 12px; line-height: 1.95; color: rgba(241, 235, 225, .55); }
.footer-bottom {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  flex-wrap: wrap; margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(241, 235, 225, .14);
  font-size: 11.5px; color: rgba(241, 235, 225, .55);
}
.footer-bottom a { color: rgba(241, 235, 225, .8); border-bottom: 1px solid rgba(241, 235, 225, .25); }
.footer-bottom a:hover { color: #fff; border-color: #fff; }

/* ===== 모바일 하단 CTA ===== */
.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: rgba(247, 243, 236, .97);
  backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-dock a, .mobile-dock button {
  min-height: 58px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.mobile-dock a { border-right: 1px solid var(--line); color: var(--muted); }
.mobile-dock button { background: var(--wine); color: var(--cream); }

/* ===== 상담 다이얼로그 ===== */
dialog#consult-dialog {
  border: 1px solid rgba(23, 20, 15, .2); margin: auto;
  max-width: 520px; width: calc(100% - 32px);
  background: var(--paper); color: var(--ink);
  padding: 34px 32px 26px;
  box-shadow: 0 30px 80px rgba(20, 16, 12, .35);
}
dialog#consult-dialog::backdrop { background: rgba(20, 17, 14, .62); }
.dialog-close {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px; display: grid; place-items: center;
  font-size: 22px; font-weight: 300; color: var(--muted);
}
.dialog-close:hover { color: var(--ink); }
.dialog-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .22em; color: var(--wine); }
#consult-dialog h2 {
  margin-top: 12px; font-family: var(--serif); font-weight: 500;
  font-size: 1.5rem; line-height: 1.5; letter-spacing: -.02em;
}
.dialog-desc { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--muted); }
#consult-form { margin-top: 20px; }
#consult-form fieldset { border: 0; margin-top: 16px; }
#consult-form legend { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin-bottom: 4px; }
#consult-form label:has(input[type="radio"]) {
  display: flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 14px; margin-top: 8px;
  border: 1px solid rgba(23, 20, 15, .22); border-radius: 2px;
  font-size: 14px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
#consult-form label:has(input[type="radio"]:checked) {
  border-color: var(--wine); background: var(--wine-tint);
}
#consult-form input[type="radio"] { accent-color: var(--wine); width: 16px; height: 16px; flex: none; }
#consult-form fieldset:first-of-type { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
#consult-form fieldset:first-of-type legend { grid-column: 1 / -1; }
#consult-form fieldset:nth-of-type(2) { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 8px; }
#consult-form fieldset:nth-of-type(2) legend { grid-column: 1 / -1; }
#consult-form fieldset:nth-of-type(2) label { font-size: 13px; padding: 0 10px; }
.demo-submit {
  width: 100%; min-height: 52px; margin-top: 22px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 22px; border: 0; border-radius: 2px;
  background: var(--wine); color: var(--cream);
  font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.demo-submit:hover { background: var(--wine-dark); }
#consult-result { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
#consult-result h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.55; }
#consult-result p { margin-top: 8px; font-size: 13.5px; color: var(--body); }
#consult-result .result-note { font-size: 12px; color: var(--muted); line-height: 1.8; }
#consult-result:focus { outline: none; }
.demo-reset { margin-top: 12px; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--wine); }
.dialog-note { margin-top: 14px; font-size: 11px; color: var(--muted); }

/* ===== 플로팅 상담 바 ===== */
.float-cta { display: none; }
@media (min-width: 901px) {
  .float-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 0 24px 22px;
    transform: translateY(130%); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
  }
  .float-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .float-cta-card {
    display: flex; align-items: center; gap: 14px;
    max-width: 560px; margin: 0 auto; padding: 10px 12px 10px 14px;
    background: rgba(247, 243, 236, .98);
    border: 1px solid rgba(23, 20, 15, .18);
    box-shadow: 0 16px 40px rgba(20, 16, 12, .18);
  }
  .float-cta-ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
  .float-cta-text { min-width: 0; }
  .float-cta-title { font-size: 13.5px; font-weight: 600; }
  .float-cta-sub { margin-top: 1px; font-size: 11.5px; color: var(--muted); }
  .float-cta-btn {
    margin-left: auto; flex: none;
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
    background: var(--wine); color: var(--cream);
    font-size: 13px; font-weight: 600;
  }
  .float-cta-btn:hover { background: var(--wine-dark); }
}

/* ===== 스크롤 리빌 ===== */
@media (prefers-reduced-motion: no-preference) {
  body.anim .rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  body.anim .rv.in { opacity: 1; transform: none; }
}

/* ===== 반응형 ===== */
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .program-row { grid-template-columns: 44px minmax(0, 1fr) 260px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { order: 1; }
  .hero-figure { order: 2; max-width: 520px; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .t-card { padding: 24px 20px; }
  .t-card:nth-child(odd) { border-left: 0; padding-left: 0; }
  .t-card:nth-child(3), .t-card:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; max-width: 420px; }
  .studio-inner { grid-template-columns: 1fr; align-items: start; gap: 44px; }
  .studio-scrim { background: linear-gradient(180deg, rgba(18,15,12,.88) 0%, rgba(18,15,12,.6) 60%, rgba(18,15,12,.45) 100%); }
  .method-grid { grid-template-columns: 1fr 1fr; gap: 32px 32px; }
  .review-grid { grid-template-columns: 1fr; }
  .partners-inner { grid-template-columns: 1fr; }
  .program-row { grid-template-columns: 36px minmax(0, 1fr); }
  .program-side { grid-column: 2; padding-top: 6px; }
  .program-side .btn { width: 100%; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    min-height: 44px; padding: 0 12px;
    border: 1px solid rgba(23, 20, 15, .3); border-radius: 2px;
    font-size: 13px; font-weight: 600;
  }
  .menu-toggle span { display: inline-block; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 4px 24px 12px; margin-left: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(23, 20, 15, .4);
  }
  .site-nav[data-open] { display: flex; }
  .site-nav a { min-height: 50px; border-bottom: 1px solid var(--line-soft); border-left: 0; font-size: 14px; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero-figure { margin-inline: auto; width: 100%; max-width: 620px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  body { font-size: 15px; }
  .demo-ribbon { font-size: 10px; gap: 2px 14px; padding: 8px 12px; letter-spacing: .04em; }
  .demo-ribbon > span { flex-basis: 100%; text-align: center; }
  .header-inner { min-height: 70px; gap: 10px; }
  .logo { gap: 11px; }
  .logo-avatar { width: 44px; height: 44px; padding: 2px; }
  .logo-text { gap: 3px; }
  .logo-text b { font-size: 15px; }
  .logo-text em { font-size: 8.5px; letter-spacing: .16em; }

  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(1.75rem, 7.2vw, 2.2rem); line-height: 1.42; margin-top: 22px; }
  .hero-lead { font-size: 14.5px; line-height: 1.9; margin-top: 20px; }
  .hero-acts { margin-top: 28px; gap: 14px 20px; }
  .hero-acts .btn { width: 100%; }
  .hero-meta { font-size: 11.5px; line-height: 1.7; }
  .hero-figure { max-width: none; }

  .section { padding-block: 64px; }
  .section-head h2 { font-size: clamp(1.55rem, 6.4vw, 1.9rem); line-height: 1.45; }
  .section-sub { font-size: 14px; }

  .who-grid { grid-template-columns: 1fr; }
  .who-item { padding: 26px 0 28px; }
  .who-item h3 { font-size: 1.1rem; }
  .who-item p:last-child { font-size: 14px; }

  .about-figure { max-width: none; }
  .about-text p { font-size: 14.5px; }
  .about-text p:first-child { font-size: 15.5px; }
  .cred { grid-template-columns: 1fr; gap: 26px; }

  .studio-inner { padding-block: 64px 40px; }
  .studio-facts > div { grid-template-columns: 54px 1fr; gap: 12px; padding: 15px 0; }
  .studio-facts dd { font-size: 13.5px; }

  .program-list { margin-top: 32px; }
  .program-row { grid-template-columns: 1fr; gap: 14px; padding: 26px 0 30px; }
  .program-no { padding-top: 0; }
  .program-side { grid-column: 1; }
  .program-desc { font-size: 14px; }
  .program-meta div { padding: 8px 0; }

  .method-grid { grid-template-columns: 1fr; gap: 26px; }
  .method-grid li { padding-top: 18px; }
  .method-no { font-size: 1.5rem; }

  .review-card { padding: 26px 22px 22px; }
  .review-card blockquote { font-size: .98rem; }

  .partners-list b { font-size: 14px; }

  .photo-note { flex-direction: column; gap: 10px; }

  .faq-box summary { font-size: 14.5px; padding: 18px 0; gap: 14px; }
  .faq-a { font-size: 13.5px; padding-bottom: 20px; }

  .contact h2 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
  .contact-acts { flex-direction: column; gap: 16px; }
  .contact-acts .btn { width: 100%; }
  .contact-note { font-size: 11px; }

  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { padding-bottom: 104px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .mobile-dock { display: grid; }

  #consult-dialog { padding: 28px 20px 20px; }
  #consult-form fieldset:first-of-type { grid-template-columns: 1fr; }
  #consult-form fieldset:nth-of-type(2) { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 400px) {
  .statbar { grid-template-columns: 1fr 1fr; }
  .t-card b { font-size: 1.35rem; }
  .t-card span { font-size: 11px; }
}
