:root {
  --brand: #0C646B;
  --brand-2: #094E54;
  --mint: #2DD4BF;
  --mint-2: #0D9488;
  --mint-soft: #CCFBF1;
  --ink: #0B1E33;
  --sub: #64748B;
  --line: #E2E8F0;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --radius: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 한국어는 띄어쓰기 자리에서만 줄을 바꾼다 (긴 주소·영문은 필요하면 중간에서) */
  word-break: keep-all;
  overflow-wrap: break-word;
}
/* 마지막 줄에 단어 하나만 남지 않게, 제목은 줄 길이를 고르게 */
p, li, small, figcaption { text-wrap: pretty; }
h1, h2, h3, h4, .stat small { text-wrap: balance; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0; }

/* 상단 메뉴 */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 8px clamp(16px, 4vw, 40px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; height: 54px; width: auto; }
.final-logo { display: block; height: 64px; width: auto; margin: 0 auto 22px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { position: relative; padding: 6px 0; text-decoration: none; font-size: 14px; font-weight: 600; color: #334155; transition: color .2s ease; }
/* 마우스를 올리면 딥틸 밑줄이 왼쪽에서 그어지고, 지금 보고 있는 섹션 메뉴(.on)에는 밑줄이 남는다 */
.nav nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left center; transition: transform .25s ease;
}
.nav nav a:hover, .nav nav a.on { color: var(--brand); }
.nav nav a:hover::after, .nav nav a.on::after { transform: scaleX(1); }
.nav nav a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 4px; }
.nav .cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(12,100,107,.25); }
@media (prefers-reduced-motion: reduce) {
  .nav nav a, .nav nav a::after { transition: none; }
}

.cta {
  border: 0; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 11px; white-space: nowrap; transition: .15s;
}
.cta:hover { background: var(--brand-2); transform: translateY(-1px); }
.cta.big { font-size: 16px; padding: 13px 22px; border-radius: 13px; }
.cta.block { width: 100%; padding: 13px; font-size: 15px; }
.cta.light { background: #fff; color: var(--brand); }
.cta.light:hover { background: var(--mint-soft); }
.ghost { display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 13px; border: 1px solid var(--line); background: #fff; font-weight: 600; text-decoration: none; font-size: 15px; }
.ghost:hover { border-color: var(--brand); }

/* 히어로 = 연구소 지도 */
.hero { padding: 16px clamp(12px, 3vw, 32px) 0; }
.stage {
  position: relative; height: min(78vh, 760px); min-height: 520px;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(1200px 500px at 70% 0%, #E0F2FE 0%, transparent 60%), linear-gradient(180deg, #F8FAFC, #EEF2F7);
}
#office { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.hero-card {
  position: absolute; left: clamp(14px, 3vw, 32px); top: clamp(14px, 3vw, 32px); max-width: 380px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(15,23,42,.10);
}
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #0F766E; background: var(--mint-soft); padding: 4px 11px; border-radius: 99px; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: #10B981; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-card h1 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 10px; letter-spacing: -.02em; color: var(--brand); }
.hero-card p { margin: 0 0 18px; color: #475569; font-size: 15px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tip {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: rgba(15,23,42,.82); color: #fff; font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 99px; pointer-events: none; animation: float 2.4s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-50%, -4px); } }
.zoom { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.zoom button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 700; }

/* 방 소개 카드 */
.room-card {
  position: absolute; right: 14px; top: 14px; bottom: 14px; width: min(360px, calc(100% - 28px));
  background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 22px;
  overflow-y: auto; box-shadow: 0 20px 50px rgba(15,23,42,.18); animation: slide .25s ease-out;
}
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.room-card .close, dialog .close {
  position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  border: 0; background: var(--bg); font-size: 14px;
}
.room-icon { font-size: 34px; }
.room-card h2 { font-size: 22px; margin: 6px 0 4px; color: var(--brand); }
.room-card .lead { font-weight: 700; margin: 0 0 8px; }
.room-card p { color: #475569; font-size: 14px; margin: 0 0 12px; }
.room-card h4 { font-size: 14px; margin: 14px 0 6px; }
.room-card ul { margin: 0 0 16px; padding-left: 18px; font-size: 13.5px; color: #334155; }
.room-card ul li { margin: 3px 0; }
.room-card ul.chips li { margin: 0; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.room-card ul.chips { padding: 0; list-style: none; }
.room-card ul.steps { padding: 0; list-style: none; }
.room-card ul.steps li { margin: 6px 0; padding-left: 12px; border-left: 3px solid var(--mint-soft); }
.chips span, .chips li { background: #EEF2FF; color: var(--brand); font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 99px; }
.chips.big span { font-size: 14px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); color: #334155; }

/* 출강 기관: 칩 반응 + 마지막 칩(문의) */
.chips.big .client { transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; cursor: default; }
.chips.big .client:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); box-shadow: 0 8px 18px rgba(12,100,107,.14); }
.chips.pre .client, .chips.pre .more { opacity: 0; }
.chips.big .more {
  font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 99px; cursor: pointer;
  background: var(--brand); border: 1px solid var(--brand); color: #fff; font-weight: 800;
  animation: breathe 2.6s ease-in-out infinite; transition: transform .2s ease, background-color .2s ease;
}
.chips.big .more:hover { background: var(--brand-2); transform: translateY(-3px); animation-play-state: paused; }
.chips.big .more:hover::after { content: '  📩 문의하기'; font-weight: 700; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,.0); }
  50% { box-shadow: 0 0 0 7px rgba(45,212,191,.28); }
}
@media (prefers-reduced-motion: reduce) {
  .chips.big .more { animation: none; }
  .chips.big .client { transition: none; }
}

/* 소개 영상 버튼 · 방 카드 썸네일 · 플레이어 */
.ghost.play { gap: 8px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); }
.ghost.play i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: 9px; padding-left: 2px; }
.ghost.play small { color: var(--sub); font-weight: 600; }
.about-text .ghost.play { margin-top: 16px; }
.portrait-play {
  position: absolute; right: 14px; bottom: 64px; width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer; background: rgba(255,255,255,.88); color: var(--brand); font-size: 18px; padding-left: 4px;
  box-shadow: 0 10px 24px rgba(11,30,51,.25); transition: transform .2s ease, background-color .2s ease;
  animation: breathe 2.6s ease-in-out infinite;
}
.portrait-play i { font-style: normal; }
.portrait-play:hover { transform: scale(1.08); background: #fff; }
.room-video {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 4px; padding: 8px; text-align: left;
  font: inherit; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.room-video:hover { border-color: var(--brand); box-shadow: 0 8px 18px rgba(12,100,107,.12); }
.room-video .thumb { position: relative; flex: 0 0 104px; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #0B1E33; }
.room-video .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-video .thumb i { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--brand); font-style: normal; font-size: 10px; padding-left: 2px; }
.room-video .meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.room-video .meta b { font-size: 14px; color: var(--brand); }
.room-video .meta small { font-size: 12px; color: var(--sub); }
dialog.video-dlg { width: min(960px, calc(100vw - 24px)); padding: 0; background: #0B1E33; color: #fff; border-radius: 18px; overflow: hidden; }
.video-dlg .vwrap { position: relative; background: #000; }
.video-dlg video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-dlg .vend {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(11,30,51,.72); backdrop-filter: blur(2px); text-align: center; padding: 20px; animation: foldIn .3s ease;
}
.video-dlg .vend p { margin: 0; font-size: clamp(16px, 2.4vw, 22px); font-weight: 800; }
.video-dlg .vend div { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.video-dlg .vend .ghost { cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; }
.video-dlg .vbar { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 12px 56px 14px 18px; }
.video-dlg .vbar b { font-size: 15px; }
.video-dlg .vbar span { font-size: 12.5px; color: #9FB3C8; }
.video-dlg .vbar .close { top: 6px; right: 10px; color: #fff; background: rgba(255,255,255,.12); }
.room-icon .face { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--brand), 0 8px 20px rgba(12,100,107,.2); display: block; }

/* 숫자로 보는 연구소 */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 1100px; margin: 22px auto 0; padding: 0 clamp(16px, 4vw, 40px);
}
/* 숫자 카드: 마우스를 대면(휴대폰은 누르면) 떠오르며 딥틸로 바뀌고, 숫자를 다시 세고, 근거 한 줄이 나타난다 */
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px 14px;
  text-align: center; display: flex; flex-direction: column; align-items: center; cursor: default; outline: none;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}
.stat b { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--sub); font-weight: 600; }
.stat b, .stat > span { transform: translateY(17px); transition: transform .3s ease, color .3s ease; }
.stat small {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.9em; margin-top: 6px; max-width: 100%; font-size: 12.5px; line-height: 1.45; font-weight: 600;
  color: #D7F5F0; opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.stat.lit { background: var(--brand); border-color: var(--brand); }
.stat.lit b { color: #fff; }
.stat.lit span { color: #B8F1EA; }
.stat.open { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(12, 100, 107, .22); cursor: pointer; }
.stat.open b, .stat.open > span { transform: none; }
.stat.open small { opacity: 1; transform: none; }
.stat:focus-visible { box-shadow: 0 0 0 3px rgba(45, 212, 191, .55); }
@media (prefers-reduced-motion: reduce) {
  .stat, .stat b, .stat > span, .stat small { transition: none; }
  .stat.open { transform: none; }
}

/* 섹션 */
.section { padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
.section.alt { max-width: none; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section > h2, .about h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.section-lead { color: var(--sub); margin: 8px 0 28px; font-size: 16px; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--mint-2); }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.topic {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; gap: 10px; transition: .15s;
}
.topic:hover { border-color: var(--brand); box-shadow: 0 10px 30px rgba(12,100,107,.08); transform: translateY(-2px); }
.topic .ic { font-size: 26px; }
.topic b { font-size: 16px; }
/* 강의 분야 제목: 작은 분류 + 굵은 핵심 주제. 넘치면 띄어쓰기 자리에서만 고르게 줄바꿈 */
.topic-name { display: flex; flex-direction: column; gap: 3px; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
.topic-name small { font-size: 12.5px; font-weight: 600; color: var(--sub); letter-spacing: -.01em; }
.topic-name b { font-size: 17px; line-height: 1.35; letter-spacing: -.01em; }
.topic button { margin-top: auto; align-self: flex-start; border: 0; background: var(--mint-soft); color: #0F766E; font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 9px; }
.topic button:hover { background: var(--mint); color: #fff; }

.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.about-main { display: flex; gap: 28px; align-items: flex-start; }
.portrait { position: relative; flex: 0 0 min(250px, 40%); margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(12,100,107,.18); }
.portrait figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: max-content; max-width: 112%;
  background: #fff; color: var(--brand); font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 99px;
  border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(15,23,42,.12);
}
.about-text { flex: 1; min-width: 0; }
.about h4 { margin: 22px 0 8px; font-size: 15px; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--mint-2); font-weight: 800; }
.about-side { display: flex; flex-direction: column; gap: 14px; }
.box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.box h4 { margin: 0 0 8px; }
.box ul { margin: 0; padding-left: 18px; font-size: 14px; color: #334155; }
.box li { margin: 3px 0; }
/* 접고 펴는 상자 (심사·평가, 저서) */
.fold { padding: 0; }
.fold summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px;
  padding: 16px 20px; border-radius: var(--radius); user-select: none;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary h4 { margin: 0; }
.fold summary .count { font-size: 12px; font-weight: 700; color: var(--brand); background: #E8F4F3; border-radius: 99px; padding: 2px 9px; }
.fold summary::after {
  content: ''; margin-left: auto; width: 8px; height: 8px;
  border-right: 2px solid #64748B; border-bottom: 2px solid #64748B;
  transform: rotate(45deg) translateY(-2px); transition: transform .25s;
}
.fold[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.fold summary:hover { background: rgba(12, 100, 107, .04); }
.fold summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fold ul { padding: 0 20px 16px 38px; }
.fold[open] ul { animation: foldIn .25s ease; }
@keyframes foldIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.final { background: linear-gradient(120deg, var(--ink), var(--brand) 62%, #14938C); color: #fff; text-align: center; padding: clamp(48px, 7vw, 80px) 20px; }
.final h2 { font-size: clamp(22px, 3vw, 30px); }
.final p { opacity: .85; margin: 10px 0 24px; }
footer { text-align: center; color: var(--sub); font-size: 13px; padding: 28px 16px 90px; }

.fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30;
  border: 0; background: var(--brand); color: #fff; font-weight: 800; padding: 14px 18px; border-radius: 99px;
  box-shadow: 0 10px 30px rgba(12,100,107,.35);
}

/* 문의 양식 */
dialog {
  border: 0; padding: 0; border-radius: 22px; width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px);
  box-shadow: 0 30px 80px rgba(15,23,42,.35); color: var(--ink); overflow: hidden;
}
dialog::backdrop { background: rgba(15,23,42,.55); backdrop-filter: blur(3px); }
dialog form { display: flex; flex-direction: column; max-height: calc(100vh - 24px); }
dialog form > header { position: relative; padding: 22px 24px 12px; border-bottom: 1px solid var(--line); }
dialog form > header h2 { font-size: 20px; color: var(--brand); }
dialog form > header p { margin: 4px 0 0; color: var(--sub); font-size: 13px; }
.form-body { padding: 8px 24px 4px; overflow-y: auto; }
dialog form > footer { padding: 14px 24px 20px; border-top: 1px solid var(--line); }
fieldset { border: 0; padding: 0; margin: 16px 0 6px; }
legend { font-weight: 800; font-size: 14px; margin-bottom: 8px; padding: 0; }
legend small { font-weight: 500; color: var(--mint-2); margin-left: 6px; font-size: 12px; }
em { color: #E11D48; font-style: normal; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-body label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 10px; }
.form-body input:not([type=checkbox]), .form-body textarea {
  display: block; width: 100%; margin-top: 5px; font: inherit; font-size: 14px;
  padding: 10px 12px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--ink);
}
.form-body input:focus, .form-body textarea:focus { outline: 2px solid rgba(12,100,107,.25); border-color: var(--brand); }
.form-body .invalid { border-color: #E11D48 !important; background: #FFF1F2 !important; }
.topic-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.topic-checks label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; font-size: 13px; cursor: pointer; }
.topic-checks label:has(input:checked) { border-color: var(--brand); background: #EEF2FF; color: var(--brand); font-weight: 700; }
.topic-checks.invalid label { border-color: #FDA4AF; }
.hp { position: absolute !important; left: -9999px; }
.consent { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
.consent label { display: flex; gap: 8px; align-items: center; margin: 0 !important; }
.consent p { margin: 6px 0 0; font-size: 12px; color: var(--sub); }
.consent.invalid { outline: 2px solid #FDA4AF; }
.error { color: #BE123C; font-size: 13px; font-weight: 600; min-height: 1em; margin: 10px 0 0; }
.done { padding: 44px 28px 32px; text-align: center; }
.done-icon { font-size: 52px; animation: fly 1.2s ease-out; }
@keyframes fly { from { transform: translate(-40px, 30px) rotate(-20deg); opacity: 0; } }
.done h2 { color: var(--brand); margin: 10px 0 8px; }
.done p { color: #475569; margin: 0 0 22px; }

/* 연구소 사람들 */
#people .eyebrow { display: block; margin-bottom: 6px; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.person {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.person:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 30px rgba(12,100,107,.10); }
.person.human { background: linear-gradient(180deg, #E8F4F3, #fff 70%); border-color: #B7DCD8; }
.person-img {
  width: 100%; height: 190px; display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(ellipse 46% 9% at 50% 96%, rgba(11,30,51,.13), transparent 70%);
  margin-bottom: 12px;
}
.person-img img { height: 180px; width: auto; transform-origin: 50% 4%; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.person b { font-size: 16px; }
.person-role { font-size: 12.5px; font-weight: 700; color: var(--mint-2); margin-top: 2px; }
.person p { margin: 8px 0 0; font-size: 13.5px; color: var(--sub); line-height: 1.55; }

/* 설명 패널: 마우스를 대거나(휴대폰은 누르면) 그림 아래쪽에서 올라오고, 캐릭터는 작아지며 위로 비켜 선다 */
.person { position: relative; cursor: pointer; outline: none; }
.person:focus-visible { box-shadow: 0 0 0 3px rgba(45, 212, 191, .55); }
.person-img { position: relative; }
.person-more {
  position: absolute; left: 4px; right: 4px; bottom: 2px; padding: 10px 12px 12px; text-align: center;
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border: 1px solid rgba(12,100,107,.16);
  border-radius: 12px; box-shadow: 0 10px 22px rgba(11,30,51,.10);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.person-more p { margin: 0 0 9px; font-size: 13px; color: #334155; line-height: 1.5; }
.person-more .meet {
  font: inherit; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--brand);
  border: 0; border-radius: 99px; padding: 6px 13px; cursor: pointer; transition: background-color .2s, transform .2s;
}
.person-more .meet:hover { background: var(--brand-2); transform: translateY(-1px); }
.person-more .meet:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.person.open .person-more, .person:focus-within .person-more { opacity: 1; transform: none; pointer-events: auto; }
.person.open .person-img img, .person:focus-within .person-img img { transform: translateY(-2px) scale(.62); }
@media (hover: hover) {
  .person:hover .person-more { opacity: 1; transform: none; pointer-events: auto; }
  .person:hover .person-img img { transform: translateY(-2px) scale(.62); }
}
@media (prefers-reduced-motion: reduce) {
  .person-img img, .person-more { transition: none; }
}
.people-note { margin: 18px 0 0; font-size: 13px; color: var(--sub); text-align: center; }

/* 문의 창: 안내 매니저 인사 */
dialog form > header.greet { display: flex; align-items: flex-end; gap: 14px; padding-bottom: 0; background: linear-gradient(180deg, #fff, #E8F4F3); }
.greet-img { height: 104px; width: auto; flex: none; margin-bottom: -1px; }
header.greet > div { padding-bottom: 14px; padding-right: 30px; }
header.greet .bubble {
  position: relative; margin: 8px 0 0; padding: 9px 13px; background: #fff; border: 1px solid #B7DCD8;
  border-radius: 14px; color: var(--ink); font-size: 13px; line-height: 1.5;
}
header.greet .bubble::before {
  content: ''; position: absolute; left: -7px; bottom: 14px; width: 12px; height: 12px; background: #fff;
  border-left: 1px solid #B7DCD8; border-bottom: 1px solid #B7DCD8; transform: rotate(45deg);
}
.done-pair { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 140px; }
.done-pair img { height: 132px; width: auto; }
.done-pair .done-icon { align-self: center; display: inline-block; }

@media (max-width: 900px) {
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .nav nav { display: none; }
  .nav .cta { margin-left: auto; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about-main { flex-direction: column; align-items: center; }
  .portrait { flex-basis: auto; width: min(240px, 70%); margin-bottom: 18px; }
  .about-text { width: 100%; }
  .nav { gap: 10px; }
  .brand-logo { height: 42px; }
  .nav .cta { display: none; }
  .fab { display: block; }
  .stage { height: auto; min-height: 0; display: flex; flex-direction: column; border-radius: 18px; }
  #office { height: min(58vh, 520px); min-height: 340px; order: 2; touch-action: pan-y; }
  .hero-card { position: static; max-width: none; border: 0; border-radius: 0; box-shadow: none; padding: 20px 18px 8px; order: 1; }
  .tip { bottom: 10px; font-size: 12px; white-space: nowrap; }
  .zoom { left: 10px; right: auto; bottom: 10px; z-index: 5; } /* 오른쪽 아래는 [문의] 버튼 자리 */
  .zoom button { width: 40px; height: 40px; font-size: 19px; box-shadow: 0 4px 12px rgba(15,23,42,.12); }
  .room-card { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 72vh; border-radius: 22px 22px 0 0; z-index: 40; animation: up .25s ease-out; }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } }
  .row, .topic-checks { grid-template-columns: 1fr; }
  .person-img { height: 150px; }
  .person-img img { height: 142px; }
  .person p { font-size: 12.5px; }
  .greet-img { height: 84px; }
  .form-body, dialog form > header, dialog form > footer { padding-left: 18px; padding-right: 18px; }
}
