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

:root {
  --bg: #1a1a1a;
  --surface: #242424;
  --text: #e0e0e0;
  --text-muted: #888;
  --accent: #b39ddb;
  --accent-hover: #d1c4e9;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #333;
}

nav .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links { display: flex; gap: 1.5rem; }

/* Main */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

h1 { margin-bottom: 1.5rem; font-weight: 600; }

.empty { color: var(--text-muted); }

/* Image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.image-grid a { display: block; overflow: hidden; border-radius: 4px; }

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  display: block;
  transition: transform 0.2s;
}

.image-grid a:hover img { transform: scale(1.03); }

/* Project list */
.project-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-list a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: 4px;
  font-size: 1.1rem;
}

.project-list a:hover { background: #2e2e2e; }

/* About */
.about { max-width: 640px; }
.about p { margin-bottom: 1rem; }
.about h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.2rem; font-weight: 600; }

.about-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.subtitle { color: var(--text-muted); margin-bottom: 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.video-link {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: 4px;
  text-align: center;
}

.video-link:hover { background: #2e2e2e; }

.thank-you {
  margin-top: 2rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid #333;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 600px) {
  nav { padding: 0.75rem 1rem; }
  main { padding: 1rem; }
  .image-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
