:root{
  --ink:#162d39;
  --muted:#546871;
  --paper:#f7f8f5;
  --line:#dce3df;
  --accent:#09695b;
  --white:#fff;
  --radius:16px;
  --font:Inter,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:110px
}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.75 var(--font);
  word-break:keep-all;
  overflow-wrap:anywhere
}
a{
  color:inherit;
  text-underline-offset:5px
}
button,input{
  font:inherit
}
button,a{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{
  outline:3px solid #078a79;
  outline-offset:5px
}
h1,h2,h3,h4,p{
  margin:0
}
h1,h2,h3,h4{
  line-height:1.35;
  letter-spacing:-.035em
}
h2{
  font-size:clamp(26px,3.5vw,38px)
}
h3{
  font-size:21px
}
h4{
  font-size:18px
}
p+p{
  margin-top:10px
}
img{
  max-width:100%
}
.page-width{
  width:min(1120px,calc(100% - 64px));
  margin-inline:auto
}
.skip-link{
  position:fixed;
  left:16px;
  top:-100px;
  background:white;
  padding:12px;
  z-index:10001
}
.skip-link:focus{
  top:12px
}
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px max(32px,calc((100vw - 1120px)/2));
  background:rgba(247,248,245,.97);
  border-bottom:1px solid var(--line)
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  white-space:nowrap
}
.brand-mark{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:9px;
  background:var(--ink);
  color:white;
  font-size:12px
}
.site-header nav{
  display:flex;
  gap:24px;
  font-size:13px
}
.site-header nav a{
  text-decoration:none
}
.site-header nav a:hover,.social-links a:hover{
  color:var(--accent)
}
.language-switch{
  display:flex;
  flex-shrink:0;
  border:1px solid var(--line);
  border-radius:8px;
  padding:3px;
  gap:2px
}
.language-switch button{
  border:0;
  border-radius:5px;
  padding:5px 9px;
  background:transparent;
  color:var(--muted);
  font-size:12px;
  white-space:nowrap
}
.language-switch button[aria-pressed=true]{
  background:var(--ink);
  color:white
}
.hero{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:80px;
  align-items:center;
  padding-block:88px 80px
}
.eyebrow{
  color:var(--accent);
  font-size:11px;
  font-weight:700;
  letter-spacing:.13em;
  margin-bottom:20px
}
.hero h1{
  font-size:clamp(36px,4.2vw,57px);
  max-width:680px;
  line-height:1.17;
  letter-spacing:-.055em
}
.hero-description{
  font-size:17px;
  color:var(--muted);
  margin-top:28px;
  max-width:620px
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px
}
.button{
  display:inline-block;
  text-decoration:none;
  padding:12px 20px;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:14px;
  font-weight:600
}
.button.primary{
  background:var(--ink);
  color:white;
  border-color:var(--ink)
}
.button:hover{
  border-color:var(--accent)
}
.social-links{
  display:flex;
  gap:22px;
  margin-top:24px;
  font-size:13px
}
.social-links a{
  text-decoration:none
}
.profile-card{
  background:var(--ink);
  color:#f8fbfa;
  border-radius:var(--radius);
  padding:32px
}
.profile-top{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  letter-spacing:.12em;
  color:#bfddd5;
  margin-bottom:28px
}
.status-dot{
  width:7px;
  height:7px;
  background:#7ac4ac;
  border-radius:50%
}
.profile-card img{
  object-fit:contain;
  background:white;
  border-radius:10px;
  padding:7px;
  margin-bottom:14px
}
.profile-card h2{
  font-size:27px;
  margin-bottom:6px
}
.profile-card>p{
  font-size:13px;
  color:#b5c9cd
}
.profile-card dl{
  margin:24px 0 0;
  border-top:1px solid #38505b;
  padding-top:12px
}
.profile-card dl div{
  padding-top:13px
}
.profile-card dt{
  color:#abc1c5;
  font-size:11px
}
.profile-card dd{
  margin:3px 0 0;
  font-size:13px
}
.practice-strip{
  border-block:1px solid var(--line);
  background:#edf1ed
}
.practice-strip>div{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding-block:18px;
  color:var(--muted);
  font-size:13px
}
.section{
  padding-block:72px;
  border-bottom:1px solid var(--line)
}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:32px
}
.section-heading .eyebrow{
  margin-bottom:12px
}
.section-heading>p{
  font-size:14px;
  color:var(--muted);
  max-width:340px
}
.work-grid,.background-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}
.work-card,.compact-card{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px;
  min-width:0
}
.work-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:26px;
  gap:16px
}
.work-number{
  color:#839c97;
  font-size:32px;
  font-weight:300
}
.tag,.tags span{
  font-size:11px;
  background:#eef3f0;
  color:#3e6259;
  padding:5px 9px;
  border-radius:5px
}
.work-card h3{
  font-size:25px;
  margin-bottom:16px
}
.work-card>p,.compact-card>p{
  color:var(--muted);
  font-size:14px
}
.case-details{
  margin:25px 0
}
.case-details div+div{
  margin-top:16px
}
.case-details dt{
  font-size:12px;
  font-weight:700;
  margin-bottom:5px
}
.case-details dd{
  margin:0;
  color:var(--muted);
  font-size:14px
}
.tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:20px
}
.text-link{
  display:inline-block;
  color:var(--accent);
  font-size:13px;
  font-weight:700;
  margin-top:24px;
  text-decoration:none
}
.text-link:hover{
  text-decoration:underline
}
.timeline{
  border-top:1px solid var(--line)
}
.experience-row{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:40px;
  padding:32px 0;
  border-bottom:1px solid var(--line)
}
.experience-row:last-child{
  border-bottom:0;
  padding-bottom:0
}
.experience-meta img{
  width:48px;
  height:48px;
  object-fit:contain;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  padding:6px
}
.experience-meta p{
  font-size:12px;
  margin-top:12px;
  color:var(--muted)
}
.experience-row h3{
  margin-bottom:8px
}
.experience-row .role{
  font-size:13px;
  font-weight:600;
  color:var(--accent);
  margin-bottom:12px
}
.experience-row p,.experience-row li{
  font-size:14px;
  color:var(--muted)
}
details{
  margin-top:15px
}
summary{
  cursor:pointer;
  font-size:13px;
  font-weight:600;
  color:var(--accent)
}
details ul{
  padding-left:20px
}
details li+li{
  margin-top:10px
}
.experience-row .achievement{
  color:var(--accent);
  font-size:12px;
  margin-top:12px
}
.expertise-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px
}
.card-index{
  font-size:12px;
  color:var(--accent)
}
.compact-card h3{
  margin:14px 0
}
.writing-card{
  background:#edf3ee
}
.background-grid{
  gap:56px
}
.subheading{
  font-size:16px;
  margin-bottom:24px
}
.education-item+.education-item{
  margin-top:28px
}
.education-item h4{
  margin:7px 0
}
.education-item p{
  font-size:14px
}
.muted{
  color:var(--muted);
  font-size:12px!important
}
.credential-list{
  list-style:none;
  padding:0;
  margin:0
}
.credential-list li{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:16px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
  font-size:14px
}
.credential-list small{
  color:var(--muted);
  font-size:11px;
  white-space:nowrap
}
.activity-list article+article,.awards article+article{
  margin-top:26px
}
.activity-list h3,.awards h4{
  font-size:17px;
  margin:7px 0
}
.activity-list p,.awards p{
  font-size:14px;
  color:var(--muted)
}
.contact-section{
  padding:65px 0;
  background:var(--ink);
  color:white;
  margin-top:60px
}
.contact-section .eyebrow{
  color:#9bcebd
}
.contact-section h2{
  max-width:700px;
  margin-bottom:24px
}
.contact-section a{
  font-size:clamp(16px,3vw,22px);
  color:#c4e4d9
}
.site-footer{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding-block:28px 100px;
  font-size:12px;
  color:var(--muted)
}
#chatbot-toggle{
  border:0;
  font-size:17px
}
#chatbot-window .chat-input input{
  min-width:0
}
#chatbot-window .bot-message,#chatbot-window .user-message{
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
#chatbot-window .chat-input input:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:-3px
}
.subpage{
  max-width:1000px;
  margin:0 auto;
  padding:44px 24px 80px
}
.page-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:40px
}
.page-toolbar>a{
  font-size:13px;
  color:var(--accent);
  text-decoration:none
}
.subpage h1{
  font-size:clamp(28px,4vw,42px);
  margin-bottom:14px
}
.subpage .page-description{
  color:var(--muted);
  margin-bottom:32px
}
.article-body{
  margin-top:32px
}
.article-body img{
  max-width:100%;
  height:auto
}
.article-body pre{
  overflow:auto
}
.article-body table{
  display:block;
  overflow:auto
}
.article-body h1,.article-body h2,.article-body h3{
  margin-block:24px 12px
}
.article-body p{
  margin-block:14px
}
.article-body iframe{
  max-width:100%
}
@media(min-width:1400px){
  .hero{
    padding-block:100px
  }
}
@media(max-width:900px){
  .site-header{
    gap:16px;
    padding-inline:24px
  }
  .site-header nav{
    gap:16px
  }
  .hero{
    gap:32px;
    grid-template-columns:1.2fr 1fr
  }
  .profile-card{
    padding:24px
  }
  .work-card,.compact-card{
    padding:24px
  }
  .background-grid{
    gap:32px
  }
  .section-heading{
    align-items:start;
    flex-direction:column
  }
  .section-heading>p{
    max-width:none
  }
}
@media(max-width:680px){
  html{
    scroll-padding-top:135px
  }
  .page-width{
    width:calc(100% - 40px)
  }
  .site-header{
    flex-wrap:wrap;
    padding:12px 20px;
    gap:10px
  }
  .site-header nav{
    order:3;
    width:100%;
    justify-content:space-between;
    font-size:12px;
    gap:10px;
    padding-top:5px
  }
  .hero{
    grid-template-columns:1fr;
    padding-block:48px;
    gap:32px
  }
  .hero h1{
    font-size:38px
  }
  .hero-description{
    font-size:15px
  }
  .profile-card dl{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .practice-strip>div{
    flex-wrap:wrap;
    justify-content:flex-start;
    column-gap:20px;
    font-size:11px
  }
  .section{
    padding-block:48px
  }
  .work-grid,.background-grid,.expertise-grid{
    grid-template-columns:1fr
  }
  .experience-row{
    grid-template-columns:1fr;
    gap:16px;
    padding-block:26px
  }
  .experience-meta{
    display:flex;
    align-items:center;
    gap:12px
  }
  .experience-meta p{
    margin:0
  }
  .experience-meta img{
    width:36px;
    height:36px
  }
  .site-footer{
    flex-direction:column;
    gap:8px
  }
  .contact-section{
    margin-top:36px;
    padding-block:45px
  }
  #chatbot-toggle{
    right:18px;
    bottom:18px;
    width:52px;
    height:52px
  }
  .subpage{
    padding-top:24px
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *,*::before,*::after{
    animation:none!important;
    transition:none!important
  }
}
/* Shared secondary pages and small touch screens. */
.cvx-card{
  padding-top:52px;
  box-shadow:none
}
.cvx-title{
  line-height:1.5
}
.cvx-badge{
  font-size:10px
}
.article-meta{
  flex-wrap:wrap;
  gap:8px
}
.article-card h2{
  font-size:24px
}
.article-list{
  margin-top:32px
}
.subpage input{
  max-width:100%
}
.subpage .ql-editor{
  min-height:200px
}
.subpage .ql-toolbar{
  display:flex;
  flex-wrap:wrap
}
#chatbot-window{
  max-height:calc(100dvh - 130px)
}
#chatbot-window .chat-header{
  flex-shrink:0
}
#chatbot-window #chat-close{
  width:36px;
  height:36px
}
#chatbot-window .chat-input{
  flex-shrink:0;
  margin:0
}
#chatbot-window .chat-input input{
  font-size:16px
}
#chatbot-window button:disabled{
  opacity:.5;
  cursor:wait
}
@media(max-width:680px){
  .language-switch button{
    min-height:36px
  }
  .site-header nav a{
    display:flex;
    align-items:center;
    min-height:36px
  }
  .page-toolbar>a{
    padding-block:10px
  }
  .article-card{
    padding:20px
  }
  .article-card h2{
    font-size:21px
  }
  .cvx-grid{
    grid-template-columns:1fr
  }
  #chatbot-window{
    bottom:82px;
    max-height:calc(100dvh - 100px);
    height:480px
  }
  .profile-card dd{
    overflow-wrap:anywhere
  }
}
body{
  padding:0
}
.admin-page{
  max-width:850px
}
.admin-page label{
  display:block;
  margin:20px 0 8px;
  font-size:14px;
  font-weight:600
}
.admin-page input{
  width:100%;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  font-size:16px;
  background:white
}
.admin-page h2{
  font-size:25px;
  margin:32px 0 16px
}
.admin-page #admin-status{
  margin-top:20px;
  color:var(--accent)
}
.admin-page #editor{
  background:white;
  margin-bottom:20px
}
.admin-page .compact-card+.compact-card{
  margin-top:16px
}
.admin-page button{
  min-height:40px
}
.admin-page .ql-toolbar button{
  min-height:28px
}
.admin-page #panel[hidden]{
  display:none
}
.admin-page .ql-editor{
  overflow-wrap:anywhere
}
.admin-page .ql-editor img{
  max-width:100%
}
.admin-page .ql-tooltip{
  max-width:calc(100vw - 48px);
  white-space:normal;
  left:0!important
}
.admin-page .ql-tooltip input{
  width:150px;
  max-width:100%;
  display:inline-block
}
.admin-page .ql-editor.ql-blank::before{
  font-style:normal
}
@media(max-width:360px){
  .site-header{
    gap:8px
  }
  .brand{
    font-size:12px;
    gap:8px
  }
  .brand-mark{
    width:30px;
    height:30px
  }
  .language-switch button{
    padding-inline:7px
  }
  .hero h1{
    font-size:34px
  }
}
