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

:root {
  --bg:        #0a0c0f;
  --surface:   #111418;
  --surface2:  #181c22;
  --border:    #1e2530;
  --border2:   #2a3340;
  --cyan:      #00d4ff;
  --cyan-dim:  #00d4ff22;
  --green:     #00ff88;
  --green-dim: #00ff8815;
  --amber:     #ffb830;
  --amber-dim: #ffb83015;
  --text:      #e2e8f0;
  --text-muted:#6b7a90;
  --text-dim:  #3d4a5c;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scanline */
body::after {
  content: '';
  position: fixed;
  inset: 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: 9999;
}

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.dot-group { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28ca41; }
.topbar-path { color: var(--cyan); }
.topbar-path span { color: var(--text-muted); }
.topbar-right { display: flex; gap: 24px; }

.status-pill { display: flex; align-items: center; gap: 6px; }
.status-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── HERO ───────────────────────────────────────────────── */
header {
  position: relative;
  padding: 64px 60px 56px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 100% at 80% 50%, black 30%, transparent 100%);
}

header::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #00d4ff12 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.hero-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-badge::before { content: '▶'; font-size: 8px; }

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
h1 .accent { color: var(--cyan); }

.hero-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  margin-top: 14px;
}

.hero-summary {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

.contact-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  padding: 7px 14px;
  border: 1px solid var(--border2);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.pill:hover { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-dim); }
.pill svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* ─── MAIN LAYOUT ─────────────────────────────────────────── */
main {
  display: grid;
  grid-template-columns: 1fr 300px;
}

.col-primary {
  padding: 52px 52px 80px;
  border-right: 1px solid var(--border);
}

.col-secondary {
  padding: 52px 32px 80px;
  background: var(--surface);
}

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { margin-bottom: 56px; }
.section:last-child { margin-bottom: 0; }

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.section-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--cyan); opacity: 0.5; }
.section-title { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.section-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border2), transparent); }

/* ─── JOB CARDS ──────────────────────────────────────────── */
.job {
  position: relative;
  padding: 24px 24px 24px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.job:last-child { margin-bottom: 0; }
.job::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--border2);
  transition: background 0.2s;
}
.job:hover { border-color: var(--border2); }
.job:hover::before { background: var(--cyan); }

.job-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.job-title { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.job-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--amber); background: var(--amber-dim); padding: 2px 8px; white-space: nowrap; }
.job-company { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan); margin-bottom: 14px; letter-spacing: 0.06em; }
.job-company .location { color: var(--text-muted); margin-left: 8px; }

.job-bullets { list-style: none; }
.job-bullets li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.65;
}
.job-bullets li::before { content: '›'; position: absolute; left: 4px; color: var(--green); font-size: 16px; line-height: 1.5; }

/* ─── COMPANY GROUPS ─────────────────────────────────────── */
.company-group { margin-bottom: 20px; }
.company-group:last-child { margin-bottom: 0; }

.company-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-bottom: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.company-group-header::before { content: '//'; color: var(--text-dim); }
.company-group .job { border-top: none; margin-bottom: 0; border-bottom: none; }
.company-group .job:last-child { border-bottom: 1px solid var(--border); }
.company-group .job:not(:last-child) { border-bottom: 1px solid var(--border); }

/* ─── EDUCATION ──────────────────────────────────────────── */
.edu-item {
  padding: 20px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.edu-item::after { content: '🎓'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 28px; opacity: 0.07; }
.edu-degree { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.edu-school { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan); letter-spacing: 0.06em; margin-bottom: 2px; }
.edu-year { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); }

/* ─── SIDEBAR ────────────────────────────────────────────── */
.sidebar-block { margin-bottom: 40px; }
.sidebar-block:last-child { margin-bottom: 0; }

.sidebar-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title::before { content: '#'; color: var(--cyan); }

/* ─── JAMF EXPERT BADGE ──────────────────────────────────── */
.jamf-expert-badge-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--cyan);
  background: linear-gradient(135deg, #0d1520 0%, #0a1018 100%);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.jamf-expert-badge-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.jamf-expert-badge {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.35));
}
.jamf-expert-badge-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jeb-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.jeb-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

/* ─── CERTS ──────────────────────────────────────────────── */
.cert-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.cert-item:last-child { border-bottom: none; }
.cert-name { font-size: 13px; font-weight: 600; color: var(--text); display: block; margin-bottom: 3px; }
.cert-badge { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--amber); letter-spacing: 0.06em; }

/* ─── SKILLS ─────────────────────────────────────────────── */
.skill-block { margin-bottom: 20px; }
.skill-block:last-child { margin-bottom: 0; }
.skill-cat { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.1em; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 4px 10px; border: 1px solid var(--border2); color: var(--text-muted); background: transparent; cursor: default; transition: all 0.15s; }
.tag:hover { color: var(--green); border-color: var(--green); background: var(--green-dim); }
.tag.featured { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-dim); }

/* ─── STATS ──────────────────────────────────────────────── */
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.stat-row:last-child { border-bottom: none; }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); }
.stat-val { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--cyan); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
header        { animation: fadeIn 0.5s ease both; }
.col-primary  { animation: fadeIn 0.5s 0.1s ease both; }
.col-secondary{ animation: fadeIn 0.5s 0.2s ease both; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  header { padding: 40px 24px 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .contact-pills { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  main { grid-template-columns: 1fr; }
  .col-primary { padding: 36px 24px 48px; border-right: none; border-bottom: 1px solid var(--border); }
  .col-secondary { padding: 36px 24px 56px; }
}
