/* ============================================================
   Hired.vi: Global stylesheet
   Font: Plus Jakarta Sans
   Ink #0f1c2e · Brand #0d5c63 · Accent #e07a3f · Border #e6e9ee
   Design lineage: FlySTT structure, Airbnb spacing, LinkedIn restraint
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #f7f9fa;
  --ink: #0f1c2e;
  --ink-2: #3d4c5f;
  --muted: #6b7a8d;
  --faint: #98a4b3;
  --border: #e6e9ee;
  --border-2: #d7dde5;

  --brand: #0d5c63;
  --brand-600: #0a484e;
  --brand-700: #07373b;
  --brand-50: #eef7f7;
  --brand-100: #d8ecec;

  --accent: #e07a3f;
  --accent-50: #fdf3ec;

  --good: #157f4b;   --good-bg: #e6f5ed;
  --warn: #b26205;   --warn-bg: #fdf3e0;
  --bad:  #b3261e;   --bad-bg:  #fceceb;
  --info: #1d4ed8;   --info-bg: #e8eeff;
  --purple: #6d28d9; --purple-bg: #f1ebfd;

  --shadow-xs: 0 1px 2px rgba(15,28,46,.05);
  --shadow-sm: 0 1px 5px rgba(15,28,46,.07);
  --shadow-md: 0 6px 22px rgba(15,28,46,.09);
  --shadow-lg: 0 16px 48px rgba(15,28,46,.14);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --max: 1200px;
  --header-h: 68px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── TYPE ───────────────────────────────────────────────── */

.display {
  font-size: 46px; font-weight: 800; line-height: 1.04;
  letter-spacing: -1.6px;
}
.display-sm { font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.eyebrow {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--brand);
}
.section-title { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; color: var(--ink); }
.section-sub { font-size: 15px; color: var(--muted); margin-top: 4px; }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.small { font-size: 13px; color: var(--muted); }
.tiny { font-size: 12px; color: var(--faint); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-alt { background: var(--paper); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.section-head-link { font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }

.bullets { padding-left: 20px; margin: 8px 0; }
.bullets li { margin-bottom: 7px; color: var(--ink-2); }

.prose p { margin-bottom: 15px; color: var(--ink-2); }
.prose h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; letter-spacing: -0.5px; }
.prose h3 { font-size: 17px; font-weight: 800; margin: 24px 0 8px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 7px; color: var(--ink-2); }

hr.rule { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── HEADER ─────────────────────────────────────────────── */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 400;
}
.header-in {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 26px;
}
.wordmark {
  font-size: 21px; font-weight: 800; letter-spacing: -1px;
  color: var(--ink); flex-shrink: 0; line-height: 1;
}
.wordmark span { color: var(--brand); }
.wordmark:hover { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 22px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--brand-50); color: var(--brand); }
.nav-link.active { background: var(--brand-50); color: var(--brand); font-weight: 700; }

.nav-drop { position: relative; }
.nav-drop > .nav-link::after { content: ' ▾'; font-size: 9px; opacity: .5; }
.nav-drop-menu {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 10px; min-width: 226px; z-index: 500;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-inner {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 7px;
}
.nav-drop-inner a {
  display: block; padding: 9px 13px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); border-radius: 8px; white-space: nowrap;
}
.nav-drop-inner a:hover { background: var(--brand-50); color: var(--brand); }
.nav-drop-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
  color: var(--faint); padding: 10px 13px 5px;
}
.nav-drop-sep { height: 1px; background: var(--border); margin: 5px 9px; }

.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.avatar-menu { position: relative; }
.avatar-btn {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px;
  border: 1px solid var(--border-2); background: var(--white);
  border-radius: 24px; cursor: pointer; transition: box-shadow .15s;
}
.avatar-btn:hover { box-shadow: var(--shadow-sm); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.avatar-lg { width: 60px; height: 60px; font-size: 21px; }
.avatar-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.avatar-menu-panel {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  min-width: 218px; padding: 7px; z-index: 500;
}
.avatar-menu.open .avatar-menu-panel { display: block; }
.avatar-menu-panel a {
  display: block; padding: 9px 13px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); border-radius: 8px;
}
.avatar-menu-panel a:hover { background: var(--brand-50); color: var(--brand); }
.avatar-menu-head { padding: 10px 13px 8px; border-bottom: 1px solid var(--border); margin-bottom: 5px; }
.avatar-menu-head strong { display: block; font-size: 14px; }
.avatar-menu-head span { font-size: 12px; color: var(--muted); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 999; padding: 84px 28px 48px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; font-size: 19px; font-weight: 700; color: var(--ink);
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a.sub { font-size: 15px; font-weight: 600; color: var(--muted); padding: 10px 0 10px 16px; border: none; }
.mobile-menu-close {
  position: absolute; top: 22px; right: 26px; background: none; border: none;
  font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink);
}
.mobile-menu-cta { margin-top: 26px; display: grid; gap: 10px; }

/* ── BUTTONS ────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c9662f; color: #fff; }
.btn-outline { background: var(--white); border-color: var(--border-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-danger { background: var(--white); border-color: #e8c9c7; color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── FORMS ──────────────────────────────────────────────── */

.field { margin-bottom: 18px; }
.field label, .label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.input, .select, .textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border-2);
  border-radius: 10px; background: var(--white); font-size: 14.5px;
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13,92,99,.12);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236b7a8d' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-2); cursor: pointer; margin-bottom: 10px;
}
.check input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 22px; }
.fieldset {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 22px;
}
.fieldset legend {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .9px; color: var(--brand); padding: 0 8px;
}
.form-actions {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding-top: 8px; border-top: 1px solid var(--border); margin-top: 26px; padding-top: 22px;
}

.alert {
  padding: 13px 16px; border-radius: 10px; font-size: 14px;
  font-weight: 600; margin-bottom: 20px; border: 1px solid transparent;
}
.alert-success { background: var(--good-bg); color: var(--good); border-color: #c3e6d3; }
.alert-error   { background: var(--bad-bg);  color: var(--bad);  border-color: #f0cecb; }
.alert-info    { background: var(--info-bg); color: var(--info); border-color: #cdd9fb; }

/* ── AUTH CARD ──────────────────────────────────────────── */

.auth-wrap { max-width: 440px; margin: 0 auto; padding: 56px 24px 80px; }
.auth-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm);
}
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.7px; margin-bottom: 6px; }
.auth-head p { font-size: 14.5px; color: var(--muted); }
.auth-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.auth-divider {
  display: flex; align-items: center; gap: 14px; margin: 24px 0;
  font-size: 12px; color: var(--faint); font-weight: 700;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.role-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--paper); padding: 5px; border-radius: 12px; margin-bottom: 26px;
}
.role-toggle a {
  padding: 10px; text-align: center; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
}
.role-toggle a.active { background: var(--white); color: var(--brand); box-shadow: var(--shadow-xs); }

/* ── HOME HERO ──────────────────────────────────────────── */

.hero { padding: 68px 0 44px; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 50px; font-weight: 800; letter-spacing: -2px; line-height: 1.02; }
.hero p.hero-sub { font-size: 19px; color: var(--muted); margin-top: 14px; font-weight: 500; }

.searchbar {
  display: flex; align-items: stretch; gap: 0; margin-top: 34px;
  background: var(--white); border: 1px solid var(--border-2);
  border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden;
}
.searchbar-field { flex: 1; padding: 13px 20px; border-right: 1px solid var(--border); min-width: 0; }
.searchbar-field:last-of-type { border-right: none; }
.searchbar-field label {
  display: block; font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .7px; color: var(--faint); margin-bottom: 3px;
}
.searchbar-field input, .searchbar-field select {
  width: 100%; border: none; outline: none; font-size: 15px;
  font-weight: 600; color: var(--ink); background: transparent; padding: 0;
}
.searchbar-field select { appearance: none; cursor: pointer; }
.searchbar-field input::placeholder { color: var(--faint); font-weight: 500; }
.searchbar-btn {
  border: none; background: var(--brand); color: #fff; padding: 0 34px;
  font-size: 15px; font-weight: 800; cursor: pointer; transition: background .15s;
  display: flex; align-items: center; gap: 8px;
}
.searchbar-btn:hover { background: var(--brand-600); }

.quick-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.quick-links .small { margin-right: 4px; }
.chip {
  padding: 6px 15px; border-radius: 20px; border: 1px solid var(--border-2);
  font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--white);
  transition: all .15s; white-space: nowrap;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.hero-stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.8px; }
.hero-stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ── CARDS ──────────────────────────────────────────────── */

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card-pad-lg { padding: 28px; }
.card-hover { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-hover:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }

/* ── JOB CARD ───────────────────────────────────────────── */

.job-card {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.job-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-md); }
.job-card.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(13,92,99,.14); }
.job-card-top { display: flex; gap: 14px; align-items: flex-start; }
.job-logo {
  width: 48px; height: 48px; border-radius: 11px; flex-shrink: 0;
  border: 1px solid var(--border); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--brand); overflow: hidden;
}
.job-logo img { width: 100%; height: 100%; object-fit: contain; }
.job-card-body { flex: 1; min-width: 0; }
.job-title {
  font-size: 16.5px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.3px; line-height: 1.3; margin-bottom: 3px;
}
.job-card:hover .job-title { color: var(--brand); }
.job-company { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.job-meta {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px;
  font-size: 13px; color: var(--muted);
}
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-salary { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.job-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--faint);
}
.save-btn {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--faint); transition: all .15s; z-index: 3;
}
.save-btn:hover { border-color: var(--accent); color: var(--accent); }
.save-btn.saved { background: var(--accent-50); border-color: var(--accent); color: var(--accent); }
.save-btn svg { width: 16px; height: 16px; }

.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: 7px; font-size: 12px; font-weight: 700;
  background: var(--paper); color: var(--ink-2); border: 1px solid var(--border);
}
.tag-brand { background: var(--brand-50); color: var(--brand); border-color: var(--brand-100); }
.tag-accent { background: var(--accent-50); color: var(--accent); border-color: #f5dcc9; }
.tag-good { background: var(--good-bg); color: var(--good); border-color: #c3e6d3; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .2px;
}
.badge-featured { background: var(--accent-50); color: var(--accent); }
.badge-premium { background: var(--purple-bg); color: var(--purple); }
.badge-verified { background: var(--info-bg); color: var(--info); }
.badge-new { background: var(--good-bg); color: var(--good); }
.st-new { background: var(--info-bg); color: var(--info); }
.st-reviewed { background: var(--paper); color: var(--ink-2); }
.st-interview { background: var(--purple-bg); color: var(--purple); }
.st-offer { background: var(--warn-bg); color: var(--warn); }
.st-hired { background: var(--good-bg); color: var(--good); }
.st-closed { background: #f1f3f5; color: var(--faint); }

/* ── SEARCH / RESULTS ───────────────────────────────────── */

.search-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 20px 0; position: sticky; top: var(--header-h); z-index: 200;
}
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.filter-select {
  padding: 8px 32px 8px 14px; border-radius: 20px; border: 1px solid var(--border-2);
  background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath fill='%236b7a8d' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.filter-select.has-value { border-color: var(--brand); color: var(--brand); background-color: var(--brand-50); }
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.results-count { font-size: 14px; font-weight: 700; color: var(--ink); }
.view-toggle {
  display: inline-flex; background: var(--paper); border-radius: 10px; padding: 3px;
  border: 1px solid var(--border);
}
.view-toggle a {
  padding: 7px 18px; border-radius: 8px; font-size: 13px;
  font-weight: 700; color: var(--muted);
}
.view-toggle a.active { background: var(--white); color: var(--brand); box-shadow: var(--shadow-xs); }

.job-list { display: grid; gap: 14px; }

.empty {
  text-align: center; padding: 60px 24px; border: 1px dashed var(--border-2);
  border-radius: var(--radius); background: var(--paper);
}
.empty h3 { font-size: 18px; font-weight: 800; margin-bottom: 7px; }
.empty p { font-size: 14.5px; color: var(--muted); max-width: 420px; margin: 0 auto 18px; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pager-btn {
  min-width: 38px; padding: 8px 13px; border-radius: 9px; border: 1px solid var(--border-2);
  font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-align: center; background: var(--white);
}
.pager-btn:hover { border-color: var(--brand); color: var(--brand); }
.pager-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-gap { padding: 8px 4px; color: var(--faint); }

/* ── MAP SPLIT VIEW ─────────────────────────────────────── */

.map-shell {
  display: grid; grid-template-columns: minmax(420px, 46%) 1fr;
  height: calc(100vh - var(--header-h)); overflow: hidden;
}
.map-results { overflow-y: auto; padding: 20px 22px 60px; border-right: 1px solid var(--border); }
.map-pane { position: relative; background: var(--paper); }
#map { position: absolute; inset: 0; }
.map-search-area {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 500; background: var(--white); border: 1px solid var(--border-2);
  border-radius: 22px; padding: 9px 20px; font-size: 13.5px; font-weight: 700;
  color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer; display: none;
}
.map-search-area.show { display: block; }
.map-search-area:hover { background: var(--paper); }
.map-toggle-mobile { display: none; }
.leaflet-marker-pin {
  background: var(--white); border: 1.5px solid var(--border-2); border-radius: 20px;
  padding: 5px 11px; font-size: 12.5px; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow-sm); white-space: nowrap; font-family: 'Plus Jakarta Sans', sans-serif;
}
.leaflet-marker-pin.active, .leaflet-marker-pin:hover {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.leaflet-marker-pin.approx { border-style: dashed; }

/* ── JOB DETAIL ─────────────────────────────────────────── */

.detail-shell {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 40px; align-items: start; padding: 36px 0 72px;
}
.detail-head { border-bottom: 1px solid var(--border); padding-bottom: 24px; margin-bottom: 26px; }
.detail-head h1 { font-size: 32px; font-weight: 800; letter-spacing: -1px; line-height: 1.12; }
.detail-company {
  display: flex; align-items: center; gap: 13px; margin-top: 16px;
}
.detail-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px;
  font-size: 14px; color: var(--ink-2);
}
.detail-meta strong { display: block; font-size: 12px; color: var(--faint); font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.detail-section { margin-bottom: 30px; }
.detail-section h2 {
  font-size: 18px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.3px;
}
.apply-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.apply-card .logo-lg {
  width: 62px; height: 62px; border-radius: 13px; border: 1px solid var(--border);
  background: var(--paper); display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800; color: var(--brand); margin-bottom: 15px; overflow: hidden;
}
.apply-card .logo-lg img { width: 100%; height: 100%; object-fit: contain; }
.apply-meta-list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.apply-meta-list div {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13.5px; padding: 6px 0; color: var(--muted);
}
.apply-meta-list div strong { color: var(--ink); font-weight: 700; text-align: right; }

.relocate-box {
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius); padding: 22px; margin-bottom: 30px;
}
.relocate-box h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.relocate-box .rl-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 7px 0; font-size: 14px; border-bottom: 1px solid rgba(13,92,99,.10);
}
.relocate-box .rl-row:last-of-type { border-bottom: none; }
.relocate-box .rl-row strong { font-weight: 700; }

/* ── QUICK APPLY ────────────────────────────────────────── */

.apply-check-list { display: grid; gap: 10px; margin-bottom: 20px; }
.apply-check {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  background: var(--paper); border: 1px solid var(--border); border-radius: 11px;
}
.apply-check .ok {
  width: 22px; height: 22px; border-radius: 50%; background: var(--good-bg);
  color: var(--good); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; flex-shrink: 0;
}
.apply-check .miss { background: var(--warn-bg); color: var(--warn); }
.apply-check-body { flex: 1; min-width: 0; }
.apply-check-body strong { display: block; font-size: 13.5px; }
.apply-check-body span { font-size: 12.5px; color: var(--muted); }

/* ── DASHBOARD ──────────────────────────────────────────── */

.dash { padding: 34px 0 72px; }
.dash-head { margin-bottom: 28px; }
.dash-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.dash-head p { font-size: 15px; color: var(--muted); margin-top: 4px; }

.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; transition: border-color .15s;
}
.stat-card:hover { border-color: var(--border-2); }
.stat-label {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .6px;
}
.stat-value {
  font-size: 32px; font-weight: 800; letter-spacing: -1.2px;
  color: var(--ink); line-height: 1.1; margin-top: 7px;
}
.stat-note { font-size: 13px; color: var(--faint); margin-top: 2px; }
.stat-card.accent .stat-value { color: var(--brand); }

.progress-track {
  height: 7px; background: var(--border); border-radius: 5px;
  overflow: hidden; margin: 10px 0 8px;
}
.progress-fill { height: 100%; background: var(--brand); border-radius: 5px; transition: width .4s; }

.resume-module {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--paper);
}
.resume-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--white);
  border: 1px solid var(--border); display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; color: var(--bad); flex-shrink: 0;
}
.resume-body { flex: 1; min-width: 180px; }
.resume-body strong { display: block; font-size: 14.5px; font-weight: 700; word-break: break-all; }
.resume-body span { font-size: 12.5px; color: var(--muted); }

.dash-sidebar-nav { display: grid; gap: 3px; position: sticky; top: calc(var(--header-h) + 24px); }
.dash-sidebar-nav a {
  padding: 10px 14px; border-radius: 9px; font-size: 14px;
  font-weight: 600; color: var(--ink-2);
}
.dash-sidebar-nav a:hover { background: var(--paper); }
.dash-sidebar-nav a.active { background: var(--brand-50); color: var(--brand); font-weight: 700; }
.dash-shell { display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: start; }

/* ── TABLES ─────────────────────────────────────────────── */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; background: var(--white); }
.table th {
  padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 800;
  color: var(--muted); text-transform: uppercase; letter-spacing: .6px;
  border-bottom: 1px solid var(--border); background: var(--paper); white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: #fbfcfd; }
.table .t-strong { font-weight: 700; color: var(--ink); }
.table .t-sub { font-size: 12.5px; color: var(--muted); }

/* ── PIPELINE (applicant tracking) ──────────────────────── */

.pipeline { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.pipe-col { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; min-height: 200px; }
.pipe-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; color: var(--muted); margin-bottom: 12px; padding: 0 3px;
}
.pipe-count { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 1px 9px; color: var(--ink); }
.pipe-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 11px;
  padding: 13px; margin-bottom: 9px; display: block;
}
.pipe-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.pipe-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.pipe-card span { font-size: 12.5px; color: var(--muted); }

/* ── COMPANY ────────────────────────────────────────────── */

.company-cover {
  height: 220px; background: var(--brand-50); border-radius: var(--radius-lg);
  background-size: cover; background-position: center; border: 1px solid var(--border);
}
.company-head { display: flex; gap: 22px; align-items: flex-end; margin-top: -46px; padding: 0 26px; }
.company-logo-lg {
  width: 96px; height: 96px; border-radius: 18px; background: var(--white);
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 800; color: var(--brand); flex-shrink: 0; overflow: hidden;
}
.company-logo-lg img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.company-card { display: block; }
.company-card .cc-logo {
  width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--paper); display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--brand); margin-bottom: 14px; overflow: hidden;
}
.company-card .cc-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ── INDUSTRY GRID ──────────────────────────────────────── */

.industry-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); min-height: 104px; transition: all .15s;
}
.industry-card:hover { border-color: var(--brand); background: var(--brand-50); }
.industry-card strong { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; }
.industry-card span { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ── SPONSOR / ADS ──────────────────────────────────────── */

.sponsor-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; background: var(--white); display: block; position: relative;
}
.sponsor-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.sponsor-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--faint); margin-bottom: 9px;
}
.sponsor-card h4 { font-size: 15.5px; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.2px; }
.sponsor-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.sponsor-card .sponsor-cta { font-size: 13px; font-weight: 700; color: var(--brand); margin-top: 12px; display: inline-block; }
.sponsor-card img.sponsor-img { border-radius: 9px; margin-bottom: 13px; width: 100%; height: 140px; object-fit: cover; }
.sponsor-inline {
  display: flex; gap: 16px; align-items: center; border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 18px 20px; background: var(--white);
}
.sponsor-presented {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--paper); margin: 22px 0; font-size: 13px; color: var(--muted);
}
.sponsor-presented strong { color: var(--ink); font-weight: 700; }

/* ── EDITORIAL / GUIDES ─────────────────────────────────── */

.guide-hero { padding: 52px 0 40px; border-bottom: 1px solid var(--border); }
.guide-shell { display: grid; grid-template-columns: 1fr 300px; gap: 46px; align-items: start; padding: 40px 0 70px; }
.guide-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.guide-toc-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .9px; color: var(--faint); margin-bottom: 12px;
}
.guide-toc a { display: block; padding: 7px 0; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.guide-toc a:hover, .guide-toc a.active { color: var(--brand); }
.guide-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; background: var(--white); transition: all .15s;
}
.guide-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.guide-card strong { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; }
.guide-card p { font-size: 13.5px; color: var(--muted); margin-top: 6px; line-height: 1.55; }

.cta-band {
  background: var(--brand); color: #fff; border-radius: var(--radius-lg);
  padding: 42px 44px; display: flex; align-items: center;
  justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 27px; font-weight: 800; letter-spacing: -0.9px; color: #fff; }
.cta-band p { font-size: 15.5px; color: rgba(255,255,255,.82); margin-top: 7px; max-width: 460px; }
.cta-band .btn-outline { background: #fff; border-color: #fff; color: var(--brand); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.9); color: var(--brand-700); }

/* ── FOOTER ─────────────────────────────────────────────── */

.site-footer { background: var(--paper); border-top: 1px solid var(--border); margin-top: 60px; }
.footer-main {
  max-width: var(--max); margin: 0 auto; padding: 48px 24px 36px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand .wordmark { font-size: 20px; margin-bottom: 12px; display: inline-block; }
.footer-tagline { font-size: 13.5px; color: var(--muted); line-height: 1.65; max-width: 250px; margin-bottom: 18px; }
.footer-contact { font-size: 13px; color: var(--muted); }
.footer-contact a { color: var(--brand); }
.fc-heading {
  font-size: 11px; font-weight: 800; color: var(--faint);
  text-transform: uppercase; letter-spacing: .9px; margin-bottom: 14px;
}
.fc-links { display: flex; flex-direction: column; gap: 9px; }
.fc-links a { font-size: 13.5px; color: var(--ink-2); }
.fc-links a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-in {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.footer-bottom-in .fb-brand { font-size: 13px; font-weight: 700; color: var(--ink); }
.footer-bottom-in .fb-brand span { color: var(--muted); font-weight: 500; margin-left: 8px; }
.fb-copy { font-size: 12.5px; color: var(--faint); }

/* ── ADMIN / EMPLOYER CONSOLE ───────────────────────────── */

.console { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - var(--header-h)); }
.console-nav { border-right: 1px solid var(--border); padding: 24px 16px; background: var(--paper); }
.console-nav .cn-label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--faint); padding: 14px 12px 7px;
}
.console-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 13px; border-radius: 9px; font-size: 14px;
  font-weight: 600; color: var(--ink-2); margin-bottom: 2px;
}
.console-nav a:hover { background: var(--white); }
.console-nav a.active { background: var(--white); color: var(--brand); font-weight: 700; box-shadow: var(--shadow-xs); }
.console-nav a .cn-count {
  font-size: 11.5px; font-weight: 800; background: var(--brand-50);
  color: var(--brand); border-radius: 20px; padding: 1px 8px;
}
.console-body { padding: 32px 34px 70px; min-width: 0; }
.console-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 26px;
}
.console-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.9px; }
.console-head p { font-size: 14px; color: var(--muted); margin-top: 3px; }

/* ── UTILITY ────────────────────────────────────────────── */

.stack { display: grid; gap: 14px; }
.stack-sm { display: grid; gap: 8px; }
.stack-lg { display: grid; gap: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.flex-1 { flex: 1; min-width: 0; }
.divider { height: 1px; background: var(--border); margin: 22px 0; }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-right .btn-outline { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .detail-shell { grid-template-columns: 1fr; gap: 28px; }
  .apply-card { position: static; }
  .guide-shell { grid-template-columns: 1fr; gap: 28px; }
  .guide-toc { position: static; display: none; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .console { grid-template-columns: 1fr; }
  .console-nav {
    border-right: none; border-bottom: 1px solid var(--border);
    display: flex; gap: 4px; overflow-x: auto; padding: 12px 16px;
  }
  .console-nav .cn-label { display: none; }
  .console-nav a { white-space: nowrap; margin-bottom: 0; }
  .console-body { padding: 24px 20px 60px; }
  .dash-shell { grid-template-columns: 1fr; gap: 24px; }
  .dash-sidebar-nav {
    position: static; display: flex; gap: 4px; overflow-x: auto;
    border-bottom: 1px solid var(--border); padding-bottom: 10px;
  }
  .dash-sidebar-nav a { white-space: nowrap; }
  .map-shell { grid-template-columns: 1fr; }
  .map-pane { display: none; }
  .map-shell.show-map .map-results { display: none; }
  .map-shell.show-map .map-pane { display: block; height: calc(100vh - var(--header-h) - 54px); }
  .map-toggle-mobile {
    display: flex; justify-content: center; padding: 10px 0;
    border-bottom: 1px solid var(--border); background: var(--white);
    position: sticky; top: var(--header-h); z-index: 210;
  }
}

@media (max-width: 780px) {
  .hero { padding: 42px 0 32px; }
  .hero h1 { font-size: 34px; letter-spacing: -1.2px; }
  .hero p.hero-sub { font-size: 16px; }
  .display { font-size: 32px; letter-spacing: -1.1px; }
  .display-sm { font-size: 26px; }
  .section { padding: 40px 0; }
  .section-title { font-size: 20px; }
  .searchbar { flex-direction: column; border-radius: 14px; }
  .searchbar-field { border-right: none; border-bottom: 1px solid var(--border); }
  .searchbar-btn { padding: 15px; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .detail-head h1 { font-size: 24px; }
  .cta-band { padding: 30px 26px; }
  .cta-band h2 { font-size: 22px; }
  .company-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .auth-card { padding: 26px 22px; }
  .wrap, .wrap-wide, .wrap-narrow { padding: 0 18px; }
  .table th, .table td { padding: 11px 12px; }
}

@media (max-width: 460px) {
  .footer-main { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}

/* ── HOW IT WORKS ──────────────────────────────────────────
   Two-track explainer on the homepage. One column for job
   seekers, one for employers, three numbered steps each.
   ---------------------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.how-track {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px 24px;
}
.how-track.employer {
  background: var(--brand-50);
  border-color: #d5e8e8;
}

.how-track-head { margin-bottom: 20px; }
.how-track-head .eyebrow { margin-bottom: 6px; }
.how-track-head h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
  margin: 0 0 5px;
}
.how-track-head p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.how-steps { list-style: none; margin: 0 0 22px; padding: 0; }
.how-step {
  display: flex;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.how-track.employer .how-step { border-top-color: #d5e8e8; }

.how-num {
  flex-shrink: 0;
  width: 29px; height: 29px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.how-track.employer .how-num { background: var(--accent); }

.how-step-body strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}
.how-step-body span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.how-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.how-note { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; gap: 18px; }
  .how-track { padding: 24px 20px 20px; }
}

/* ── MEGA MENU ─────────────────────────────────────────────
   Replaces the old single column nav dropdown. Hover on
   desktop, and the whole block is hidden below 1080 where the
   hamburger menu takes over.
   ---------------------------------------------------------- */

.nav-link { display: inline-flex; align-items: center; gap: 7px; }
.nav-ico { flex-shrink: 0; opacity: .62; transition: opacity .15s ease; }
.nav-link:hover .nav-ico,
.nav-link.active .nav-ico { opacity: 1; }

.nav-caret { opacity: .5; margin-left: 1px; transition: transform .18s ease, opacity .15s ease; }
.nav-mega-wrap:hover .nav-caret { transform: rotate(180deg); opacity: .9; }

.nav-mega-wrap { position: relative; }

.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 12px;            /* hover bridge, keeps the panel reachable */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .17s ease, transform .17s ease, visibility .17s;
  z-index: 300;
}
.nav-mega-wrap:hover .nav-mega,
.nav-mega-wrap:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-mega-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(15, 28, 46, .13), 0 2px 8px rgba(15, 28, 46, .05);
  padding: 26px 28px 0;
  min-width: 720px;
}

.nav-mega-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  gap: 30px;
}

.nav-mega-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.nav-mega-link {
  display: block;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .13s ease;
}
.nav-mega-link:hover { background: var(--brand-50); }

.nav-mega-link strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
  line-height: 1.35;
}
.nav-mega-link:hover strong { color: var(--brand); }
.nav-mega-link span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 1px;
}

.nav-mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 22px -28px 0;
  padding: 15px 28px;
  border-top: 1px solid var(--border);
  background: var(--paper);
  border-radius: 0 0 20px 20px;
}
.nav-mega-note { font-size: 13px; color: var(--muted); }
.nav-mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}
.nav-mega-cta:hover { text-decoration: underline; }
.nav-mega-cta svg { transition: transform .15s ease; }
.nav-mega-cta:hover svg { transform: translateX(2px); }

/* Narrower panels do not fit on smaller laptops, so pull them
   back to the right edge instead of centering. */
@media (max-width: 1240px) {
  .nav-mega { left: auto; right: 0; transform: translateY(6px); }
  .nav-mega-wrap:hover .nav-mega,
  .nav-mega-wrap:focus-within .nav-mega { transform: translateY(0); }
  .nav-mega-panel { min-width: 640px; }
  .nav-mega-cols { gap: 22px; }
}

/* Group headings inside the mobile overlay menu. */
.mobile-menu-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 0 4px;
}

/* ── BENTO GRID ────────────────────────────────────────────
   Mixed size cards on the homepage. Dark panels carry a
   brightened teal so text stays legible against the ink.
   ---------------------------------------------------------- */
:root { --bright: #5eead4; }

.bento-head { max-width: 620px; margin-bottom: 26px; }
.bento-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--ink);
  margin: 8px 0 8px;
}
.bento-sub { font-size: 16px; color: var(--muted); line-height: 1.6; margin: 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  background: #fff;
  overflow: hidden;
}
.bento-card.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.bento-card.dark p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.6; margin: 0; }

/* Stat */
.b-figure {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1;
  color: var(--bright);
  margin-bottom: 18px;
}
.b-figure span { font-size: 21px; letter-spacing: -0.6px; }
.b-stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; }

/* Relocation card */
.b-reloc { display: flex; flex-direction: column; justify-content: space-between; min-height: 210px; }
.b-lead { font-size: 14px; line-height: 1.6; }
.b-flow { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.b-arrow { color: var(--bright); flex-shrink: 0; }
.b-chip {
  border: 1px solid rgba(94,234,212,.4);
  color: var(--bright);
  border-radius: 9px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.b-chip.solid { background: var(--bright); color: var(--ink); border-color: var(--bright); }
.b-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.b-tags span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  border-radius: 7px;
  padding: 5px 10px;
}

/* Photo slot */
.b-photo { padding: 0; min-height: 210px; background: var(--paper); }
.b-photo.has-photo { background-size: cover; background-position: center; }
.b-illus { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Wide card */
.b-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 1.15fr;
  gap: 34px;
  align-items: center;
  padding: 32px;
}
.b-wide-copy h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.12;
  color: var(--bright);
  margin: 0 0 12px;
}
.b-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.b-link:hover { color: var(--bright); }
.b-link svg { transition: transform .15s ease; }
.b-link:hover svg { transform: translateX(2px); }

/* Data panel inside the wide card */
.b-panel { background: #fff; border-radius: 15px; padding: 20px 22px; color: var(--ink); }
.b-panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.b-panel-head strong { font-size: 14.5px; font-weight: 800; letter-spacing: -0.3px; }
.b-panel-head span { font-size: 12.5px; color: var(--muted); }

.b-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.b-bar-label { width: 74px; flex-shrink: 0; font-size: 13px; color: var(--muted); }
.b-bar-track { flex: 1; height: 9px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.b-bar-fill {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #12787f);
  min-width: 0;
}
.b-bar-num { width: 26px; text-align: right; font-size: 13px; font-weight: 800; }

.b-panel-foot {
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--muted);
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b-photo { grid-column: 1 / -1; min-height: 170px; }
  .b-wide { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .bento-title { font-size: 30px; }
  .b-wide-copy h3 { font-size: 26px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .b-figure { font-size: 48px; }
}

/* ── PRE-LAUNCH STATES ─────────────────────────────────────
   Shown while the site has no listings, so an empty board
   reads as new rather than abandoned.
   ---------------------------------------------------------- */
.hero-launch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
  padding: 11px 18px 11px 15px;
  background: var(--brand-50);
  border: 1px solid #d5e8e8;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-600);
}
.hero-launch a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.hero-launch a:hover { color: var(--ink); }

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(13, 92, 99, .5);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(13, 92, 99, .45); }
  70%  { box-shadow: 0 0 0 9px rgba(13, 92, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 92, 99, 0); }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* Island lineup that stands in for the bar chart pre-launch */
.b-place {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.b-place:last-child { border-bottom: 0; }
.b-place strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.b-place span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── COLOR BLOCKS ──────────────────────────────────────────
   Full width tinted and dark panels so the page reads as
   alternating color fields rather than white with accents.
   ---------------------------------------------------------- */
:root {
  --mint:      #d8f3ec;   /* the bright tinted field */
  --mint-deep: #b9e8dc;
  --mint-line: #a8ddd0;
  --sand:      #fbeadd;   /* warm counterweight */
  --sand-line: #f3d5be;
}

/* A section rendered as one big rounded color field. */
.block {
  border-radius: 30px;
  padding: 54px 48px;
  margin: 0 auto;
}
.block-mint { background: var(--mint); }
.block-sand { background: var(--sand); }
.block-ink  { background: var(--ink); color: #fff; }
.block-brand{ background: var(--brand); color: #fff; }

.section-flush { padding-top: 26px; padding-bottom: 26px; }

/* Headings inside a dark block */
.block-ink .section-title,
.block-brand .section-title { color: #fff; }
.block-ink .section-sub,
.block-brand .section-sub { color: rgba(255,255,255,.72); }
.block-ink .eyebrow,
.block-brand .eyebrow { color: var(--bright); }
.block-ink .section-head-link,
.block-brand .section-head-link { color: var(--bright); }

/* Cards sitting on a tinted field need a solid fill to read. */
.block-mint .guide-card,
.block-sand .guide-card,
.block-mint .industry-card,
.block-sand .industry-card {
  background: #fff;
  border-color: transparent;
}
.block-mint .guide-card:hover,
.block-sand .guide-card:hover { border-color: var(--mint-line); }

/* Cards on a dark field */
.block-ink .guide-card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.13);
}
.block-ink .guide-card strong { color: #fff; }
.block-ink .guide-card p { color: rgba(255,255,255,.68); }
.block-ink .guide-card:hover {
  background: rgba(255,255,255,.09);
  border-color: var(--bright);
}
.block-ink .guide-card:hover strong { color: var(--bright); }

/* Industry cards get rotating tints so the grid is not 12 white boxes. */
.industry-card.t1 { background: var(--brand-50);  border-color: #d8ecec; }
.industry-card.t2 { background: var(--sand);      border-color: var(--sand-line); }
.industry-card.t3 { background: var(--mint);      border-color: var(--mint-line); }
.industry-card.t4 { background: #eef1f6;          border-color: #dde3ec; }
.industry-card.t1:hover, .industry-card.t2:hover,
.industry-card.t3:hover, .industry-card.t4:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* How it works, restyled for the mint field */
.block-mint .how-track { background: #fff; border-color: transparent; }
.block-mint .how-track.employer {
  background: var(--ink);
  border-color: var(--ink);
}
.block-mint .how-track.employer .how-track-head h3 { color: var(--bright); }
.block-mint .how-track.employer .how-track-head p,
.block-mint .how-track.employer .how-step-body span { color: rgba(255,255,255,.7); }
.block-mint .how-track.employer .how-track-head .eyebrow { color: var(--bright); }
.block-mint .how-track.employer .how-step-body strong { color: #fff; }
.block-mint .how-track.employer .how-step { border-top-color: rgba(255,255,255,.14); }
.block-mint .how-track.employer .how-num { background: var(--accent); color: #fff; }
.block-mint .how-track.employer .btn-ghost { color: var(--bright); }
.block-mint .how-track.employer .btn-ghost:hover { background: rgba(255,255,255,.1); }
.block-mint .how-note { color: var(--brand-600); }

/* Hero gets a soft wash instead of flat white. */
.hero {
  background:
    radial-gradient(1100px 460px at 8% -8%, var(--mint) 0%, rgba(216,243,236,0) 62%),
    radial-gradient(760px 380px at 96% 4%, var(--sand) 0%, rgba(251,234,221,0) 58%),
    #fff;
}

@media (max-width: 860px) {
  .block { padding: 36px 22px; border-radius: 22px; }
}

/* ── MEGA MENU POSITION FIX ────────────────────────────────
   The panel was centered on its trigger, so items sitting near
   the left edge pushed half the panel off screen. Anchor it to
   the header container instead, which cannot overflow.
   ---------------------------------------------------------- */
.header-in { position: relative; }

/* The trigger no longer forms the positioning context. */
.nav-mega-wrap { position: static; }

.nav-mega {
  position: absolute;
  top: 100%;
  left: 24px;                 /* matches .header-in horizontal padding */
  right: 24px;
  transform: translateY(6px);
  padding-top: 12px;
  display: flex;
}
.nav-mega-wrap:hover .nav-mega,
.nav-mega-wrap:focus-within .nav-mega { transform: translateY(0); }

.nav-mega-panel {
  min-width: 0;
  width: 100%;
  max-width: 860px;           /* keeps the columns from stretching thin */
}

/* Restore the earlier right-edge rule so it does not fight this one. */
@media (max-width: 1240px) {
  .nav-mega { left: 24px; right: 24px; transform: translateY(6px); }
  .nav-mega-wrap:hover .nav-mega,
  .nav-mega-wrap:focus-within .nav-mega { transform: translateY(0); }
  .nav-mega-panel { min-width: 0; }
}

/* Below the desktop nav breakpoint the hamburger takes over. */
@media (max-width: 1080px) {
  .nav-mega { display: none; }
}

/* ── SEARCH BUTTON GRADIENT ────────────────────────────────
   Same teal family as the page wash, rendered deep enough that
   white text clears AA at both stops (10.2:1 and 5.2:1).
   The pale mint and sand of the background itself would only
   reach 1.17:1, so those stops are not usable behind text.
   ---------------------------------------------------------- */
.searchbar-btn {
  background: linear-gradient(135deg, var(--brand-600) 0%, #0d5c63 46%, #12787f 100%);
  background-size: 160% 160%;
  background-position: 0% 50%;
  transition: background-position .45s ease, box-shadow .2s ease, filter .2s ease;
  position: relative;
  overflow: hidden;
}
.searchbar-btn:hover {
  background: linear-gradient(135deg, var(--brand-600) 0%, #0d5c63 46%, #12787f 100%);
  background-size: 160% 160%;
  background-position: 100% 50%;
  box-shadow: inset 0 0 0 100vmax rgba(255,255,255,.04);
}
.searchbar-btn:active { filter: brightness(.94); }

/* Soft highlight across the top edge so the fill reads as dimensional
   rather than flat, the way the reference buttons do. */
.searchbar-btn::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,0));
  pointer-events: none;
}
.searchbar-btn > * { position: relative; z-index: 1; }

.searchbar-btn:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: -3px;
}

/* ── GREEN TO ORANGE GRADIENT ──────────────────────────────
   Tropical sweep for display type and the primary button.
   Stops verified against white: the headline never drops below
   3.56:1 and the button never below 5.03:1 at any interpolated
   point, so nothing in the sweep becomes unreadable.
   ---------------------------------------------------------- */
:root {
  --grad-warm: linear-gradient(100deg, #0d5c63 0%, #1a8a5c 26%, #4e9c3a 52%, #f06018 100%);
  --grad-btn:  linear-gradient(135deg, #0a484e 0%, #146b4f 45%, #c2521a 100%);
}

/* Gradient display text. Falls back to solid brand where
   background-clip: text is unsupported. */
.grad-text {
  color: var(--brand);
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .06em;   /* stops descenders being clipped */
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .grad-text { -webkit-text-fill-color: currentColor; background: none; color: var(--brand); }
}

/* Wordmark */
.wordmark span {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .wordmark span { -webkit-text-fill-color: currentColor; background: none; color: var(--brand); }
}

/* Search button picks up the same sweep. */
.searchbar-btn,
.searchbar-btn:hover {
  background: var(--grad-btn);
  background-size: 175% 175%;
}
.searchbar-btn { background-position: 0% 50%; }
.searchbar-btn:hover { background-position: 100% 50%; }

/* Thin gradient rule usable under section headings. */
.grad-rule {
  height: 4px; width: 64px; border-radius: 99px;
  background: var(--grad-warm); margin-bottom: 18px;
}

/* Eyebrow label in gradient */
.eyebrow.grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
