:root {
  --sidebar-w: 260px;
  --font: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --base-size: 14px;
  --cv-line: 1.4;
  --letter-spacing: -0.01em;

  --nav-bg-color: #FFFFFF;
  --nav-text-color: #353B1A;
  --nav-point-color: #4B3621;
  --hover-point-color: #CCFF00;
  
  --color-chocolate: #4B3621;
  --color-sky: #84c7f5;
  --color-lemon: #f9f971;
  
  --main-text-color: #FFFFFF;

  --profile-gap: 100px;
  --section-gap: 60px;
  --item-gap: 6px;
  --kicker-gap: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; letter-spacing: var(--letter-spacing); }
ul, ol, li { list-style: none !important; }
html, body { height: 100%; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  background: radial-gradient(
    circle at calc(var(--sidebar-w) + (100% - var(--sidebar-w)) / 2) 50%, 
    var(--color-chocolate) 0%, 
    var(--color-sky) 45%, 
    var(--color-lemon) 95%
  );
  background-attachment: fixed;
  color: var(--main-text-color);
  line-height: var(--cv-line);
  font-size: var(--base-size);
}

/* 25-01 전용 배경색 */
body.work-25-01 {
  background: radial-gradient(
    circle at calc(var(--sidebar-w) + (100% - var(--sidebar-w)) / 2) 50%, 
    #222222, 
    #e0387e, 
    #19de16
  );
  background-attachment: fixed;
}

.layout { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; 
  top: 0; left: 0; 
  width: var(--sidebar-w); 
  height: 100vh;
  padding: 40px 30px; 
  overflow-y: auto; 
  background-color: var(--nav-bg-color);
  color: var(--nav-text-color); 
  z-index: 100; 
  border-right: 1px solid rgba(0,0,0,0.03); 
}

.brand { font-size: var(--base-size); font-weight: 800; margin-bottom: 30px; }
.brand a { color: var(--nav-point-color); }
.nav-title { font-size: var(--base-size); font-weight: 800; margin-bottom: 12px; }
.year { font-weight: 800; margin-top: 20px; margin-bottom: 4px; color: var(--nav-point-color); }
.nav-list li { font-size: 13px; margin-bottom: 6px; }

a { color: inherit; text-decoration: none; transition: 0.2s ease; }
a:hover { 
  color: var(--hover-point-color) !important; 
  background-color: #222; 
  text-decoration: underline; 
}
a.active { 
  font-weight: 800 !important; 
  text-decoration: underline !important; 
  color: var(--nav-point-color) !important; 
}

.main { 
  margin-left: var(--sidebar-w); 
  flex: 1; 
  padding: 60px 80px; 
  max-width: 900px; 
}

.intro-header { margin-bottom: var(--profile-gap) !important; }
.my-name { font-size: var(--base-size); font-weight: 800; margin-bottom: 4px; }
.contact-info { font-style: normal; } 
.contact-info .body { margin-bottom: 0px; font-style: normal; }
.bio { margin-top: 48px; }
.panel { margin-bottom: var(--section-gap); }
.kicker { font-weight: 800; margin-bottom: var(--kicker-gap); }
.body { margin-bottom: 12px; max-width: 650px; }
.cv-list li { margin-bottom: var(--item-gap); }

/* 이미지 틈 없이 3개씩 2줄 배치 */
.image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;             /* 간격 제거 */
  margin: 32px 0;
  line-height: 0;     /* 하단 틈 방지 */
}
.image-row img {
  width: 33.333%;     /* 3등분 */
  height: auto;
  display: block;     /* 미세 틈 방지 */
}

/* 모바일 대응 */
.arrow { display: none; font-size: 10px; margin-left: 5px; transition: 0.3s; }
@media (max-width: 860px) {
  .layout { flex-direction: column; }
  .sidebar { 
    position: sticky; top: 0; width: 100%; height: auto; 
    padding: 30px 20px; background-color: var(--nav-bg-color);
  }
  .main { margin-left: 0; padding: 30px 20px; }
  
  body.work-25-01 {
    background: radial-gradient(circle at 50% 30%, #222 0%, #444 50%, #000 100%);
  }

  .image-row img { width: 50%; } /* 모바일 2열 */
  .nav-title { cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
  .nav-title.is-active { margin-bottom: 15px; }
  .arrow { display: inline-block; }
  .is-active .arrow { transform: rotate(180deg); }
  .nav-content { display: none; }
  .nav-content.is-open { display: block; }
}