:root {
  --ink: #161A22;
  --ink-soft: #232936;
  --paper: #EFF1ED;
  --paper-dim: #E3E5DF;
  --brass: #C7A042;
  --teal: #2B6357;
  --clay: #C1654A;
  --slate: #5B6470;
  --white: #FBFBFA;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #d8b157; }

.btn-outline { background: transparent; border-color: rgba(251,251,250,0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }

.btn-outline-dark { background: transparent; border-color: rgba(22,26,34,0.25); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); }

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239,241,237,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22,26,34,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  flex-shrink: 0;
}
.nav-links { display: none; align-items: center; gap: 36px; }
@media (min-width: 880px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--brass); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--brass); }
.nav-cta { display: none; }
@media (min-width: 880px) { .nav-cta { display: inline-flex; } }
.nav-burger {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--ink);
  color: var(--white);
  border: none;
  padding: 9px 14px;
  border-radius: 3px;
}
@media (min-width: 880px) { .nav-burger { display: none; } }

/* ---------- HERO (home only) ---------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 32px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding: 110px 32px 90px; } }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); margin: 18px 0 22px; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero p.lead { font-size: 18px; color: rgba(251,251,250,0.72); max-width: 46ch; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-mono); font-size: 26px; color: var(--brass); }
.hero-stat .label { font-size: 12px; color: rgba(251,251,250,0.55); margin-top: 2px; }

.network-wrap { position: relative; aspect-ratio: 1 / 1; max-width: 480px; margin: 0 auto; }
.network-wrap svg { width: 100%; height: 100%; }
.net-line {
  stroke: var(--brass); stroke-width: 1.4; fill: none; opacity: 0.55;
  stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.8s ease forwards;
}
.net-node { fill: var(--white); }
.net-node.center { fill: var(--brass); }
.net-pulse {
  fill: none; stroke: var(--brass); stroke-width: 1; opacity: 0;
  transform-origin: center; animation: pulse 3.2s ease-out infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse {
  0% { opacity: 0.5; transform: scale(0.4); }
  80% { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  .net-line { animation: none; stroke-dashoffset: 0; }
  .net-pulse { animation: none; opacity: 0; }
}

/* ---------- PAGE HEADER (sub-pages) ---------- */
.page-header {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header .wrap { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-size: clamp(30px, 4.2vw, 44px); margin-top: 14px; }
.page-header p { color: rgba(251,251,250,0.65); max-width: 56ch; margin-top: 14px; font-size: 16px; }
.page-header .dots {
  position: absolute;
  top: -40px; right: -40px;
  width: 320px; height: 320px;
  opacity: 0.35;
}

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 14px; }
.section-head p { color: var(--slate); font-size: 16px; margin-top: 14px; }
.section-alt { background: var(--white); }
.section-tight { padding: 72px 0; }

/* ---------- TWO PATHS ---------- */
.paths {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: rgba(22,26,34,0.1);
  border-radius: 6px;
  overflow: hidden;
}
@media (min-width: 820px) { .paths { grid-template-columns: 1fr 1fr; } }
.path-card { background: var(--white); padding: 48px 40px; position: relative; }
.path-card.employer { background: var(--ink); color: var(--white); }
.path-card .tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.path-card.employer .tag { color: var(--brass); }
.path-card.candidate .tag { color: var(--teal); }
.path-card h3 { font-size: 26px; margin: 14px 0 16px; }
.path-card ul { list-style: none; margin: 22px 0 30px; }
.path-card li { padding: 10px 0; border-top: 1px solid rgba(22,26,34,0.08); font-size: 15px; display: flex; gap: 10px; }
.path-card.employer li { border-top-color: rgba(251,251,250,0.12); color: rgba(251,251,250,0.82); }
.path-card.candidate li { color: var(--ink-soft); }
.path-card li::before { content: '—'; color: var(--brass); flex-shrink: 0; }
.path-card.candidate li::before { color: var(--teal); }

/* ---------- VALUE PROPS ---------- */
.props { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(22,26,34,0.1); }
@media (min-width: 760px) { .props { grid-template-columns: repeat(2, 1fr); } }
.prop {
  padding: 36px 0; border-bottom: 1px solid rgba(22,26,34,0.1);
  display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: start;
}
@media (min-width: 760px) {
  .prop:nth-child(odd) { padding-right: 36px; border-right: 1px solid rgba(22,26,34,0.1); }
  .prop:nth-child(even) { padding-left: 36px; }
}
.prop .tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--brass);
  border: 1px solid rgba(199,160,66,0.45); border-radius: 3px; padding: 4px 8px;
  width: fit-content; height: fit-content;
}
.prop h4 { font-family: var(--font-display); font-size: 19px; margin-bottom: 8px; }
.prop p { color: var(--slate); font-size: 15px; }

/* ---------- PROCESS ---------- */
.process { background: var(--ink); color: var(--white); }
.process .section-head p { color: rgba(251,251,250,0.62); }
.process .eyebrow { color: var(--brass); }
.steps { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.step { position: relative; padding: 0 28px 0 0; }
@media (min-width: 820px) {
  .step:not(:last-child) { border-right: 1px solid rgba(251,251,250,0.14); }
  .step { padding: 0 32px; }
  .step:first-child { padding-left: 0; }
}
.step .index { font-family: var(--font-mono); font-size: 13px; color: var(--brass); margin-bottom: 16px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: rgba(251,251,250,0.65); font-size: 15px; }

/* ---------- STATS ---------- */
.stats-band { background: var(--brass); color: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding: 56px 0; }
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat .num { font-family: var(--font-mono); font-size: clamp(32px, 4.4vw, 46px); line-height: 1; }
.stat .label { font-size: 13px; margin-top: 8px; color: rgba(22,26,34,0.7); }

/* ---------- STORY / VALUES (about page) ---------- */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; } }
.story-grid p { color: var(--slate); font-size: 16px; margin-bottom: 18px; }
.story-grid p:last-child { margin-bottom: 0; }

.values { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(22,26,34,0.1); border-radius: 6px; overflow: hidden; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value-card { background: var(--white); padding: 30px 26px; }
.value-card .tag { font-family: var(--font-mono); font-size: 12px; color: var(--brass); }
.value-card h4 { font-family: var(--font-display); font-size: 18px; margin: 10px 0 8px; }
.value-card p { color: var(--slate); font-size: 14px; }

/* ---------- HOME TEASERS ---------- */
.teaser-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: rgba(22,26,34,0.1); border-radius: 6px; overflow: hidden; }
@media (min-width: 700px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
.teaser-card { background: var(--white); padding: 34px 32px; }
.teaser-card .tag { font-family: var(--font-mono); font-size: 12px; color: var(--brass); }
.teaser-card h3 { font-size: 22px; margin: 12px 0 10px; }
.teaser-card p { color: var(--slate); font-size: 15px; margin-bottom: 18px; }

.cta-band { background: var(--ink); color: var(--white); padding: 72px 0; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.cta-band p { color: rgba(251,251,250,0.65); margin-bottom: 30px; max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info .item { margin-bottom: 26px; }
.contact-info .item .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--brass); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info .item .val { font-size: 16px; margin-top: 6px; }

form { background: var(--white); border-radius: 6px; padding: 36px; display: grid; gap: 18px; border: 1px solid rgba(22,26,34,0.08); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 540px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
input, textarea, select {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 11px 13px;
  border: 1px solid rgba(22,26,34,0.18); border-radius: 3px; background: var(--paper); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brass); }
textarea { resize: vertical; min-height: 100px; }
.radio-group { display: flex; gap: 18px; }
.radio-option { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.radio-option input { width: auto; }
.form-note { font-size: 13px; color: var(--slate); }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: rgba(251,251,250,0.55); padding: 44px 0 28px; font-size: 14px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(251,251,250,0.12); margin-bottom: 24px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--brass); }

.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(251,251,250,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(251,251,250,0.75);
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--brass); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
