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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #0c0804;
  color: #d4c5b0;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#root {
  position: relative;
  z-index: 2;
}



/* ---- Heading gradient ---- */
.heading-gradient {
  background: linear-gradient(
    135deg,
    #d4a574 0%,
    #e8c9a0 30%,
    #c89050 50%,
    #d4a574 70%,
    #a87830 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section label ---- */
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b7355;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* ---- Glow pill ---- */
@keyframes glowPill {
  0%, 100% { box-shadow: 0 0 8px rgba(209, 130, 67, 0.2), 0 0 16px rgba(209, 130, 67, 0.1); }
  50% { box-shadow: 0 0 12px rgba(209, 130, 67, 0.35), 0 0 24px rgba(209, 130, 67, 0.15); }
}

.glow-pill {
  animation: glowPill 3s ease-in-out infinite;
}

/* ---- Glass / Card styles ---- */
.nav-glass {
  background: rgba(12, 8, 4, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
}

.deep-card {
  background: rgba(28, 22, 16, 0.7);
  border: 1px solid rgba(139, 115, 85, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.deep-card:hover {
  border-color: rgba(209, 130, 67, 0.25);
  box-shadow: 0 4px 30px rgba(209, 130, 67, 0.06);
}

/* ---- Fade animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ---- Section visibility ---- */
.section-hidden {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Mobile menu ---- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-menu-anim {
  animation: slideDown 0.3s ease forwards;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #0c0804;
}
::-webkit-scrollbar-thumb {
  background: #2a1e14;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8b7355;
}

/* ---- Selection ---- */
::selection {
  background: rgba(209, 130, 67, 0.3);
  color: #e8c9a0;
}

/* ---- Blockquote ---- */
blockquote {
  position: relative;
}
blockquote::before {
  content: '"';
  position: absolute;
  left: -0.25rem;
  top: -0.75rem;
  font-family: 'Newsreader', serif;
  font-size: 2.5rem;
  color: rgba(209, 130, 67, 0.15);
  line-height: 1;
}