/* =====================================================================
   의료진(doctor) — Figma `의료진 · Desktop`(235:30046, 2026-09 리터치)
   공통(sub.css .doc-hero · .cv-grid · .timeline · .check-list · .notice-box) 위에 섹션 id 범위로만 오버라이드
   (아티팩트 번들에서 페이지 CSS가 전역 병합되므로 다른 페이지로 새지 않게 id로 한정)
   ===================================================================== */

/* ---------- Profile: 흰 배경 · 사진 520×650(상단 라운드 200 · 하단 30) + 글래스 네임태그 · 카피 세로 가운데 ---------- */
#profile{background:#fff}
#profile .doc-hero{grid-template-columns:520px 1fr;gap:96px;align-items:center}
#profile .photo{position:relative}
#profile .photo .art{aspect-ratio:520/650;border-radius:200px 200px 30px 30px;box-shadow:var(--shadow-soft)}
#profile .photo .art::before{display:none}
#profile .name-tag{position:absolute;left:292px;top:512px;z-index:2;display:flex;flex-direction:column;gap:4px;padding:18px 28px;border-radius:18px;border:1px solid rgba(243,230,195,.2);background:linear-gradient(105deg,rgba(255,255,255,.12),rgba(115,110,100,.12));backdrop-filter:blur(8.5px);-webkit-backdrop-filter:blur(8.5px);white-space:nowrap}
#profile .name-tag b{font-family:var(--ff-en);font-size:22px;font-weight:500;line-height:1.2;letter-spacing:.04em;color:var(--champagne)}
#profile .name-tag span{font-size:10px;font-weight:500;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8)}
#profile .copy h2{margin-top:22px;display:flex;flex-wrap:wrap;align-items:flex-end;column-gap:10px;font-family:var(--ff-kr-serif);font-size:56px;font-weight:400;line-height:1.2;letter-spacing:-.04em;color:var(--text-strong)}
#profile .copy h2 span{font-size:26px;line-height:1.4}
#profile .copy h2 small{flex-basis:100%;margin-top:12px;font-family:var(--ff-en);font-size:19px;font-style:italic;font-weight:300;line-height:1.2;letter-spacing:0;color:var(--brown)}
#profile .greeting{margin-top:40px;word-break:keep-all;font-family:var(--ff-kr-serif);font-size:17px;font-weight:400;line-height:1.7;letter-spacing:-.02em;color:var(--text-mid)}
#profile .greeting strong{font-weight:600;color:var(--text-strong)}
#profile .chips{margin-top:42px}
/* Figma `Byline`: 우측 정렬 · 13/180% · 구분점 linen(양옆 18) */
#profile .byline{justify-content:flex-end;margin-top:40px;column-gap:18px;font-size:13px;line-height:1.8;letter-spacing:-.01em;color:var(--text-3)}
#profile .byline span{gap:4px}
#profile .byline span+span::before{margin-right:14px;background:var(--linen)}
#profile .byline b{font-weight:500;color:var(--text-2)}
#profile .btns{display:flex;justify-content:flex-end;gap:12px;margin-top:50px}

/* ---------- Philosophy: 포슬린 + 텍스처 70%(합성 이미지) · 인용 28/160% + linen 바 · 본문 17/190% text-3 ---------- */
#philosophy{background:var(--porcelain) url(../figma/doctor/philosophy-bg.webp) center/cover no-repeat}
#philosophy .two-col{align-items:start}
#philosophy blockquote{margin:0;word-break:keep-all;padding-left:28px;border-left:2px solid var(--linen);font-family:var(--ff-kr-serif);font-size:28px;font-weight:400;line-height:1.6;letter-spacing:-.02em;color:var(--text-mid)}
#philosophy .prose{max-width:none;word-break:keep-all;font-size:17px;font-weight:400;line-height:1.9;letter-spacing:-.01em;color:var(--text-3)}
#philosophy .prose p+p{margin-top:18px}
/* 본문 줄바꿈(<br>)은 Figma 1920 기준(612px) — 뷰포트 1440 미만이면 자연 줄바꿈 */
@media (max-width:1439px){#philosophy .prose br{display:none}}

/* ---------- Career: Timeline Row(연도 Cormorant 15 베이지) · Check Item · Notice Box(#F9F8F6 · 정보 아이콘) ---------- */
#career{background:#fff}
#career .cv-grid{gap:64px;align-items:start}
#career .cv-grid h3{margin-bottom:28px;font-size:12px;font-weight:500;line-height:1.3;letter-spacing:.24em;color:var(--beige)}
#career .timeline{border-top:1px solid var(--brown)}
#career .timeline li{grid-template-columns:120px 1fr;gap:24px;padding:18px 0 17px;border-bottom:1px solid var(--hair);align-items:baseline}
#career .timeline li:first-child{border-top:0}
#career .timeline li b{font-family:var(--ff-en);font-size:15px;font-weight:400;line-height:1.3;letter-spacing:.06em;color:var(--beige)}
#career .timeline li span{font-size:16px;font-weight:400;line-height:1.7;letter-spacing:-.01em;color:var(--text-2)}
#career .check-list{padding-top:10px;border-top:1px solid var(--brown)}
#career .notice-box{display:flex;align-items:flex-start;gap:10px;margin-top:28px;padding:14px 20px;border:0;border-radius:8px;background:#F9F8F6;font-size:13px;line-height:1.5;letter-spacing:-.01em;color:var(--text-2)}
#career .notice-box svg{flex:0 0 14px;width:14px;height:14px;margin-top:3px}

/* ---------- Page CTA: 이 페이지 인스턴스는 제목 text-strong ---------- */
#doctor-cta h2{color:var(--text-strong)}

/* ===== Responsive ===== */
/* Tablet 768–1279 — Figma `의료진 · Tablet`(235:30116) */
@media (max-width:1279px){
  /* Profile: 사진 400×500(상단 라운드 140) 가운데 → 카피 세로 스택(96) · 네임태그는 사진 기준 (223, 364) */
  #profile{padding:110px 0}
  #profile .doc-hero{grid-template-columns:minmax(0,1fr);gap:96px;align-items:start}
  #profile .photo{width:400px;max-width:100%;justify-self:center}
  #profile .photo .art{aspect-ratio:400/500;border-radius:140px 140px 32px 32px}
  #profile .name-tag{left:223px;top:364px}
  #profile .copy{width:100%;max-width:688px;justify-self:center}/* 768 초과 폭에서는 사진 아래 688 블록으로 가운데 */

  /* Philosophy: 모바일·태블릿 공용 크롭(Figma 좌측 78.6%) · 인용 24 · 인용 → 본문 세로 스택(48) · 본문 <br> 복원 */
  #philosophy{padding:80px 0;background-image:url(../figma/doctor/philosophy-bg-ta.webp)}
  #philosophy .sec-head{margin-bottom:56px}
  #philosophy .two-col{grid-template-columns:minmax(0,1fr);gap:48px}
  #philosophy blockquote{padding-left:20px;font-size:24px}
  #philosophy .prose{padding-left:20px}
  #philosophy .prose br{display:inline}

  /* Career: 경력 → 학회 세로 스택(64) */
  #career{padding:80px 0}
  #career .cv-grid{grid-template-columns:minmax(0,1fr);gap:64px}
}

/* Mobile ≤767 — Figma `의료진 · Mobile`(235:30185) */
@media (max-width:767px){
  /* Profile: 사진 278×349 좌측(상단 라운드 140 · 하단 24) · 네임태그 19 · 이름 32/16 · 인사말 16 Light · 바이라인 11 좌측 */
  #profile{padding:61px 0}
  #profile .doc-hero{gap:32px}
  #profile .photo{width:100%;justify-self:stretch}
  #profile .photo .art{width:278px;max-width:100%;aspect-ratio:278/349;border-radius:140px 140px 24px 24px}
  #profile .name-tag{left:clamp(0px,100% - 285px,25px);top:auto;bottom:23px;padding:12px 28px;border-radius:14px}
  #profile .name-tag b{font-size:19px}
  #profile .copy .eyebrow{font-size:12px}
  #profile .copy h2{margin-top:46px;column-gap:6px;font-size:32px}
  #profile .copy h2 span{font-size:16px;line-height:1.2}
  #profile .copy h2 small{margin-top:10px;font-size:14px;font-style:normal;font-weight:500;letter-spacing:.02em}
  /* 브라우저 Noto Serif KR 글자폭이 Figma보다 ~2% 넓어 375에서 '선정.'만 넘어감 → 자간 -3%로 Figma 줄바꿈 유지 */
  #profile .greeting{margin-top:22px;font-size:16px;font-weight:300;letter-spacing:-.03em;text-wrap:pretty}
  #profile .chips{margin-top:32px}
  #profile .byline{justify-content:flex-start;margin-top:22px;font-size:11px}
  #profile .btns{margin-top:32px}

  /* Philosophy: 모바일 크롭 · 제목 → 본문 40 · 인용 20(바 1.6 + 13) · 본문 13/190% */
  #philosophy{padding:64px 0;background-image:url(../figma/doctor/philosophy-bg-mo.webp)}
  #philosophy .sec-head{margin-bottom:40px}
  #philosophy blockquote{padding-left:13px;border-left-width:1.6px;font-size:20px}
  #philosophy .prose{font-size:13px}

  /* Career: 행 50(연도 60 · 13/170%) · 학회 도트 리스트 13 · 안내 박스 11 */
  #career{padding:61px 0}
  #career .cv-grid{gap:32px}
  #career .cv-grid h3{margin-bottom:22px;font-size:11px;letter-spacing:.28em}
  #career .timeline li{grid-template-columns:60px minmax(0,1fr);gap:16px;padding:14px 0 13px}
  #career .timeline li b{font-size:12px;white-space:nowrap}
  #career .timeline li span{font-size:13px}
  #career .check-list{padding:12px 0}
  #career .check-list li{padding:6px 0 6px 15px;font-size:13px}
  #career .check-list li::before{left:3px;top:calc(6px + .85em - 2px)}
  #career .notice-box{gap:8px;margin-top:22px;padding:11px 13px;border-radius:6px;font-size:11px}
  #career .notice-box svg{flex-basis:11.3px;width:11.3px;height:11.3px;margin-top:2.4px}
}
/* 375 미만(320·360)은 본문의 Figma 모바일 강제 줄바꿈을 풀어 한 단어만 남는 줄을 막음 */
@media (max-width:374px){#philosophy .prose br.mo-only{display:none}}
