:root {
  color-scheme: light;
  --background: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #1f6feb;
  --accent-soft: rgba(31, 111, 235, 0.1);
  --border: #e2e8f0;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--background);
  color: var(--ink);
  line-height: 1.6;
}

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

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
}

.brand-title {
  font-weight: 700;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.85rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-contact a {
  color: var(--accent);
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  color: var(--muted);
}

.hero-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.icon-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #fff;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-link svg {
  width: 20px;
  height: 20px;
}

.icon-link:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.button.ghost {
  border-color: var(--border);
  background: #fff;
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  gap: 1.5rem;
}

.hero-highlights h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.hero-photo {
  background: var(--surface);
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.photo-caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 5.5rem 0;
}

.section.alt {
  background: #eef2ff;
}

.two-column {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.info-card ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.resume-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  align-items: start;
}

.resume-column {
  display: grid;
  gap: 2rem;
}

.resume-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.resume-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.4px;
}

.resume-card ul {
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.education-card {
  border-top: 4px solid rgba(31, 111, 235, 0.2);
}

.experience-card {
  border-top: 4px solid rgba(31, 111, 235, 0.45);
}

.skills-card {
  border-top: 4px solid rgba(15, 23, 42, 0.1);
}


.resume-title {
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

.timeline-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.45rem;
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.timeline-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.skill-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.75rem;
}

.skill-tags span {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.project-card img {
  height: 230px;
  object-fit: cover;
}

.project-content {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.project-content a {
  color: var(--accent);
  font-weight: 600;
}

.project-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.site-footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: 80px;
    right: 5%;
    background: var(--surface);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 1rem;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 960px) {
  .resume-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .experience-card {
    grid-column: auto;
  }

  .resume-column {
    gap: 1.5rem;
  }
}
