/* 664 · 1차 개편: 흰색·차콜·코랄 레드, 고딕 제목과 한 영역으로 묶은 인물 소개. */
@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: #ffffff;
  --a-heading: #292728;
  --primary: #d4433b;
  --primary-hover: #bc362e;
  --primary-light: #fff1ee;
  --accent-rgb: 212, 67, 59;
  --button-background: var(--primary);
  --a-paper: var(--page-background);
  --a-surface: #ffffff;
  --a-text: #292728;
  --a-text-muted: #6a605e;
  --a-gothic-ink: #383231;
  --a-line-color: #eee2df;
  --a-index-color: #6a605e;
  --a-action-background: #fff1ee;
  --a-action-icon: #d4433b;
  --a-hero-portrait-background: transparent;
  --a-portrait-background: #fcf6f4;
  --a-outer-background: #fcf6f4;
  --a-card: #ffffff;
  --a-radius: 8px;
  --a-gutter: clamp(20px, 6.15vw, 32px);
  --a-feedback-duration: 180ms;
}

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

.member-page-664 .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-664 .header button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--a-line);
  border-radius: var(--a-radius);
  box-shadow: none;
}
.member-page-664 .header button:hover { transform: none; background: var(--primary-light); box-shadow: none; }
.member-page-664 .header button:first-child { background: var(--primary-light); border-color: transparent; color: var(--primary-hover); }
.member-page-664 .header button:first-child:hover { background: #fce1dc; }
.member-page-664 .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-664 .skip-link:focus { transform: translate(-50%, 0); }

.member-page-664 .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-664 .avatar-container { min-width: 0; padding: 0; }
.member-page-664 .professional-portrait-frame { width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; }
.member-page-664 .avatar { width: 100%; max-width: none; aspect-ratio: 868 / 1126; border-radius: 0; }
.member-page-664 .professional-hero-copy { min-width: 0; padding: 0; text-align: left; }
.member-page-664 .professional-affiliation { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--primary); letter-spacing: -.02em; }
.member-page-664 .name { display: block; font-weight: 700; line-height: 1.2; text-align: left; }
.member-page-664 .professional-person-name { color: var(--a-heading); font-size: 38px; letter-spacing: -.05em; }
.member-page-664 .nickname { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.6; letter-spacing: 0; }
.member-page-664 .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-664 .hero-practice-label { display: block; margin-bottom: 4px; color: var(--a-muted); font-size: 12px; font-weight: 500; }
.member-page-664 .hero > .quick-actions { grid-column: 1 / -1; margin: 0; }
.member-page-664 .card { padding: 40px var(--a-gutter); }
/* 664는 각 영상의 YouTube 링크만 표시합니다. */
.member-page-664 .card--intro { background: #fff8f6; }
.member-page-664 .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-664 .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-664 .people-carousel-track { width: max-content; gap: 12px; }
.member-page-664 .person-card {
  flex: 0 0 auto;
  width: calc((min(100vw, 480px) - 120px) / 3);
  padding: 12px 8px;
}

/* 연락 정보는 한 줄씩 읽히도록 정렬하고 카드의 깊이를 줄입니다. */
.member-page-664 .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-664 .contact-row { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.member-page-664 .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-664 .basic-info .info-chip > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.member-page-664 .contact-row > a + a, .member-page-664 .address-row { border-top: 1px solid var(--a-line); }
.member-page-664 .address-row { display: flex; min-width: 0; }
.member-page-664 .basic-info .info-chip .material-symbols-outlined { font-size: 20px; }

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

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

.member-page-664 :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-664 :where(a, button, summary):focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.member-page-664 :is(.pr-container .expand-btn, .person-card):focus-visible { outline-offset: -4px; }
.member-page-664 :is(.basic-info a, .professional-office-link, .office-club-link):hover { background: var(--primary-light); color: var(--primary-hover); }
.member-page-664 :where(a, button):not(:disabled):active { opacity: .8; }
/* 이번 요청은 숙소 추가이므로 기존 프로필 카드의 정적인 표현을 보존합니다. */
.member-page-664.design-professional .section > .card:hover {
  transform: none;
  border-color: var(--a-line);
  box-shadow: none;
}

/* 별도 운영 숙소: 사진이 중심이며 기존 A의 서체·색·본문 가장자리를 따릅니다. */
.member-page-664 .stay-jump { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 0; border-top: 1px solid var(--a-line); color: var(--primary); font-size: 14px; font-weight: 500; text-decoration: none; }
.member-page-664 .stay-jump .material-symbols-outlined { flex-shrink: 0; font-size: 20px; }
.member-page-664 .stay-jump:hover { color: var(--primary-hover); }
.member-page-664 #geoje-stay { scroll-margin-top: calc(96px + env(safe-area-inset-top, 0px)); }
.member-page-664 .professional-stay { --action: var(--primary); --bg: var(--a-surface); --ink: var(--a-ink); min-width: 0; padding: 40px var(--a-gutter); border-bottom: 1px solid var(--a-line); background: var(--a-surface); }
.member-page-664 .professional-stay .card-title { margin-bottom: 12px; font-size: 28px; }
.member-page-664 .stay-lead { margin: 0 0 16px; color: var(--primary); font-family: var(--a-serif); font-size: 20px; font-weight: 500; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.member-page-664 .stay-description { margin: 0 0 24px; color: var(--a-gothic-ink); font-size: 16px; font-weight: 400; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.member-page-664 .stay-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 24px; padding: 16px 0; border-block: 1px solid var(--a-line); list-style: none; color: var(--a-muted); font-size: 13px; font-weight: 500; text-align: center; }
.member-page-664 .stay-facts li + li { border-left: 1px solid var(--a-line); }
.member-page-664 .stay-photo-link { display: block; border-radius: var(--a-radius); }
.member-page-664 .stay-photo { width: 100%; aspect-ratio: 1; margin: 0; border-radius: var(--a-radius); background: var(--a-portrait-background); }
.member-page-664 .stay-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.member-page-664 .stay-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.member-page-664 .stay-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid var(--primary); border-radius: var(--a-radius); font-size: 15px; font-weight: 600; line-height: 1.6; text-align: center; text-decoration: none; word-break: keep-all; }
.member-page-664 .stay-button .material-symbols-outlined { flex-shrink: 0; font-size: 18px; }
.member-page-664 .stay-button.btn--primary { background: var(--primary); color: var(--a-card); }
.member-page-664 .stay-button.btn--secondary { background: transparent; color: var(--primary); }
.member-page-664 .stay-details { margin-top: 24px; border: 1px solid var(--a-line); border-radius: var(--a-radius); }
.member-page-664 .stay-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 16px; color: var(--primary); font-size: 16px; font-weight: 600; line-height: 1.6; list-style: none; cursor: pointer; }
.member-page-664 .stay-details summary::-webkit-details-marker { display: none; }
.member-page-664 .stay-details summary .material-symbols-outlined { flex-shrink: 0; transition: transform 180ms ease; }
.member-page-664 .stay-details[open] summary { border-bottom: 1px solid var(--a-line); }
.member-page-664 .stay-details[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.member-page-664 .stay-detail-image { display: block; width: 100%; height: auto; border-radius: 0 0 var(--a-radius) var(--a-radius); }
.member-page-664 .stay-close { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 14px; border: 0; border-top: 1px solid var(--a-line); border-radius: 0 0 var(--a-radius) var(--a-radius); background: var(--a-surface); color: var(--primary); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.member-page-664 :is(.stay-details summary, .stay-close):hover { background: var(--primary-light); }
.member-page-664 :is(.stay-details summary, .stay-close):focus-visible { outline-offset: -4px; }

@media (min-width: 440px) {
  .member-page-664 .card, .member-page-664 .professional-stay { padding-block: 48px; }
}
@media (max-width: 360px) {
  .member-page-664 .stay-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .member-page-664 *, .member-page-664 *::before, .member-page-664 *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

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

/* 도메인 확정 전에는 QR 이미지 대신 준비 중 안내만 표시합니다. */
