/* ==========================================================
   AI HEADHUNTER — Shared Design System
   ========================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #181818;
  --ink: #f4f1ea;
  --ink-dim: #a8a39a;
  --ink-mute: #6b665d;
  --rule: #2a2722;
  --accent: #ff5b1f;
  --accent-2: #f0d97c;
  --positive: #6dd49e;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================
   NAV — top-right menu bar
   ========================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid var(--rule);
}
.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}
.logo span { color: var(--accent); font-style: italic; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  align-items: center;
}
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}
.nav-links a.cta {
  color: var(--ink);
  border: 1px solid var(--ink-dim);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.25s;
}
.nav-links a.cta:hover,
.nav-links a.cta.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.nav-links a.cta.active::after { display: none; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg {
  width: 24px; height: 24px;
}

/* =========================
   PAGE HEADER
   ========================= */
header.page-head {
  padding: 160px 48px 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
header.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  mask-image: linear-gradient(180deg, black, transparent);
  -webkit-mask-image: linear-gradient(180deg, black, transparent);
}
.page-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.page-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}
h1.page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 1200px;
  margin-bottom: 32px;
  position: relative;
}
h1.page-title em { font-style: italic; color: var(--accent); font-weight: 300; }
h1.page-title .strike {
  position: relative;
  color: var(--ink-mute);
  font-weight: 300;
}
h1.page-title .strike::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%;
  top: 50%;
  height: 3px;
  background: var(--accent);
  transform: rotate(-3deg);
}
.page-lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-dim);
  max-width: 760px;
  position: relative;
}
.page-lede .accent { color: var(--ink); font-style: italic; }

/* =========================
   SHARED COMPONENTS
   ========================= */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-secondary:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-arrow { font-family: var(--mono); transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

section.block {
  padding: 120px 48px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-num::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}
h2.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  max-width: 1100px;
}
h2.section-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.section-lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  font-weight: 300;
  color: var(--ink-dim);
  max-width: 720px;
  margin-bottom: 80px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--bg);
  padding: 60px 48px 32px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1500px;
  margin: 0 auto 40px;
}
.footer-brand .logo { font-size: 26px; margin-bottom: 16px; display: block; }
.footer-brand p {
  color: var(--ink-dim);
  font-size: 14px;
  max-width: 360px;
  line-height: 1.55;
}
footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
footer ul a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1500px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 12px;
}

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

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 960px) {
  nav { padding: 16px 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 20px 24px 24px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--rule);
  }
  .nav-links a.cta {
    border-radius: 999px;
    margin-top: 12px;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--bg);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active::after { display: none; }

  header.page-head { padding: 130px 24px 60px; }
  .container { padding: 0 24px; }
  section.block { padding: 80px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
}
