/* =========================
   BASE
========================= */
body {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95em;
  margin: 0;
  background: rgba(13,17,13,1);
  color: #E6E6E6;
}

/* =========================
   NAV BAR
========================= */
.top-nav {
  display: flex;
  gap: 2rem;
  padding: 1rem 3rem;
}

.top-nav a {
  color: #7C6AE6;
  text-decoration: none;
  font-weight: 500;
}

.top-nav {
  display: flex;
  gap: 3rem;
  padding: 1rem 3rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #7C6AE6;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.nav-link img {
  width: 25px;
  height: 25px;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.nav-link:hover span {
  transform: scale(0.94);
}

.nav-link:hover img {
  transform: translateY(-2px);
  opacity: 1;
}

/* =========================
   HERO LAYOUT (HOME)
========================= */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: calc(100vh - 80px);
  padding: 1.5rem 3rem 3rem;
  gap: 3rem;
}

/* LEFT SIDE */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin: 0;
}

.hero-left .name {
  color: #7C6AE6;
}

.hero-role {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #9A9A9A;
}

.bio {
  margin-top: 0.5rem;
  max-width: 480px;
}

.headshot {
  width: min(350px, 60vw);
  height: min(350px, 60vw);
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 2px solid #7C6AE6;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.hero-right h1 {
  font-size: 3.3rem;
  line-height: 1.1;
  margin: 0;
}

.project-card {
  background: #1E1E1E;
  border-radius: 10px;
  padding: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-details {
  display: none;
  margin-top: 0.75rem;
  color: #9A9A9A;
}

/* =========================
   BLOG LIST PAGE
========================= */
.blog-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.blog-preview {
  margin-bottom: 3rem;
}

.blog-preview h2 {
  margin-bottom: 0.25rem;
}

.blog-preview a {
  color: #E6E6E6;
  text-decoration: none;
}

.blog-preview a:hover {
  color: #7C6AE6;
}

.blog-date {
  font-size: 0.9rem;
  color: #9A9A9A;
  margin-bottom: 0.5rem;
}

.blog-summary {
  color: #B0B0B0;
  line-height: 1.6;
}

/* =========================
   BLOG POST PAGE
========================= */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.blog-post h1 {
  margin-bottom: 0.5rem;
}

.blog-post p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.post-nav {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
}

.post-nav a {
  color: #7C6AE6;
  text-decoration: none;
}

.post-nav a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .hero-left h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .top-nav {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 1.25rem;
  }

  .hero-left,
  .hero-right {
    align-items: center;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2.25rem;
  }

  .bio {
    max-width: none;
  }

  .project-card {
    width: 100%;
  }
}

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

  .hero-role {
    font-size: 1rem;
  }
}

.blog-figure {
  margin: 2.5rem auto;
  max-width: 500px;   
}

.blog-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.center-text {
  text-align: center;
}

/* =========================
   BACKGROUND VIDEO 
========================= */

.bg-video-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: -1;
}

.bg-video-wrapper video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform:
    translate(-53.5%, -28%)
    scale(0.8)
}

@media (max-width: 480px) {
  .bg-video-wrapper video {
    transform:
      translate(-47%, -25%)   
      scale(0.55);           
  }
}

