* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #1f2933;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;   
  z-index: 2000;
}

.skip-link:focus {
  left: 8px;     
  top: 8px;      
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #c187c3;
  color: #fff;
  padding: 16px 24px;   
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;          
  flex-wrap: wrap;
}

.profile-photo-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #b625eb5b;
  flex-shrink: 0;
}

.profile-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.header-text {
  flex: 1;
  min-width: 230px;
}

.header-text h1 {
  margin: 0 0 4px;  
  font-size: 28px; 
}

.header-text p {
  margin: 2px 0;
}

.header-text .role {
  font-weight: 600;
  color: #dbeafe;
}

.header-contact {
  min-width: 220px;
  font-size: 14px;   
}

.header-contact a {
  color: #e5e7eb;
  text-decoration: none;
}

.header-contact a:hover,
.header-contact a:focus {
  text-decoration: underline;
}

main {
  max-width: 1000px;
  margin: 24px auto;     
  padding: 0 16px 32px;   
}

.section {
  background: #ffffff;
  border-radius: 12px;      
  padding: 20px 24px;       
  margin-bottom: 20px;      
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05);
}

.section h2 {
  margin-top: 0;
  font-size: 20px;         
  border-bottom: 2px solid #8c72ff;
  display: inline-block;
  padding-bottom: 4px;      
  margin-bottom: 12px;      
}

.top-section {
  display: flex;
  flex-direction: column;
  gap: 16px;    
}

.summary {
  flex: 2;
}

.summary p {
  margin: 4px 0;  
}

.highlights {
  flex: 1.5;
  background: #dbeafe;
  border-radius: 12px;
  padding: 12px 16px;     
  font-size: 14px;        
}

.highlights h3 {
  margin-top: 0;
  font-size: 16px;    
}

.highlights ul {
  padding-left: 18px;
  margin: 4px 0;
}

.skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;     
}

.skills-list li {
  padding: 6px 12px;       
  border-radius: 999px;
  background: #dbeafe;
  font-size: 14px;         
  border: 1px solid #bfdbfe;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;          
}

.experience-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;    
  background: #ffffff;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
}

.experience-role {
  color: #2563eb;
}

.experience-meta {
  font-size: 13px;
  color: #6b7280;
}

.experience-card ul {
  margin: 8px 0 0;
  padding-left: 18px;        
  font-size: 14px;
}

.education-item {
  margin-bottom: 12px;      
}

.education-item:last-child {
  margin-bottom: 0;
}

.education-item h3 {
  margin: 0;
  font-size: 16px;
}

.education-meta {
  font-size: 14px;      
  color: #6b7280;
}

footer {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  padding-bottom: 24px;   
}

@media (min-width: 700px) {
  .top-section {
    flex-direction: row;
  }

  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
