:root {
  --text: #111;
  --muted: #6b6b6b;
  --border: #eaeaea;
}

/* Base */
body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo-mark {
  height: 20px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #111;
}

.nav-links {
  display: flex;
}

.nav-links a {
  margin-left: 24px;
  font-size: 14px;
  text-decoration: none;
  color: #111;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active {
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 24px;
  height: 18px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #111;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg);
  bottom: 8px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.mobile-menu a {
  font-size: 24px;
  text-decoration: none;
  color: #111;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
}

/* LEFT COLUMN */
.sidebar {
  position: sticky;
  top: 120px; /* adjusted for nav height */
  align-self: start;
}

h1 {
  font-size: 32px;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* RIGHT CONTENT */
.section {
  margin-bottom: 60px;
}

.section h2 {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--muted);
}

.job {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.job:first-child {
  border-top: none;
}

.job-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.job-title {
  font-weight: 600;
  font-size: 15px;
}

.job-meta {
  font-size: 13px;
  color: var(--muted);
}

ul {
  margin: 8px 0 0 0;
  padding-left: 18px;
}

li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
  color: #333;
}

/* Fade */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    top: 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }
}