/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  background: #000;
  color: #f5f5f5;
}

/* Layout: left + right */
.layout {
  display: flex;
  min-height: 100vh;
}

/* Panels */
.panel {
  flex: 1;
}

/* LEFT: GIF */
.panel-left {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero-gif {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

/* RIGHT: content on black background */
.panel-right {
  background: #000;
  border-left: 1px solid #222;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
}

/* Header + nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.site-header h1 {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.site-header nav a {
  margin-left: 1rem;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
}

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

/* Main content */
.content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.lead {
  margin-bottom: 1.75rem;
  max-width: 32rem;
  line-height: 1.5;
  color: #d0d0d0;
}

/* Projects list */
.projects {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 34rem;
}

.projects h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.projects p {
  font-size: 0.9rem;
  color: #bcbcbc;
  line-height: 1.4;
}

/* Caption for notes – smaller text below */
.caption {
  font-size: 0.75rem;
  color: #888;
  margin-top: auto; /* pushes it to the bottom */
  padding-top: 1rem;
  border-top: 1px solid #222;
}

/* About page uses single column on the right */
.single-column {
  display: flex;
}

/* Responsive: stack on small screens */
@media (max-width: 800px) {
  .layout {
    flex-direction: column;
  }

  .panel-left {
    order: 2;
    padding: 1rem;
  }

  .panel-right {
    order: 1;
    border-left: none;
    border-bottom: 1px solid #222;
    padding: 1.5rem;
  }

  .content h2 {
    font-size: 1.6rem;
  }

  .hero-gif {
    max-height: 50vh;
  }
}

