:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --sub: #686868;
  --line: #e6e4df;
  --tint: #f5f4f0;
  --accent: #1e3a5f;
  --btn-bg: #1e3a5f;
  --btn-fg: #ffffff;
  --btn-hover: #162d4a;
  --shadow: 0 10px 30px rgba(20, 30, 45, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: 760px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.small { font-size: 13px; }
.more { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent); }
.more:hover { text-decoration: underline; }

/* 상단 탭 */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.tabs { display: flex; gap: 2px; margin: 0; padding: 3px; list-style: none; background: #f0efeb; border-radius: 9px; }
.tabs li { display: flex; }
.tabs a {
  display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 7px;
  font-size: 15px; font-weight: 600; color: #55534e; text-decoration: none;
  transition: background .15s, color .15s;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"], .tabs a[aria-current="page"]:hover { background: #fff; color: var(--accent); font-weight: 700; box-shadow: 0 1px 3px rgba(20, 30, 45, .16); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 4px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--btn-hover); color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.copy-btn { min-width: 196px; transition: background .25s, color .25s, transform .15s; }
.copy-btn.is-copied, .copy-btn.is-copied:hover { background: #2f6b4f; color: #fff; }

/* 첫 화면 */
.hero { padding-top: 72px; padding-bottom: 40px; }
.id { display: flex; align-items: center; gap: 24px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--tint); object-fit: cover; object-position: top; flex: none; }
h1 { font-size: 40px; line-height: 1.2; font-weight: 700; margin: 0; }
h1 .en { font-size: 17px; font-weight: 500; color: var(--sub); letter-spacing: 0; margin-left: 10px; }
.tagline { margin: 6px 0 0; font-size: 15px; color: var(--sub); }
.lead { margin: 32px 0 0; font-size: 17px; }
.cta { display: flex; flex-direction: column; gap: 10px; margin: 32px 0 0; }
.cta .btn { width: 100%; border-radius: 10px; }
.cta-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cta-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: 68px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.cta-links a:hover { background: var(--tint); border-color: #d3d0c9; color: var(--accent); }
.cta-links .ico { width: 20px; height: 20px; flex: none; }

.page-head { padding-top: 64px; padding-bottom: 8px; }
.page-head h1 { font-size: 32px; }
.page-head p { margin: 12px 0 0; color: var(--sub); font-size: 17px; }
.home-link { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 15px; font-weight: 600; text-decoration-color: currentColor; }

.dateline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; margin: 48px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; font-size: 15px; color: var(--sub); }
.dateline li + li::before { content: "—"; color: #c9c6bf; margin: 0 14px; }
.dateline b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 6px; }

figure { margin: 0; }
figcaption { margin-top: 8px; font-size: 13px; color: var(--sub); }
.hero-photo { margin: 40px 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--tint); }
.hero-photo.photo-43 img { aspect-ratio: 4 / 3; }

/* 섹션: 왼쪽 라벨 + 오른쪽 본문 */
.sec { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 72px 0 0; }
.sec > * { min-width: 0; }
.sec > h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; line-height: 1.7; }
.sec-body > * + * { margin-top: 40px; }
.span { grid-column: 1 / -1; }

/* PC: 구역 머리선. 항목 사이의 옅은 선과 구분되는 진한 선으로 구역을 나눈다 */
@media (min-width: 721px) {
  .sec { margin-top: 96px; padding-top: 18px; border-top: 1px solid #a8a59e; }
  #topics .cards { grid-template-columns: 1fr; gap: 0; }
  #topics .cards > li.row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding: 18px 0; }
  #topics .cards > li.row:first-child { padding-top: 0; }
  #topics .cards > li.row + li.row { border-top: 1px solid var(--line); }
  main > .sec:first-child { margin-top: 56px; }
  .sec-body > .rows > li:first-child,
  .sec-body > div:first-child > .rows:first-child > li:first-child { padding-top: 0; }
}
.label { font-size: 13px; font-weight: 600; color: var(--sub); margin: 0 0 8px; letter-spacing: 0; }

/* 카드 그리드 (보도·강연 주제) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
.cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--tint); }
.cards .no { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.cards b { display: block; font-size: 17px; margin-top: 2px; line-height: 1.45; }
.cards p { margin: 4px 0 0; font-size: 15px; line-height: 1.6; }
.cards .for { margin-top: 6px; font-size: 13px; color: var(--sub); }
.cards .proof { display: flex; align-items: flex-start; gap: 6px; }
.cards .proof svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.cards a { text-decoration: none; display: block; }
.cards a:hover b { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.cards.wide { grid-template-columns: repeat(3, 1fr); }

/* 홈 대표 보도: 작은 사진 + 오른쪽 글 */
.feat-list { list-style: none; margin: 0; padding: 0; }
.feat-list li + li { border-top: 1px solid var(--line); }
.feat-list a { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding: 18px 0; text-decoration: none; }
.feat-list li:first-child a { padding-top: 0; }
.feat-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--tint); }
.feat-list .y { display: block; font-size: 13px; color: var(--sub); font-variant-numeric: tabular-nums; }
.feat-list b { display: block; margin-top: 2px; font-size: 17px; line-height: 1.45; }
.feat-list p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: var(--sub); }
.feat-list a:hover b { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* 보도 탭: 산복빨래방 한 장 + 그 아래 2열 */
.cards.two { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.cards.two > li.big { grid-column: 1 / -1; }
.cards.two > li.big img { aspect-ratio: 16 / 9; }
.cards.two > li.big b { font-size: 20px; }

/* 기획 보도 페이지 */
.back { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--sub); text-decoration: none; }
.back:hover { color: var(--accent); }
.page-head .plan-meta { margin-top: 10px; font-size: 15px; color: var(--sub); font-variant-numeric: tabular-nums; }
.page-head .plan-meta + p { color: var(--ink); }
.plan-links { display: flex; gap: 16px; font-size: 15px; font-weight: 600; }
.plan-photo { width: 100%; max-width: 480px; margin-top: 28px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: var(--tint); }
.prints { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prints.one { grid-template-columns: 1fr; }
.prints img { width: 100%; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }

/* 현장 사진 띠 */
.strip-wrap { margin-top: 48px; }
.strip {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip figure { flex: 0 0 236px; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--tint); }

/* 연혁형 목록 */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 64px 1fr; gap: 0 12px; padding: 10px 0; }
.rows li + li { border-top: 1px solid var(--line); }
.rows .y { font-size: 15px; color: var(--sub); font-variant-numeric: tabular-nums; }
.rows .t { font-size: 15px; }
.rows .m { display: block; font-size: 13px; color: var(--sub); margin-top: 2px; }
.rows.wide li { grid-template-columns: 104px 1fr; }
.rows.thumbs li { grid-template-columns: 64px 84px 1fr; align-items: start; }
.rows.thumbs .y { white-space: nowrap; }
.rows .th img { width: 84px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; background: var(--tint); box-shadow: 0 0 0 1px var(--line); }
.rows.noyear li { grid-template-columns: 1fr; }
.rows .t.org { display: flex; align-items: flex-start; gap: 10px; }
.org-ico { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--ink); }

details summary { cursor: pointer; font-size: 15px; color: var(--sub); list-style: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "+"; font-weight: 600; color: var(--accent); width: 12px; }
details[open] summary::before { content: "–"; }
details[open] summary { margin-bottom: 8px; }

/* 책 */
.book { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; }
.book img { border-radius: 4px; box-shadow: var(--shadow); }
.book h3 { margin: 0; font-size: 17px; line-height: 1.5; }
.book .meta { margin: 6px 0 0; font-size: 13px; color: var(--sub); }
.book p.desc { margin: 16px 0 0; font-size: 15px; }
.book .shops { display: flex; gap: 8px; margin-top: 20px; }
.book .award-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.book .award-line img { width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 0; box-shadow: none; }

/* 강연 안내 한 줄 (홈) */
.teaser { display: flex; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.teaser img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; flex: none; }
.teaser b { display: block; font-size: 17px; }
.teaser span { display: block; font-size: 15px; color: var(--sub); margin-top: 2px; }
.teaser:hover { border-color: var(--accent); }
.teaser:hover b { color: var(--accent); }

/* 홈 강연 갤러리 */
.lec-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lec-gallery .lec-main { grid-column: 1 / -1; }
.lec-gallery img { width: 100%; object-fit: cover; border-radius: 10px; background: var(--tint); aspect-ratio: 4 / 3; }
.lec-gallery .lec-main img { aspect-ratio: 16 / 9; }
.lec-intro { margin: 0; font-size: 17px; }

/* 연락 */
.contact { margin: 96px 0 0; padding: 40px 48px; border-radius: 16px; background: var(--tint); }
.contact h2 { margin: 0; font-size: 24px; }
.contact p { margin: 10px 0 0; font-size: 15px; }
.contact .note { color: var(--sub); }
.contact .btn { margin-top: 24px; }

footer.container { padding-top: 48px; padding-bottom: 64px; font-size: 13px; color: var(--sub); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer nav a { white-space: nowrap; }
footer p { margin: 0; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .topbar .container { height: 52px; }
  .tabs a { padding: 0 14px; }
  .hero { padding-top: 40px; padding-bottom: 32px; }
  .id { gap: 16px; }
  .avatar { width: 72px; height: 72px; }
  h1 { font-size: 32px; }
  h1 .en { display: block; margin: 2px 0 0; font-size: 15px; }
  .lead { margin-top: 24px; font-size: 16px; }
  .cta { margin-top: 24px; }
  .page-head { padding-top: 40px; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 16px; }
  .dateline { display: block; margin-top: 32px; padding: 14px 0; }
  .dateline li { padding: 3px 0; }
  .dateline li + li::before { content: none; }
  .hero-photo { margin-top: 32px; }
  .sec { grid-template-columns: 1fr; gap: 16px; padding-top: 56px; }
  .sec > h2 { font-size: 24px; color: var(--ink); }
  .sec-body > * + * { margin-top: 32px; }
  .cards { grid-template-columns: 1fr; gap: 0; }
  .cards > li { padding: 14px 0; border-top: 1px solid var(--line); }
  .cards > li:last-child { border-bottom: 1px solid var(--line); }
  .cards > li > a, .cards > li.row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
  .cards img { border-radius: 8px; }
  .cards .no { margin-top: 0; }
  .prints { grid-template-columns: 1fr; }
  .rows.thumbs li { grid-template-columns: 60px 64px 1fr; gap: 0 10px; }
  .rows .th img { width: 64px; }
  .cards.two { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .cards.two > li { padding: 0; border: 0; }
  .cards.two > li > a, .cards.two > li.row { display: block; }
  .cards.two .no { margin-top: 10px; }
  .cards.two b { font-size: 15px; }
  .cards.two > li.big b { font-size: 18px; }
  .cards b { font-size: 16px; }
  .feat-list a { grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; }
  .feat-list b { font-size: 16px; }
  .strip-wrap { margin-top: 32px; margin-right: -20px; }
  .strip { padding-right: 20px; }
  .strip figure { flex-basis: 72%; }
  .book { grid-template-columns: 112px 1fr; gap: 20px; }
  .teaser { padding: 14px; gap: 14px; }
  .lec-gallery { gap: 10px; }
  .lec-gallery figcaption { font-size: 12px; }
  .lec-intro { font-size: 16px; }
  .btn { width: 100%; }
  .teaser img { width: 96px; }
  .contact { margin-top: 64px; padding: 28px 22px; border-radius: 14px; }
  .contact .btn { width: 100%; }
  footer.container { padding-top: 40px; padding-bottom: 48px; }
}

.tag { font-weight: 700; color: var(--accent); margin-right: 6px; }

/* 약력 페이지 */
.profile-text { margin: 0; }
.faq > div + div { margin-top: 28px; }
.faq h3 { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; }
.faq p { margin: 6px 0 0; }

/* 자격·수료 */
.cred-more { margin: 14px 0 0; font-size: 14px; color: var(--sub); }
.sec { scroll-margin-top: 64px; }
