:root {
  --bg: #0e0f12;
  --card: #171920;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #7c3aed;
  --accent-2: #22d3ee;
  --border: #1f2330;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(circle at 20% 20%, #131625 0, #0e0f12 35%),
              radial-gradient(circle at 80% 0%, rgba(34,211,238,0.08), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { width: 100%; border-radius: 12px; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px;
  background: rgba(14,15,18,0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { font-weight: 700; letter-spacing: 0.5px; }
.topbar nav a { margin-left: 18px; color: var(--muted); font-size: 0.95rem; }
.topbar nav a:hover { color: var(--text); }

main { padding: 32px 24px 80px; max-width: 1200px; margin: 0 auto; }
.hero {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  margin-top: 24px;
}
.hero-text h1 { margin: 10px 0; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.15; }
.lede { color: var(--muted); max-width: 620px; }
.hero-card {
  background: linear-gradient(135deg, rgba(34,211,238,0.08), rgba(124,58,237,0.08));
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.caption { margin: 10px 0 0; color: var(--muted); font-size: 0.9rem; }

.section-head h2 { margin: 6px 0; font-size: 1.8rem; }
.section-head p { color: var(--muted); max-width: 620px; }

.gallery { margin-top: 48px; }
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.tile {
  background: var(--card);
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(124,58,237,0.4); }
.tile figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.tile span { color: var(--muted); font-size: 0.95rem; }

.about, .contact {
  margin-top: 56px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.tags li {
  padding: 8px 12px;
  background: rgba(124,58,237,0.12);
  color: #dcd7ff;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,0.25);
  font-size: 0.95rem;
}

.contact-links { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; transition: all 0.2s ease;
}
.btn.primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #0c0c0f; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { border-color: var(--border); color: var(--text); }
.btn.ghost:hover { border-color: rgba(124,58,237,0.5); color: #dcd7ff; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  display: grid; place-items: center; z-index: 99;
  padding: 24px;
}
.lightbox.hidden { display: none; }
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}
.lightbox .close {
  position: absolute; top: 18px; right: 22px;
  font-size: 32px; line-height: 1; color: #f9fafb;
  background: none; border: none; cursor: pointer;
}
@media (max-width: 640px) {
  .topbar { flex-direction: column; gap: 8px; }
  .topbar nav a { margin-left: 0; margin-right: 12px; }
}
