body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f5f7;
  color: #222;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 2em 1.2em 2em;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-left {
  display: flex;
  align-items: center;
}
.profile-dot {
  width: 18px;
  height: 18px;
  background: #fbbf24;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.7em;
}
.profile-name {
  font-weight: 700;
  font-size: 1.3em;
  margin-right: 0.5em;
}
.profile-title {
  font-size: 1em;
  color: #444;
  font-weight: 400;
}
.header-nav ul {
  display: flex;
  gap: 2em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav ul li {
  margin: 0;
}
.header-nav ul li:not(:last-child) {
  border-right: 1px solid #e0e0e6;
  padding-right: 2em;
}
.header-nav ul li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s;
}
.header-nav ul li a:hover {
  color: #444;
}

main {
  max-width: 1000px;
  margin: 3em auto 0 auto;
  padding: 0 1em;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3em;
  margin-bottom: 3em;
}
.hero-image {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  background: #e0e0e6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero-content {
  flex: 1 1 0%;
  max-width: none;
  min-width: 0;
}
.hero-content h1 {
  font-size: 3em;
  color: #222;
  margin: 0 0 0.2em 0;
}
.hero-content h2 {
  font-size: 1.3em;
  color: #222;
  margin: 0 0 0.7em 0;
  font-weight: 600;
}
.hero-content p {
  font-size: 1.1em;
  color: #444;
  margin: 0 0 1em 0;
  text-align: justify;
}
section {
  margin-bottom: 3em;
  padding: 0 0 2em 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section + section {
  border-top: 1.5px solid #e0e0e6;
  padding-top: 3em;
}
h1 {
  color: #222;
  margin-top: 0;
}
h3 {
  margin-top: 0;
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    gap: 1.5em;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-content p {
    text-align: justify;
  }
}
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 0.5em;
  }
  .header-nav ul {
    gap: 1em;
  }
  .header-nav ul li:not(:last-child) {
    padding-right: 1em;
  }
  main {
    padding: 0 0.5em;
  }
  section {
    padding: 0 0 1em 0;
  }
  .hero-image {
    width: 180px;
    height: 180px;
  }
} 

.resume-section {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5em;
}
.resume-label {
  flex: 0 0 180px;
  font-weight: 700;
  font-size: 1.2em;
  color: #222;
  margin-right: 2em;
  text-align: left;
  min-width: 120px;
}
.resume-content {
  flex: 1 1 0%;
}
.resume-entry {
  margin-bottom: 2em;
}
.resume-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: baseline;
  font-size: 1em;
  margin-bottom: 0.5em;
}
.resume-timespan {
  color: #888;
  font-size: 0.98em;
  min-width: 90px;
}
.resume-company {
  font-weight: 600;
  color: #222;
}
.resume-title {
  font-weight: 500;
  color: #444;
  margin-left: 0.5em;
}
.resume-description p {
  margin: 0 0 0.5em 6.75em;
  color: #444;
  font-size: 1em;
  line-height: 1.3;
  text-align: justify;
}
.resume-description ul, .resume-description li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.skills-list {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  margin-left: 1.2em;
}
@media (max-width: 800px) {
  .resume-section {
    flex-direction: column;
  }
  .resume-label {
    margin-bottom: 0.7em;
    margin-right: 0;
    text-align: left;
  }
  .resume-description p {
    margin-left: 0;
  }
} 

.proficiency-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 0.5em;
  align-items: flex-s;
}
.skill-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5em;
}
.skill-name {
  min-width: 110px;
  font-weight: 500;
  color: #222;
}
.skill-dots {
  display: flex;
  gap: 0.4em;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #e0e0e6;
  display: inline-block;
}
.dot.filled {
  background: #444;
} 

.resume-divider {
  border: none;
  border-top: 1.5px solid #e0e0e6;
  margin: 2.5em 0 2.5em 0;
} 

.contact-methods {
  display: flex;
  gap: 3em;
  margin-top: 2em;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 700px) {
  .contact-methods {
    flex-direction: column;
    gap: 1.5em;
    justify-content: flex-start;
  }
} 

.project-list {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
  margin-top: 2em;
}
.project-entry {
  display: flex;
  align-items: flex-start;
  gap: 2.5em;
  background: none;
}
.project-info {
  flex: 1 1 0%;
}
.project-info h2 {
  margin: 0 0 0.5em 0;
  font-size: 1.4em;
  color: #111;
}
.project-info p {
  margin: 0;
  color: #333;
  font-size: 1.08em;
  line-height: 1.5;
  text-align: justify;
}
.project-image {
  flex: 0 0 520px;
  max-width: 520px;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.project-link {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.98em;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s;
}
.project-link:hover {
  text-decoration: underline;
  color: #1e40af;
}
.project-link-btn {
  display: inline-block;
  padding: 0.6em 1.4em;
  background: #222;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-top: 1em;
  cursor: pointer;
}
.project-link-btn:hover, .project-link-btn:focus {
  background: #444;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .project-entry {
    flex-direction: column;
    gap: 1.2em;
  }
  .project-image {
    max-width: 100%;
    min-width: 0;
  }
} 

a {
  color: #333;
  text-decoration: none;
}
a:visited {
  color: #333;
}
a:active, a:focus {
  color: #111;
}
a:hover {
  color: #555;
  text-decoration: underline;
} 

.toc-list {
  margin: 0 0 0 1.2em;
  padding: 0;
}
.toc-list li {
  margin-bottom: 1rem;
  list-style-type: disc;
} 

.project-title {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.project-subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: #888;
  margin-top: 0;
  margin-bottom: 1.2rem;
}
.project-detail-top {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1800px;
  margin: 0 auto 2rem auto;
}
.project-toc {
  flex: 0 0 220px;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  padding: 1rem;
}
.toc-title {
  margin-top: 0;
  font-size: 1.1rem;
  color: #444;
}
.project-section {
  max-width: 1800px;
  margin: 0 auto 2rem auto;
}
.section-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.section-flex-reverse {
  flex-direction: row-reverse;
}
.section-text {
  flex: 1;
}
.section-image {
  flex: 1;
  text-align: center;
}
.section-img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.section-title {
  margin-top: 0;
  font-size: 1.3rem;
}
.section-divider {
  border: 0;
  border-top: 1px solid #cacaca;
  margin: 2rem 0;
} 

.project-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.banner-img {
  width: 100%;
  max-width: 1800px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  object-fit: cover;
} 

p {
  text-align: justify;
} 
