*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --w: #ffffff;
  --cream: #f4efe9;
  --soft: #f8f5f2;
  --warm: #f1ece6;
  --dark: #1c1b19;
  --mid: #6b6762;
  --light: #a5a09a;
  --line: #e3dcd5;
  --gold: #bc8b55;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--w);
  line-height: 1;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.page-wrap {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
}

.intro {
  margin-top: 64px;
  padding: 88px 0 28px;
}
.intro-label {
  display: block;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  letter-spacing: .12em;
  color: var(--gold);
}
.intro h1 {
  font-size: clamp(30px, 4.51vw, 65px);
  font-weight: 600;
  line-height: 1.167;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.intro p {
  max-width: 760px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
  color: var(--mid);
}

.sec {
  padding: 56px 0;
  scroll-margin-top: 92px;
}
.sec-alt { background: #fff; }
.doctor-hero {
  padding-left: 0;
  padding-right: 0;
}
.sec-kicker {
  display: block;
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-head h2 {
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.sec-head p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--mid);
}

.doctor-hero-inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.doctor-photo {
  overflow: hidden;
  border-radius: 18px;
  background: var(--warm);
  min-height: 720px;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor-copy {
  padding-right: 0;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--light);
}
.doctor-sub {
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #182496;
  line-height: 1.3;
}
.doctor-copy h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.lead {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
}
.body-copy {
  font-size: 17px;
  line-height: 1.9;
  color: var(--mid);
}

.doctor-records {
  display: grid;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.record-box {
  padding: 20px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.record-chip {
  display: inline-block;
  min-height: 0;
  padding: 0;
  margin-bottom: 12px;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}
.record-list {
  list-style: none;
}
.record-list li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #5f5953;
}
.record-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  color: #7c746c;
}
.record-box-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.doctor-detail {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  align-items: start;
}
.doctor-detail .detail-copy {
  order: 1;
}
.doctor-detail .detail-visual {
  order: 2;
}
.detail-visual {
  overflow: hidden;
  border-radius: 18px;
  width: 100%;
  max-width: 1000px;
  min-height: 0;
  background: transparent;
}
.detail-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.detail-copy {
  min-width: 0;
  width: 100%;
  max-width: 1000px;
  text-align: center;
}
.detail-copy .sec-kicker {
  display: none;
}
.detail-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 3.47vw, 50px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.papers-sec {
  padding-top: 72px;
  padding-bottom: 88px;
}
.papers-inner {
  max-width: 1420px;
  margin: 0 auto;
}
.papers-head {
  margin-bottom: 28px;
  text-align: center;
}
.papers-head h2 {
  font-size: clamp(24px, 3.47vw, 50px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.paper-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
}
.paper-item {
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.paper-item h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
.paper-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--light);
}

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .page-wrap,
  .sec { padding-left: 48px; padding-right: 48px; }
  .doctor-hero-inner,
  .doctor-detail { gap: 36px; }
  .doctor-sub { font-size: 24px; }
  .detail-copy h2 { font-size: 34px; }
  .paper-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .doctor-hero-inner,
  .doctor-detail,
  .doctor-detail.reverse { grid-template-columns: 1fr; }
  .doctor-photo,
  .detail-visual { min-height: 0; }
}

@media (max-width: 768px) {
  .page-wrap { padding: 0 24px; }
  .intro { padding: 56px 0 32px; }
  .intro-label { font-size: 15px; margin-bottom: 14px; }
  .intro h1 { font-size: 28px; margin-bottom: 12px; }
  .intro p { font-size: 14px; line-height: 1.75; }

  .sec {
    padding: 64px 24px;
    scroll-margin-top: 88px;
  }
  .detail-visual,
  .doctor-photo { min-height: 320px; border-radius: 12px; }
  .detail-visual { min-height: 0; }
  .doctor-copy { padding-right: 0; }
  .doctor-sub { font-size: 18px; margin-bottom: 12px; }
  .doctor-copy h2 { font-size: 30px; margin-bottom: 16px; }
  .detail-copy { text-align: center; }
  .record-box { padding: 20px 0; }
  .record-chip {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .record-list li {
    font-size: 13px;
    line-height: 1.75;
  }
  .record-box-split {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .detail-copy h2 { font-size: 28px; margin-bottom: 0; }
  .papers-sec {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .papers-head {
    margin-bottom: 20px;
  }
  .papers-head h2 {
    font-size: 28px;
  }
  .paper-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .paper-item {
    padding: 18px 16px 14px;
  }
  .paper-item h3 {
    font-size: 15px;
    line-height: 1.55;
  }
  .paper-item p {
    font-size: 12px;
  }
}
