:root {
  --primary-color: #E6B84C;
  --bg-color: #121214;
  --secondary-bg: #0A0A0C;
  --border-color: #1E1E20;
  --primary-text-color: #E0E0E5;
  --secondary-text-color: #A0A0A5;
  --muted-text-color: #707075;
  --box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}

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

body {
  background: var(--bg-color);
  color: var(--primary-text-color);
  font-family: 'Manrope', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 5vw, 32px);
}

.title {
  margin: 30px 0;
  text-align: center;
  padding: 0 15px;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  margin: 10px auto 20px;
  display: block;
  box-shadow: var(--box-shadow);
  image-rendering: -webkit-optimize-contrast;
}

.title h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
  opacity: 0.9;
}

.title h2 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 500;
  opacity: 0.85;
}

.website-link {
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 400;
}

.website-link a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.website-link a:hover {
  color: var(--primary-text-color);
}

.title hr {
  width: 70%;
  max-width: 400px;
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 20px auto;
}

.social-icons {
  margin: 25px 0;
  text-align: center;
}

.social-icons a {
  color: var(--primary-text-color);
  font-size: 1.4rem;
  margin: 0 8px;
  display: inline-block;
  opacity: 0.8;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

.social-icons a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.work-experience {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
}

.work-experience h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 500;
}

.summary-text {
  text-align: center;
  color: var(--secondary-text-color);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.work-experience article {
  margin-bottom: 40px;
}

.company-name {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 30px 0 15px;
  font-weight: 500;
  opacity: 0.85;
}

.position {
  margin-bottom: 20px;
  padding: 0;
}

.position-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary-text-color);
}

.position-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-text-color);
  font-size: 0.95rem;
  font-weight: 300;
  gap: 10px;
  margin-bottom: 5px;
}

.employment-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.position-type {
  font-style: italic;
}

.duration {
  white-space: nowrap;
}

.location {
  font-size: 0.95rem;
  white-space: nowrap;
}

.company-name:not(:first-of-type) {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
}

footer {
  background-color: var(--secondary-bg);
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.2);
}

.copyright {
  font-size: 0.85rem;
  color: var(--muted-text-color);
  opacity: 0.8;
}

a:focus-visible {
  outline: 2px dashed var(--primary-color);
  outline-offset: 4px;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 768px) {
  .position-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .location {
    margin-left: 0;
  }
  
  .employment-info {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .title h1 {
    font-size: 1.5rem;
  }
  
  .title h2 {
    font-size: 1.1rem;
  }
  
  .work-experience {
    padding: 15px;
  }
  
  .company-name {
    font-size: 1.2rem;
  }
  
  .position-title {
    font-size: 1rem;
  }
}