/* ============================================
   EVAN MCKNIGHT PORTFOLIO — MAIN STYLES
   ============================================ */

:root {
  --bg-deep: #060a12;
  --bg-primary: #0a0e17;
  --bg-card: rgba(15, 20, 35, 0.7);
  --cyan: #00f0ff;
  --cyan-dim: rgba(0, 240, 255, 0.15);
  --magenta: #ff00aa;
  --magenta-dim: rgba(255, 0, 170, 0.15);
  --gold: #ffd700;
  --green: #00ff88;
  --red: #ff3366;
  --white: #e8eaf0;
  --dim: #556680;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --glass-bg: rgba(10, 14, 23, 0.65);
  --glass-border: rgba(0, 240, 255, 0.12);
  --glass-blur: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg-deep);
  cursor: none;
}

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

a { color: var(--cyan); text-decoration: none; cursor: none; }
a:hover { color: #fff; }

::selection { background: var(--cyan); color: var(--bg-deep); }

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
  mix-blend-mode: difference;
}
.custom-cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}
body:hover .custom-cursor { opacity: 1; }

/* Overlays */
.noise-overlay {
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  opacity: 0.4;
}
.scanline-overlay {
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 240, 255, 0.015) 2px, rgba(0, 240, 255, 0.015) 4px);
  pointer-events: none;
  z-index: 9991;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  z-index: 10000;
  transition: none;
}

/* Side Navigation */
.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nav-dot {
  position: relative;
  display: block;
  width: 12px; height: 12px;
  cursor: none;
}
.nav-dot span {
  display: block;
  width: 10px; height: 10px;
  border: 2px solid var(--dim);
  border-radius: 50%;
  transition: var(--transition);
}
.nav-dot.active span {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  white-space: nowrap;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.nav-dot:hover::before { opacity: 1; color: var(--cyan); }
.nav-dot:hover span { border-color: var(--cyan); }

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* Section Base */
.section {
  min-height: 100vh;
  position: relative;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
}
.section-header {
  margin-bottom: 48px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ========== BOOT SECTION ========== */
.boot-section {
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 10001;
  position: fixed;
  inset: 0;
  transition: opacity 0.8s ease;
}
.boot-section.done {
  opacity: 0;
  pointer-events: none;
}
.boot-container { width: min(700px, 90vw); }
.boot-window {
  background: #0d1117;
  border-radius: 10px;
  border: 1px solid #1e2a3a;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.08);
}
.boot-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #161b22;
  border-bottom: 1px solid #1e2a3a;
}
.boot-dots { display: flex; gap: 7px; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.boot-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}
.boot-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  min-height: 300px;
  max-height: 60vh;
  overflow-y: auto;
}
#boot-output .boot-line { margin-bottom: 2px; }
.boot-line .t-green { color: var(--green); }
.boot-line .t-cyan { color: var(--cyan); }
.boot-line .t-yellow { color: var(--gold); }
.boot-line .t-red { color: var(--red); }
.boot-line .t-dim { color: var(--dim); }
.boot-line .t-white { color: var(--white); }
.boot-progress {
  display: inline-block;
  background: #1e2a3a;
  border-radius: 3px;
  overflow: hidden;
  width: 200px;
  height: 12px;
  vertical-align: middle;
  margin-left: 8px;
}
.boot-progress-fill {
  height: 100%;
  background: var(--cyan);
  transition: width 0.3s;
}
.boot-cursor-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.boot-prompt { color: var(--green); }
.boot-cursor {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.boot-skip {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  margin-top: 16px;
  animation: pulse-dim 2s ease infinite;
}
@keyframes pulse-dim { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.9; } }

/* ========== HERO SECTION ========== */
.hero-section {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6,10,18,0.4) 0%, rgba(6,10,18,0.85) 70%, rgba(6,10,18,0.95) 100%);
  z-index: 5;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
}
.hero-status-card {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.25);
}
.status-line { margin: 2px 0; }
.status-line.dim { color: var(--dim); }
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease infinite;
}
.status-dot.warn {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 1.5s ease infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 90px);
  font-weight: 900;
  letter-spacing: 6px;
  margin-bottom: 16px;
  position: relative;
}
.hero-name-text {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.4));
}
.hero-name::before,
.hero-name::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-family: inherit; font-size: inherit; font-weight: inherit;
  letter-spacing: inherit;
}
.hero-name::before {
  color: var(--cyan);
  z-index: -1;
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: inset(0 0 80% 0);
}
.hero-name::after {
  color: var(--magenta);
  z-index: -1;
  animation: glitch-2 2.5s infinite linear alternate-reverse;
  clip-path: inset(80% 0 0 0);
}
@keyframes glitch-1 {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, -2px); }
  80% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}
@keyframes glitch-2 {
  0% { transform: translate(0); }
  25% { transform: translate(2px, -2px); }
  50% { transform: translate(-2px, 1px); }
  75% { transform: translate(1px, 2px); }
  100% { transform: translate(0); }
}

.hero-roles {
  font-family: var(--font-mono);
  font-size: clamp(14px, 2vw, 20px);
  color: var(--dim);
  margin-bottom: 40px;
}
.role-prefix { color: var(--cyan); margin-right: 8px; }
.role-text { color: var(--white); }
.role-cursor { color: var(--cyan); animation: blink 0.8s step-end infinite; }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-neon {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  padding: 14px 36px;
  border: 2px solid var(--cyan);
  color: #ffffff;
  background: rgba(0, 240, 255, 0.12);
  border-radius: 4px;
  transition: var(--transition);
  cursor: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}
.btn-neon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-neon:hover {
  color: var(--bg-deep);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}
.btn-neon:hover::before { opacity: 1; }
.btn-neon span, .btn-neon { position: relative; z-index: 1; }
.btn-ghost {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 4px;
  transition: var(--transition);
  cursor: none;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--dim);
  animation: bounce-down 2s ease infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: rotate(45deg);
}
@keyframes bounce-down { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* ========== ABOUT SECTION ========== */
.about-section { justify-content: center; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Terminal */
.about-terminal { overflow: hidden; }
.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(22, 27, 34, 0.8);
  border-bottom: 1px solid var(--glass-border);
}
.terminal-dots { display: flex; gap: 7px; }
.terminal-title-bar {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}
.terminal-screen {
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  min-height: 350px;
  max-height: 450px;
  overflow-y: auto;
}
.terminal-line { margin-bottom: 2px; word-wrap: break-word; }
.t-green { color: var(--green); }
.t-blue { color: #5599ff; }
.t-cyan { color: var(--cyan); }
.t-white { color: var(--white); }
.t-dim { color: var(--dim); }
.t-yellow { color: var(--gold); }
.t-magenta { color: var(--magenta); }
.terminal-input-line {
  display: flex;
  align-items: center;
}
.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  flex: 1;
  caret-color: var(--cyan);
}

/* About Narrative */
.about-narrative { padding: 20px 0; }
.about-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.avatar-hex {
  position: relative;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}
.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  opacity: 0.3;
  filter: blur(12px);
}
.avatar-placeholder {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--bg-deep);
  position: relative;
  z-index: 1;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.pet-photos {
  display: flex;
  gap: 12px;
}
.pet-photo-wrap {
  text-align: center;
  cursor: none;
}
.pet-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  transition: transform 0.3s, border-color 0.3s;
}
.pet-photo:hover {
  transform: scale(1.1);
  border-color: var(--cyan);
}
.pet-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  margin-top: 4px;
  letter-spacing: 1px;
}
.pet-badges { display: flex; gap: 8px; }
.pet-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  color: var(--dim);
}
.about-text p {
  margin-bottom: 16px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(20px);
}
.about-text p.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}
.about-text strong { color: var(--cyan); }

/* ========== SKILLS SECTION ========== */
.skills-section { justify-content: center; }
.skills-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
}
#skills-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.skills-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.skill-tooltip {
  position: absolute;
  background: var(--glass-bg);
  border: 1px solid var(--cyan);
  border-radius: 8px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 10;
}
.skill-tooltip.visible { opacity: 1; }
.skills-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  z-index: 5;
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

/* ========== EXPERIENCE SECTION ========== */
.experience-section { justify-content: center; }
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta));
}
.timeline-entry {
  position: relative;
  padding-left: 56px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-30px);
}
.timeline-entry.revealed {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.7s ease;
}
.timeline-entry[data-animate="slide-right"] {
  transform: translateX(30px);
}
.timeline-entry[data-animate="slide-right"].revealed {
  transform: translateX(0);
}
.timeline-dot {
  position: absolute;
  left: 13px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--cyan);
  z-index: 2;
}
.timeline-card {
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,240,255,0.3), rgba(255,0,170,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.timeline-card:hover::before { opacity: 1; }
.timeline-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 8px;
}
.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}
.timeline-subtitle {
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 12px;
}
.timeline-details {
  margin-top: 12px;
  font-size: 14px;
  color: var(--dim);
}
.timeline-details ul {
  list-style: none;
  padding: 0;
}
.timeline-details li {
  padding-left: 16px;
  margin-bottom: 6px;
  position: relative;
}
.timeline-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}
/* timeline-expand removed — details always visible */

/* ========== PROJECTS SECTION ========== */
.projects-section { justify-content: center; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: none;
}
.project-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.1);
}
.project-preview {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.project-overlay {
  position: absolute;
  top: 12px; right: 12px;
}
.project-status {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
.project-status.live { background: rgba(0, 255, 136, 0.2); color: var(--green); }
.project-status.dev { background: rgba(255, 215, 0, 0.2); color: var(--gold); }
.project-info { padding: 20px; }
.project-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}
.project-info p {
  font-size: 14px;
  color: var(--dim);
  margin-bottom: 12px;
  line-height: 1.5;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.project-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  color: var(--dim);
}
.project-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  transition: var(--transition);
}
.project-link:hover { color: var(--white); }

/* ========== DASHBOARD SECTION ========== */
.dashboard-section { justify-content: center; }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dash-card {
  padding: 20px;
  text-align: center;
}
.dash-card.wide { grid-column: span 2; }
.dash-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.dash-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cyan);
}
.dash-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
}
.dash-gauge {
  position: relative;
  width: 100px; height: 100px;
  margin: 0 auto;
}
.gauge-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.gauge-bg {
  fill: none;
  stroke: #1e2a3a;
  stroke-width: 8;
}
.gauge-fill {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 1s ease;
}
.gauge-value {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
}
.services-list { text-align: left; }
.service-row {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
#network-canvas {
  width: 100%;
  height: 120px;
  display: block;
}
.syslog {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  text-align: left;
  height: 120px;
  overflow: hidden;
  line-height: 1.8;
}
.syslog .log-line { margin-bottom: 1px; }
.syslog .log-info { color: var(--cyan); }
.syslog .log-ok { color: var(--green); }
.syslog .log-warn { color: var(--gold); }

/* ========== ORIGIN SECTION ========== */
.origin-section { justify-content: center; }
.origin-scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 40px 0;
  -webkit-overflow-scrolling: touch;
}
.origin-scroll-wrap::-webkit-scrollbar { height: 4px; }
.origin-scroll-wrap::-webkit-scrollbar-track { background: #1e2a3a; }
.origin-scroll-wrap::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 4px; }
.origin-track {
  display: flex;
  gap: 60px;
  padding: 0 40px;
  position: relative;
  min-width: max-content;
}
.origin-line {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--cyan));
}
.origin-node {
  position: relative;
  text-align: center;
  min-width: 160px;
  cursor: none;
  padding: 20px 0;
}
.origin-year {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 8px;
}
.origin-icon {
  font-size: 32px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}
.origin-node:hover .origin-icon { transform: scale(1.3); }
.origin-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.origin-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  max-width: 180px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}
.origin-node:hover .origin-detail {
  opacity: 1;
  transform: translateY(0);
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy-section {
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  overflow: hidden;
}
.philosophy-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
}
.philosophy-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
}
.pq-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.8);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 6px;
}
.pq-word.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pq-highlight { color: var(--cyan); }
.pq-highlight-alt { color: var(--magenta); }
.philosophy-attribution {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  margin-top: 32px;
  opacity: 0;
  transition: opacity 0.6s 1s;
}
.philosophy-attribution.visible { opacity: 1; }

/* ========== CONTACT SECTION ========== */
.contact-section {
  justify-content: center;
  position: relative;
  overflow: hidden;
}
#matrix-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.contact-form-wrap { padding: 32px; }
.encrypt-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  cursor: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}
.form-group textarea { resize: vertical; }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  transition: var(--transition);
  cursor: none;
}
.contact-link-item:hover { border-color: var(--cyan); }
.cl-icon { font-size: 24px; }
.cl-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 2px;
}
.cl-value {
  font-size: 14px;
  color: var(--white);
}
.blur-text {
  filter: blur(4px);
  user-select: none;
  transition: filter 0.3s;
}
.resume-download { margin-top: 12px; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 60px 0 24px;
  position: relative;
  z-index: 2;
}
.footer-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
  letter-spacing: 2px;
}
.footer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(85, 102, 128, 0.5);
  margin-top: 8px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .section { padding: 60px 32px; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 48px 20px; }
  .side-nav { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-card.wide { grid-column: span 1; }
  .skills-container { height: 400px; }
  html, body { cursor: auto; }
  .custom-cursor, .custom-cursor-ring { display: none; }
  a, button, input, textarea { cursor: auto; }
}
@media (max-width: 480px) {
  .hero-name { letter-spacing: 2px; }
  .section { padding: 40px 16px; }
}
