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

:root {
  --orange: #e87a20;
  --orange-light: #f0943e;
  --orange-glow: rgba(232,122,32,0.08);
  --bg: #0c0c0c;
  --sidebar-bg: #111111;
  --surface: #181818;
  --surface-hover: #222222;
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #aaa;
  --border: rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 280px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
  text-decoration: none;
  color: var(--text);
}

.sidebar-brand img { width: 80px; margin-bottom: 1rem; }

.sidebar-brand h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.sidebar-brand .name {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.sidebar-nav a:hover { background: var(--surface); color: var(--text); }
.sidebar-nav a.active { background: rgba(232,122,32,0.1); color: var(--orange); }
.sidebar-nav .nav-icon { font-size: 1.1rem; width: 24px; text-align: center; }

.sidebar-socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.sidebar-socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.sidebar-socials a:hover { color: var(--orange); }

/* MAIN */
.main {
  margin-left: 280px;
  flex: 1;
  min-height: 100vh;
}

.page-section {
  padding: 5rem 4rem;
  border-bottom: 1px solid var(--border);
}

.page-section:last-child { border-bottom: none; }

/* SECTION HEADERS */
.sec-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
}

.sec-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}

.sec-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sec-line { flex: 1; height: 1px; background: var(--border); }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .page-section { padding: 3rem 1.5rem; }
}
