/**
 * Base Reset, Typography & Global Shell
 */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Manrope:wght@300;400;500;600;700&family=Sora:wght@300;400;500;600;700;800&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-deepest);
  color: var(--text-primary);
  line-height: 1.65;
  position: relative;
  selection-background-color: var(--veno-emerald-primary);
  selection-color: #ffffff;
}

::selection {
  background-color: var(--veno-emerald-primary);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deepest);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--veno-emerald-primary);
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-highlight);
}

.text-emerald {
  color: var(--veno-emerald-vibrant);
  font-weight: 800;
}

.text-silver {
  color: #e5e7eb;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--veno-emerald-surface);
  border: 1px solid var(--veno-emerald-border);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--veno-emerald-vibrant);
  box-shadow: 0 0 15px -3px var(--veno-emerald-glow);
  margin-bottom: 1.25rem;
}

.eyebrow-pill .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--veno-emerald-vibrant);
  box-shadow: 0 0 8px var(--veno-emerald-vibrant);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Background Atmosphere Layers */
.canvas-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#tech-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.ambient-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

.ambient-emerald {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--veno-emerald-primary) 0%, transparent 70%);
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.ambient-deep {
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, #084c31 0%, transparent 70%);
  bottom: 10%;
  right: 5%;
}

.site-content {
  position: relative;
  z-index: 1;
}
