/* ==========================================================================
   ZELDA AILINE LUCONI — NEO-BRUTALIST PERSONAL PORTFOLIO & AI ARCHITECTURE HUB
   Design System & Stylesheet (Vanilla CSS)
   ========================================================================== */

:root {
  /* Core Palette - Warm Paper Light Mode */
  --bg-primary: #FFFDF7;
  --bg-secondary: #F4EFE6;
  --bg-card: #FFFFFF;
  --bg-elevated: #FFF9E6;
  --bg-code: #141418;

  /* Ink & Borders */
  --ink: #111115;
  --ink-muted: #4A4A52;
  --ink-light: #71717A;
  --border-color: #111115;

  /* Neo-Brutalist Pop Accents */
  --pop-yellow: #FFD100;
  --pop-coral: #FF5C35;
  --pop-mint: #00E599;
  --pop-lime: #B8F332;
  --pop-blue: #4F6BFF;
  --pop-purple: #9B5DE5;
  --pop-pink: #FF6B9D;
  --pop-cyan: #00D2FF;

  /* Text on Pop Accents (always high contrast ink) */
  --on-pop: #111115;
  --on-dark-pop: #FFFFFF;

  /* Borders & Hard Offset Shadows */
  --border-width: 3px;
  --border-thin: 2px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 4px 4px 0px var(--border-color);
  --shadow-md: 6px 6px 0px var(--border-color);
  --shadow-lg: 10px 10px 0px var(--border-color);
  --shadow-hover: 9px 9px 0px var(--border-color);
  --shadow-active: 2px 2px 0px var(--border-color);

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

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-snappy: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Dark Neo-Brutalist Mode */
[data-theme="dark"] {
  --bg-primary: #111116;
  --bg-secondary: #1A1A22;
  --bg-card: #1E1E28;
  --bg-elevated: #262633;
  --bg-code: #0B0B0E;

  --ink: #F8F8F2;
  --ink-muted: #B8B8C8;
  --ink-light: #8A8A9E;
  --border-color: #F8F8F2;

  --shadow-sm: 4px 4px 0px #000000;
  --shadow-md: 6px 6px 0px #000000;
  --shadow-lg: 10px 10px 0px #000000;
  --shadow-hover: 9px 9px 0px var(--pop-yellow);
  --shadow-active: 2px 2px 0px #000000;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  /* Architectural dot grid pattern */
  background-image: radial-gradient(var(--ink-light) 1.25px, transparent 1.25px);
  background-size: 28px 28px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img, svg, iframe, canvas, video {
  max-width: 100%;
}

img {
  display: block;
}

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

::selection {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

/* ==========================================================================
   UTILITIES & NEO-BRUTALIST PRIMITIVES
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.brutal-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--transition-bounce), box-shadow 0.2s var(--transition-bounce);
}

.brutal-card.interactive:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.brutal-card.interactive:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-active);
}

.brutal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: var(--bg-card);
  color: var(--ink);
  transition: transform 0.15s var(--transition-bounce), box-shadow 0.15s var(--transition-bounce), background-color 0.15s ease;
  user-select: none;
  white-space: nowrap;
}

.brutal-btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-md);
}

.brutal-btn:active {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-active);
}

.brutal-btn--yellow {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

.brutal-btn--coral {
  background: var(--pop-coral);
  color: #FFFFFF;
}

.brutal-btn--mint {
  background: var(--pop-mint);
  color: var(--on-pop);
}

.brutal-btn--blue {
  background: var(--pop-blue);
  color: #FFFFFF;
}

.brutal-btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  box-shadow: 3px 3px 0px var(--border-color);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-pill);
  background: var(--bg-secondary);
  color: var(--ink);
  box-shadow: 2px 2px 0px var(--border-color);
  max-width: 100%;
}

.badge--yellow { background: var(--pop-yellow); color: var(--on-pop); }
.badge--mint   { background: var(--pop-mint);   color: var(--on-pop); }
.badge--coral  { background: var(--pop-coral);  color: #FFFFFF; }
.badge--blue   { background: var(--pop-blue);   color: #FFFFFF; }
.badge--purple { background: var(--pop-purple); color: #FFFFFF; }
.badge--pink   { background: var(--pop-pink);   color: var(--on-pop); }
.badge--lime   { background: var(--pop-lime);   color: var(--on-pop); }

/* Section Headers */
.section {
  padding: 88px 0;
  position: relative;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  background: var(--pop-yellow);
  color: var(--on-pop);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0px var(--border-color);
  margin-bottom: 14px;
  transform: rotate(-1deg);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 600px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT MARQUEE
   ========================================================================== */
.marquee-bar {
  background: var(--ink);
  color: var(--bg-primary);
  border-bottom: var(--border-width) solid var(--border-color);
  padding: 8px 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

[data-theme="dark"] .marquee-bar {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}

.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  white-space: nowrap;
}

.marquee-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--pop-mint);
  border-radius: 50%;
}

[data-theme="dark"] .marquee-dot {
  background: var(--pop-coral);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   STICKY NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 0 24px;
  margin-top: 14px;
}

.nav-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 68px;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  min-width: 0;
}

.brand-logo > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-logo > div > span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-monogram {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--pop-yellow);
  color: var(--on-pop);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0px var(--border-color);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.2s var(--transition-bounce);
}

.brand-logo:hover .brand-monogram {
  transform: rotate(-8deg) scale(1.06);
}

.brand-handle {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: block;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  background: var(--pop-yellow);
  color: var(--on-pop);
  border-color: var(--border-color);
  box-shadow: 2px 2px 0px var(--border-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  box-shadow: 3px 3px 0px var(--border-color);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: transform 0.15s var(--transition-bounce);
}

.theme-toggle:hover {
  transform: translate(-2px, -2px) rotate(8deg);
  background: var(--pop-lime);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--pop-yellow);
  color: var(--on-pop);
  box-shadow: 3px 3px 0px var(--border-color);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 64px 0 72px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.hero-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0px var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pop-mint);
  border: 1.5px solid var(--border-color);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(0, 229, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-highlight {
  display: inline-block;
  background: var(--pop-yellow);
  color: var(--on-pop);
  padding: 0 12px;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0px var(--border-color);
  transform: rotate(-1.5deg);
}

.hero-highlight--mint {
  background: var(--pop-mint);
  transform: rotate(1deg);
}

.hero-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink-muted);
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.branding-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  max-width: 620px;
}

.branding-card {
  background: var(--bg-elevated);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.branding-card:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--border-color);
}

.branding-card--why {
  border-left: 6px solid var(--pop-purple);
}

.branding-card--how {
  border-left: 6px solid var(--pop-blue);
}

.branding-card--what {
  border-left: 6px solid var(--pop-mint);
}

.branding-card--coral {
  border-left: 6px solid var(--pop-coral);
}

.branding-card .badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  padding: 3px 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.branding-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
}

@media (max-width: 640px) {
  .branding-card {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

.hero-quote-box {
  background: var(--bg-elevated);
  border: var(--border-thin) solid var(--border-color);
  border-left: 8px solid var(--pop-coral);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Interactive Draggable / Clickable Stickers */
.sticker-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  max-width: 100%;
  overflow: hidden;
  padding: 4px;
}

.sticker-tray-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-right: 4px;
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0px var(--border-color);
  max-width: 100%;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s var(--transition-bounce);
}

.sticker:nth-child(even) { transform: rotate(2deg); }
.sticker:nth-child(odd) { transform: rotate(-2deg); }

.sticker:hover {
  transform: scale(1.1) rotate(0deg) !important;
  z-index: 5;
}

.sticker.popped {
  animation: sticker-pop 0.45s var(--transition-bounce);
}

@keyframes sticker-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.28) rotate(-8deg); }
  75% { transform: scale(0.94) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Hero Profile Card (Right Column) */
.hero-visual {
  position: relative;
}

.profile-dossier {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.dossier-topbar {
  background: var(--pop-purple);
  color: #FFFFFF;
  border-bottom: var(--border-width) solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.window-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}
.window-dot--red { background: var(--pop-coral); }
.window-dot--yellow { background: var(--pop-yellow); }
.window-dot--green { background: var(--pop-mint); }

.dossier-body {
  padding: 24px;
}

.avatar-frame {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-md);
  background: var(--pop-yellow);
}

.avatar-sticker {
  position: absolute;
  bottom: -10px;
  right: -14px;
  background: var(--pop-lime);
  color: var(--on-pop);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 3px 3px 0px var(--border-color);
  transform: rotate(-6deg);
}

.dossier-identity {
  text-align: center;
  margin-bottom: 20px;
}

.dossier-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.dossier-role {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.dossier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.stat-box {
  background: var(--bg-secondary);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  box-shadow: 2px 2px 0px var(--border-color);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  display: block;
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.dossier-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dossier-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: 3px 3px 0px var(--border-color);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.dossier-link:hover {
  transform: translate(-2px, -2px);
  background: var(--pop-yellow);
  color: var(--on-pop);
}

/* ==========================================================================
   SPOTLIGHT TRIO: MEDIUM SERIES + GITHUB REPO + YOUTUBE TALK
   (Direct from Zelda's Featured LinkedIn Post)
   ========================================================================== */
.spotlight-banner {
  margin-top: -16px;
  margin-bottom: 32px;
}

.spotlight-container {
  background: var(--pop-yellow);
  color: var(--on-pop);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.spotlight-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #111115;
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
}

.spotlight-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trio-card {
  background: var(--bg-card);
  color: var(--ink);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0px #111115;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s var(--transition-bounce);
}

.trio-card:hover {
  transform: translate(-4px, -4px);
}

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

.trio-icon {
  width: 46px;
  height: 46px;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0px var(--border-color);
}

.trio-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.trio-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   INTERACTIVE DIGITAL ASSEMBLY LINE SIMULATOR (SOSTA APP DAG)
   ========================================================================== */
.assembly-simulator {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sim-topbar {
  background: var(--ink);
  color: #FFFFFF;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: var(--border-width) solid var(--border-color);
}

.sim-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
}

.sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-bottom: var(--border-width) solid var(--border-color);
  align-items: center;
}

.sim-Scenario-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  margin-right: 6px;
}

.scenario-btn {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--ink);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0px var(--border-color);
  cursor: pointer;
  transition: all 0.15s ease;
}

.scenario-btn:hover, .scenario-btn.active {
  background: var(--pop-mint);
  color: var(--on-pop);
  transform: translate(-2px, -2px);
}

.sim-stage {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: stretch;
}

.pipeline-nodes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: stretch;
}

.pipeline-node {
  background: var(--bg-secondary);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.25s var(--transition-bounce);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.pipeline-node:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.pipeline-node.active-step {
  background: var(--pop-yellow);
  color: var(--on-pop);
  border-width: var(--border-width);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px) scale(1.02);
}

.pipeline-node.completed-step {
  background: var(--bg-elevated);
  border-color: var(--pop-mint);
  box-shadow: 3px 3px 0px var(--pop-mint);
}

.node-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.node-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
}

.node-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.85;
}

.sim-inspector {
  background: var(--bg-code);
  color: #F8F8F2;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #333342;
  color: var(--pop-yellow);
  font-weight: 700;
}

.inspector-code {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  color: #A6E22E;
  flex: 1;
}

.inspector-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #333342;
  font-size: 0.74rem;
  color: #9CA3AF;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   FEATURED PROJECTS & BLUEPRINTS BENTO GRID
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.project-card {
  grid-column: span 6;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.project-card--featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  background: var(--bg-elevated);
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.project-desc {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

/* Branch Explorer Table inside Featured Project */
.branch-explorer {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.branch-explorer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 270px;
  overflow-y: auto;
  padding-right: 4px;
}

.branch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  transition: background-color 0.15s ease;
}

.branch-item:hover {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

.copy-branch-btn {
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--ink);
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.copy-branch-btn:hover {
  background: var(--pop-mint);
  color: var(--on-pop);
}

/* ==========================================================================
   CURATED MEDIUM ARTICLES & PUBLICATIONS
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-card);
  color: var(--ink);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0px var(--border-color);
  cursor: pointer;
  transition: all 0.15s var(--transition-bounce);
}

.filter-tab:hover {
  transform: translate(-2px, -2px);
}

.filter-tab.active {
  background: var(--pop-coral);
  color: #FFFFFF;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px var(--border-color);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.article-card[hidden] {
  display: none !important;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 8px;
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 2px dashed var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.read-more-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--pop-yellow);
  color: var(--on-pop);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease;
}

.article-card:hover .read-more-arrow {
  transform: translateX(4px);
  background: var(--pop-mint);
}

/* ==========================================================================
   SPEAKING, CONFERENCES & CAREER TIMELINE
   ========================================================================== */
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.timeline-column h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 24px;
  border-left: 4px solid var(--border-color);
}

.timeline-item {
  padding: 22px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 24px;
  width: 18px;
  height: 18px;
  background: var(--pop-yellow);
  border: 3px solid var(--border-color);
  border-radius: 50%;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
  display: block;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.timeline-org {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--pop-blue);
  margin-bottom: 10px;
}

[data-theme="dark"] .timeline-org {
  color: var(--pop-cyan);
}

/* ==========================================================================
   SKILLS & TECH ARCHITECTURE MATRIX
   ========================================================================== */
.skills-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skill-box {
  padding: 24px;
}

.skill-box-icon {
  width: 48px;
  height: 48px;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0px var(--border-color);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.skill-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   GITHUB PAGES DEPLOYMENT GUIDE MODAL / DRAWER & FOOTER
   ========================================================================== */
.contact-banner {
  background: var(--pop-mint);
  color: var(--on-pop);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-banner > div {
  min-width: 0;
  max-width: 100%;
}

.contact-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

.contact-banner p {
  font-size: 1.08rem;
  max-width: 540px;
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.site-footer {
  padding: 48px 0 64px;
  border-top: var(--border-width) solid var(--border-color);
  background: var(--bg-secondary);
  margin-top: 64px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--pop-yellow);
  color: var(--on-pop);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.25s var(--transition-bounce), opacity 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   WORLD CITIZEN CARTOON ATLAS (SVG MAP & PASSPORT STAMPS)
   ========================================================================== */
.world-atlas-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.atlas-topbar {
  background: var(--ink);
  color: #FFFFFF;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: var(--border-width) solid var(--border-color);
}

.atlas-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
}

.atlas-view-switch {
  display: inline-flex;
  gap: 8px;
}

.atlas-view-btn {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  border: 2px solid #FFFFFF;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.15s ease;
}

.atlas-view-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.atlas-view-btn.active {
  background: var(--pop-yellow);
  color: var(--on-pop);
  border-color: var(--pop-yellow);
  box-shadow: 2px 2px 0px #000000;
}

.atlas-controls {
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: var(--border-width) solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.atlas-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atlas-filter-btn {
  padding: 7px 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--ink);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 3px 3px 0px var(--border-color);
  cursor: pointer;
  transition: all 0.15s var(--transition-bounce);
}

.atlas-filter-btn:hover {
  transform: translate(-2px, -2px);
}

.atlas-filter-btn.active {
  background: var(--pop-yellow);
  color: var(--on-pop);
  transform: translate(-2px, -2px);
}

.atlas-filter-btn--lived.active {
  background: var(--pop-mint);
  color: var(--on-pop);
}

.atlas-filter-btn--traveled.active {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

.atlas-filter-btn--wishlist.active {
  background: var(--pop-purple);
  color: #FFFFFF;
}

.atlas-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: inline-block;
}

.legend-dot--lived {
  background: var(--pop-mint);
}

.legend-dot--traveled {
  background: var(--pop-yellow);
}

.legend-dot--wishlist {
  background: var(--pop-purple);
}

/* Cartoon SVG Map Stage */
.atlas-map-stage {
  position: relative;
  width: 100%;
  background: #DDF3FF;
  border-bottom: var(--border-width) solid var(--border-color);
  overflow: hidden;
}

[data-theme="dark"] .atlas-map-stage {
  background: #132232;
}

.cartoon-map-svg {
  display: none;
  width: 100%;
  height: auto;
  color: #111115;
  user-select: none;
}

.cartoon-map-svg.active {
  display: block;
}

.map-ocean {
  fill: #DDF3FF;
  transition: fill 0.25s ease;
}

[data-theme="dark"] .map-ocean {
  fill: #132232;
}

.map-equator {
  stroke: var(--pop-coral);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  opacity: 0.55;
}

.map-grid-line {
  stroke: #111115;
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  opacity: 0.16;
}

[data-theme="dark"] .map-grid-line {
  stroke: #F8F8F2;
  opacity: 0.15;
}

.map-wave {
  fill: none;
  stroke: #5AB2E6;
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.65;
}

.map-ocean-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  fill: #3B7CA5;
  opacity: 0.65;
}

[data-theme="dark"] .map-ocean-label {
  fill: #7BB8E0;
}

/* Cartoon Continents */
.continent {
  stroke: #111115;
  stroke-width: 3.5;
  stroke-linejoin: round;
  filter: drop-shadow(4px 4px 0px rgba(17, 17, 21, 0.85));
  transition: opacity 0.2s ease;
}

.continent--americas {
  fill: #FFE49E;
}

.continent--south-america {
  fill: #C7F5B6;
}

.continent--europe {
  fill: #FFF4CC;
}

.continent--africa {
  fill: #FFD2B8;
}

.continent--asia {
  fill: #E5D4FF;
}

.continent--oceania {
  fill: #B8F2E6;
}

.continent--island {
  fill: #FFE9A8;
}

[data-theme="dark"] .continent--americas { fill: #4E4326; stroke: #F8F8F2; }
[data-theme="dark"] .continent--south-america { fill: #264835; stroke: #F8F8F2; }
[data-theme="dark"] .continent--europe { fill: #3E3954; stroke: #F8F8F2; }
[data-theme="dark"] .continent--africa { fill: #4C332B; stroke: #F8F8F2; }
[data-theme="dark"] .continent--asia { fill: #352B4D; stroke: #F8F8F2; }
[data-theme="dark"] .continent--oceania { fill: #244549; stroke: #F8F8F2; }
[data-theme="dark"] .continent--island { fill: #4A3E28; stroke: #F8F8F2; }

/* Flight trajectories */
.flight-line {
  fill: none;
  stroke-width: 2.2;
  stroke-dasharray: 5 5;
  opacity: 0.65;
}

.flight-line--traveled {
  stroke: #111115;
}

[data-theme="dark"] .flight-line--traveled {
  stroke: var(--pop-yellow);
}

.flight-line--wishlist {
  stroke: var(--pop-purple);
}

.compass-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  fill: var(--ink);
}

.europe-cluster-box {
  fill: rgba(255, 209, 0, 0.14);
  stroke: var(--pop-coral);
  stroke-width: 2.5;
  stroke-dasharray: 6 4;
  cursor: pointer;
  transition: fill 0.2s ease;
}

.europe-zoom-Trigger-group:hover .europe-cluster-box {
  fill: rgba(255, 209, 0, 0.32);
}

.europe-cluster-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  fill: var(--ink);
  cursor: pointer;
}


/* Cartoon Map Pins */
.map-pin-group {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s var(--transition-bounce);
}

.map-pin-group[data-hidden="true"] {
  opacity: 0.12;
  pointer-events: none;
}

.map-pin-circle {
  stroke: #111115;
  stroke-width: 2.5;
  transition: r 0.2s var(--transition-bounce), transform 0.2s var(--transition-bounce);
}

.map-pin-group--lived .map-pin-circle {
  fill: var(--pop-mint);
}

.map-pin-group--traveled .map-pin-circle {
  fill: var(--pop-yellow);
}

.map-pin-group--wishlist .map-pin-circle {
  fill: var(--pop-purple);
}

.map-pin-label-bg {
  fill: #FFFFFF;
  stroke: #111115;
  stroke-width: 2;
  rx: 5px;
  filter: drop-shadow(2px 2px 0px #111115);
  transition: fill 0.15s ease;
}

.map-pin-label-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  fill: #111115;
  pointer-events: none;
}

.map-pin-group:hover .map-pin-label-bg,
.map-pin-group.selected .map-pin-label-bg {
  fill: var(--pop-yellow);
}

.map-pin-group.selected .map-pin-circle {
  stroke-width: 3.5;
  r: 10px;
}

/* Active Pin Inspector Bar */
.atlas-inspector {
  background: var(--bg-elevated);
  border-bottom: var(--border-width) solid var(--border-color);
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.atlas-inspector-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--pop-mint);
  color: var(--on-pop);
  box-shadow: 2px 2px 0px var(--border-color);
  white-space: nowrap;
}

.atlas-inspector-main {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.atlas-inspector-main strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
}

.atlas-inspector-main span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Categorized Passport Stamps Grid */
.passport-stamps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
}

.passport-column {
  background: var(--bg-secondary);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.passport-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px dashed var(--border-color);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
}

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

.stamp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--ink);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0px var(--border-color);
  cursor: pointer;
  transition: transform 0.15s var(--transition-bounce), background-color 0.15s ease;
}

.stamp-pill:hover {
  transform: translate(-2px, -2px) rotate(-1deg);
}

.stamp-pill--lived.active,
.stamp-pill--lived:hover {
  background: var(--pop-mint);
  color: var(--on-pop);
}

.stamp-pill--traveled.active,
.stamp-pill--traveled:hover {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

.stamp-pill--wishlist.active,
.stamp-pill--wishlist:hover {
  background: var(--pop-purple);
  color: #FFFFFF;
}

/* ==========================================================================
   HUMAN LANGUAGES / POLYGLOT PANEL
   ========================================================================== */
.languages-panel {
  border-top: var(--border-width) solid var(--border-color);
  background: var(--bg-elevated);
  padding: 24px;
}

.languages-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.languages-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
}

.languages-hint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lang-tier-card {
  background: var(--bg-card);
  border: var(--border-thin) solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lang-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lang-battery {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.lang-tier-sub {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.lang-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.lang-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 2px 2px 0px var(--border-color);
  cursor: pointer;
  transition: transform 0.15s var(--transition-bounce), background-color 0.15s ease;
}

.lang-chip:hover {
  transform: translate(-2px, -2px);
}

.lang-chip:active {
  transform: translate(1px, 1px);
}

.lang-chip--fluent:hover {
  background: var(--pop-mint);
  color: var(--on-pop);
}

.lang-chip--rusty:hover {
  background: var(--pop-yellow);
  color: var(--on-pop);
}

.lang-chip--micro:hover {
  background: var(--pop-purple);
  color: #FFFFFF;
}

.lang-chip--micro:hover .lang-info span {
  color: rgba(255, 255, 255, 0.88);
}

.lang-flag {
  font-size: 1.45rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lang-info strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.15;
}

.lang-info span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 24px;
    right: 24px;
    background: var(--bg-card);
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 16px;
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .project-card--featured,
  .sim-stage,
  .experience-layout,
  .passport-stamps-grid,
  .languages-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-trio-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline-nodes {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .badge {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.35;
  }

  .hero-status-bar {
    gap: 8px;
  }

  .status-pill {
    font-size: 0.76rem;
    padding: 5px 11px;
    line-height: 1.3;
  }

  .branding-stack {
    width: 100%;
  }

  .branding-card {
    padding: 10px 14px;
    gap: 10px;
  }

  .hero-grid {
    gap: 28px;
    width: 100%;
    overflow: hidden;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .profile-dossier {
    max-width: 100%;
  }

  .dossier-topbar {
    font-size: 0.74rem;
    padding: 10px 14px;
  }

  .timeline-single-column {
    width: 100%;
    max-width: 100% !important;
  }

  .timeline-item {
    padding: 18px 14px;
  }

  .site-header {
    padding: 0 12px;
    top: 8px;
  }

  .nav-bar {
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }

  .nav-links {
    top: 68px;
    left: 12px;
    right: 12px;
  }

  .brand-logo {
    gap: 8px;
    font-size: 0.98rem;
  }

  .brand-monogram {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
    box-shadow: 2px 2px 0px var(--border-color);
  }

  .brand-handle {
    font-size: 0.68rem;
  }

  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .theme-toggle,
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    box-shadow: 2px 2px 0px var(--border-color);
  }

  #nav-connect-btn {
    padding: 6px 10px;
    font-size: 0.76rem;
    box-shadow: 2px 2px 0px var(--border-color);
  }

  .atlas-topbar,
  .atlas-controls,
  .atlas-inspector,
  .passport-stamps-grid,
  .languages-panel {
    padding: 14px;
  }

  .spotlight-trio-grid,
  .articles-grid,
  .skills-bento,
  .pipeline-nodes {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-column: span 12;
  }

  .contact-banner {
    padding: 24px 16px;
    gap: 20px;
  }

  .contact-banner .badge {
    white-space: normal;
    line-height: 1.35;
  }

  .contact-actions {
    flex-direction: column;
    gap: 10px;
  }

  .contact-actions .brutal-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 11px 14px;
    font-size: 0.88rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  :root {
    --shadow-lg: 5px 5px 0px #000000;
    --shadow-md: 3px 3px 0px #000000;
    --shadow-sm: 2px 2px 0px #000000;
  }

  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-highlight {
    padding: 0 8px;
    box-shadow: 2px 2px 0px var(--border-color);
  }

  .dossier-body {
    padding: 16px 12px;
  }

  .stat-box {
    padding: 8px 4px;
    min-width: 0;
  }

  .stat-num {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .dossier-links {
    gap: 8px;
  }

  .dossier-link {
    font-size: 0.74rem;
    padding: 7px 10px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .brand-logo {
    font-size: 0.88rem;
    gap: 7px;
  }

  .brand-monogram {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .brand-handle {
    font-size: 0.62rem;
  }

  #nav-connect-btn {
    display: none;
  }
}
