/* ==========================================================================
   KESHANA DEWRANGA - ARCHITECTURAL BLUEPRINT DESIGN SYSTEM
   Theme: Tactile Drafting Parchment & Neo-Technical Graph Paper
   ========================================================================== */

:root {
  /* Warm Architectural Drafting Parchment Palette */
  --bg-primary: #ECE6D8;         /* Tactile drafting parchment */
  --bg-secondary: #E0D8C5;       /* Muted drafting paper */
  --bg-sidebar: #E3DBC8;         /* Distinct structured sidebar column */
  --bg-surface: #F7F3E9;         /* Warm ivory card canvas */
  --bg-surface-hover: #FFFFFF;   /* Clean lift on hover */
  --bg-tag: #DDD4BF;             /* Technical badge fill */

  /* Precision Drafting Borders */
  --border-subtle: #D3C9B2;
  --border-medium: #BCB097;
  --border-strong: #786C54;
  --border-dark: #111723;
  --border-highlight: #0284C7;

  /* Rich High-Contrast Drafting Ink Typography */
  --text-primary: #0D131F;       /* Deep solid obsidian ink */
  --text-secondary: #3A4657;     /* Dark technical slate */
  --text-muted: #637183;         /* Drafting annotation grey */
  --text-inverse: #FAF8F2;

  /* High-Voltage Technical Accents */
  --accent-electric: #C6EB07;    /* High-contrast neon chartreuse / cyber-lime */
  --accent-cyan: #0284C7;
  --accent-mint: #0D9488;
  --accent-blue: #1D4ED8;
  --accent-amber: #D97706;

  /* Grid Lines */
  --grid-line-color: rgba(28, 38, 54, 0.08);
  --grid-size: 32px;

  /* Sizing & Radius */
  --sidebar-width: 310px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 19, 31, 0.06);
  --shadow-md: 0 4px 14px rgba(13, 19, 31, 0.08);
  --shadow-lg: 0 10px 25px -3px rgba(13, 19, 31, 0.12);
  --shadow-brutal: 2px 2px 0px #111723;
  --shadow-brutal-lg: 4px 4px 0px #111723;
}

/* Base Resets & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Architectural Grid Background Texture */
.technical-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-line-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  pointer-events: none;
  z-index: 0;
}

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

.glow-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(198, 235, 7, 0.25) 0%, rgba(2, 132, 199, 0.12) 70%, transparent 100%);
}

.glow-2 {
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: 20%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 100%);
}

/* Typography Utilities */
.font-mono {
  font-family: var(--font-mono);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

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

ul {
  list-style: none;
}

/* Layout Architecture */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SIDEBAR HUD NAVIGATION
   ========================================================================== */
.sidebar-hud {
  width: var(--sidebar-width);
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  border-right: 1.5px solid var(--border-medium);
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
}

.sidebar-inner {
  padding: 32px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  scrollbar-width: none;
}
.sidebar-inner::-webkit-scrollbar {
  display: none;
}

/* Profile / Monogram in Sidebar */
.hud-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.monogram-box {
  width: 46px;
  height: 46px;
  background: var(--text-primary);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-electric);
  position: relative;
  box-shadow: var(--shadow-brutal);
}

.pulse-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: #16A34A;
  border-radius: 50%;
  box-shadow: 0 0 6px #16A34A;
  animation: pulse-ring 2s infinite ease-out;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(0.9); opacity: 1; }
}

.profile-name {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.profile-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.prompt-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Navigation List */
.hud-nav {
  margin: 28px 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-num {
  font-size: 0.7rem;
  opacity: 0.7;
  width: 18px;
}

.nav-line {
  height: 1.5px;
  width: 16px;
  background: var(--border-medium);
  transition: width var(--transition-normal), background var(--transition-fast);
}

.nav-label {
  font-weight: 600;
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.45);
}

.nav-item:hover .nav-line {
  width: 26px;
  background: var(--text-primary);
}

.nav-item.active {
  color: #FAF8F2;
  background: var(--text-primary);
  box-shadow: var(--shadow-brutal);
}

.nav-item.active .nav-num {
  opacity: 1;
  font-weight: 700;
  color: var(--accent-electric);
}

.nav-item.active .nav-line {
  width: 22px;
  background: var(--accent-electric);
}

/* Sidebar Footer & Status */
.hud-footer {
  padding-top: 22px;
  border-top: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.status-live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  flex-shrink: 0;
  box-shadow: 0 0 6px #16A34A;
  animation: beacon-glow 1.5s infinite alternate;
}

@keyframes beacon-glow {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.sidebar-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social-icons-group {
  display: flex;
  gap: 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-dark);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-brutal);
}

.social-icon:hover {
  background: var(--accent-electric);
  color: #111723;
  transform: translateY(-2px);
}

.geo-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 44px 60px 96px 60px;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

/* Section Shared Headers */
.content-section {
  padding-top: 72px;
  margin-bottom: 88px;
  position: relative;
}

.section-header {
  margin-bottom: 36px;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.sec-num {
  color: var(--accent-cyan);
  font-weight: 700;
}

.sec-divider {
  width: 36px;
  height: 1.5px;
  background: var(--border-medium);
}

.sec-author {
  text-transform: uppercase;
  font-weight: 600;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.title-with-filters, .title-with-search {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0 56px 0;
  border-bottom: 1.5px solid var(--border-subtle);
}

.hud-tag-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.hud-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.hud-tag-highlight {
  border-color: #111723;
  color: #111723;
  background: var(--accent-electric);
  box-shadow: var(--shadow-brutal);
}

.glitch-title {
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.terminal-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-primary);
  margin-bottom: 26px;
  font-weight: 600;
}

.term-sym {
  color: var(--accent-cyan);
  font-weight: 700;
}

.cursor-blink {
  animation: blink 1s infinite step-start;
  color: var(--accent-cyan);
  font-weight: 700;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-bio {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 740px;
  margin-bottom: 38px;
}

.hero-bio strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  position: relative;
}

.btn-primary {
  background: var(--accent-electric);
  color: #111723;
  border: 1.5px solid #111723;
  box-shadow: var(--shadow-brutal);
}

.btn-primary:hover {
  background: #B6DA00;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-lg);
}

.btn-secondary {
  background: var(--bg-surface);
  color: #111723;
  border: 1.5px solid #111723;
  box-shadow: var(--shadow-brutal);
}

.btn-secondary:hover {
  background: #FFFFFF;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
}

.btn-ghost:hover {
  border-color: var(--border-dark);
  background: var(--bg-surface);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding-top: 28px;
  border-top: 1.5px dashed var(--border-medium);
}

.metric-card {
  padding: 16px 18px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.metric-card:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brutal);
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
  font-weight: 500;
}

/* ==========================================================================
   01 // ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.about-narrative p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-narrative .lead-text {
  font-size: 1.12rem;
  color: var(--text-primary);
  line-height: 1.7;
}

.about-narrative strong {
  color: var(--text-primary);
}

.about-narrative em {
  color: var(--accent-cyan);
  font-style: normal;
  font-weight: 600;
}

.quick-facts-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.fact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.fact-pill i {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

/* System Specs Matrix */
.system-specs-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-brutal);
}

.specs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-secondary);
  border-bottom: 1.5px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.specs-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 700;
}

.specs-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.76rem;
  line-height: 1.6;
}

.spec-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-k {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-v {
  color: var(--text-primary);
  font-weight: 500;
}

.highlight-green {
  color: #15803D;
  font-weight: 700;
}

/* ==========================================================================
   02 // PROJECTS SECTION
   ========================================================================== */
.project-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  font-weight: 600;
}

.filter-btn:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--accent-electric);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-brutal);
}

.projects-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}

.project-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-dark);
  background: #FFFFFF;
  box-shadow: var(--shadow-brutal);
}

.project-badge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.tech-category-pill {
  color: var(--text-primary);
  background: var(--bg-tag);
  border: 1px solid var(--border-medium);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tech-category-pill i {
  color: var(--accent-cyan);
}

.project-year {
  color: var(--text-muted);
  font-weight: 600;
}

.project-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.project-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.project-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.project-highlights li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.project-highlights strong {
  color: var(--text-primary);
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-weight: 600;
}

.project-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1.5px solid var(--border-subtle);
  flex-wrap: wrap;
}

.proj-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.link-primary {
  background: var(--accent-electric);
  color: #111723;
  border: 1.5px solid #111723;
  box-shadow: var(--shadow-brutal);
}

.link-primary:hover {
  background: #B6DA00;
  transform: translate(-1px, -1px);
}

.link-secondary {
  border: 1.5px solid var(--border-dark);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-brutal);
}

.link-secondary:hover {
  background: #FFFFFF;
}

.award-chip, .metric-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.metric-tag {
  color: #15803D;
  background: #DCFCE7;
  border-color: #BBF7D0;
}

/* ==========================================================================
   03 // TECHNICAL ARSENAL / SKILLS MATRIX
   ========================================================================== */
.skill-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  width: 280px;
  box-shadow: var(--shadow-brutal);
}

.skill-search-box i {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.skill-search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
  width: 100%;
}

.skill-search-box input::placeholder {
  color: var(--text-muted);
}

.skills-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.domain-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.domain-card:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brutal);
}

.domain-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border-subtle);
}

.domain-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.domain-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.tech-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  transition: all var(--transition-fast);
}

.skill-chip:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  transform: scale(1.02);
}

.skill-chip.highlight {
  border-color: var(--border-dark);
  background: var(--bg-tag);
}

.chip-name {
  color: var(--text-primary);
  font-weight: 600;
}

.chip-level {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.soft-skills-strip {
  margin-top: 26px;
  padding: 16px 20px;
  background: var(--bg-surface);
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.strip-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trait-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  font-weight: 600;
}

/* ==========================================================================
   04 // ACHIEVEMENTS SECTION
   ========================================================================== */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.achievement-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.achievement-card:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brutal);
}

.achievement-card.highlight-card {
  border-color: var(--border-medium);
}

.ach-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #92400E;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.ach-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.ach-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-right: 60px;
}

.ach-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ach-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.ach-link {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 700;
}

.ach-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   05 // LEADERSHIP & EXPERIENCE
   ========================================================================== */
.leadership-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  padding-left: 24px;
  border-left: 2px dashed var(--border-medium);
}

.timeline-entry {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--bg-primary);
}

.timeline-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.timeline-box:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  transform: translateX(4px);
  box-shadow: var(--shadow-brutal);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.1rem;
  font-weight: 700;
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.timeline-org {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.timeline-details {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   06 // EDUCATION
   ========================================================================== */
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.edu-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.edu-card:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-brutal);
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.edu-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.edu-inst {
  font-size: 1.15rem;
  font-weight: 700;
}

.edu-degree {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.edu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.edu-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.edu-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.edu-grades {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.grade-badge {
  font-size: 0.72rem;
  color: #15803D;
  background: #DCFCE7;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #BBF7D0;
  font-weight: 600;
}

/* ==========================================================================
   07 // CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.contact-quick-card:hover {
  border-color: var(--border-dark);
  background: #FFFFFF;
  box-shadow: var(--shadow-brutal);
}

.c-icon {
  font-size: 1.1rem;
  color: var(--text-primary);
  width: 28px;
  text-align: center;
}

.c-details {
  flex: 1;
}

.c-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-weight: 700;
}

.c-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  word-break: break-all;
  font-weight: 600;
}

.c-copy-btn {
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.c-copy-btn:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

/* Contact Form */
.cyber-form {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-brutal);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.prompt-sym {
  color: var(--accent-cyan);
}

.cyber-form input, .cyber-form textarea {
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cyber-form input:focus, .cyber-form textarea:focus {
  border-color: var(--border-dark);
  box-shadow: 0 0 0 2px rgba(13, 19, 31, 0.1);
}

.submit-btn {
  width: 100%;
  margin-top: 6px;
}

/* Site Footer */
.site-footer {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1.5px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   COMMAND PALETTE & MODALS
   ========================================================================== */
.cmd-palette-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-dark);
  padding: 8px 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-brutal);
  z-index: 99;
  transition: all var(--transition-fast);
  font-weight: 700;
}

.cmd-palette-btn:hover {
  background: var(--accent-electric);
  transform: translateY(-2px);
}

.cmd-palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 19, 31, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  z-index: 1000;
}

.cmd-palette-backdrop.active {
  display: flex;
}

.cmd-palette-modal {
  width: 90%;
  max-width: 580px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-brutal-lg);
  overflow: hidden;
  animation: modal-enter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cmd-input-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.cmd-input-bar i {
  color: var(--text-primary);
}

.cmd-input-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-primary);
}

.cmd-esc-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.cmd-results {
  max-height: 340px;
  overflow-y: auto;
  padding: 10px;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cmd-item:hover, .cmd-item.selected {
  background: var(--text-primary);
  color: var(--accent-electric);
}

.cmd-item-icon {
  width: 20px;
  text-align: center;
}

.cmd-item-title {
  flex: 1;
  font-weight: 600;
}

.cmd-item-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.cmd-item:hover .cmd-item-tag, .cmd-item.selected .cmd-item-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #FAF8F2;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
  pointer-events: none;
}

.toast {
  padding: 10px 20px;
  background: var(--text-primary);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #FAF8F2;
  box-shadow: var(--shadow-brutal);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toast-in 0.3s ease forwards;
}

.toast i {
  color: var(--accent-electric);
}

@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   MOBILE HEADER & RESPONSIVENESS
   ========================================================================== */
.mobile-nav-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-sidebar);
  border-bottom: 1.5px solid var(--border-subtle);
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-monogram {
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-electric);
}

.brand-name-sm {
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-sub-sm {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  width: 34px;
  height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Media Queries */
@media (max-width: 1024px) {
  .app-layout {
    flex-direction: column;
  }

  .mobile-nav-bar {
    display: flex;
  }

  .sidebar-hud {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 300px;
    height: calc(100vh - 60px);
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-lg);
  }

  .sidebar-hud.mobile-open {
    left: 0;
  }

  .main-content {
    padding: 80px 24px 64px 24px;
    max-width: 100%;
  }

  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cmd-palette-btn {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 640px) {
  .hero-typography .glitch-title {
    font-size: 2.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quick-facts-row {
    grid-template-columns: 1fr;
  }

  .title-with-filters, .title-with-search {
    flex-direction: column;
    align-items: stretch;
  }

  .skill-search-box {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
