:root {
  --bg: #09090c;
  --line: rgba(255,255,255,0.08);
  --text: #f3f3f5;
  --muted: #87879a;
  --muted-2: #55556b;
  --accent: #6ba3e6;
  --accent-dim: rgba(107,163,230,0.12);
  --orb: #ff5a5a;

  /* Spacing scale — all section-level rhythm on every page is built from these */
  --space-sm: 48px;
  --space-md: 64px;
  --space-lg: 80px;

  /* Type scale — shared across pages so heading hierarchy stays consistent */
  --h1-page: clamp(32px, 5.5vw, 52px);   /* Home / About / Resume page title */
  --h1-case: clamp(44px, 7.5vw, 80px);   /* HUM / Sendit case-study hero title */
  --h2-section: clamp(24px, 4vw, 34px);  /* shared .section-title, also used for CTA heading */
  --text-body: 15px;                     /* lede / intro paragraphs */
  --text-label: 12px;                    /* small eyebrow / role / tag labels */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 3.2vw, 56px); }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
  position: relative;
}
.line-reveal {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line);
  transform: scaleX(0); transform-origin: right;
  opacity: 0;
  pointer-events: none;
}
nav .name {
  font-weight: 600; letter-spacing: 2px; font-size: 14px;
  border: 1px solid var(--line); padding: 5px 9px; border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}
nav .name:hover { border-color: var(--accent); color: var(--accent); }
nav .links { display: flex; gap: 28px; font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
nav .links a { position: relative; padding-bottom: 4px; }
nav .links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.25s ease;
}
nav .links a:hover, nav .links a.active { color: var(--accent); }
nav .links a:hover::after, nav .links a.active::after { width: 100%; }

section { padding: var(--space-lg) 0; position: relative; }
.num { font-size: 12px; color: var(--accent); letter-spacing: 2px; margin-bottom: 18px; }
.section-title { font-size: var(--h2-section); font-weight: 600; max-width: 700px; margin-bottom: 20px; letter-spacing: -0.5px; }
.lede { color: var(--muted); font-size: var(--text-body); max-width: 620px; line-height: 1.7; }

footer {
  padding: 48px 0 80px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--muted);
}
footer a.accent { color: var(--accent); }
footer .social { display: flex; gap: 20px; }

.btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 10px 18px;
  margin-top: 20px;
}
.btn:hover { background: var(--accent-dim); }

@media (max-width: 760px) {
  nav .links { gap: 16px; font-size: 10px; }
  .hero-top { flex-direction: column; }
}

/* Lenis smooth scroll */
html.lenis, html.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis-smooth iframe { pointer-events: none; }
