/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #051741;
  background: #fff;
  line-height: 1.7;
  font-size: 20px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #3B82F6;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1D4ED8;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Layout ===== */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

#projects {
  background: #F8FAFC;
}

/* ===== Section Headers ===== */
.section-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3B82F6;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: #051741;
  margin-bottom: 16px;
}

.section-intro {
  color: #10305d;
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ===== Hero ===== */
.hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: #EEF2FF;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: 0;
  transform: translateX(-45%);
  width: 918px;
  height: auto;
  pointer-events: none;
}

.hero-fade-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(to bottom, #fff, transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .hero-bg {
    transform: translateX(-35%);
  }
}

@media (min-width: 1024px) {
  .hero-bg {
    transform: translateX(-25%);
  }
}

.hero-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid #E2E8F0;
  flex-shrink: 0;
}

.hero-name {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #051741;
  margin-bottom: 4px;
}

.hero-tagline {
  font-size: 24px;
  color: #3B82F6;
  font-weight: 600;
  line-height: 1.3;
}

.hero-bio {
  font-size: 20px;
  line-height: 1.8;
  color: #10305d;
  margin-bottom: 30px;
}

.hero-bio:last-of-type {
  margin-bottom: 56px;
}

.hero-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #3B82F6;
  transition: color 0.2s;
}

.hero-links a:hover {
  color: #3B82F6;
}

.hero-links svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ===== Projects Grid ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.project-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
  color: #051741;
}

.project-card h3 a {
  color: inherit;
}

.project-card h3 a:hover {
  color: #3B82F6;
}

.project-card p {
  font-size: 17px;
  color: #10305d;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
}

.project-link::after {
  content: ' \2192';
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 19px;
  bottom: 8px;
  width: 2px;
  background: #E2E8F0;
  border-radius: 1px;
}

.timeline-group {
  position: relative;
  padding-bottom: 40px;
}

.timeline-group:last-child {
  padding-bottom: 0;
}

.timeline-group::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #93C5FD;
}

.timeline-group-header {
  margin-bottom: 16px;
}

.timeline-company {
  font-size: 22px;
  color: #3B82F6;
  font-weight: 700;
}

.timeline-tenure {
  font-size: 15px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 2px;
}

.timeline-roles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
}

.timeline-role-item {
  padding-left: 12px;
  padding-bottom: 12px;
}

.timeline-role {
  font-size: 18px;
  font-weight: 600;
  color: #051741;
  line-height: 1.4;
}

.timeline-dates {
  font-size: 14px;
  color: #94A3B8;
  font-weight: 500;
  margin-top: 1px;
}

.timeline-desc {
  font-size: 16px;
  color: #10305d;
  margin-top: 4px;
  line-height: 1.6;
  max-width: 600px;
}

/* ===== Music ===== */
.music-section {
  background: none !important;
  padding: 20px 0 80px;
}

.music-feature {
  background: #EEF2FF;
  border-radius: 20px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.music-feature-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.music-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(238, 242, 255, 0.95) 0%, rgba(238, 242, 255, 0.7) 50%, rgba(238, 242, 255, 0.3) 100%);
  z-index: 0;
  border-radius: 20px;
}

.music-feature-content {
  position: relative;
  z-index: 1;
}

.music-label {
  color: #3B82F6 !important;
}

.music-feature-title {
  font-size: 32px;
  font-weight: 700;
  color: #051741;
  margin-bottom: 16px;
  line-height: 1.3;
}

.music-feature-text {
  font-size: 18px;
  line-height: 1.7;
  color: #10305d;
  margin-bottom: 32px;
}

.music-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3B82F6;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.music-cta:hover {
  background: #2563EB;
  color: #fff;
  transform: translateY(-1px);
}

.music-cta svg {
  flex-shrink: 0;
}

/* ===== Footer ===== */
footer {
  padding: 48px 0;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #94A3B8;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3B82F6;
}

.footer-links svg {
  width: 20px;
  height: 20px;
}

.footer-copy {
  font-size: 15px;
  color: #94A3B8;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-name {
    font-size: 56px;
  }

}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .hero-avatar {
    width: 110px;
    height: 110px;
  }

  .hero-name {
    font-size: 42px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .music-feature {
    padding: 36px 24px;
  }

  .music-feature-title {
    font-size: 26px;
  }

  .project-card {
    padding: 20px;
  }
}
