/* ============================================
   REMOTE CAREER BLUEPRINT - DESIGN SYSTEM
   ============================================
   Color tokens (from logo + live site):
   --navy: #06428B   (wordmark / primary)
   --blue-rich: #005BAB
   --blue-bright: #199FF6  (main accent)
   --steel: #7E95BE  (secondary / muted)
   --ink: #05070C    (near-black background)
   Type: Playfair Display (serif display) / IBM Plex Mono (tracked labels) / Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #06428B;
  --blue-rich: #005BAB;
  --blue-bright: #199FF6;
  --steel: #7E95BE;
  --ink: #05070C;
  --ink-2: #0A0E17;
  --white: #FFFFFF;
  --gray-100: #F5F7FA;
  --gray-200: #E7EBF1;
  --gray-400: #9AA5B8;
  --gray-600: #5B6472;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / tracked mono labels (brand signature) ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(25,159,246,0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  flex-shrink: 0;
}
.mantra {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo-chip {
  background: var(--white); border-radius: 10px; padding: 8px 10px;
  display: flex; align-items: center; justify-content: center; height: 64px;
}
.brand .logo-chip img { height: 100%; width: auto; object-fit: contain; }
.client-logo-chip {
  background: var(--white); border-radius: 10px; padding: 14px 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px; max-width: 180px;
}
.client-logo-chip img { max-height: 40px; max-width: 100%; object-fit: contain; }
.brand span {
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--white);
  letter-spacing: 0.01em;
}

/* ---------- Icon badges (replaces AI-generated icon PNGs) ---------- */
.icon-badge {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100); color: var(--navy);
  flex-shrink: 0; margin: 0 auto 16px;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.solid { background: var(--blue-bright); color: var(--white); }
.icon-badge.on-dark { background: rgba(255,255,255,0.08); color: var(--blue-bright); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14.5px; color: var(--gray-400); font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  padding: 11px 22px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue-bright); color: var(--white); }
.btn-primary:hover { background: var(--blue-rich); }
.btn-outline { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn-outline:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn-dark-outline { border-color: rgba(6,66,139,0.3); color: var(--navy); }
.btn-dark-outline:hover { border-color: var(--navy); background: rgba(6,66,139,0.05); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; }

/* ---------- Hero (dark) ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero.with-bg-image { padding: 0; min-height: 560px; display: flex; align-items: center; }
.hero.with-bg-image .bg-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.hero.with-bg-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,7,12,0.97) 20%, rgba(5,7,12,0.55) 75%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 0; }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  color: var(--white);
  font-weight: 700;
  max-width: 820px;
}
.hero h1 em { font-style: italic; color: var(--blue-bright); font-weight: 600; }
.hero .lede { font-size: 18px; color: var(--gray-400); max-width: 620px; margin-top: 24px; }
.hero .lede strong { color: var(--white); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-dark { background: var(--ink); color: var(--gray-400); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-light-gray { background: var(--gray-100); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { color: var(--gray-600); font-size: 16.5px; margin-top: 14px; }
.section-dark .section-head p { color: var(--gray-400); }

/* ---------- Stat strip ---------- */
.stat-strip { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 44px; }
.stat-strip .stat b {
  font-family: var(--font-display); font-size: 40px; color: var(--blue-bright); display: block; font-weight: 700;
}
.stat-strip .stat span { font-size: 14px; color: var(--gray-400); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 32px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(6,66,139,0.1); }
.card .tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-bright); border: 1px solid rgba(25,159,246,0.3); padding: 5px 12px; border-radius: 999px;
  display: inline-block; margin-bottom: 18px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p.desc { font-size: 14.5px; color: var(--gray-600); }
.card .price { color: var(--navy); font-weight: 700; font-size: 17px; margin: 14px 0 0; }
.card .price s { color: var(--gray-400); font-weight: 400; margin-right: 6px; }
.card .link { color: var(--blue-bright); font-weight: 600; font-size: 14.5px; margin-top: 14px; display: inline-block; }

/* ---------- Role/category icon tiles ---------- */
.icon-tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icon-tile {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 28px 18px; text-align: center;
}
.icon-tile h4 { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--gray-400); padding: 56px 0 28px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 36px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--blue-bright); font-size: 18px; margin-bottom: 8px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--gray-400); }
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: 12.5px; color: var(--gray-600); margin-top: 24px; line-height: 1.7; }
footer a.email { color: var(--blue-bright); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.badge-pill {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid rgba(25,159,246,0.35); color: var(--blue-bright); padding: 5px 13px; border-radius: 999px;
  display: inline-block;
}
.divider { height: 1px; background: var(--gray-200); margin: 64px 0; border: none; }
.center { text-align: center; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 22px 0; cursor: pointer; }
.faq-item h4 { font-family: var(--font-body); font-size: 16.5px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.faq-item .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; font-size: 15px; color: var(--gray-600); }
.faq-item.open .faq-answer { max-height: 400px; margin-top: 12px; }
.faq-item .chevron { transition: transform 0.2s ease; color: var(--blue-bright); font-size: 14px; }
.faq-item.open .chevron { transform: rotate(180deg); }

/* ---------- Team initials (no stock photos misrepresenting the team) ---------- */
.team-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  border: 3px solid var(--gray-200);
}
.team-card { text-align: center; width: 128px; }
.team-card .role { font-size: 12.5px; color: var(--gray-600); margin-top: 10px; }

/* ---------- Process steps with connector line (Sagan-style) ---------- */
.step-row { display: flex; align-items: flex-start; gap: 0; position: relative; }
.step-col { flex: 1; text-align: center; position: relative; padding: 0 10px; }
.step-col .icon-badge { width: 80px; height: 80px; position: relative; z-index: 2; }
.step-col .icon-badge svg { width: 32px; height: 32px; }
.step-connector {
  position: absolute; top: 40px; left: calc(50% + 50px); right: calc(-50% + 50px);
  height: 0; border-top: 2px dashed var(--gray-200); z-index: 1;
}
.step-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
.step-col p { font-size: 13.5px; color: var(--gray-600); }

/* ---------- FAQ visual upgrade ---------- */
.faq-category { display: flex; align-items: center; gap: 14px; margin: 40px 0 18px; }
.faq-category .icon-badge { margin: 0; width: 46px; height: 46px; }
.faq-category .icon-badge svg { width: 22px; height: 22px; }
.faq-item { display: flex; gap: 16px; align-items: flex-start; border-bottom: 1px solid var(--gray-200); padding: 22px 0; cursor: pointer; }
.faq-item .icon-badge { width: 38px; height: 38px; margin: 0; flex-shrink: 0; }
.faq-item .icon-badge svg { width: 18px; height: 18px; }
.faq-item .faq-text { flex: 1; }

/* ---------- Rotating image carousel ---------- */
.carousel { position: relative; width: 100%; height: 420px; border-radius: 16px; overflow: hidden; }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.carousel img.active { opacity: 1; }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: background 0.2s ease; }
.carousel-dots span.active { background: var(--white); }
@media (max-width: 900px) { .carousel { height: 280px; } }
form label.req::after { content: " *"; color: var(--blue-bright); }
form input, form select, form textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--gray-200); border-radius: 9px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--blue-bright); }
form .hint { font-size: 13px; color: var(--gray-600); margin-top: 4px; }
form .instruction-box {
  background: var(--gray-100); border-left: 3px solid var(--blue-bright); border-radius: 8px;
  padding: 16px 18px; font-size: 14px; color: var(--gray-600); margin: 8px 0 18px;
}

.role-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; flex-wrap: wrap;
}
.role-card .meta { font-size: 13.5px; color: var(--gray-600); margin-top: 6px; }
.role-card .meta span { margin-right: 16px; }

/* ---------- Browse Talent filter bar ---------- */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; background: var(--gray-100);
  padding: 18px; border-radius: 12px; margin-bottom: 32px;
}
.filter-bar input, .filter-bar select {
  padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink); background: var(--white);
}
.filter-bar input { flex: 2; min-width: 220px; }
.filter-bar select { flex: 1; min-width: 160px; }
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--blue-bright); }

.candidate-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; margin-bottom: 16px;
}
.candidate-card .top-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.candidate-card h4 { font-family: var(--font-body); font-size: 17px; color: var(--ink); }
.candidate-card .meta-line { font-family: var(--font-mono); font-size: 12.5px; color: var(--steel); margin-top: 4px; }
.candidate-card .tools { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.candidate-card .tools span { background: var(--gray-100); font-size: 12px; padding: 4px 10px; border-radius: 999px; color: var(--gray-600); }
.candidate-card p.summary { font-size: 14.5px; margin: 14px 0 0; }

.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(5,7,12,0.7); z-index: 200; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius); padding: 36px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 18px; right: 18px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray-600); }

@media (max-width: 900px) {
  .nav-links, .nav-ctas .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .icon-tile-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .stat-strip { gap: 32px; }
}
