@charset "UTF-8";
/* HERSHE — 의료진 소개 (Medical Team) · KR · PC — 2026-11-25: a copy of 01. MEDICAL TEAM/Version 1/261116_MEDICALTEAM_V1.css (the same design),
   made to sit inside the CMS page: this file is loaded by 0102.html, which the CMS prints inside /introduction/medical-staff-surgeons-kr-pc,
   so every rule here is kept inside #mt-page (.mt-page) and leaves the site header, footer, pop-ups and the rest of the CMS page as they are
   (the one exception: the empty purple #maindb band, see below). What changed from Version 1:
   :root → .mt-page (the colours and sizes) · the html / body / tag rules → the page box itself + :where(.mt-page) resets ·
   .js → .mt-page.is-js · every other rule starts with .mt-page · html { scroll-behavior } left out (the CMS page's own).
   Version 1's notes below are kept as they were.
   (Version 1:) Built from the client's four reference pictures: S01 hero + S02 philosophy · S03 the three surgeons · S04 awards · S05 promise.
   2026-11-16 (client): the Awards section is merged into S02 (philosophy + record stack + a sideways-scrolling records row);
   the surgeons go without quotes, and 상세 약력 보기 opens a pop-up (약력 · 관련자료).
   No header menu and no footer (client). Same type, colours and scroll motion as Main V7.
   Each surgeon is an anchor — #dr-jung · #dr-kim · #dr-yoon.
   Gowun Batang (KR headings) · Pretendard (KR body/UI) · Cardo (EN, italics, numerals) · Noto Sans (tiny labels). */

.mt-page {
  --ivory: #F4EFE7;
  --paper: #FAF8F4;
  --sand: #E9E2D8;
  --ink: #241A26;
  --muted: #6B6168;
  --purple: #471B56;
  --purple-2: #5B2C6E;
  --plum: #2A1031;
  --champ: #B79D74;
  --champ-l: #D6C29E;
  --on-dark: #F4EFE7;
  --on-dark-2: #CFC3D2;
  --line: rgba(36, 26, 38, .13);

  --serif: "Cardo", "Gowun Batang", "Times New Roman", serif;
  --kserif: "Gowun Batang", "Cardo", "Nanum Myeongjo", serif;
  --sans: "Noto Sans", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --kr: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-slow: cubic-bezier(.6, .05, .2, 1);
}

/* ───────── Base (this page only — the box itself takes the place of the page's body) ───────── */
.mt-page {
  display: block; position: relative; margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--kr); font-size: 16px; line-height: 1.75; text-align: left;
  word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* (:where() keeps these resets as weak as plain tag rules, so the page's own classes below still win over them) */
.mt-page, :where(.mt-page) *, :where(.mt-page) *::before, :where(.mt-page) *::after { box-sizing: border-box; }
:where(.mt-page) img, :where(.mt-page) svg { display: block; max-width: 100%; }
:where(.mt-page) img { height: auto; }
:where(.mt-page) a { color: inherit; text-decoration: none; }
:where(.mt-page) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.mt-page) ul, :where(.mt-page) ol { list-style: none; margin: 0; padding: 0; }
:where(.mt-page) h1, :where(.mt-page) h2, :where(.mt-page) h3, :where(.mt-page) p, :where(.mt-page) figure, :where(.mt-page) blockquote { margin: 0; }
:where(.mt-page) :focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.mt-page .mh :focus-visible { outline-color: var(--champ-l); }
.mt-page .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-page .wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.mt-page .k { color: var(--purple); }
.mt-page .kicker { font: 500 10.5px/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--purple); }

/* #maindb — the old footer form's empty box, which the CMS CSS still draws as a 215px purple band above the site footer: hidden here while it is empty
   (as 학술 및 대외활동 / 진료시간 / 찾아오시는 길; the element stays, the template's script still uses its id). */
#mt-page ~ #maindb:empty { display: none !important; }
/* Quiet underlined link (as Main V7) */
.mt-page .more {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 14px/1.5 var(--kr); letter-spacing: .02em; color: var(--purple);
  padding: 3px 0 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.mt-page .more .arr { font-family: var(--serif); font-size: 1.05em; transition: transform .5s var(--ease); }
.mt-page .more:hover, .mt-page .more:focus-visible { background-size: 30% 1px; }
.mt-page .more:hover .arr, .mt-page .more:focus-visible .arr { transform: translateX(5px); }

/* ───────── Scroll motion — the same as Main V7: slow fade + rise, played again on every entry (down or up) ───────── */
.mt-page.is-js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.mt-page.is-js .rv.is-in { opacity: 1; transform: none; }
.mt-page.is-js .rv-img { opacity: 0; transition: opacity 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.mt-page.is-js .rv-img img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.mt-page.is-js .rv-img.is-in { opacity: 1; }
.mt-page.is-js .rv-img.is-in img { transform: none; }
.mt-page.is-js .rv.rv-up:not(.is-in) { transform: translateY(-22px); }
/* hairlines that draw themselves (.rv-line = the box whose lines draw once it is in) */
.mt-page.is-js .rv-line .ln-x { transform: scaleX(0); transform-origin: 0 50%; }
.mt-page.is-js .rv-line .ln-y { transform: scaleY(0); transform-origin: 50% 0; }
.mt-page.is-js .rv-line.is-in .ln-x, .mt-page.is-js .rv-line.is-in .ln-y { transform: none; transition: transform 1.4s var(--ease-slow) var(--ld, 120ms); }
.mt-page.is-js .rv-off, .mt-page.is-js .rv-off *, .mt-page.is-js .rv-img.rv-off img { transition: none !important; }
/* scrolling back up: a shown element that drops below the line it came in at (.rv-go) fades out at once, without its entry delay,
   so the top of the page looks as it did on first load (client, 2026-11-20); its hairlines draw back in .6s */
.mt-page.is-js .rv-go, .mt-page.is-js .rv-go img { transition-delay: 0ms !important; }
.mt-page.is-js .rv-line.rv-go .ln-x, .mt-page.is-js .rv-line.rv-go .ln-y { transition: transform .6s var(--ease); }

/* ───────── S01 · Hero (after the client reference "Dual Plane Facelift / 90° Shoulder Filler", keeping this page's photo; settled 2026-11-20):
   left — kicker · a large two-line UPRIGHT title (bigger and lower, client) · Korean title; right, at the bottom — a hairline, two lines of text, a catchphrase.
   Every piece fades up in turn, quickly ("sat set"); the photo fades in, then slowly zooms in. ───────── */
/* HERO HEIGHT (back to the 2026-11-17 size, client 2026-11-20): a little shorter than the screen, so the top of the next section shows below it
   (about 120px at 100% zoom; 749px tall on a 1440×900 screen); never taller than about 2 : 1, never shorter than 480px. Change the 120px to show more / less. */
.mt-page .mh {
  position: relative; isolation: isolate; overflow: hidden;
  height: max(480px, min(calc(100vh - 120px), 52vw));
  height: max(480px, min(calc(100svh - 120px), 52vw));
  background: #10141C; color: var(--on-dark);
}
.mt-page .mh__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mt-page .mh__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 62% 40%; }
/* the photo arrives already toned dark blue (client) — a light shade at the bottom, and a little more on the left behind the large title */
.mt-page .mh__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 14, 22, .2) 0%, rgba(10, 14, 22, 0) 34%, rgba(10, 14, 22, .55) 100%),
    linear-gradient(90deg, rgba(10, 14, 22, .48) 0%, rgba(10, 14, 22, .12) 48%, rgba(10, 14, 22, 0) 70%);
}
/* the two blocks sit along the bottom: the title block left, the text + catchphrase right (their bottoms line up).
   POSITION: the bottom value (lower = closer to the bottom edge; was clamp(44px, 7.6vw, 150px)). */
.mt-page .mh__in {
  position: absolute; left: clamp(24px, 5.85vw, 118px); right: clamp(24px, 7.2vw, 146px); bottom: clamp(30px, 4.4vw, 92px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px;
}
/* COLOURS (2026-11-20, client: "too yellow / goldy" — matched to the main page style_main.css): on dark, gold is only the light --champ-l (as the main page's
   dark sections); on light, accents are purple / soft purple / grey, never the darker --champ. */
.mt-page .mh__k { font: 500 clamp(9.5px, .68vw, 13px)/1.5 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--champ-l); }
/* TITLE (2026-11-20): upright, not italic, and bigger (was italic, clamp(56px, 7.4vw, 150px)) */
.mt-page .mh__title {
  margin-top: clamp(20px, 1.8vw, 34px);
  font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(60px, min(8.6vw, 17vh), 176px); line-height: .96; letter-spacing: -.012em; color: #F6F0E8;
}
.mt-page .mh__title .ln { display: block; overflow: hidden; padding: .05em .1em .14em; margin: -.05em -.1em -.14em; }   /* the edge each line rises from (room kept for the letters) */
.mt-page .mh__title .ln > span { display: block; }
/* the hero's Korean is set in Gowun Dodum (client, 2026-11-20) */
.mt-page .mh__ko { margin-top: clamp(14px, 1.5vw, 28px); font-family: "Gowun Dodum", var(--kr); font-weight: 400; font-size: clamp(17px, 1.5vw, 30px); line-height: 1.4; letter-spacing: .08em; color: rgba(246, 240, 232, .9); }
.mt-page .mh__aside { position: relative; padding: 4px 0 4px clamp(22px, 1.7vw, 34px); max-width: 400px; }
.mt-page .mh__aside::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(214, 194, 158, .5); }
.mt-page .mh__lead { font-family: "Gowun Dodum", var(--kr); font-size: clamp(13.5px, 1vw, 19px); line-height: 2; letter-spacing: .02em; color: rgba(246, 240, 232, .86); }
/* the catchphrase (2026-11-20) — in place of the old 의료진 보기 link (this already is the medical team page) */
.mt-page .mh__cc { margin-top: clamp(16px, 1.5vw, 30px); font-family: var(--serif); font-style: italic; font-size: clamp(15px, 1.2vw, 23px); line-height: 1.4; color: rgba(244, 239, 231, .72); }   /* (2026-11-20: faded ivory, client choice "C") */
/* the hero's entrance (2026-11-20, client: "more elegant", still brisk — all in about 1.8s): pieces come in from a soft blur while drifting up a little;
   the kicker's tracking settles; each title line rises from behind its hidden edge, soft to sharp; the right block's hairline draws down. */
.mt-page .mh { --el: cubic-bezier(.22, 1, .36, 1); }
.mt-page.is-js .mh .rv { transform: translateY(16px); filter: blur(6px); transition: opacity .9s var(--el), transform 1.1s var(--el), filter 1s var(--el); transition-delay: var(--d, 0ms); }
.mt-page.is-js .mh .rv.is-in { transform: none; filter: blur(0); }
.mt-page.is-js .mh .mh__k.rv { letter-spacing: .62em; transition: opacity .9s var(--el), transform 1.1s var(--el), filter 1s var(--el), letter-spacing 1.4s var(--el); transition-delay: var(--d, 0ms); }
.mt-page.is-js .mh .mh__k.rv.is-in { letter-spacing: .32em; }
.mt-page.is-js .mh .mh__title .rv { transform: translateY(102%); filter: blur(4px); transition: opacity .8s var(--el), transform 1.15s var(--el), filter 1s var(--el); transition-delay: var(--d, 0ms); }
.mt-page.is-js .mh .mh__title .rv.is-in { transform: none; filter: blur(0); }
.mt-page.is-js .mh__aside::before { transform: scaleY(0); transform-origin: 50% 0; transition: transform 1s var(--el) var(--d, 0ms); }
.mt-page.is-js .mh__aside.is-in::before { transform: none; }
.mt-page.is-js .mh .rv-img { transition-duration: 1s; }
/* the photo (edited 2026-11-17): no zoom on entrance — it fades in, then, once it is in, slowly zooms in while the hero is showing
   (10% over 24s, starting .9s after it appears; starts again each time the hero comes back into view). ZOOM: the 1.1 and the 24s. */
.mt-page.is-js .mh .rv-img img { transform: none; transition: none; }
.mt-page.is-js .mh .rv-img.is-in img { animation: mh-zoom 24s cubic-bezier(.33, 0, .3, 1) .9s both; }
@keyframes mh-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ───────── S02 · Our Philosophy + the records (the Awards section merged in, client 2026-11-16):
   text on the left, the record shown large on the right with a faint pile of sheets behind it, all records in a row below ───────── */
.mt-page .phi { background: var(--ivory); padding: clamp(96px, 10vw, 156px) 0 clamp(80px, 8vw, 128px); overflow: hidden; }
.mt-page .phi__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px clamp(56px, 8vw, 140px); }
.mt-page .phi__text { max-width: 700px; }
.mt-page .phi__t { margin-top: clamp(20px, 2vw, 28px); font-family: var(--kserif); font-weight: 400; font-size: clamp(25px, 2.45vw, 36px); line-height: 1.62; letter-spacing: -.02em; color: var(--ink); }
.mt-page .phi__t .ln { display: block; }
.mt-page .phi__cols { margin-top: clamp(40px, 4.2vw, 62px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(32px, 6vw, 92px); }
.mt-page .phi__cols p { font-size: 14px; line-height: 2.05; color: var(--muted); }
.mt-page .phi__foot { position: relative; margin-top: clamp(44px, 4.6vw, 68px); padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.mt-page .phi__foot .ln-x { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(36, 26, 38, .16); }
.mt-page .phi__org { font: 500 9.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(107, 97, 104, .72); }
.mt-page .phi__since { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.35vw, 20px); color: var(--purple); white-space: nowrap; }

/* a record: a white mat with the proportions of a portrait A4 sheet; the whole scan shows (never cropped or stretched) */
.mt-page .rec__mat { position: relative; display: block; width: 100%; aspect-ratio: 210 / 297; padding: 6%; background: #FFFFFF; box-shadow: 0 14px 30px rgba(45, 39, 48, .12); }
.mt-page .rec__mat img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* the big place, with two faint sheets behind it (they lean out to the right) */
.mt-page .rec__stage { --bw: clamp(220px, 21vw, 300px); width: calc(var(--bw) * 1.34); margin: 0; }
.mt-page .rec__frame { position: relative; width: var(--bw); }
.mt-page .rec__sheet { position: absolute; inset: 0; background: #FFFFFF; box-shadow: 0 14px 30px rgba(45, 39, 48, .1); opacity: .82; transform: translate3d(10%, -6%, 0) rotate(2deg); }
.mt-page .rec__sheet--2 { opacity: .6; transform: translate3d(28%, -9%, 0) rotate(4.5deg); }
.mt-page .rec__open { position: relative; display: block; cursor: zoom-in; }
.mt-page .rec__stage .rec__mat { box-shadow: 0 30px 60px -20px rgba(45, 39, 48, .3); transition: opacity .28s var(--ease); }
/* cross-fade (edited 2026-11-16): the new scan, on the white mat, fades in over the shown one, then takes its place (the script removes this layer) */
.mt-page .rec__mat .rec__xf { position: absolute; max-width: none; background: #FFFFFF; object-fit: contain; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.mt-page .rec__mat .rec__xf.is-in { opacity: 1; }
.mt-page .rec__cap { margin-top: 26px; width: var(--bw); display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; line-height: 1.6; color: #463B47; transition: opacity .3s var(--ease); }
.mt-page .rec__cap.is-fresh { animation: rec-fresh .6s var(--ease) both; }      /* the new caption text fades in in place of the old */
@keyframes rec-fresh { from { opacity: 0; } }
.mt-page .rec__cy { flex: 0 0 auto; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--purple); }
/* (edited 2026-11-16: a click no longer flies the record into the big place — the new one fades in over the shown one, via .rec__xf above) */

/* the records row: scrolls sideways (drag / trackpad / swipe); its edges fade where there is more to see */
.mt-page .rec { position: relative; margin-top: clamp(64px, 6.4vw, 100px); padding-top: clamp(26px, 2.6vw, 40px); }
.mt-page .rec > .ln-x { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(36, 26, 38, .16); }
.mt-page .rec__row { --rg: clamp(14px, 1.5vw, 22px); --fade: 80px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.mt-page .rec__row::-webkit-scrollbar { display: none; }
.mt-page.is-js .rec__row { cursor: grab; }
.mt-page .rec__row.is-drag, .mt-page .rec__row.is-drag .rec__card { cursor: grabbing; user-select: none; }
.mt-page .rec__row.is-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--fade)), transparent); }
.mt-page .rec__row.is-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade)); mask-image: linear-gradient(90deg, transparent, #000 var(--fade)); }
.mt-page .rec__row.is-l.is-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }
.mt-page .rec__list { display: flex; gap: var(--rg); padding: 18px 0 4px; }                 /* (room above for the lift and the shadow) */
.mt-page .rec__list > li { flex: 0 0 calc((100% - 6 * var(--rg)) / 7); min-width: 0; }      /* seven in view on a desktop */
.mt-page .rec__card { display: block; width: 100%; text-align: left; }
.mt-page .rec__card .rec__mat { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mt-page .rec__card:hover .rec__mat, .mt-page .rec__card:focus-visible .rec__mat { transform: translateY(-5px); box-shadow: 0 22px 40px rgba(45, 39, 48, .18); }
/* the one in the big place (edited 2026-11-16): no purple border — it stays lifted a little, with a softer, larger shadow; its year stays purple */
.mt-page .rec__card[aria-pressed="true"] .rec__mat { transform: translateY(-8px); box-shadow: 0 26px 44px rgba(45, 39, 48, .2); }
.mt-page .rec__y { display: block; margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 14px; color: #7E6A86; transition: color .4s var(--ease); }
.mt-page .rec__card[aria-pressed="true"] .rec__y { color: var(--purple); }
.mt-page .rec__n { display: block; margin-top: 6px; font-family: var(--kserif); font-size: 15px; line-height: 1.5; color: var(--ink); }
.mt-page .rec__s { display: block; margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.mt-page .rec__bar { position: relative; margin-top: 26px; height: 1px; background: rgba(36, 26, 38, .12); }
.mt-page .rec__bar i { position: absolute; left: 0; top: -.5px; height: 2px; width: 40%; background: var(--purple); }
.mt-page .rec__bar.is-none { visibility: hidden; }
.mt-page:not(.is-js) .rec__bar { display: none; }

/* ───────── S03 · The surgeons — one block per surgeon, photo and text alternating ───────── */
.mt-page .drs { background: var(--paper); padding: clamp(56px, 6vw, 100px) 0 clamp(64px, 7vw, 120px); overflow: hidden; }
.mt-page .dr {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); column-gap: clamp(40px, 6.4vw, 104px); align-items: center;
  padding: clamp(60px, 6.4vw, 100px) 0;
  scroll-margin-top: 0;
}
.mt-page .dr + .dr { border-top: 1px solid var(--line); }
.mt-page .dr--flip { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); }
.mt-page .dr--flip .dr__media { order: 2; }
/* the soft "you are here" panel: a white sheet with a long, faint shadow that rises behind the surgeon you are on
   (the one in the middle of the screen, or the one under the mouse) */
.mt-page .dr::before {
  content: ""; position: absolute; z-index: -1;
  inset: 20px calc(-1 * clamp(20px, 3.4vw, 56px));
  background: #FFFFFF;
  box-shadow: 0 46px 90px -56px rgba(71, 27, 86, .26), 0 0 0 1px rgba(71, 27, 86, .04);
  opacity: 0; transform: scale(.985);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.mt-page .dr.is-here::before { opacity: 1; transform: none; }

.mt-page .dr__media { position: relative; }
.mt-page .dr__photo { position: relative; aspect-ratio: 437 / 355; overflow: hidden; background: var(--sand); }
.mt-page .dr__photo img { width: 100%; height: 100%; object-fit: cover; }
.mt-page.is-js .dr__photo.rv-img.is-in img { transition: transform 2.4s var(--ease); }
.mt-page .dr.is-here .dr__photo img { transform: scale(1.035); transition: transform 2.4s var(--ease); }
/* the name tab standing on the photo's outer edge */
.mt-page .dr__tab {
  position: absolute; top: 16%; right: -13px; z-index: 1;
  writing-mode: vertical-rl;
  padding: 16px 6px; background: var(--paper);
  font: 500 8.5px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; color: #4A3F4B;
  box-shadow: 0 6px 18px -10px rgba(36, 26, 38, .3);
  transition: color .8s var(--ease), background-color .8s var(--ease);
}
.mt-page .dr__tab .ko { font-family: var(--kr); letter-spacing: .14em; }
.mt-page .dr--flip .dr__tab { right: auto; left: -13px; transform: rotate(180deg); }
.mt-page .dr.is-here .dr__tab { color: var(--purple); background: #FFFFFF; }
.mt-page .dr__cap { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.mt-page .dr__cap em { font-family: var(--serif); font-size: 15px; color: var(--purple); }

.mt-page .dr__no { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: .04em; color: #6B4A7B; transition: color .8s var(--ease); }
.mt-page .dr.is-here .dr__no { color: var(--purple); }
.mt-page .dr__en { margin-top: 12px; font-family: var(--serif); font-size: clamp(14px, 1.12vw, 17px); letter-spacing: .24em; text-transform: uppercase; color: #6E6270; }
.mt-page .dr__name { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-family: var(--kserif); font-weight: 400; font-size: clamp(40px, 4vw, 58px); line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.mt-page .dr__name small { font-family: var(--kr); font-size: 12.5px; letter-spacing: .02em; color: var(--muted); }
.mt-page .dr__tags { margin-top: clamp(22px, 2.2vw, 30px); display: flex; flex-wrap: wrap; gap: 8px; }
.mt-page .dr__tags li { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 12px 8px; border: 1px solid rgba(71, 27, 86, .3); background: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.2; color: #3B2F3C; }
.mt-page .dr__tags b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 12.5px; color: var(--purple); }
.mt-page .dr__cv { position: relative; margin-top: clamp(26px, 2.6vw, 36px); padding-top: clamp(22px, 2.2vw, 30px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 3vw, 44px); }
.mt-page .dr__cv .ln-x { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.mt-page .dr__k { margin-bottom: 14px; font: 500 9.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(107, 97, 104, .85); }
.mt-page .dr__list li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.6; color: #463B47; }
.mt-page .dr__list li + li { margin-top: 7px; }
.mt-page .dr__list li::before { content: "–"; position: absolute; left: 0; color: #C9C2C7; }
.mt-page .dr__go { margin-top: clamp(26px, 2.6vw, 36px); }

/* ───────── 상세 약력 pop-up (one <dialog>, filled from each surgeon's <template>) — the photo side on the left, 약력 / 관련자료 tabs on the right ───────── */
html.is-modal { overflow: hidden; padding-right: var(--sbw, 0px); }
.mt-page .bio {
  width: min(1160px, 100vw - 2 * var(--gutter)); max-width: none;
  height: min(760px, 100dvh - 48px); max-height: none;
  padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
}
.mt-page .bio::backdrop { background: rgba(36, 26, 38, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mt-page .bio[open] { animation: bio-in .5s var(--ease) both; }
.mt-page .bio[open]::backdrop { animation: bio-fade .5s var(--ease) both; }
.mt-page .bio.is-closing { animation: bio-out .26s ease both; }
.mt-page .bio.is-closing::backdrop { animation: bio-fade .26s ease reverse both; }
@keyframes bio-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes bio-out { to { opacity: 0; transform: translateY(10px) scale(.99); } }
@keyframes bio-fade { from { opacity: 0; } }
.mt-page .bio__box {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, .53fr) minmax(0, 1fr);
  background: #FFFFFF; box-shadow: 0 40px 100px -40px rgba(20, 8, 24, .55);
}
.mt-page .bio__box.is-swap { animation: bio-fade .45s var(--ease) both; }     /* 다음 원장 → */

.mt-page .bio__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.mt-page .bio__photo { flex: 0 0 auto; aspect-ratio: 555 / 500; overflow: hidden; background: var(--sand); }
.mt-page .bio__photo img { width: 100%; height: 100%; object-fit: cover; }
.mt-page .bio__id { padding: clamp(24px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px) 0; }
.mt-page .bio__en { font-family: var(--serif); font-size: clamp(12px, 1vw, 14px); letter-spacing: .24em; text-transform: uppercase; color: #6E6270; }
.mt-page .bio__name { margin-top: 10px; font-family: var(--kserif); font-weight: 400; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.mt-page .bio__role { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.mt-page .bio__role span { white-space: nowrap; }
.mt-page .bio__foot { margin: auto clamp(24px, 3.4vw, 48px) clamp(22px, 2.8vw, 38px); padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mt-page .bio__foot span { font: 500 9px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(107, 97, 104, .8); }
.mt-page .bio__foot em { font-family: var(--serif); font-size: 15px; color: var(--purple); }

.mt-page .bio__main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(30px, 4vw, 56px) clamp(28px, 4.6vw, 76px) 48px; }
.mt-page .bio__head { display: flex; align-items: center; gap: 20px; padding-right: 64px; }
.mt-page .bio__k { font: 600 10px/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--purple); }
.mt-page .bio__next { margin-left: auto; font: 500 10px/1.5 var(--kr); letter-spacing: .14em; color: rgba(107, 97, 104, .85); transition: color .3s; }
.mt-page .bio__next span { display: inline-block; margin-left: 4px; transition: transform .4s var(--ease); }
.mt-page .bio__next:hover { color: var(--purple); }
.mt-page .bio__next:hover span { transform: translateX(4px); }
/* × (edited 2026-11-16): a small cross on a softly filled circle — low-opacity purple fill, no border line; a little higher than before
   (centre kept where the borderless cross was). CIRCLE STRENGTH: the .07 below (hover .13). CROSS SIZE: the 10px on the svg. */
.mt-page .bio__x {
  position: absolute; top: clamp(11px, 1.3vw, 19px); right: clamp(21px, 2.6vw, 33px); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(71, 27, 86, .07); color: var(--ink); transition: background-color .3s, color .3s;
}
.mt-page .bio__x:hover { background: rgba(71, 27, 86, .13); color: var(--purple); }
.mt-page .bio__x svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; }

.mt-page .bio__tabs { margin-top: 26px; display: flex; gap: clamp(24px, 3vw, 40px); border-bottom: 1px solid rgba(36, 26, 38, .16); }
.mt-page .bio__tab { position: relative; padding: 10px 0 14px; font-size: 15px; line-height: 1.4; color: var(--muted); transition: color .3s; }
.mt-page .bio__tab:hover { color: var(--ink); }
.mt-page .bio__tab[aria-selected="true"] { color: var(--purple); font-weight: 600; }
.mt-page .bio__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--purple); }
.mt-page .bio__tab em { margin-left: 6px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 13px; color: #7E6A86; }
.mt-page .bio__pane { padding-top: 34px; }
.mt-page .bio__pane[hidden] { display: none; }
.mt-page .bio__pane:focus-visible { outline-offset: 6px; }

/* 약력: two columns, a hairline, two more */
.mt-page .bio__cv { display: grid; grid-template-columns: 1fr 1fr; gap: 34px clamp(28px, 4vw, 60px); }
.mt-page .bio__hr { grid-column: 1 / -1; margin: 0; border: 0; height: 1px; background: var(--line); }
.mt-page .bio__g + .bio__g { margin-top: 30px; }
.mt-page .bio__gk { margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; font-weight: 400; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.mt-page .bio__gk span { font: 500 9.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--purple); }
.mt-page .bio__list li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.75; color: #3B2F3C; }
.mt-page .bio__list li + li { margin-top: 8px; }
.mt-page .bio__list li::before { content: "–"; position: absolute; left: 0; color: #C9C2C7; }
.mt-page .bio__list i { display: block; margin-top: 2px; font-family: var(--serif); font-style: italic; color: var(--muted); }
.mt-page .bio__empty { font-size: 13px; line-height: 1.8; color: var(--muted); }

/* 관련자료: documents in a grid; a click opens the full scan */
.mt-page .bio__docs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px clamp(14px, 1.5vw, 22px); }
.mt-page .bio__doc { display: block; }
.mt-page .bio__mat { position: relative; display: block; aspect-ratio: 5 / 6; padding: 8%; background: #FFFFFF; border: 1px solid rgba(36, 26, 38, .14); transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.mt-page .bio__mat img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mt-page a.bio__doc:hover .bio__mat, .mt-page a.bio__doc:focus-visible .bio__mat { border-color: rgba(71, 27, 86, .45); box-shadow: 0 18px 34px -18px rgba(45, 39, 48, .35); }
.mt-page .bio__zoom { position: absolute; right: 8px; bottom: 8px; width: 12px; height: 12px; fill: none; stroke: #6E6270; stroke-width: 1.1; }
.mt-page .bio__doc.is-blank .bio__mat { display: grid; place-items: center; }
.mt-page .bio__soon { font-size: 10.5px; letter-spacing: .04em; color: rgba(107, 97, 104, .6); }
.mt-page .bio__dt { display: block; margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.mt-page .bio__dc { display: block; margin-top: 5px; font: 500 8.5px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #9A9098; }

/* ───────── S05 · Our promise (the page ends here — no footer) ───────── */
/* (2026-11-20, client: try white): on white with purple accents — purple label and "네 가지", soft-purple numbers, faint purple lines, ink / muted text.
   (The plum version — plum ground, ivory type, lilac #C7A9D8 accents — is kept in the backup if wanted.) */
.mt-page .pr { background: #FFFFFF; color: var(--ink); padding: clamp(96px, 10vw, 150px) 0 clamp(110px, 11vw, 176px); text-align: center; }
.mt-page .pr .kicker { color: var(--purple); }
.mt-page .pr__t { margin-top: clamp(16px, 1.6vw, 22px); font-family: var(--kserif); font-weight: 400; font-size: clamp(25px, 2.4vw, 36px); line-height: 1.5; letter-spacing: -.02em; color: var(--ink); }
.mt-page .pr__t .k { color: var(--purple); }
.mt-page .pr__list { position: relative; margin-top: clamp(48px, 5vw, 76px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: left; }
.mt-page .pr__item { position: relative; padding: 26px clamp(20px, 2.4vw, 36px) 32px; }
.mt-page .pr__item .ln-y { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(71, 27, 86, .2); }
.mt-page .pr__item .ln-y--r { left: auto; right: 0; }          /* closing line on the right of the last column */
.mt-page .pr__item:nth-child(2) .ln-y--r { display: none; }
.mt-page .pr__no { font-family: var(--serif); font-style: italic; font-size: 13px; color: #6B4A7B; }
.mt-page .pr__h { margin-top: 18px; font-family: var(--kserif); font-weight: 400; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink); }
.mt-page .pr__d { margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--muted); }

/* ───────── Tablet ───────── */
@media (max-width: 1023px) {
  .mt-page .rec__stage { --bw: clamp(200px, 23vw, 240px); }
  .mt-page .rec__list > li { flex-basis: calc((100% - 4 * var(--rg)) / 5); }
  .mt-page .dr { column-gap: clamp(32px, 4.6vw, 56px); }
  .mt-page .dr__cv { grid-template-columns: 1fr; }
  .mt-page .bio__box { grid-template-columns: minmax(0, .44fr) minmax(0, 1fr); }
  .mt-page .bio__docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mt-page .pr__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .mt-page .pr__item:nth-child(2) .ln-y--r { display: block; }
}
@media (max-width: 900px) {
  .mt-page .phi__top { grid-template-columns: 1fr; }
  .mt-page .rec__stage { --bw: clamp(220px, 36vw, 280px); }
  .mt-page .dr, .mt-page .dr--flip { grid-template-columns: 1fr; row-gap: 40px; }
  .mt-page .dr--flip .dr__media { order: 0; }
  .mt-page .dr__media { width: min(100%, 560px); }
  .mt-page .dr__tab, .mt-page .dr--flip .dr__tab { left: auto; right: -10px; transform: none; }
  .mt-page .dr__cv { grid-template-columns: 1fr 1fr; }
  .mt-page .bio__cv { grid-template-columns: 1fr; }
}

/* ───────── Phone ───────── */
@media (max-width: 760px) {
  .mt-page .mh { height: max(460px, min(calc(100vh - 120px), 640px)); height: max(460px, min(calc(100svh - 120px), 640px)); }   /* (back to the 2026-11-17 phone size, client 2026-11-20) */
  .mt-page .mh__media img { object-position: 62% 30%; }   /* (the lamp stays in view) */
  .mt-page .mh__in { grid-template-columns: minmax(0, 1fr); row-gap: 30px; bottom: 40px; }   /* (2026-11-20: the text + link go under the title on phones) */
  .mt-page .mh__lead br { display: none; }
  .mt-page .phi__cols { grid-template-columns: 1fr; }
  .mt-page .phi__foot { flex-direction: column; gap: 6px; }
  .mt-page .rec__stage { --bw: min(58vw, 260px); justify-self: center; width: var(--bw); }
  .mt-page .rec__row { --fade: 36px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .mt-page .rec__list > li { flex-basis: 40vw; }
  .mt-page .dr__name { font-size: 40px; }
  .mt-page .dr__cv { grid-template-columns: 1fr; }
  /* the pop-up fills the screen; the photo side becomes a small header */
  .mt-page .bio { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .mt-page .bio__box { display: block; height: 100%; overflow-y: auto; overscroll-behavior: contain; box-shadow: none; }
  .mt-page .bio__side { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 70px 18px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  .mt-page .bio__photo { aspect-ratio: 1; }
  .mt-page .bio__id { padding: 0; }
  .mt-page .bio__en { font-size: 11px; letter-spacing: .2em; }
  .mt-page .bio__name { margin-top: 4px; font-size: 30px; }
  .mt-page .bio__role { margin-top: 6px; font-size: 12px; }
  .mt-page .bio__foot { display: none; }
  .mt-page .bio__main { overflow: visible; padding: 22px var(--gutter) 44px; }
  .mt-page .bio__head { padding-right: 0; flex-wrap: wrap; gap: 8px 16px; }
  .mt-page .bio__x { top: 8px; right: 14px; width: 40px; height: 40px; }   /* (edited 2026-11-16: a little higher — was top: 14px; circle 40px) */
  .mt-page .bio__docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .mt-page .pr__list { grid-template-columns: 1fr; }
  .mt-page .pr__item { padding: 22px 4px 26px 22px; }
  .mt-page .pr__item .ln-y--r, .mt-page .pr__item:nth-child(2) .ln-y--r { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-page.is-js .rv, .mt-page.is-js .rv-img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mt-page.is-js .rv-img img, .mt-page .dr.is-here .dr__photo img { transform: none !important; }
  .mt-page.is-js .mh .rv-img.is-in img { animation: none; }
  .mt-page.is-js .mh .rv { filter: none !important; }
  .mt-page.is-js .mh .mh__k.rv { letter-spacing: .32em; }
  .mt-page.is-js .mh__aside::before { transform: none; transition: none; }
  .mt-page.is-js .rv-line .ln-x, .mt-page.is-js .rv-line .ln-y { transform: none !important; }
  .mt-page .bio[open], .mt-page .bio[open]::backdrop, .mt-page .bio.is-closing, .mt-page .bio.is-closing::backdrop, .mt-page .bio__box.is-swap { animation: none; }
}
