*, *::before, *::after { box-sizing: border-box; }
:root { --subnav-h: 56px; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 8px); }
@media (min-width: 1400px) { :root { --container: 1240px; } }
html.motion-on { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--body); line-height: 1.75; color: var(--text-2); background: var(--white); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; padding-bottom: var(--callbar-h); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: var(--r-sm); border: 1px solid transparent; font-size: 16px; font-weight: 700; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--gold-text); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn-line:hover { background: var(--teal-soft); }
.h2 { margin: 0; font-size: var(--h2); line-height: var(--h2-lh); font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.h2::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 18px; background: var(--teal); }
.site-head { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.head-in { display: flex; align-items: center; gap: 10px; height: 100%; }
.head-logo { margin-right: auto; }
.head-logo img { height: 36px; width: auto; }
.head-right { display: flex; align-items: center; gap: 8px; }
.head-call, .head-kakao { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 700; color: var(--text); white-space: nowrap; transition: border-color .2s, color .2s; }
.head-call:hover, .head-kakao:hover { border-color: var(--teal); color: var(--teal); }
.head-call svg, .head-kakao svg { flex: none; width: 18px; height: 18px; color: var(--teal); }
.head-call-num { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.head-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--gold); font-size: 15px; font-weight: 800; letter-spacing: -0.02em; color: var(--gold-text); white-space: nowrap; transition: background-color .2s; }
.head-cta:hover { background: var(--gold-hover); }
.menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 700; color: var(--text); }
.menu-btn[aria-expanded="true"] { border-color: var(--teal); color: var(--teal); }
.head-nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
html:not(.no-js) .head-nav:not(.is-open) { display: none; }
.head-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(var(--container), 100% - var(--gutter) * 2); margin: 0 auto; padding: 8px 0; list-style: none; }
.head-menu a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.head-menu a:hover { color: var(--teal); }
.head-menu-tools { width: min(var(--container), 100% - var(--gutter) * 2); margin: 0 auto; padding: 0 0 14px; }
.motion-btn { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; color: var(--text-3); }
.motion-btn:hover { color: var(--text); }
.no-js .site-head { height: auto; min-height: var(--header-h); }
.no-js .head-in { flex-wrap: wrap; padding-block: 12px; }
.no-js .head-nav { position: static; order: 10; flex-basis: 100%; box-shadow: none; border-bottom: 0; }
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(620px, 78vh, 700px); padding: 72px 0 88px; overflow: hidden; background: #1b2224; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -2; background: #1b2224 url("kb-intro-poster.jpg") center / cover no-repeat; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media.is-fallback video { display: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(14, 22, 24, .78) 0%, rgba(14, 22, 24, .58) 45%, rgba(14, 22, 24, .28) 100%),
  linear-gradient(0deg, rgba(14, 22, 24, .45) 0%, rgba(14, 22, 24, 0) 40%); }
.hero-inner { width: min(var(--container), 100% - var(--gutter) * 2); }
.hero-copy { max-width: 600px; }
.video-btn { position: absolute; z-index: 2; bottom: 24px; right: max(var(--gutter), calc((100% - var(--container)) / 2)); min-height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: rgba(14, 22, 24, .45); font-size: 12.5px; font-weight: 600; color: #fff; backdrop-filter: blur(4px); }
.video-btn:hover { background: rgba(14, 22, 24, .7); }
.hero .center-label { color: var(--gold); }
.hero .center-label a { color: #fff; }
.hero .center-label span { color: rgba(255, 255, 255, .5); }
.hero h1 { color: #fff; }
.hero .key { color: var(--gold); }
.hero .one { color: rgba(255, 255, 255, .88); }
.hero .place { color: rgba(255, 255, 255, .8); }
.hero .place svg { color: var(--gold); }
.hero .btn-line { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); color: #fff; }
.hero .btn-line:hover { background: rgba(255, 255, 255, .16); }
.hero h1 { margin: 0; font-size: var(--h1); line-height: var(--h1-lh); font-weight: 800; letter-spacing: -0.035em; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero .key { margin: 18px 0 0; font-size: var(--key); line-height: 1.45; font-weight: 700; letter-spacing: -0.02em; color: var(--gold); }
.hero .one { margin: 14px 0 0; max-width: 640px; font-size: 17.5px; line-height: 1.8; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.center-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 700; color: var(--teal); }
.center-label a:hover { text-decoration: underline; text-underline-offset: 3px; }
.center-label span { color: var(--line-2); font-weight: 400; }
.place { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; font-size: 14.5px; color: var(--text-3); }
.place svg { flex: none; width: 16px; height: 16px; color: var(--teal); }
.section-nav { position: sticky; top: var(--header-h); z-index: 30; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); }
.section-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 auto; padding: 0; list-style: none; }
.section-nav li + li { border-left: 1px solid var(--line); }
.section-nav a { display: flex; align-items: center; justify-content: space-between; height: calc(var(--subnav-h) - 2px); padding: 0 20px; font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .2s, background-color .2s; }
.section-nav a:hover { color: var(--teal); background: var(--ivory); }
.section-nav .section-nav-cta { font-weight: 700; color: var(--teal); }
.section-nav .section-nav-cta svg { color: var(--gold); }
.section-nav svg { width: 16px; height: 16px; color: var(--text-3); }
.issues { padding-block: var(--section-y); background: var(--ivory); }
.issues { padding-block: 96px; }
.issues-head { max-width: 720px; }
.issues .intro { margin: 18px 0 0; font-size: var(--body); line-height: 1.8; }
.scene-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0 0; padding: 0; list-style: none; }
.scene { min-width: 0; }
.scene-ph { aspect-ratio: 5 / 3; border-radius: var(--r-sm); overflow: hidden; background: #ece8df; }
.scene-ph img { width: 100%; height: 100%; object-fit: cover; }
.scene h3 { margin: 16px 0 0; font-size: 18px; line-height: 1.4; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.scene p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.key4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; }
.key4-item { min-width: 0; min-height: 188px; padding: 28px 26px 26px; border-top: 3px solid var(--teal); border-radius: 0 0 var(--r-sm) var(--r-sm); background: var(--white); box-shadow: var(--shadow); }
.key4-item h3 { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 800; letter-spacing: -0.025em; color: var(--text); }
.key4-item p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.lawyers { padding-block: var(--section-y); background: var(--white); }
.lawyers { position: relative; isolation: isolate; overflow: hidden; overflow: clip; }
.lawyers::before { content: "LAW FIRM KB"; content: "LAW FIRM KB" / ""; position: absolute; z-index: -1; left: 50%; bottom: -0.16em; transform: translateX(-50%); font-size: clamp(40px, 12.5vw, 196px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; white-space: nowrap; color: rgba(29, 79, 80, .055); pointer-events: none; user-select: none; }
.lawyers-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.lawyers-head .all { font-size: 15px; font-weight: 700; color: var(--teal); }
.lawyers-head .all:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-ctrl { display: flex; align-items: center; gap: 8px; }
.auto-btn { min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--text-2); }
.auto-btn:hover { border-color: var(--teal); color: var(--teal); }
.row-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--text); transition: border-color .2s, opacity .2s; }
.row-btn:hover { border-color: var(--teal); }
.row-btn:disabled { opacity: .35; cursor: default; }
.row-btn svg { width: 18px; height: 18px; }
.lawyer-row { display: grid; grid-auto-flow: column; grid-auto-columns: 344px; gap: 24px; margin: 36px 0 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lawyer-row::-webkit-scrollbar { display: none; }
.lawyer { scroll-snap-align: start; }
.lawyer a { display: block; }
.lawyer .ph { aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; background: #e9e7e1; }
.lawyer img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lawyer a:hover img { transform: scale(1.03); }
.lawyer .field { display: block; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--teal); }
.lawyer .field + .name { margin-top: 4px; }
.lawyer .name { display: block; margin-top: 16px; font-size: 20px; font-weight: 800; color: var(--text); }
.lawyer .title { display: block; margin-top: 2px; font-size: 14.5px; color: var(--text-3); }
.lawyer a:hover .name { color: var(--teal); }
.lawyer .go { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--teal); }
.lawyer a:hover .go { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1101px) {
  .lawyer-row { grid-auto-columns: calc((100% - 2 * 24px) / 2.6); margin-top: 40px; }
  .lawyer .ph { aspect-ratio: 4 / 5; }
  .lawyer img { object-position: 50% 30%; }
  .lawyer .field { margin-top: 20px; font-size: 14px; }
  .lawyer .name { font-size: 23px; letter-spacing: -0.02em; }
  .lawyer .title { font-size: 15px; }
}
.lf-ctrl { display: flex; align-items: center; gap: 8px; }
.lf-count { display: flex; align-items: baseline; gap: 6px; margin: 0 10px 0 0; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-3); }
.lf-count [data-lf-now] { font-size: 24px; font-weight: 800; color: var(--teal); }
.lf-sep { color: var(--line-2); }
.lf-list { display: grid; gap: 64px; margin: 40px 0 0; padding: 0; list-style: none; }
.is-ready .lf-list { gap: 0; }
.is-ready .lf-item { grid-area: 1 / 1; }
.is-ready .lf-item.is-off { visibility: hidden; }
.motion-on .lf-item.is-shown { animation: rise 420ms var(--ease) both; }
.lf-item { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; align-items: center; }
.lf-photo { display: block; }
.lf .lawyer .field { margin-top: 0; font-size: 14.5px; }
.lf-name { margin: 10px 0 0; font-size: 44px; line-height: 1.2; font-weight: 800; letter-spacing: -0.035em; color: var(--text); }
.lf .lawyer .name { display: inline; margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.lf .lawyer .title { margin-top: 8px; font-size: 17px; font-weight: 700; color: var(--teal); }
.lf-career { margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-2); list-style: none; }
.lf-career li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.lf-career li + li { margin-top: 10px; }
.lf-career li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 2px; background: var(--gold); }
.lf-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 22px; font-size: 15.5px; font-weight: 700; color: var(--teal); }
.lf-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.lf-more svg { width: 16px; height: 16px; }
.lf-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.lf-tab { min-height: 44px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); font-size: 15px; font-weight: 700; color: var(--text-2); transition: background-color .2s, border-color .2s, color .2s; }
.lf-tab:hover { border-color: var(--teal); color: var(--teal); }
.lf-tab[aria-selected="true"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.lf-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.callbar { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.motion-on .hero .rv { animation: rise 680ms var(--ease) both; animation-delay: var(--d, 0ms); }
.motion-on .reveal.is-in { animation: rise 680ms var(--ease) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
@media (max-width: 1100px) {
  .head-call, .head-kakao { width: 44px; padding: 0; justify-content: center; }
  .head-call-label, .head-call-num, .head-kakao-label { display: none; }
  .head-menu { grid-template-columns: minmax(0, 1fr); padding: 6px 0 10px; }
  .head-menu a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .head-menu li:last-child a { border-bottom: 0; }
  .hero h1 { font-size: 40px; }
  .hero { min-height: 580px; }
  .scene-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .key4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lf-item { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; }
  .lf-name { font-size: 36px; }
  .lawyer-row { grid-auto-columns: calc((100% - 2 * 20px) / 2.5); gap: 20px; }
}
@media (max-width: 767px) {
  :root { --header-h: 104px; }
  .head-in { flex-wrap: wrap; align-content: flex-start; gap: 0 6px; }
  .head-logo, .head-right, .menu-btn { height: 52px; display: flex; align-items: center; }
  .head-logo img { height: 28px; }
  .head-right { gap: 6px; }
  .head-call, .head-kakao { width: 40px; min-height: 40px; height: 40px; }
  .head-call svg, .head-kakao svg { width: 20px; height: 20px; }
  .menu-btn { height: 40px; min-height: 40px; padding: 0 12px; }
  .head-cta { order: 10; flex-basis: 100%; min-height: 42px; height: 42px; padding: 0 12px; font-size: 14.5px; }
  .hero h1 { font-size: var(--h1); }
  .hero { min-height: 560px; align-items: flex-end; padding: 48px 0 76px; }
  .hero::before { background: linear-gradient(0deg, rgba(14, 22, 24, .85) 0%, rgba(14, 22, 24, .62) 55%, rgba(14, 22, 24, .4) 100%); }
  .hero .key { margin-top: 12px; }
  .hero .one { margin-top: 10px; font-size: 16px; line-height: 1.75; }
  .hero .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 22px; }
  .video-btn { bottom: 18px; }
  .hero .btn { min-height: 52px; padding: 0 12px; font-size: 15.5px; white-space: normal; text-align: center; }
  .center-label { margin-bottom: 12px; font-size: 13px; }
  .place { margin-top: 14px; font-size: 13.5px; align-items: flex-start; }
  .place svg { margin-top: 3px; }
  .section-nav a { padding: 0 2px; font-size: 13.5px; letter-spacing: -0.03em; justify-content: center; white-space: nowrap; }
  .section-nav svg { display: none; }
  :root { --subnav-h: 48px; }
  .issues { padding-block: 56px; }
  .issues .intro { margin-top: 14px; }
  .scene-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 220px; gap: 14px; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .scene-row::-webkit-scrollbar { display: none; }
  .scene-row .scene { scroll-snap-align: start; }
  .scene h3 { margin-top: 12px; font-size: 16.5px; }
  .scene p { margin-top: 4px; font-size: 14.5px; line-height: 1.65; }
  .lf-ctrl .row-btn { width: 40px; height: 40px; }
  .lf-count { margin-right: 4px; font-size: 13.5px; }
  .lf-count [data-lf-now] { font-size: 20px; }
  .lf-list { margin-top: 24px; gap: 48px; }
  .lf-item { grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; }
  .lf-name { margin-top: 6px; font-size: 28px; }
  .lf .lawyer .title { font-size: 15.5px; }
  .lf-career { margin-top: 18px; padding-top: 18px; }
  .lf-career li { font-size: 15px; }
  .lf-more { margin-top: 12px; }
  .lf-picker { flex-wrap: nowrap; gap: 6px; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; }
  .lf-picker::-webkit-scrollbar { display: none; }
  .lf-tab { flex: none; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .key4 { gap: 10px; margin-top: 22px; }
  .key4-item { min-height: 0; padding: 18px 14px 16px; }
  .key4-item h3 { font-size: 17px; }
  .key4-item p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; }
  .lawyers { padding-bottom: 56px; }
  .row-btn { width: 40px; height: 40px; }
  .lawyer-row { grid-auto-columns: 70%; gap: 12px; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; scroll-padding-left: var(--gutter); }
  .lawyer .field { margin-top: 12px; font-size: 12.5px; }
  .lawyer .name { margin-top: 12px; font-size: 17px; }
  .lawyer .title { font-size: 13px; }
  .auto-btn { display: none; }
  .lawyer .field + .name { margin-top: 3px; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.2fr; height: var(--callbar-h); background: #fff; border-top: 1px solid var(--line-2); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--text); }
  .callbar a + a { border-left: 1px solid var(--line); }
  .callbar a:last-child { background: var(--gold); color: var(--gold-text); border-left: 0; }
  .callbar svg { width: 18px; height: 18px; color: var(--teal); }
  .callbar a:last-child svg { color: var(--gold-text); }
}
