/* 강연자 포스터형. 사진 배경이 흰색이라 페이지도 밝은 테마로 고정한다. */
:root {
  --paper: #FEFEFE;       /* 사진 배경과 같은 흰색 */
  --ink: #1A232C;
  --muted: #5C6773;
  --slate: #596E7F;       /* 로고 색 */
  --band: #2B3F50;        /* 로고 색을 짙게 */
  --accent: #A8DCCB;      /* 물가 */
  --hair: #E3E7EB;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
a:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }

.draft { background: #FEF3C7; color: #78350F; font-size: 13px; text-align: center; padding: 6px 16px; }

/* ---------- 상단 ---------- */
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 8px; }
.logo { width: auto; height: 30px; }
.lang { font-size: 14px; font-weight: 700; text-underline-offset: 4px; padding: 8px 0 8px 12px; }
.event {
  margin-top: 8px; padding-top: 10px; padding-bottom: 10px;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair);
  font-weight: 700;
}

/* ---------- 포스터 ---------- */
.hero { position: relative; height: clamp(420px, 112vw, 580px); overflow: hidden; }
.poster { position: absolute; bottom: 0; right: -48px; height: 90%; width: auto; }
.id { position: relative; z-index: 1; padding-top: 28px; }
.name { font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.name-en { font-size: 42px; line-height: 1.02; letter-spacing: -.03em; }
.name-alt { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .22em; line-height: 1.55; }
.name-alt:lang(ko) { letter-spacing: .06em; font-size: 15px; }
.role { margin-top: 22px; max-width: 140px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.role b { display: block; margin-top: 4px; color: var(--ink); }
.bg { margin-top: 14px; max-width: 128px; padding-top: 10px; border-top: 2px solid var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.5; }

/* ---------- 메시지 띠 ---------- */
.band { background: var(--band); color: #fff; padding: 28px 0 32px; }
.headline { font-size: clamp(25px, 7vw, 34px); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; text-wrap: balance; }
.headline mark { background: none; color: var(--accent); }
.sub { margin-top: 12px; font-size: 16px; color: rgb(255 255 255 / .82); text-wrap: balance; }
.keywords { margin-top: 14px; font-size: 13px; color: rgb(255 255 255 / .6); letter-spacing: .02em; }
.personal { margin-top: 12px; font-size: 14px; color: rgb(255 255 255 / .75); }
.linkedin { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--accent); text-underline-offset: 4px; }

.btns { display: flex; gap: 8px; margin-top: 20px; }
.btn {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 10px; border-radius: 2px; border: 2px solid transparent;
  font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--band); }
.btn-accent:hover { background: #BDE6D8; }
.btn-line { border-color: #fff; color: #fff; }
.btn-line:hover { background: rgb(255 255 255 / .08); }
.btn-band { background: var(--band); color: #fff; }
.btn-ink-line { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.band .btn:focus-visible, .end .btn:focus-visible { outline-color: var(--accent); }

/* ---------- 본문 ---------- */
main section { margin-top: 48px; }
main h2 { font-size: 13px; font-weight: 800; letter-spacing: .14em; margin-bottom: 10px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.stats div { padding: 14px 4px 0 0; }
.stats div + div { padding-left: 12px; border-left: 1px solid var(--hair); }
.stats dt { font-size: 12.5px; color: var(--muted); }
.stats dd { font-size: 34px; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.stats small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.stats .todo dd { color: #B8C0C8; }

.topics { counter-reset: n; }
.topics li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid var(--hair); }
.topics li:first-child { border-top: 2px solid var(--ink); }
.topics li::before { content: counter(n, decimal-leading-zero); font-size: 20px; font-weight: 900; color: var(--slate); line-height: 1.35; }
.topics h3 { font-size: 18px; font-weight: 800; line-height: 1.35; }
.topics p { margin-top: 3px; font-size: 14.5px; color: var(--muted); }

.rows li { padding: 14px 0; border-top: 1px solid var(--hair); font-weight: 700; }
.rows li:first-child { border-top: 2px solid var(--ink); }
.rows li:last-child { border-bottom: 1px solid var(--hair); }
.career li { display: block; }
.career .period { display: block; font-size: 13px; font-weight: 800; color: var(--slate); }
.career h3 { margin-top: 2px; font-size: 16.5px; font-weight: 800; }
.career p { font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.dated li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dated h3 { font-size: 16px; font-weight: 800; }
.dated p { margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); }
.press { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 800; color: var(--slate); text-underline-offset: 4px; }
.dated .date { flex: none; font-size: 13px; font-weight: 800; color: var(--slate); }

.clients { border-top: 2px solid var(--ink); }
.clients > div { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.clients dt { font-size: 13px; font-weight: 800; color: var(--slate); }
.clients ul { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 6px; }
.clients li { font-size: 16px; font-weight: 800; }
.clients li:not(:last-child)::after { content: "/"; margin: 0 10px; color: #C2C9D0; font-weight: 400; }

.quote { padding: 18px 0; border-top: 2px solid var(--ink); }
.quote + .quote { border-top-width: 1px; border-top-color: var(--hair); }
.quote blockquote { font-size: 19px; font-weight: 700; line-height: 1.5; }
.quote figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.dl { display: flex; justify-content: space-between; align-items: center; text-decoration: none; min-height: 28px; }
.dl small { font-size: 13px; font-weight: 800; color: var(--slate); }

/* ---------- 마무리 ---------- */
.end { margin-top: 64px; background: var(--ink); color: #fff; padding: 40px 0 calc(96px + env(safe-area-inset-bottom)); }
.logo-w { height: 26px; width: auto; opacity: .9; }
.end h2 { margin-top: 28px; font-size: 25px; font-weight: 800; letter-spacing: -.02em; }
.end h2 + p { margin-top: 8px; color: rgb(255 255 255 / .75); font-size: 15px; text-wrap: balance; }
.end .email { margin-top: 18px; font-size: 14px; }
.end .email a { color: var(--accent); text-underline-offset: 4px; }
.copy { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .15); font-size: 13px; color: rgb(255 255 255 / .55); }

/* ---------- 하단 고정 버튼: 띠·마무리의 버튼이 안 보일 때만 ---------- */
.dock {
  position: fixed; left: 50%; bottom: 0; z-index: 10; width: 100%; max-width: 720px;
  display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgb(254 254 254 / .94); backdrop-filter: blur(8px); border-top: 1px solid var(--hair);
  transform: translate(-50%, 110%); transition: transform .25s ease;
}
.dock.show { transform: translate(-50%, 0); }
.dock .btn { min-height: 48px; font-size: 15px; }

@media (min-width: 640px) {
  .poster { right: 0; }
  .role, .bg { max-width: 220px; }
  .name { font-size: 76px; }
  .name-en { font-size: 60px; }
}
/* 세로가 짧은 휴대폰: 첫 화면에 버튼까지 들어오도록 사진 영역을 줄임 */
@media (max-width: 639px) and (max-height: 760px) { .hero { height: 384px; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }
