/* ==========================================================================
   Enhanced Engineering CV — "Systems & Broadcast Control" Dark Theme
   ========================================================================== */
:root {
  --bg-base: #070a10;
  --bg-surface: #0e131f;
  --bg-elevated: #141c2e;
  --bg-glass: rgba(14, 19, 31, 0.88);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-bright: rgba(56, 189, 248, 0.42);

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #7c8ba1;

  --accent-primary: #38bdf8;
  --accent-nominal: #10b981;
  --accent-warn: #f59e0b;
  --accent-danger: #ef4444;

  /* Four Engineering Pillar Accents */
  --dom-broadcast: #f59e0b;
  --dom-systems: #10b981;
  --dom-devops: #38bdf8;
  --dom-it: #a855f7;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.08), transparent 34%),
    radial-gradient(circle at 88% 15%, rgba(245, 158, 11, 0.06), transparent 36%),
    linear-gradient(180deg, #070a10 0%, #090d16 100%);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Top Telemetry Bar
   ========================================================================== */
.telemetry-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 16, 0.97);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
}

.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.telemetry-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-warn);
  box-shadow: 0 0 8px var(--accent-warn);
  display: inline-block;
}

.status-dot.online {
  background: var(--accent-nominal);
  box-shadow: 0 0 10px var(--accent-nominal);
}

.telemetry-divider {
  color: var(--border-subtle);
}

.telemetry-clock {
  color: var(--accent-primary);
  font-weight: 600;
}

.telemetry-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.verification-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.verification-pill.unverified {
  background: rgba(245, 158, 11, 0.14);
  color: var(--accent-warn);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.verification-pill.verified {
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-nominal);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.56rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.btn-sm {
  font-size: 0.78rem;
  padding: 0.36rem 0.75rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-primary);
  border-color: rgba(56, 189, 248, 0.3);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
}

.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.pill-nominal {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.pill-mono {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.pill-location {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Hero Card
   ========================================================================== */
.main-layout {
  padding-top: 1.75rem;
  padding-bottom: 4rem;
}

.hero-card {
  background: linear-gradient(165deg, rgba(20, 28, 46, 0.92) 0%, rgba(12, 17, 29, 0.96) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--dom-broadcast) 0%,
    var(--dom-systems) 33%,
    var(--dom-devops) 66%,
    var(--dom-it) 100%
  );
}

.hero-top {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2rem;
  align-items: start;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.hero-name {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #ffffff;
}

.hero-title {
  margin-top: 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.hero-tagline {
  margin-top: 0.65rem;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.hero-summary {
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Preview Panel in Hero */
.contact-preview-box {
  background: rgba(7, 10, 16, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.contact-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lock-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-warn);
}

.lock-tag.unlocked {
  background: rgba(16, 185, 129, 0.18);
  color: var(--accent-nominal);
}

.contact-preview-lines {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  margin-bottom: 0.85rem;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.contact-key {
  color: var(--text-muted);
}

.contact-val {
  color: var(--text-primary);
}

.contact-preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Hero Telemetry Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: rgba(7, 10, 16, 0.58);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 0.15rem;
}

.stat-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ==========================================================================
   Sticky Control Deck (Domain Filter Pills + Instant Search)
   ========================================================================== */
.control-deck {
  position: sticky;
  top: 46px;
  z-index: 40;
  margin-top: 1.5rem;
  background: rgba(14, 19, 31, 0.96);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.control-deck-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.domain-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.domain-pill.active {
  background: rgba(56, 189, 248, 0.16);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
}

.domain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.domain-dot.all { background: #38bdf8; }
.domain-dot.broadcast { background: var(--dom-broadcast); }
.domain-dot.systems { background: var(--dom-systems); }
.domain-dot.devops { background: var(--dom-devops); }
.domain-dot.it { background: var(--dom-it); }

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
}

.search-input {
  width: 100%;
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.84rem;
  padding: 0.48rem 2.1rem 0.48rem 0.85rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.btn-clear-search {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.active-domain-banner {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Sections & Pillar Cards
   ========================================================================== */
.section-block {
  margin-top: 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
  display: block;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.section-title-sm {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.section-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.pillar-card:hover,
.pillar-card.selected {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
  background: var(--bg-elevated);
}

.pillar-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.16rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  display: inline-block;
  margin-bottom: 0.55rem;
}

.pillar-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.pillar-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Skills Matrix Grid
   ========================================================================== */
.legend-group {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-dot.core {
  background: var(--accent-nominal);
  box-shadow: 0 0 6px var(--accent-nominal);
}

.tier-dot.advanced {
  background: var(--accent-primary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.skill-group-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.skill-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.skill-group-level {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-primary);
}

.skill-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  position: relative;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.skill-row:hover,
.skill-row:focus-visible,
.skill-row.trace-active {
  outline: none;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.09) 0%, rgba(255, 255, 255, 0.06) 100%);
  border-color: var(--trace-color, var(--accent-primary));
  box-shadow: 0 0 18px -4px var(--trace-color, var(--accent-primary));
  z-index: 5;
}

.skill-row-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
}

.skill-row-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.skill-role-count {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.16s ease;
}

.skill-row:hover .skill-role-count,
.skill-row.trace-active .skill-role-count {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--trace-color, var(--accent-primary));
  color: #ffffff;
}

.skill-years {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.skill-emitter-port {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  background: rgba(7, 10, 16, 0.9);
  transition: all 0.16s ease;
}

.skill-row:hover .skill-emitter-port,
.skill-row.trace-active .skill-emitter-port {
  background: #ffffff;
  border-color: var(--trace-color, var(--accent-primary));
  box-shadow: 0 0 10px 2px var(--trace-color, var(--accent-primary));
  transform: scale(1.25);
}

.legend-hint {
  color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* ==========================================================================
   "The Main Event" — Experience Timeline
   ========================================================================== */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.exp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: relative;
  scroll-margin-top: 118px;
  transition: border-color 0.22s ease, box-shadow 0.25s ease, transform 0.22s ease;
}

.exp-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.exp-receiver-port {
  position: absolute;
  right: -5px;
  left: auto;
  top: 28px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid rgba(148, 163, 184, 0.3);
  transition: all 0.2s ease;
}

.exp-card.laser-linked-role {
  border-color: var(--trace-color, var(--accent-primary));
  box-shadow:
    0 0 26px -6px var(--trace-color, var(--accent-primary)),
    inset 0 0 22px -14px var(--trace-color, var(--accent-primary));
}

.exp-card.laser-linked-role .exp-receiver-port {
  background: #ffffff;
  border-color: var(--trace-color, var(--accent-primary));
  box-shadow: 0 0 14px 3px var(--trace-color, var(--accent-primary));
  transform: scale(1.3);
}

@keyframes targetLockPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75), 0 0 36px 4px var(--trace-color, var(--accent-primary));
  }
  50% {
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0), 0 0 42px 6px var(--trace-color, var(--accent-primary));
  }
  100% {
    box-shadow: 0 0 26px -6px var(--trace-color, var(--accent-primary));
  }
}

.exp-card.laser-target-flash {
  animation: targetLockPulse 1.15s cubic-bezier(0.16, 1, 0.3, 1) 2;
}

.exp-highlight-item.skill-bullet-match {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.13) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-left-width: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.tech-tag.tech-tag-linked {
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.tech-tag.tech-tag-linked:hover,
.tech-tag.tech-tag-active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--trace-color, var(--accent-primary));
  box-shadow: 0 0 10px -2px var(--trace-color, var(--accent-primary));
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.exp-role {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
}

.exp-org-line {
  font-size: 0.94rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-top: 0.2rem;
}

.exp-meta-right {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.exp-domain-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
  justify-content: flex-end;
}

.dom-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.14rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.dom-badge.broadcast { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.35); }
.dom-badge.systems { background: rgba(16, 185, 129, 0.16); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.dom-badge.devops { background: rgba(56, 189, 248, 0.16); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.35); }
.dom-badge.it { background: rgba(168, 85, 247, 0.16); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }

.exp-summary {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.exp-metrics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.metric-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.28rem 0.68rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
}

.exp-highlights {
  list-style: none;
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.exp-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.91rem;
  color: var(--text-primary);
  line-height: 1.6;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--border-subtle);
}

.exp-highlight-item[data-domain="broadcast"] { border-left-color: var(--dom-broadcast); }
.exp-highlight-item[data-domain="systems"] { border-left-color: var(--dom-systems); }
.exp-highlight-item[data-domain="devops"] { border-left-color: var(--dom-devops); }
.exp-highlight-item[data-domain="it"] { border-left-color: var(--dom-it); }

.exp-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

/* ==========================================================================
   Spotlights & Bottom Sections
   ========================================================================== */
.spotlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.spotlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spotlight-metrics {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--accent-nominal);
  margin-bottom: 0.45rem;
}

.spotlight-title {
  font-size: 1.04rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.55rem;
}

.spotlight-summary {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.compact-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.sub-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.certs-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cert-item {
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-primary);
}

.cert-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.cert-issuer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.education-list {
  margin-bottom: 1rem;
}

.edu-item {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.stack-posture-card {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.stack-posture-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

/* ==========================================================================
   Modals (CAPTCHA Gate, AI Assistant, Direct Contact)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 6, 12, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.modal-card.modal-lg {
  max-width: 680px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.4rem 1.5rem;
  overflow-y: auto;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.pow-status-box {
  background: rgba(7, 10, 16, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1.15rem;
}

.pow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.pow-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-primary);
}

.pow-badge.ready {
  background: rgba(16, 185, 129, 0.18);
  color: var(--accent-nominal);
}

.pow-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.pow-progress-fill {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-nominal));
  transition: width 0.25s ease;
}

.pow-meta {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
}

.challenge-prompt-box {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.32);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin: 0.45rem 0 0.75rem;
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.form-input {
  width: 100%;
  background: rgba(7, 10, 16, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  font-family: var(--font-sans);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Honeypot Trap (Invisible to human users) */
.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert-error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  margin-bottom: 0.9rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  margin-bottom: 0.9rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

/* Assistant Modal Console */
.assistant-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 1rem;
}

.suggestion-chip {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--text-primary);
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.suggestion-chip:hover:not(:disabled) {
  background: rgba(56, 189, 248, 0.22);
}

.suggestion-chip:disabled {
  opacity: 0.5;
  cursor: wait;
}

@keyframes assistantPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.assistant-msg.thinking {
  border-left-color: var(--accent-nominal);
  animation: assistantPulse 1.3s ease-in-out infinite;
}

.msg-text {
  white-space: pre-line;
  line-height: 1.55;
}

.assistant-log {
  background: rgba(7, 10, 16, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.95rem;
  height: 270px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.assistant-msg {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
}

.assistant-msg.system,
.assistant-msg.bot {
  background: rgba(20, 28, 46, 0.9);
  border-left: 3px solid var(--accent-primary);
}

.assistant-msg.warning {
  background: rgba(245, 158, 11, 0.11);
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-left: 4px solid #f59e0b;
  color: #fef3c7;
}

.assistant-msg.warning strong {
  display: block;
  color: #fde68a;
  letter-spacing: 0.01em;
  margin-bottom: 0.22rem;
}

.msg-meta.warning-meta {
  color: #fbbf24;
  font-weight: 700;
}

.inline-contact-link {
  background: none;
  border: none;
  padding: 0;
  color: #38bdf8;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.inline-contact-link:hover {
  color: #7dd3fc;
}

.assistant-msg.user {
  background: rgba(56, 189, 248, 0.12);
  align-self: flex-end;
  border-right: 3px solid var(--accent-nominal);
}

.msg-meta {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.msg-highlights {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.assistant-input-row {
  display: flex;
  gap: 0.6rem;
}

/* Unlocked Contact Grid */
.unlocked-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.unlocked-item {
  background: rgba(7, 10, 16, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
}

.unlocked-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-nominal);
  word-break: break-all;
  margin-top: 0.2rem;
}

.unlocked-link {
  color: var(--accent-nominal);
  text-decoration: none;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.unlocked-link:hover {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 1.15rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.footer-link:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   Skill Telemetry Breakout Tile & Futuristic Laser / Welding Pipeline
   (Hardware-composited, filter-free vector glow for locked 60/120fps)
   ========================================================================== */
.laser-pipeline-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 48;
  overflow: visible;
  will-change: contents;
}

@keyframes laserArcBolt {
  from {
    stroke-dashoffset: 84;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes weldOrbPulse {
  0%, 100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

/* Filter-free multi-stroke plasma halo (15x faster than feGaussianBlur) */
.laser-halo-outer {
  fill: none;
  stroke-width: 13px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.11;
}

.laser-halo-mid {
  fill: none;
  stroke-width: 5.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.26;
}

.laser-rail-path {
  fill: none;
  stroke-width: 1.75px;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.68;
}

.laser-core-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 30;
  opacity: 0.95;
  animation: laserArcBolt 0.55s linear infinite;
}

.laser-beam-group.overdrive .laser-halo-outer {
  stroke-width: 17px;
  opacity: 0.18;
}

.laser-beam-group.overdrive .laser-halo-mid {
  stroke-width: 7.5px;
  opacity: 0.4;
}

.laser-beam-group.overdrive .laser-core-path {
  stroke-width: 2.2px;
  stroke-dasharray: 18 24;
}

.laser-beam-group.dimmed {
  opacity: 0.22;
}

.weld-node-group {
  animation: weldOrbPulse 0.9s ease-in-out infinite;
}

.laser-edge-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  fill: #ffffff;
}

/* Floating Skill Breakout Tile — GPU transform positioned, no backdrop-filter readback */
.skill-breakout-tile {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 49;
  width: 392px;
  max-width: calc(100vw - 24px);
  background: linear-gradient(165deg, #0e1526 0%, #080c17 100%);
  border: 1px solid var(--trace-color, var(--accent-primary));
  border-radius: var(--radius-md);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.8),
    0 0 20px -6px var(--trace-color, var(--accent-primary));
  padding: 1rem 1.1rem;
  will-change: transform;
  contain: layout style;
  transform: translate3d(-9999px, -9999px, 0);
}

.skill-breakout-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(90deg, var(--trace-color, var(--accent-primary)), #ffffff, var(--trace-color, var(--accent-primary)));
}

.skill-breakout-tile.docked-hud {
  width: 356px;
}

.breakout-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.breakout-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--trace-color, var(--accent-primary));
}

.weld-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px 2px var(--trace-color, var(--accent-primary));
}

.breakout-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breakout-mode-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.1rem 0.42rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.breakout-mode-tag.pinned {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.breakout-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.breakout-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
  border-color: rgba(239, 68, 68, 0.45);
}

.breakout-skill-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.breakout-skill-stats {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.28rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.breakout-roles-list {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  margin-top: 0.65rem;
  max-height: 310px;
  overflow-y: auto;
}

.breakout-role-card {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-right: 3px solid var(--trace-color, var(--accent-primary));
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.72rem;
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--text-primary);
  transition: all 0.16s ease;
  position: relative;
}

.breakout-role-card:hover,
.breakout-role-card:focus-visible {
  outline: none;
  background: rgba(56, 189, 248, 0.11);
  border-color: var(--trace-color, var(--accent-primary));
  box-shadow: 0 0 16px -4px var(--trace-color, var(--accent-primary));
  transform: translateX(-2px);
}

.breakout-role-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.breakout-role-title {
  font-size: 0.83rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.breakout-role-years {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.1rem 0.42rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fde68a;
  white-space: nowrap;
  flex-shrink: 0;
}

.breakout-role-org {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 0.14rem;
}

.breakout-role-context {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 0.28rem;
  line-height: 1.42;
}

.breakout-jump-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.38rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--trace-color, var(--accent-primary));
  font-weight: 600;
}

/* ==========================================================================
   1995 "The Net" Corner π Easter Egg & Architecture Schematic Modal
   ========================================================================== */
.pi-easter-egg-btn {
  position: fixed;
  right: 14px;
  bottom: 11px;
  z-index: 45;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--text-muted);
  opacity: 0.36;
  font-family: Georgia, "Times New Roman", var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  padding: 0.24rem 0.46rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pi-easter-egg-btn:hover,
.pi-easter-egg-btn:focus-visible {
  outline: none;
  opacity: 0.95;
  color: var(--accent-nominal);
  background: rgba(14, 19, 31, 0.92);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.32);
  transform: translateY(-1px);
}

.modal-card.modal-arch {
  width: 96vw;
  max-width: 1220px;
  max-height: 95vh;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.85),
    0 0 28px -8px rgba(56, 189, 248, 0.35);
}

.arch-modal-header {
  align-items: center;
  gap: 1rem;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.08) 0%, rgba(56, 189, 248, 0.06) 100%);
}

.arch-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.arch-live-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.arch-live-pill.praetorian-pill {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.65);
  color: #fca5a5;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.35);
}

.modal-card.modal-arch.praetorian-override {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow:
    0 28px 65px rgba(0, 0, 0, 0.9),
    0 0 36px -6px rgba(239, 68, 68, 0.45);
}

.modal-card.modal-arch.praetorian-override .arch-modal-header {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(239, 68, 68, 0.07) 0px,
      rgba(239, 68, 68, 0.07) 2px,
      transparent 2px,
      transparent 4px
    ),
    linear-gradient(90deg, rgba(239, 68, 68, 0.18) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-bottom-color: rgba(239, 68, 68, 0.4);
}

.modal-card.modal-arch.praetorian-override #pi-arch-kicker {
  color: #f87171;
}

.praetorian-banner {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.14) 0%, rgba(245, 158, 11, 0.09) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.95rem;
  margin-bottom: 0.95rem;
  font-family: var(--font-mono);
}

.praetorian-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fca5a5;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.praetorian-tag {
  font-size: 0.7rem;
  padding: 0.12rem 0.48rem;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fecaca;
}

.praetorian-banner-line {
  font-size: 0.8rem;
  color: #fde68a;
  line-height: 1.45;
}

.praetorian-banner-line strong {
  color: #ffffff;
}

.arch-modal-body {
  padding: 1.25rem 1.5rem 1.4rem;
}

.arch-svg-frame {
  background: #060911;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  overflow-x: auto;
}

.arch-schematic-svg {
  display: block;
  width: 100%;
  min-width: 820px;
  height: auto;
}

.arch-zone-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: #cbd5e1;
}

.arch-zone-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: #94a3b8;
}

.arch-node-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  fill: #cbd5e1;
}

.arch-node-title {
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 700;
  fill: #ffffff;
}

.arch-mono-dim {
  font-family: var(--font-mono);
  font-size: 11.5px;
  fill: #94a3b8;
}

.arch-chip-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  fill: #ffffff;
}

.arch-chip-sub {
  font-family: var(--font-mono);
  font-size: 11.3px;
  fill: #cbd5e1;
}

.arch-pill-txt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  fill: #e2e8f0;
}

.arch-edge-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  fill: #e2e8f0;
}

.arch-zone-label.cyan,
.arch-node-kicker.cyan,
.arch-chip-title.cyan,
.arch-pill-txt.cyan,
.arch-edge-tag.cyan {
  fill: #38bdf8;
}

.arch-zone-label.emerald,
.arch-node-kicker.emerald,
.arch-chip-title.emerald,
.arch-pill-txt.emerald,
.arch-edge-tag.emerald {
  fill: #10b981;
}

.arch-node-kicker.violet,
.arch-edge-tag.violet {
  fill: #c084fc;
}

.arch-node-kicker.amber,
.arch-chip-title.amber,
.arch-edge-tag.amber {
  fill: #fbbf24;
}

.arch-flow-pulse {
  stroke-dasharray: 6 26;
  stroke-linecap: round;
  opacity: 0.92;
  animation: archPacketFlow 1.15s linear infinite;
}

@keyframes archPacketFlow {
  from {
    stroke-dashoffset: 64;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.arch-legend-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.05rem;
}

.arch-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.88rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.arch-legend-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  margin-bottom: 0.16rem;
}

.arch-legend-item code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.06rem 0.32rem;
  border-radius: 3px;
}

.arch-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.arch-legend-dot.cyan {
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.arch-legend-dot.emerald {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.arch-legend-dot.amber {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

/* ==========================================================================
   Responsive Breakpoints & Print Styles
   ========================================================================== */
@media (max-width: 980px) {
  .hero-top,
  .skills-grid,
  .compact-bottom-grid,
  .arch-legend-strip {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pillars-grid,
  .hero-stats-grid,
  .form-row-2,
  .unlocked-contact-grid {
    grid-template-columns: 1fr;
  }
  .hide-mobile {
    display: none !important;
  }
  .exp-meta-right {
    text-align: left;
  }
  .exp-domain-badges {
    justify-content: flex-start;
  }
}

@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }
  .telemetry-bar,
  .control-deck,
  .contact-preview-actions,
  .modal-backdrop,
  .laser-pipeline-svg,
  .skill-breakout-tile,
  .pi-easter-egg-btn {
    display: none !important;
  }
  .hero-card,
  .pillar-card,
  .skill-group-card,
  .exp-card,
  .spotlight-card,
  .sub-panel {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  .hero-name,
  .section-title,
  .exp-role,
  .skill-group-title,
  .pillar-name {
    color: #0f172a !important;
  }
}
