/* Modern CSS for Random Feature - Work Page */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
  line-height: 1.6;
  color: #000;
  background: #fff;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Global header */
.global-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

/* Breadcrumb navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.nav-text {
  color: #000;
  font-weight: 400;
  font-size: 1rem;
}

.nav-link {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  font-size: 1rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.nav-link:hover {
  color: #666;
  text-decoration: none;
}

.breadcrumb-current {
  color: #666;
  font-weight: 400;
  font-size: 1rem;
}

/* Main content */
.main-content {
  flex: 1;
  padding: 3rem 0;
}

/* Intro section */
.intro-section {
  margin-bottom: 4rem;
}

.intro-text {
  margin-bottom: 3rem;
  text-align: left;
  max-width: 65ch; /* Optimal line length for readability */
  margin-left: auto;
  margin-right: auto;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

/* Content links - underlined by default, grey on hover */
.content-link {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  font-size: 1rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.content-link:hover {
  color: #666;
  text-decoration: none;
}

/* Experience section */
.experience-section {
  margin-bottom: 4rem;
}

.experience-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.experience-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: border-color 0.2s ease;
}

.experience-item:hover {
  border-bottom-color: #e0e0e0;
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.experience-date {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.experience-type {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.experience-title {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.experience-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-top: 0.5rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

/* Highlight special items */
.experience-item.highlight {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  margin: 1rem 0;
}

.experience-item.highlight .experience-title {
  color: #000;
}

.experience-item.highlight .experience-description {
  color: #333;
}

/* Global footer */
.global-footer {
  padding: 2rem 0;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  margin-top: auto;
}

.global-footer p {
  color: #666;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .global-header {
    padding: 1rem 0;
  }
  
  .main-content {
    padding: 2rem 0;
  }
  
  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .experience-grid {
    gap: 1.5rem;
  }
  
  .experience-item {
    padding: 1rem 0;
  }
  
  .experience-item.highlight {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .global-footer {
    padding: 1.5rem 0;
  }
}

/* Focus styles for accessibility */
a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
} 