* {
  box-sizing: border-box;
}

html,
body {
  font-size: 16px;
  word-break: keep-all;
  font-family: Pretendard, -apple-system;
  letter-spacing: -0.3px;
  color: #222;
  padding-bottom: 2rem;
  margin: 0px;
  text-size-adjust: 100%;
  height: 100%;
}

body::before {
  position: fixed;
  z-index: 1;
  top: 0;
  display: block;
  content: '';
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, #494bbd, #a73071);
}

.container {
  width: 100%;
  max-width: 50rem;
  margin: auto;
}

section {
  padding: 0 2rem;
}

h1 {
  font-size: 5rem;
  line-height: 1.1;
}

.period-mark {
  color: #494bbd;
}

.big-paragraph {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 500;
}

h2 {
  font-size: 3rem;
  margin: 4rem 0 2rem 0; /* 시계방향: 위 오른 아래 왼 */
}

h3 {
  font-size: 2rem;
  margin: 0 0 1rem 0;
}

h4 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: #333;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

ul > li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1rem;
}

ul > li:before {
  position: absolute;
  left: 0;
  display: inline-block;
  content: '•';
  color: #3a7bd5;
}

.row {
  display: flex;
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

.row-left {
  flex-basis: 18rem;
  padding-right: 1rem;
  flex-shrink: 0;
}

.row-right {
  flex-grow: 1;
}

.other {
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

.role {
  display: block;
}

.project {
  padding: 1.5rem 0; /* 위아래 왼오른 */
}

.project:first-child {
  padding-top: 0;
}

.time {
  display: block;
  margin-bottom: 1.5rem;
}

/* Result 클래스 - 모던 미니멀 스타일 */
.result {
  background-color: #fafafa;
}

.result .container {
  max-width: 52rem;
  padding-top: 4rem;
  background-color: #fff;
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.05);
}

.result section {
  padding: 0 4rem;
  margin-bottom: 2rem;
}

.result h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.result .period-mark {
  color: #2563eb;
}

.result h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 4rem 0 2.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #1a1a1a;
}

.result h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.result h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

.result h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 1.2rem 0 0.4rem 0;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result ul > li:before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #2563eb;
  border-radius: 50%;
  top: 0.7rem;
}

.result a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.result a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.result .row {
  padding: 2.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.result .row:last-child {
  border-bottom: none;
}

.result .row-left {
  flex-basis: 14rem;
  padding-right: 2rem;
}

.result .row-left span,
.result .row-left time {
  font-size: 0.9rem;
  color: #6b7280;
}

.result .other {
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.result .other:last-child {
  border-bottom: none;
}

.result .role {
  font-size: 0.95rem;
  color: #6b7280;
}

.result .project {
  border-left: 2px solid #e5e7eb;
  padding-left: 1.5rem;
}

.result .project:hover {
  border-left-color: #2563eb;
}

.result .project > span {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .result section {
    padding: 0 1.5rem;
  }

  .result h1 {
    font-size: 2.5rem;
  }

  .result h2 {
    font-size: 1.5rem;
  }

  .result .row {
    flex-direction: column;
  }

  .result .row-left {
    flex-basis: auto;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .result .container {
    padding-top: 2rem;
  }
}
