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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0a0a;
  color: #e8e4de;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Back Nav ── */
.back-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  z-index: 100;
  background: linear-gradient(to bottom, #0a0a0a 60%, transparent);
}

.back-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.back-nav a:hover {
  color: #fff;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 2rem;
  border-bottom: 1px solid #1a1a1a;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 0.3rem;
}

.hero .title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.5rem;
}

.hero .tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #c8c0b4;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.contact-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: #fff;
}

.contact-links .sep {
  color: #333;
}

/* ── Manifesto ── */
.manifesto {
  padding: 6rem 0;
  border-bottom: 1px solid #1a1a1a;
}

.manifesto p {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #c8c0b4;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.manifesto p:first-child {
  font-size: 1.8rem;
  color: #fff;
}

.manifesto p:nth-child(2) {
  font-size: 1.2rem;
  color: #888;
  font-style: italic;
}

.manifesto p:last-child {
  margin-bottom: 0;
}

/* ── Experience ── */
.experience {
  padding: 6rem 0;
  border-bottom: 1px solid #1a1a1a;
}

.experience h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3rem;
}

.role {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #151515;
}

.role:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.role-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.org-short {
  font-weight: 400;
  color: #666;
  font-size: 0.9em;
}

.dates {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #555;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.role-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.role > p:last-child {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #aaa;
  line-height: 1.8;
}

/* ── Skills ── */
.skills {
  padding: 6rem 0;
  border-bottom: 1px solid #1a1a1a;
}

.skills h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.bot-intro {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  color: #555;
  margin-bottom: 2.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.skill-group h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c8c0b4;
  margin-bottom: 0.6rem;
}

.skill-group p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #777;
  line-height: 1.8;
}

.bot-outro {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  color: #555;
}

/* ── Footer ── */
footer {
  padding: 4rem 0;
  text-align: center;
}

.footer-cta {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-cta a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #333;
  transition: border-color 0.2s;
}

.footer-cta a:hover {
  border-color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links .sep {
  color: #333;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding: 6rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .manifesto,
  .experience,
  .skills {
    padding: 4rem 0;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .role-header {
    flex-direction: column;
    gap: 0.15rem;
  }

  .dates {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .manifesto p:first-child {
    font-size: 1.4rem;
  }

  .experience h2,
  .skills h2 {
    font-size: 2rem;
  }
}
