:root {
  --bg: #e7530b;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.78);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.links {
  display: flex;
  gap: 28px;
}

.links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.links a:hover {
  color: var(--fg);
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 8vh;
}

.hero-copy {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 900px;
}

.links a.active {
  color: var(--fg);
}

.inline-link {
  color: inherit;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

/* Content pages (Resume, Projects) */
.content {
  padding-top: 7vh;
  padding-bottom: 8vh;
}

.page-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 6vh;
  color: var(--fg);
}

.card {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  color: #fff;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: background 0.15s ease;
}

.download-btn:hover {
  background: #c94509;
}

.section-title {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--bg);
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
}

.card > .section-title:first-child {
  margin-top: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.skill-block h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
  margin: 0 0 8px;
  font-weight: 700;
}

.skill-block p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #2a2a2a;
}

.role {
  margin-bottom: 32px;
}

.role:last-child {
  margin-bottom: 0;
}

.role-company {
  font-weight: 800;
  font-size: 1.08rem;
  color: #1a1a1a;
  margin: 0;
}

.role-title {
  font-weight: 600;
  color: #6b6b6b;
  font-size: 0.92rem;
  margin: 2px 0 12px;
}

.role ul {
  margin: 0;
  padding-left: 20px;
}

.role li {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #2a2a2a;
  margin-bottom: 6px;
}

.edu-block strong {
  display: block;
  font-size: 1.05rem;
  color: #1a1a1a;
}

.edu-block span {
  display: block;
  color: #6b6b6b;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #1a1a1a;
  display: block;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #f2f2f0;
}

.project-card h3 {
  margin: 0;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 640px) {
  .wrap {
    padding: 24px 20px;
  }
  .site-header {
    flex-wrap: wrap;
  }
  .links {
    gap: 18px;
  }
  .card {
    padding: 28px 24px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
