/* === NATIONBUILDER EXPERT: DARK TERMINAL AESTHETIC === */
/* Matches home.css, work.css, building.css, connect.css design language */

body.work-nationbuilder {
  --nb-accent: var(--green);
  --nb-bg: #0a0a0a;
  --nb-surface: #111111;
  --nb-text: #e8e8e8;
  --nb-muted: #888888;
  --nb-dim: #333333;
  font-family: var(--font-mono);
  background: var(--nb-bg);
  color: var(--nb-text);
}

/* Override base colors for dark mode */
body.work-nationbuilder main {
  background: var(--nb-bg);
}

body.work-nationbuilder .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

/* Scanline overlay */
body.work-nationbuilder::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1000;
}

/* Noise texture */
body.work-nationbuilder::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 999;
}

/* === ANIMATIONS === */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes barFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* === DASHBOARD LAYOUT - TERMINAL HERO === */
.nb-dashboard {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  margin: 0 calc(-1 * var(--spacing-lg, 1.5rem));
  min-height: 450px;
  border-bottom: 1px solid var(--nb-dim);
}

/* === SIDEBAR - CREDENTIAL PANEL === */
.dashboard-sidebar {
  background: var(--nb-surface);
  border-right: 1px solid var(--nb-dim);
  padding: clamp(4rem, 12vw, 8rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

/* Green accent line on left */
.dashboard-sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--nb-accent);
}

/* === CREDENTIAL CARD === */
.credential-card {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--nb-dim);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 0.3s;
}

.credential-badge {
  width: 72px;
  height: 72px;
  background: var(--nb-bg);
  border: 1px solid var(--nb-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.badge-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Full color per NationBuilder brand guidelines */
}

.credential-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--nb-accent);
  margin-bottom: 4px;
}

.credential-label::before {
  content: '// ';
  color: var(--nb-muted);
}

.credential-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nb-text);
}

.credential-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.cred-stat {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.cred-stat:nth-child(1) { animation-delay: 0.4s; }
.cred-stat:nth-child(2) { animation-delay: 0.5s; }
.cred-stat:nth-child(3) { animation-delay: 0.6s; }

.cred-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nb-text);
  line-height: 1;
}

.cred-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nb-muted);
}

/* === EXPERTISE LEVELS === */
.expertise-levels h3 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--nb-muted);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 0.5s;
}

.expertise-levels h3::before {
  content: '> ';
  color: var(--nb-accent);
}

.level-item {
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

.level-item:nth-of-type(1) { animation-delay: 0.6s; }
.level-item:nth-of-type(2) { animation-delay: 0.7s; }
.level-item:nth-of-type(3) { animation-delay: 0.8s; }
.level-item:nth-of-type(4) { animation-delay: 0.9s; }
.level-item:nth-of-type(5) { animation-delay: 1.0s; }

.level-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nb-muted);
  margin-bottom: 4px;
}

.level-bar {
  height: 3px;
  background: var(--nb-dim);
  overflow: hidden;
}

.level-fill {
  height: 100%;
  background: var(--nb-accent);
  transform-origin: left;
  transform: scaleX(0);
  animation: barFill 0.8s ease-out forwards;
}

.level-item:nth-of-type(1) .level-fill { animation-delay: 0.8s; }
.level-item:nth-of-type(2) .level-fill { animation-delay: 0.9s; }
.level-item:nth-of-type(3) .level-fill { animation-delay: 1.0s; }
.level-item:nth-of-type(4) .level-fill { animation-delay: 1.1s; }
.level-item:nth-of-type(5) .level-fill { animation-delay: 1.2s; }

/* === DASHBOARD MAIN - HERO CONTENT === */
.dashboard-main {
  padding: clamp(4rem, 12vw, 8rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-header {
  max-width: 600px;
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.header-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--nb-muted);
  margin-bottom: 1.5rem;
}

.header-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nb-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--nb-accent);
}

.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--nb-text);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.header-intro {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--nb-muted);
  margin: 0;
}

.header-intro::before {
  content: '> ';
  color: var(--nb-accent);
  font-family: var(--font-mono);
}

/* === JOURNEY SECTION - LOG STYLE TIMELINE === */
.journey-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--nb-surface);
  margin: 0 calc(-1 * var(--spacing-lg, 1.5rem));
  padding-left: var(--spacing-lg, 1.5rem);
  padding-right: var(--spacing-lg, 1.5rem);
  border-bottom: 1px solid var(--nb-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.journey-header {
  margin-bottom: 2rem;
  max-width: 600px;
}

.journey-header h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.journey-header h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nb-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--nb-accent);
}

.journey-header p {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--nb-muted);
  line-height: 1.6;
  margin: 0;
}

.journey-path {
  max-width: 700px;
  position: relative;
  border: 1px solid var(--nb-dim);
  background: var(--nb-bg);
}

.journey-node {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.25rem 2rem;
  border-bottom: 1px solid var(--nb-dim);
  position: relative;
  transition: background 0.15s ease;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

/* Left accent on hover */
.journey-node::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.journey-node:last-child {
  border-bottom: none;
}

.journey-node.origin { animation-delay: 0.5s; }
.journey-node.insider { animation-delay: 0.6s; }
.journey-node.growth { animation-delay: 0.7s; }
.journey-node.present { animation-delay: 0.8s; }

.journey-node:hover {
  background: rgba(255, 255, 255, 0.02);
}

.journey-node:hover::before {
  background: var(--nb-accent);
}

.node-marker {
  width: 12px;
  height: 12px;
  background: var(--nb-bg);
  border: 2px solid var(--nb-accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  transition: all 0.15s ease;
}

.journey-node:hover .node-marker {
  background: var(--nb-accent);
  transform: scale(1.2);
}

.journey-node.present .node-marker {
  background: var(--nb-accent);
  box-shadow: 0 0 8px var(--nb-accent);
}

.node-content {
  flex: 1;
}

.node-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.node-content h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nb-text);
  margin: 4px 0 0.5rem;
}

.node-content p {
  font-size: 0.85rem;
  color: var(--nb-muted);
  line-height: 1.6;
  margin: 0;
}

.journey-connector {
  display: none;
}

/* === CAPABILITIES SECTION - TERMINAL CARDS === */
.capabilities-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-bottom: 1px solid var(--nb-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

.capabilities-section h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.capabilities-section h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nb-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--nb-accent);
}

.capability-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--nb-dim);
  background: var(--nb-surface);
}

.capability-card {
  padding: 1.5rem;
  border-right: 1px solid var(--nb-dim);
  border-bottom: 1px solid var(--nb-dim);
  position: relative;
  transition: background 0.15s ease;
}

.capability-card:nth-child(2n) {
  border-right: none;
}

.capability-card:nth-last-child(-n+2) {
  border-bottom: none;
}

.capability-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.capability-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.capability-card:hover::before {
  background: var(--nb-accent);
}

.cap-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nb-muted);
  margin-bottom: 1rem;
  transition: color 0.15s ease;
}

.capability-card:hover .cap-icon {
  color: var(--nb-accent);
}

.capability-card h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nb-text);
  margin-bottom: 0.5rem;
}

.capability-card > p {
  font-size: 0.85rem;
  color: var(--nb-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cap-details {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nb-dim);
  padding-top: 0.75rem;
}

.cap-details li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nb-muted);
  padding: 4px 0;
  padding-left: 1.25rem;
  position: relative;
}

.cap-details li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--nb-accent);
}

/* === EXPERIENCE SECTION - LOG ENTRIES === */
.experience-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.experience-header {
  margin-bottom: 1.5rem;
}

.experience-header h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.experience-header h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nb-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--nb-accent);
}

.experience-header p {
  font-size: 0.9rem;
  color: var(--nb-muted);
}

/* Experience Legend/Filters */
.experience-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--nb-surface);
  border: 1px solid var(--nb-dim);
  margin-bottom: 1.5rem;
}

.exp-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nb-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.exp-legend-item:hover {
  color: var(--nb-text);
}

.exp-legend-item:hover .exp-legend-marker {
  border-color: var(--nb-text);
}

.exp-legend-item:active .exp-legend-marker {
  background: var(--nb-accent);
  border-color: var(--nb-accent);
}

.exp-legend-item.active {
  color: var(--nb-accent);
  font-weight: 600;
}

.exp-legend-item.active .exp-legend-marker {
  background: var(--nb-accent);
  border-color: var(--nb-accent);
}

.exp-legend-marker {
  width: 10px;
  height: 10px;
  border: 1px solid var(--nb-dim);
  background: var(--nb-bg);
  transition: all 0.15s ease;
}

/* Marker colors only show on active state, not by default */

.exp-legend-item[data-filter="architects"]:hover,
.exp-legend-item[data-filter="architects"].active,
.exp-legend-item[data-filter="developers"]:hover,
.exp-legend-item[data-filter="developers"].active,
.exp-legend-item[data-filter="experts"]:hover,
.exp-legend-item[data-filter="experts"].active,
.exp-legend-item[data-filter="solutions"]:hover,
.exp-legend-item[data-filter="solutions"].active,
.exp-legend-item[data-filter="alliance"]:hover,
.exp-legend-item[data-filter="alliance"].active {
  color: var(--nb-accent);
}

/* Experience Grid */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0;
  border: 1px solid var(--nb-dim);
  background: var(--nb-surface);
}

.exp-card {
  padding: 1.25rem;
  border-right: 1px solid var(--nb-dim);
  border-bottom: 1px solid var(--nb-dim);
  position: relative;
  transition: background 0.15s ease;
}

.exp-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.exp-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.exp-card:hover::before {
  background: var(--nb-accent);
}

.exp-card.victory::before {
  background: var(--nb-accent);
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.exp-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--nb-muted);
  white-space: nowrap;
  text-transform: lowercase;
}

.exp-tag::before {
  content: '#';
  color: var(--nb-muted);
}

.exp-tag.architects,
.exp-tag.experts {
  color: var(--nb-accent);
}

.exp-tag.architects::before,
.exp-tag.experts::before {
  color: rgba(4, 113, 1, 0.5);
}

.exp-tag.developers,
.exp-tag.solutions,
.exp-tag.alliance {
  color: var(--nb-muted);
}

.exp-tag.award-winner {
  color: var(--nb-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.exp-tag.award-winner svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.exp-won {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--nb-accent);
  background: rgba(4, 113, 1, 0.15);
  border: 1px solid var(--nb-accent);
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

.exp-years {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--nb-muted);
  flex-shrink: 0;
}

.exp-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--nb-text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.exp-detail {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nb-muted);
}

/* Show More Button */
.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  margin: 1.5rem auto;
  padding: 0.875rem 2rem;
  background: transparent;
  border: 1px solid var(--nb-dim);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--nb-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.show-more-btn:hover {
  border-color: var(--nb-accent);
  color: var(--nb-accent);
  background: rgba(4, 113, 1, 0.05);
}

.show-more-count {
  display: none;
}

.experience-footnote {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--nb-muted);
  text-align: center;
  margin-top: 1rem;
}

.experience-footnote::before {
  content: '// ';
  color: var(--nb-muted);
}

/* === SERVICES SECTION - NUMBERED TERMINAL MODULES === */
.services-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--nb-surface);
  margin: 0 calc(-1 * var(--spacing-lg, 1.5rem));
  padding-left: var(--spacing-lg, 1.5rem);
  padding-right: var(--spacing-lg, 1.5rem);
  border-bottom: 1px solid var(--nb-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.7s;
}

.services-header {
  margin-bottom: 1.5rem;
}

.services-header h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-header h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nb-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--nb-accent);
}

.services-header p {
  font-size: 0.9rem;
  color: var(--nb-muted);
}

.service-modules {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--nb-dim);
  background: var(--nb-bg);
}

.service-module {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--nb-dim);
  transition: all 0.15s ease;
  position: relative;
}

.service-module:last-child {
  border-bottom: none;
}

.service-module::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.service-module:hover {
  background: rgba(255, 255, 255, 0.02);
}

.service-module:hover::before {
  background: var(--nb-accent);
}

.module-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-accent);
  flex-shrink: 0;
  width: 24px;
  padding-top: 2px;
}

.module-content h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nb-text);
  margin-bottom: 0.35rem;
}

.module-content p {
  font-size: 0.85rem;
  color: var(--nb-muted);
  line-height: 1.6;
  margin: 0;
}

/* === TECH SECTION - TAG DISPLAY === */
.tech-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-bottom: 1px solid var(--nb-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

.tech-section h2 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--nb-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-section h2::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nb-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--nb-accent);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-item {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--nb-muted);
  text-transform: lowercase;
  transition: color 0.15s ease;
}

.tech-item::before {
  content: '#';
  color: var(--nb-muted);
}

.tech-item:hover {
  color: var(--nb-accent);
}

/* === FUTURE SECTION - TERMINAL NOTE === */
.future-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-bottom: 1px solid var(--nb-dim);
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.9s;
}

.future-content {
  display: flex;
  gap: 1.5rem;
  max-width: 650px;
  padding: 1.5rem;
  background: var(--nb-surface);
  border: 1px solid var(--nb-dim);
  position: relative;
}

.future-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--nb-accent);
}

.future-icon {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--nb-accent);
  flex-shrink: 0;
  line-height: 1;
}

.future-text h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nb-text);
  margin-bottom: 0.75rem;
}

.future-text p {
  font-size: 0.9rem;
  color: var(--nb-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.future-text p:last-child {
  margin-bottom: 0;
}

/* === CTA SECTION - TERMINAL BOX === */
.nb-cta {
  padding: clamp(3rem, 8vw, 5rem) 0;
  opacity: 0;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.0s;
}

.cta-inner {
  position: relative;
  max-width: 600px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: var(--nb-surface);
  border: 1px solid var(--nb-dim);
  transition: all 0.15s ease;
}

.cta-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.cta-inner:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cta-inner:hover::before {
  background: var(--nb-accent);
}

.nb-cta h2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nb-text);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.nb-cta p {
  font-size: 0.9rem;
  color: var(--nb-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.nb-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--nb-text);
  color: var(--nb-bg);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nb-cta .cta-btn:hover {
  background: var(--nb-accent);
  text-decoration: none;
}

/* === TRADEMARK DISCLAIMER === */
.trademark-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--nb-dim);
  text-align: center;
  padding: 1.5rem;
  margin: 0 calc(-1 * var(--spacing-lg, 1.5rem)) 0;
  background: var(--nb-bg);
  border-top: 1px solid var(--nb-dim);
}

.trademark-disclaimer::before {
  content: '// ';
  color: var(--nb-muted);
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
  .nb-dashboard {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem;
    padding: clamp(4rem, 12vw, 8rem) 1.5rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--nb-dim);
  }

  .dashboard-sidebar::before {
    width: 100%;
    height: 3px;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
  }

  .credential-card {
    flex: 0 0 auto;
    padding-bottom: 0;
    border-bottom: none;
    padding-right: 2rem;
    border-right: 1px solid var(--nb-dim);
    text-align: left;
  }

  .credential-badge {
    margin: 0 0 1rem 0;
  }

  .credential-stats {
    justify-content: flex-start;
  }

  .expertise-levels {
    flex: 1;
    min-width: 250px;
  }

  .dashboard-main {
    padding: 2rem 1.5rem 2rem;
  }

  .capability-cards {
    grid-template-columns: 1fr;
  }

  .capability-card {
    border-right: none;
    border-bottom: 1px solid var(--nb-dim);
  }

  .capability-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    flex-direction: column;
    padding: clamp(3rem, 8vw, 5rem) 1rem 1.5rem;
  }

  .credential-card {
    padding-right: 0;
    border-right: none;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--nb-dim);
    text-align: center;
  }

  .credential-badge {
    margin: 0 auto 1rem;
  }

  .credential-stats {
    justify-content: center;
  }

  .dashboard-main {
    padding: 2rem 1rem;
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }

  .journey-section,
  .services-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .experience-legend {
    gap: 0.75rem;
    padding: 1rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .exp-card {
    border-right: none;
  }

  .service-module {
    flex-direction: column;
    gap: 0.5rem;
  }

  .future-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nb-cta {
    padding: 2rem 1rem;
  }
}

@media (max-width: 500px) {
  .credential-stats {
    gap: 1rem;
  }

  .cred-value {
    font-size: 1.25rem;
  }

  .service-module {
    padding: 1rem;
  }

  .tech-item {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .exp-card {
    padding: 1rem;
  }

  .exp-name {
    font-size: 0.85rem;
  }
}

/* === UNIVERSAL LINK STYLES === */
body.work-nationbuilder a,
body.work-nationbuilder a:hover,
body.work-nationbuilder a:focus,
body.work-nationbuilder a:active,
body.work-nationbuilder button {
  text-decoration: none;
}
