@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* Palette */
  --ink:          #0F172A;
  --ink-soft:     #334155;
  --paper:        #FFFFFF;
  --bg:           #F8FAFC;
  --bg-card:      #FFFFFF;
  --line:         #E2E8F0;
  --line-mid:     #CBD5E1;

  /* Accents */
  --blue:         #2563EB;
  --blue-bg:      #EFF6FF;
  --blue-dark:    #1D4ED8;
  --purple:       #7C3AED;
  --purple-bg:    #F5F3FF;
  --green:        #16A34A;
  --green-bg:     #F0FDF4;
  --amber:        #D97706;
  --amber-bg:     #FFFBEB;
  --red:          #DC2626;

  /* Text */
  --slate:        #64748B;
  --slate-light:  #94A3B8;
  --slate-dim:    #CBD5E1;

  /* Type */
  --display: "Plus Jakarta Sans", -apple-system, sans-serif;
  --sans:    "Inter", -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", monospace;

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --maxw: 1180px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
}

/* ─── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}
h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
p { margin: 0; color: var(--ink-soft); }

/* ─── Layout ─────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--md, 24px);
}
.section      { padding: var(--space-xl) 0; }
.section-sm   { padding: var(--space-lg) 0; }
.section-lg   { padding: var(--space-2xl) 0; }

/* ─── Typography ─────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-bottom: 10px;
}

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary  { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-blue     { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline  { background: var(--paper); border-color: var(--line-mid); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm       { padding: 8px 14px; font-size: 0.8rem; }

/* ─── Cards ──────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ─── Status pills ───────────────────────── */
.pill-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.pill-blue   { background: var(--blue-bg);   color: var(--blue);   }
.pill-amber  { background: var(--amber-bg);  color: var(--amber);  }
.pill-green  { background: var(--green-bg);  color: var(--green);  }
.pill-purple { background: var(--purple-bg); color: var(--purple); }

/* ─── Nav ────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}
.nav-mark {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.84rem;
  flex-shrink: 0;
}
.nav-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a.active { font-weight: 600; }
.nav-cv {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  flex-shrink: 0;
}
.nav-cv:hover { background: var(--blue) !important; color: #fff !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 72px 0 0;
    background: var(--paper);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
}

/* ─── Footer ─────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: var(--space-xl);
  background: var(--paper);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--slate);
}
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--slate); }
.footer-links a:hover { color: var(--blue); }

/* ─── Scroll reveal ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Section head row ───────────────────── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.s-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.view-all {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
