/* ============================================================
   DESIGN TOKENS — All global variables live here
   ============================================================ */
:root {
  /* Colors */
  --bg:           #060a0f;
  --surface:      #0c1118;
  --surface2:     #111822;
  --border:       #1a2535;
  --border2:      #243044;

  --accent:       #00e5b0;
  --accent2:      #5e7cff;
  --accent3:      #ff6b6b;

  --text:         #dde4ef;
  --text-muted:   #5a6a80;
  --text-dim:     #8898aa;

  --glow:         rgba(0, 229, 176, 0.15);
  --glow2:        rgba(94, 124, 255, 0.12);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --font-body:    'IBM Plex Sans', sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Section padding */
  --section-x: 10rem;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ============================================================
   BASE & RESET
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* Scrollbar */
::-webkit-scrollbar          { width: 4px; }
::-webkit-scrollbar-track    { background: var(--bg); }
::-webkit-scrollbar-thumb    { background: var(--border2); border-radius: 4px; }

/* Selection */
::selection {
  background: var(--accent);
  color: var(--bg);
}

/* Divider */
.divider {
  margin: 0 var(--section-x);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Section shell */
section {
  padding: var(--space-xl) var(--section-x);
}

/* Section label */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

/* Section title */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 4rem;
  line-height: 1.1;
}
.section-title span { color: var(--accent); }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
  :root { --section-x: 4rem; }
  .divider { margin: 0 4rem; }
}
@media (max-width: 700px) {
  :root { --section-x: 1.5rem; }
  .divider { margin: 0 1.5rem; }
}
