/* 629 · 박근하 A시안 기반, 세이지 포인트와 햇살 같은 연한 버터 크림 배경. */
@import url("shared/member-page.css?v=20261117-footer-consult-2");
@import url("shared/designs/professional.css?v=20261111-a-24");
@import url("assets/taste/motion/motion.css");

:root {
  --page-background: #fffcf0;
  --a-heading: #2f352d;
  --primary: #52664c;
  --primary-hover: #40543b;
  --primary-light: #f8f1d8;
  --accent-rgb: 82, 102, 76;
  --button-background: var(--primary);
  --a-paper: var(--page-background);
  --a-surface: #fffef7;
  --a-text: #2f352d;
  --a-text-muted: #62695f;
  --a-gothic-ink: #2f352d;
  --a-line-color: #e7e1ca;
  --a-index-color: #62695f;
  --a-action-background: #f8f1d8;
  --a-action-icon: #52664c;
  --a-hero-portrait-background: transparent;
  --a-portrait-background: #f8f1d8;
  --a-outer-background: #f6f1df;
  --a-card: #fffcf0;
  --a-radius: 8px;
  --a-gutter: clamp(20px, 6.15vw, 32px);
  --a-feedback-duration: 180ms;
}

body.member-page-629 {
  --a-serif: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

.member-page-629 .header {
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--a-gutter) 12px;
  background: var(--a-paper);
  border-bottom: 1px solid var(--a-line);
  box-shadow: none;
}
.member-page-629 .header button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius);
  box-shadow: none;
}
.member-page-629 .header button:hover { transform: none; background: var(--primary-light); box-shadow: none; }
.member-page-629 .header button:first-child { background: var(--primary-light); border-color: transparent; color: var(--primary-hover); }
.member-page-629 .header button:first-child:hover { background: #eee5c4; }
.member-page-629 .skip-link {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 101;
  padding: 12px 20px;
  border-radius: var(--a-radius);
  background: var(--primary);
  color: var(--a-card);
  font-weight: 600;
  text-decoration: none;
  transform: translate(-50%, -200%);
}
.member-page-629 .skip-link:focus { transform: translate(-50%, 0); }

.member-page-629 .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: 24px 16px;
  padding: 32px var(--a-gutter) 32px;
  background: var(--a-card);
}
.member-page-629 .avatar-container { min-width: 0; padding: 0; }
.member-page-629 .professional-portrait-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 0; border-radius: 0; background: transparent; }
.member-page-629 .avatar { width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; object-position: center top; border-radius: 0; }
.member-page-629 .professional-hero-copy { min-width: 0; padding: 0; text-align: left; }
.member-page-629 .professional-affiliation { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--primary); letter-spacing: -.02em; }
.member-page-629 .name { display: block; font-weight: 700; line-height: 1.2; text-align: left; }
.member-page-629 .professional-person-name { color: var(--a-heading); font-size: 38px; letter-spacing: -.05em; }
.member-page-629 .nickname { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.member-page-629 .hero-practice { grid-column: 1 / -1; margin: 0; color: var(--a-heading); font-size: 16px; font-weight: 600; line-height: 1.7; word-break: keep-all; }
.member-page-629 .hero-practice-label { display: block; margin-bottom: 4px; color: var(--a-muted); font-size: 12px; font-weight: 500; }
.member-page-629 .hero > .quick-actions { grid-column: 1 / -1; margin: 0; }
.member-page-629 .card { padding: 40px var(--a-gutter); }
/* 영상 미등록 시 공통 준비 중 상태를 표시합니다. */
.member-page-629 .card--intro { background: #f8f1d8; }
.member-page-629 .section-kicker {
  margin-bottom: 8px;
  font-size: 12px;
  font-style: normal;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .03em;
}
.member-page-629 .card-title {
  color: var(--a-heading);
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.025em;
  -webkit-text-stroke: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

/* 추천 인맥은 632와 같은 폭·안쪽 여백으로 작게 표시합니다. */
.member-page-629 .people-carousel-track { width: max-content; gap: 12px; }
.member-page-629 .person-card {
  flex: 0 0 auto;
  width: calc((min(100vw, 480px) - 120px) / 3);
  padding: 12px 8px;
}

/* 연락 정보는 한 줄씩 읽히도록 정렬하고 카드의 깊이를 줄입니다. */
.member-page-629 .basic-info {
  width: 100%;
  margin: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius);
  background: var(--a-card);
}
.member-page-629 .contact-row { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.member-page-629 .basic-info .info-chip {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--a-gothic-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
  text-align: left;
  text-decoration: none;
}
.member-page-629 .basic-info .info-chip > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.member-page-629 .contact-row > a + a, .member-page-629 .address-row { border-top: 1px solid var(--a-line); }
.member-page-629 .address-row { display: flex; min-width: 0; }
.member-page-629 .basic-info .info-chip .material-symbols-outlined { font-size: 20px; }

.member-page-629 .quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0 32px;
}
.member-page-629 .action-btn { width: 100%; gap: 8px; padding: 4px 0; }
.member-page-629 .action-btn-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius);
  background: var(--a-action-background);
}
.member-page-629 .action-btn-icon .material-symbols-outlined { font-size: 24px; }
.member-page-629 .action-btn[href^="tel:"] .action-btn-icon { border-color: var(--primary); background: var(--primary); }
.member-page-629 .action-btn[href^="tel:"] .material-symbols-outlined { color: var(--a-card); }
.member-page-629 .action-btn[href^="tel:"]:hover .action-btn-icon { background: var(--primary-hover); }
.member-page-629 .action-label { font-size: 14px; font-weight: 600; }

.member-page-629 .professional-office-links { display: grid; gap: 16px; margin-top: 24px; border-top: 0; }
.member-page-629 .office-channel-group { display: grid; gap: 12px; }
.member-page-629 .office-channel-group .professional-office-link {
  min-height: 68px;
  padding: 16px;
  gap: 12px;
  border: 1px solid #e5ddbc;
  border-radius: var(--a-radius);
  background: var(--primary-light);
  color: var(--a-heading);
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
}
.member-page-629 .office-channel-group .professional-office-link:hover {
  background: #eee5c4;
  border-color: #d5cba4;
  color: var(--primary-hover);
}
.member-page-629 :is(.office-channel-icon, .office-club-icon) {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary);
}
.member-page-629 .office-channel-group .office-channel-icon { background: #eee5c4; color: var(--primary-hover); }
.member-page-629 .office-channel-group .professional-office-link .material-symbols-outlined { color: var(--primary-hover); }
.member-page-629 .office-channel-name { flex: 1; min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.member-page-629 .office-club-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius);
  background: var(--a-card);
  box-shadow: none;
}
.member-page-629 .office-club-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--a-gothic-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.member-page-629 .office-club-icon .material-symbols-outlined { font-size: 22px; }
.member-page-629 .office-club-links { display: flex; flex-wrap: wrap; gap: 8px; }
.member-page-629 .office-club-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--a-line);
  border-radius: 4px;
  background: var(--a-surface);
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.member-page-629 .card--intro > .pr-container { padding: 24px 20px 0; border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-card); }
.member-page-629 .card--intro .pr-fade { background: linear-gradient(to bottom, transparent, var(--a-card)); }
.member-page-629 .card--intro .about-intro { padding-bottom: 24px; }
.member-page-629 .about-intro p { margin-bottom: 20px; color: var(--a-gothic-ink); font-size: 16px; font-weight: 400; line-height: 1.85; }
.member-page-629 .about-intro p:first-child { font-size: 16px; font-weight: 600; line-height: 1.85; }
.member-page-629 :is(#introExpandBtn, #expandBtn) {
  min-height: 52px;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
}
.member-page-629 :is(#introExpandBtn, #expandBtn):hover { background: var(--primary-light); }
.member-page-629 :is(.professional-portfolio-preview, .pr-img, .person-image) { border-radius: var(--a-radius); }
.member-page-629 .professional-portfolio-preview { overflow: hidden; border: 1px solid var(--a-line); }
.member-page-629 .professional-portfolio-preview > .expand-btn { width: calc(100% - 40px); margin: 0 20px; }
.member-page-629 :is(.card-content, .professional-practices li) { font-size: 16px; font-weight: 400; line-height: 1.8; }
.member-page-629 .professional-practices { margin-bottom: 32px; border-top-color: var(--primary); }
.member-page-629 .professional-practices li { padding: 20px 0; overflow-wrap: anywhere; }
.member-page-629 .practice-number { color: var(--primary); font-family: inherit; font-size: 13px; font-style: normal; font-weight: 600; }
.member-page-629 .career-timeline { border-top-color: var(--primary); }
.member-page-629 .career-row { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.member-page-629 .career-row dt { color: var(--primary); font-size: 14px; font-weight: 600; }
.member-page-629 .career-row dd { word-break: keep-all; overflow-wrap: anywhere; }
.member-page-629 .career-details { gap: 16px; padding-top: 4px; }
.member-page-629 .person-name { font-size: 16px; font-weight: 600; }
.member-page-629 .person-company { color: var(--a-muted); font-size: 13px; line-height: 1.7; }
.member-page-629 .footer { padding: 28px var(--a-gutter) calc(28px + env(safe-area-inset-bottom, 0px)); }
.member-page-629 .copyright { font-size: 12px; line-height: 1.8; }

.member-page-629 :where(a:not(.btn, .m-zoom), button:not(.btn), summary) {
  touch-action: manipulation;
  transition: background-color var(--a-feedback-duration) ease, color var(--a-feedback-duration) ease, border-color var(--a-feedback-duration) ease;
}
.member-page-629 :where(a, button, summary):focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.member-page-629 :is(.pr-container .expand-btn, .person-card):focus-visible { outline-offset: -4px; }
.member-page-629 :is(.basic-info a, .professional-office-link, .office-club-link):hover { background: var(--primary-light); color: var(--primary-hover); }
.member-page-629 :where(a, button):not(:disabled):active { opacity: .8; }
/* A시안의 기존 섹션 표현을 유지합니다. */
.member-page-629.design-professional .section > .card:hover {
  transform: none;
  border-color: var(--a-line);
  box-shadow: none;
}

@media (min-width: 440px) {
  .member-page-629 .card { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .member-page-629 *, .member-page-629 *::before, .member-page-629 *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* 632와 같은 소형 제작 표기와 문의 버튼. 글자의 기준선도 맞춥니다. */
.member-page-629 .footer { padding: 20px var(--a-gutter) calc(20px + env(safe-area-inset-bottom, 0px)); }
.member-page-629 .footer-credit-row { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.member-page-629 .footer-credit { color: var(--a-muted); font-size: 13px; font-weight: 400; line-height: 20px; white-space: nowrap; }
.member-page-629 .footer-credit strong { color: var(--primary-hover); font-weight: 600; }
.member-page-629 .footer-credit-row .profile-consult-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid var(--a-line);
  border-radius: 6px;
  background: transparent;
  color: var(--primary-hover);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}
.member-page-629 .footer-credit-row .profile-consult-link::after { content: ''; position: absolute; inset: -6px 0; }
.member-page-629 .footer-credit-row .profile-consult-link:hover { background: var(--primary-light); }

/* 도메인 확정 전에는 QR 이미지 대신 준비 중 안내만 표시합니다. */
.member-page-629 .profile-qr {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 20px;
  border: 0;
  border-radius: 15px;
  background: var(--a-surface);
  color: var(--a-text);
  font-family: inherit;
  overflow: auto;
  box-shadow: 0 16px 60px #0003;
}
.member-page-629 .profile-qr::backdrop { background: #2f352d99; }
.member-page-629 .profile-qr-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.member-page-629 .profile-qr-heading h2 { min-width: 0; margin: 0; font: inherit; font-size: 18px; font-weight: 700; line-height: 1.6; word-break: keep-all; }
.member-page-629 .profile-qr-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--a-radius); background: var(--primary-light); color: var(--primary-hover); font: inherit; cursor: pointer; }
.member-page-629 .profile-qr-close:hover { background: #eee5c4; }
.member-page-629 .profile-qr :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* 연한 버터 크림 바탕에 세이지 글자·버튼 대비를 유지합니다. */
.member-page-629 .profile-nickname { margin: 12px 0 0; color: var(--a-muted); font-size: 14px; line-height: 1.6; }
.member-page-629 .qr-pending-description { padding: 20px 4px 8px; color: var(--a-gothic-ink); line-height: 1.8; }
.member-page-629 .press-image { width: 100%; height: auto; max-height: none; background: var(--primary-light); }

.member-page-629 button.action-btn { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
