/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "JetBrains Mono", monospace;
  background: #fff;
  color: #222;
  line-height: 1.5;
}

/* Container: two columns */
.container {
  display: flex;
  align-items: flex-start;
  max-width: 1000px;
  gap: 50px;
  margin: 0 auto;
  padding: 60px 100px;
}

/* Sidebar */
.sidebar {
  width: 300px;
  max-width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 0px;
  align-self: flex-start;
  font-size: 0.85rem;  /* uniform base font size */
  line-height: 1.4;
}

.name {
  font-size: 1.1rem;  /* small hierarchy over nav, still subtle */
  font-weight: 600;
  margin-bottom: 10px;
}

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

.tagline {
  font-size: 0.85rem; /* same as nav base */
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.social-links a {
  text-decoration: none;
  color: #333;
  font-size: 0.85rem;
}



/* Sidebar Nav */
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

/* remove brackets entirely */
.nav a::before,
.nav a::after {
  content: "";
}

/* hover indicator */
.nav a:hover {
  color: orange;
  padding-left: 12px;
  opacity: 1;
}

.nav a:hover::before {
  content: ">";
  position: absolute;
  left: 0;
}

/* Main content */
.main-content {
  flex: 1;
  min-width: 0;
}

.content {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
}
/* Cards (projects/journal) */
.cards {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px 0;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateX(5px);
}

.card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.card .excerpt {
  font-size: 0.9rem;
  color: #555;
}

/* Footer */
footer {
  margin-top: 80px;
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    align-items: flex-start; /* ensures left alignment */
  }

  .sidebar {
    width: 100%;
    position: static;
  }

  .social-links {
    justify-content: left;
    gap: 0.5rem;
  }

  .nav {
    flex-direction: row;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .card h2 {
    font-size: 1rem;
  }

  .intro {
    font-size: 0.9rem;
  }
}

footer {
  text-align: center;
  color: #999;
  font-size: 14px;
}


/* Experience / Timeline */
.experience {
    margin-top: 35px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #111;
    letter-spacing: -0.02em;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}

.entry {
    position: relative;
    padding-left: 28px;
    transition: transform 0.2s ease;
}

.entry:hover {
    transform: translateX(4px);
}

/* Timeline connector */
.entry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: orange;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 159, 5, 0.1);
}

.entry::after {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 14px;
    bottom: -48px;
    width: 1px;
    background: linear-gradient(to bottom, #e0e0e0 0%, transparent 100%);
}

.entry:last-child::after {
    display: none;
}

.entry-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.dates {
    color: #999;
    font-size: 0.75rem;
    font-weight: 500;
}

.role {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111;
    letter-spacing: -0.01em;
}

.org {
    color: orange;
    font-size: 0.9rem;
    font-weight: 500;
}


.entry-details {
    list-style: none;
    margin-left: 0;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entry-details li {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    padding-left: 12px;
    position: relative;
}

.entry-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: orange;
    font-weight: 700;
}

/* Skills tags */
.entry-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.skill-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #666;
    font-weight: 500;
}

/* Mobile refinements */
@media (max-width: 900px) {


    .entry {
        padding-left: 24px;
    }

    .entry::before {
        width: 6px;
        height: 6px;
    }

    .entry::after {
        left: 2.5px;
    }
}
