/* ========== GYD Career — design tokens & base styles ========== */

:root {
  /* Navy palette mapped to Espresso */
  --navy-950: #1a1510;
  --navy-900: #1a1510;
  --navy-800: #2a231c;   /* primary text / dark */
  --navy-700: #3e342b;
  --navy-600: #55493d;
  --navy-500: #6f6153;
  --navy-100: #e0d5c8;
  --navy-50:  #f2e9dc;

  /* Gold accent mapped to Terracotta */
  --gold-700: #b35a2d;
  --gold-600: #c96b3d;
  --gold-500: #d97b4d;   /* primary accent */
  --gold-400: #e89568;
  --gold-100: #f5e2d5;
  --gold-50:  #fcf1eb;

  /* Paper / neutrals */
  --paper:    #FBF3E4;   /* premium creamy background */
  --paper-2:  #F4E8D3;   /* slightly darker creamy surface */
  --ink:      #2A231C;   /* dark espresso for text */
  --ink-2:    #4A3F35;
  --ink-3:    #766A5F;
  --ink-4:    #A3988D;
  --line:     #E5D4B8;
  --line-2:   #D1C0A3;
  --white:    #FFFDF9;

  /* Status / freshness */
  --fresh:    #2F5A46;
  --fresh-bg: #E8F0EC;
  --active:   #B87042;
  --active-bg:#FDF3ED;
  --aging:    #A15B5B;
  --aging-bg: #F9EBEB;
  --danger:   #9C3B3B;

  /* Radii / shadows */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shadow-1: 0 2px 4px rgba(42,35,28,.04);
  --shadow-2: 0 8px 24px rgba(42,35,28,.06);
  --shadow-3: 0 24px 56px rgba(42,35,28,.08);

  /* Type */
  --f-display: "Playfair Display", Georgia, serif;
  --f-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }

html, body, #root { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

@keyframes floatOrb {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.6; }
  33%  { transform: translate(40px, -60px) scale(1.15) rotate(15deg); opacity: 0.8; }
  66%  { transform: translate(-30px, 30px) scale(0.9) rotate(-10deg); opacity: 0.9; }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.6; }
}

@keyframes shimmerText {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Card pop-in from below with spring */
@keyframes cardPop {
  0%   { opacity: 0; transform: translateY(32px) scale(0.94); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.02); }
  80%  { transform: translateY(3px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Slide in from left for filters */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Staggered row entry */
@keyframes staggerRow {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating flag emoji on country card */
@keyframes floatFlag {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%       { transform: translateY(-4px) rotate(-4deg); }
  75%       { transform: translateY(-2px) rotate(3deg); }
}

/* Gold glow pulse for verified badge area */
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,123,77,0); }
  50%      { box-shadow: 0 0 18px 4px rgba(217,123,77,0.18); }
}

/* Border trace on card hover */
@keyframes borderTrace {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.delay-1 { animation-delay: 150ms !important; }
.delay-2 { animation-delay: 300ms !important; }
.delay-3 { animation-delay: 450ms !important; }

/* Stagger delays for country cards and job rows */
.country-card:nth-child(1)  { animation-delay: 0ms; }
.country-card:nth-child(2)  { animation-delay: 60ms; }
.country-card:nth-child(3)  { animation-delay: 120ms; }
.country-card:nth-child(4)  { animation-delay: 180ms; }
.country-card:nth-child(5)  { animation-delay: 240ms; }
.country-card:nth-child(6)  { animation-delay: 300ms; }
.country-card:nth-child(7)  { animation-delay: 360ms; }
.country-card:nth-child(8)  { animation-delay: 420ms; }
.country-card:nth-child(9)  { animation-delay: 480ms; }
.country-card:nth-child(10) { animation-delay: 540ms; }
.country-card:nth-child(11) { animation-delay: 600ms; }
.country-card:nth-child(12) { animation-delay: 660ms; }

.job-row:nth-child(1) { animation-delay: 0ms; }
.job-row:nth-child(2) { animation-delay: 70ms; }
.job-row:nth-child(3) { animation-delay: 140ms; }
.job-row:nth-child(4) { animation-delay: 210ms; }
.job-row:nth-child(5) { animation-delay: 280ms; }
.job-row:nth-child(6) { animation-delay: 350ms; }

section.hero, main.container > div,
.eyebrow, .hero h1, .hero .lede, .hero-cta, .hero-search, .kpi-card {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Country cards: spring pop-in */
.country-card {
  animation: cardPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Job rows: stagger slide-up */
.job-row {
  animation: staggerRow 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ========== utility ========== */
.serif { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em; }
.mono  { font-family: var(--f-mono); }
.upper { text-transform: uppercase; letter-spacing: 0.12em; }
.tabular { font-variant-numeric: tabular-nums; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* horizontal rule */
.hr { height: 1px; background: var(--line); border: 0; }

/* ========== Top Nav ========== */
.topbar-strip {
  background: var(--paper);
  color: var(--ink-3);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
}
.topbar-strip .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 32px;
}
.topbar-strip .ts-meta { display: flex; gap: 22px; align-items: center; }
.topbar-strip .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #28d27a; box-shadow: 0 0 0 0 rgba(40,210,122,0.5);
  animation: pulseDot 1.8s ease-out infinite;
  display: inline-block; margin-right: 8px; vertical-align: middle;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(40,210,122,0.45); }
  70%  { box-shadow: 0 0 0 8px rgba(40,210,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(40,210,122,0); }
}

.nav {
  background: rgba(251, 243, 228, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--ink);
  border-bottom: 1px solid rgba(227, 225, 216, 0.6);
  position: sticky; top: 0; z-index: 60;
  box-shadow: 0 4px 24px rgba(11, 19, 32, 0.03);
}
.nav .container {
  display: flex; align-items: center; gap: 32px; height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
/* Circle logo hover — lift + glow */
.brand:hover > div:first-child {
  box-shadow: 0 6px 20px rgba(217,123,77,0.35), inset 0 1px 0 rgba(255,255,255,0.9) !important;
  transform: scale(1.08) rotate(-3deg);
}
.brand:hover { opacity: 0.92; }

/* Mode Switch */
.mode-switch-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  border: 1px solid rgba(229, 212, 184, 0.5);
  transition: all 0.3s ease;
}
.mode-switch-container:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--gold-400);
  box-shadow: 0 4px 12px rgba(217, 123, 77, 0.08);
}

.mode-switch {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.mode-switch-track {
  width: 40px;
  height: 20px;
  background: var(--navy-100);
  border-radius: 100px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.mode-switch.active .mode-switch-track {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-color: var(--gold-500);
  box-shadow: 0 4px 12px rgba(217,123,77,0.2);
}
.mode-switch-knob {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.mode-switch.active .mode-switch-knob {
  left: calc(100% - 17px);
  box-shadow: -2px 0 4px rgba(0,0,0,0.1);
}

.mode-switch-labels {
  display: flex;
  flex-direction: column;
  line-height: 1;
  user-select: none;
}
.mode-switch-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gold-600);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}
.mode-switch-target {
  font-size: 20px;
  font-family: var(--f-display);
  color: var(--navy-900);
  fontWeight: 800;
  line-height: 1;
}

.nav-separator {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.brand-logo-container {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-400);
  box-shadow: 0 2px 10px rgba(217,123,77,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-logo-container img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}
.brand:hover .brand-logo-container {
  box-shadow: 0 8px 24px rgba(217,123,77,0.3), inset 0 1px 0 rgba(255,255,255,0.9);
  transform: scale(1.1) rotate(-5deg);
  border-color: var(--gold-500);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
  user-select: none;
  text-align: left;
}
.brand-main {
  font-family: var(--f-display);
  font-size: 22px;
  fontWeight: 600;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 500;
}


.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
  color: var(--navy-900);
  font-family: var(--f-display);
  font-size: 18px; font-weight: 500;
  border-radius: 4px;
  letter-spacing: -0.02em;
  position: relative;
}
.brand-mark::after{
  content:""; position:absolute; inset:0; border-radius:4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.15);
}
.brand-wm { display: flex; flex-direction: column; line-height: 1; }
.brand-wm .b1 { font-family: var(--f-display); font-size: 20px; letter-spacing: 0.01em; }
.brand-wm .b2 {
  font-size: 9.5px; letter-spacing: 0.22em;
  color: var(--gold-400); margin-top: 4px;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink-3);
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: all 250ms cubic-bezier(0.23, 1, 0.32, 1);
  background: transparent; border: 0;
  position: relative;
}
.nav-link:hover { 
  color: var(--ink); 
  background: var(--paper-2);
  transform: translateY(-1px);
}
.nav-link.active {
  color: var(--navy-900);
  background: var(--paper-2);
  font-weight: 600;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  animation: fadeInUp 0.4s ease-out both;
}

.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Header Primary Button Glow */
.nav-cta .btn-primary {
  animation: headerBtnPulse 3s infinite;
}

@keyframes headerBtnPulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 123, 77, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(217, 123, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 123, 77, 0); }
}

/* Header Ghost Button Slide */
.nav-cta .btn-nav-ghost:hover {
  background: rgba(217, 123, 77, 0.05);
  border-color: var(--gold-400);
  padding-left: 24px;
  padding-right: 24px;
}

/* Bell shake animation */
.btn-icon:hover svg {
  animation: bellShake 0.5s ease-in-out;
}

@keyframes bellShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-15deg); }
  75% { transform: rotate(10deg); }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: 100px;
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent; color: inherit;
  transition: all 300ms cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy easing */
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Primary Button - Glowing Gradient & Squeeze */
.btn-primary {
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600), var(--gold-400));
  background-size: 200% auto;
  color: var(--navy-900);
  border-color: var(--gold-500);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(217, 123, 77, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { 
  background-position: right center;
  box-shadow: 0 8px 20px rgba(217, 123, 77, 0.4), inset 0 1px 0 rgba(255,255,255,0.6);
  transform: translateY(-2px) scale(1.02);
}
.btn-primary:active { transform: scale(0.95, 0.9); }

/* Dark Button - Tilt & Lift */
.btn-dark {
  background: var(--navy-800); color: var(--white);
  border-color: var(--navy-800);
}
.btn-dark:hover { 
  background: var(--navy-700); 
  border-color: var(--navy-700); 
  transform: translateY(-2px) rotate(1deg) scale(1.03);
  box-shadow: 0 10px 20px rgba(42,35,28,0.2);
}
.btn-dark:active { transform: scale(0.97) translateY(2px) rotate(0deg); }

/* Ghost Button - Pulse Border */
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { 
  background: var(--paper-2); 
  border-color: var(--gold-500); 
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(217, 123, 77, 0.1);
}
.btn-ghost:active { transform: rotate(-2deg) scale(0.94); box-shadow: none; }

/* Nav Ghost Button - Soft Slide */
.btn-nav-ghost {
  background: transparent; color: var(--ink-2);
  border-color: var(--line-2);
}
.btn-nav-ghost:hover { 
  background: var(--paper-2); color: var(--ink); border-color: var(--ink-3); 
  transform: translateY(-1px);
}
.btn-nav-ghost:active { transform: translateY(2px) scale(0.98); }

/* Link Button - Animated Underline */
.btn-link { 
  background: transparent; padding: 0; height: auto; color: var(--navy-700); border: 0; 
  border-radius: 0; overflow: visible;
}
.btn-link::after {
  content: ""; position: absolute; bottom: -2px; left: 50%; width: 0; height: 1px;
  background: var(--navy-700); transition: all 300ms ease; transform: translateX(-50%);
}
.btn-link:hover { color: var(--navy-600); transform: translateY(-1px); }
.btn-link:hover::after { width: 100%; }
.btn-link:active { transform: scale(0.9) translateY(1px); opacity: 0.7; }

/* Icon Button - Spin/Rock */
.btn-icon {
  width: 36px; height: 36px; padding: 0; justify-content: center;
  border-radius: 100px; border: 1px solid var(--line-2); background: var(--white);
}
.btn-icon:hover { 
  background: var(--paper-2); 
  transform: rotate(15deg) scale(1.1);
  border-color: var(--gold-500);
}
.btn-icon:active { transform: rotate(-15deg) scale(0.9); }

/* Sizes & Disabled */
.btn-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none !important; }

/* ========== Inputs ========== */
.input, .select, .textarea {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  font: inherit; font-size: 13px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--ink);
  transition: border-color 120ms, box-shadow 120ms;
}
.textarea { height: auto; padding: 10px 12px; min-height: 84px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30,53,118,0.12);
}
.input::placeholder { color: var(--ink-4); }
.label {
  display: block;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 500;
}

/* ========== Cards ========== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

/* ========== Badges ========== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px;
  font-size: 11px; font-weight: 500;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge-outline {
  background: var(--white);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}
.badge-navy { background: var(--navy-50); color: var(--navy-800); border: 1px solid var(--navy-100); }
.badge-gold { background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-100); }
.badge-dark { background: var(--navy-900); color: var(--white); }

/* Verified sponsor badge — animated shimmer */
.badge-verified {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px 0 8px;
  font-size: 11px; font-weight: 600;
  border-radius: 4px;
  color: var(--navy-900);
  background: linear-gradient(105deg, #f6ecd2 0%, #f9e8b8 25%, #fff8df 45%, #f9e8b8 65%, #f6ecd2 100%);
  background-size: 250% 100%;
  border: 1px solid var(--gold-400);
  animation: shimmer 5s ease-in-out infinite;
  letter-spacing: 0.02em;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.badge-verified svg { color: var(--gold-700); }

/* Freshness pill (compact list version) */
.fresh-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 8px 0 7px;
  font-size: 11px; font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.fresh-pill.fresh   { background: var(--fresh-bg); color: var(--fresh); }
.fresh-pill.active  { background: var(--active-bg); color: var(--active); }
.fresh-pill.aging   { background: var(--aging-bg); color: var(--aging); }
.fresh-pill .ring {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
  box-shadow: 0 0 0 2px currentColor; opacity: 0.9;
  position: relative;
}
.fresh-pill.fresh .ring { animation: freshPulse 1.6s ease-out infinite; }
@keyframes freshPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  70%  { box-shadow: 0 0 0 5px transparent; opacity: 0.5; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* ========== Job row (compact, LinkedIn-style) ========== */
.job-row {
  display: grid;
  grid-template-columns: 6px 56px 1fr 200px 220px 130px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(11, 19, 32, 0.02);
}
.job-row:hover {
  border-color: var(--gold-400);
  box-shadow: 0 16px 40px rgba(201,165,90, 0.15), 0 4px 12px rgba(11, 19, 32, 0.04), inset 0 1px 0 rgba(255,255,255,0.8);
  transform: translateY(-4px) scale(1.01) perspective(1000px) rotateX(1deg);
  z-index: 10;
}
.job-row.compact { grid-template-columns: 4px 44px 1fr 180px 180px 110px; }
.job-row.spacious {
  grid-template-columns: 8px 64px 1fr 220px 240px 150px;
  margin-bottom: 14px;
}
.job-stripe { background: var(--gold-500); }
.job-stripe.fresh  { background: linear-gradient(180deg, #28d27a, var(--fresh)); }
.job-stripe.active { background: linear-gradient(180deg, var(--gold-500), var(--gold-700)); }
.job-stripe.aging  { background: linear-gradient(180deg, #d8a36b, var(--aging)); }

.job-logo {
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 20px;
  background: var(--paper-2);
  color: var(--navy-800);
  border-right: 1px solid var(--line);
  letter-spacing: -0.02em;
}
.job-body { padding: 14px 18px; min-width: 0; }
.job-headline { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.job-title {
  font-family: var(--f-display);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.job-meta { display: flex; gap: 14px; align-items: center; color: var(--ink-3); font-size: 12.5px; flex-wrap: wrap; }
.job-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-4); }

.job-col { padding: 14px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.col-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-bottom: 4px;
  font-weight: 500;
}
.col-value { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.col-value.salary { font-family: var(--f-display); font-size: 18px; letter-spacing: -0.01em; }

.job-actions {
  padding: 12px 14px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  align-items: stretch; justify-content: center;
}

/* tag chip row inside job */
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px;
  font-size: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
  white-space: nowrap;
}
.chip.on  { background: var(--navy-50); color: var(--navy-800); border-color: var(--navy-100); }
.chip.off { background: #fbf3f2; color: #8a2722; border-color: #f3d8d4; }
.chip svg { color: currentColor; opacity: 0.8; }

/* ========== Hero ========== */
.hero {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite alternate;
}
.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,165,90,0.2) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.hero::after {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(43,71,149,0.15) 0%, transparent 70%);
  bottom: -200px; left: -200px;
  animation-delay: -5s;
}


.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
  padding: 80px 0 64px;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 22px;
}
.eyebrow .bar { display: none; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 auto 22px;
  color: var(--navy-900);
  max-width: 900px;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400), var(--gold-700));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}
.hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Hero search */
.hero-search {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 0;
  background: rgba(251, 243, 228, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  padding: 8px 8px 8px 24px;
  margin: 28px auto 0;
  max-width: 900px;
  box-shadow: 0 24px 56px rgba(42,35,28,.08), inset 0 1px 0 rgba(255,255,255,0.8);
}
.hero-search .field {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border-right: 1px solid var(--line-2);
  color: var(--ink-3);
  min-width: 0;
}
.hero-search .field:last-of-type { border-right: 0; }
.hero-search .field input,
.hero-search .field select {
  border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--ink);
  width: 100%; height: 44px;
  font-size: 18px;
}
.hero-search button { height: 60px; border-radius: 100px !important; }

/* Hero KPIs */
.kpi-card {
  background: rgba(251, 243, 228, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 36px 48px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 48px rgba(42,35,28, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  transform: translateY(0);
  transition: transform 300ms ease;
}
.kpi-card:hover {
  transform: translateY(-2px);
}
.kpi-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.kpi-row {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line-2);
  flex: 1;
}
.kpi-row:last-child { border-right: 0; padding-right: 0; }
.kpi-row:first-child { padding-left: 0; }
.kpi-row .k { color: var(--ink-3); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.kpi-row .v { 
  font-family: var(--f-display); 
  font-size: 42px; 
  background: linear-gradient(90deg, var(--navy-900), var(--navy-600)); 
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent;
  line-height: 1;
}

/* Ticker (live activity) */
.ticker {
  background: var(--paper-2);
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.ticker-label {
  position: absolute; left: 0; top: 0; bottom: 0;
  display: flex; align-items: center;
  padding: 0 14px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
  color: var(--navy-900);
  font-size: 11px; letter-spacing: 0.18em; font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.ticker-track {
  display: flex; gap: 48px;
  padding: 14px 0 14px 130px;
  white-space: nowrap;
  animation: tickerScroll 80s linear infinite;
  font-size: 13px;
}
.ticker-track .ti { display: inline-flex; align-items: center; gap: 8px; }
.ticker-track .ti b { color: var(--gold-400); font-weight: 500; }
.ticker-track .ti em { font-style: normal; color: var(--ink-3); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== Section header ========== */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin: 56px 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.section-head .left { display: flex; flex-direction: column; gap: 8px; }
.section-head .eyebrow { margin-bottom: 0; color: var(--gold-700); }
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy-900);
}
.section-head .sub { color: var(--ink-3); font-size: 14px; }
.section-head .actions { display: flex; gap: 10px; }

/* ========== Filters sidebar ========== */
.layout-search {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0 64px;
}
.filters {
  position: sticky;
  top: 88px;
  /* Fill viewport height minus nav so it scrolls independently */
  max-height: calc(100vh - 108px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  animation: slideInLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  /* Custom thin scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.filters::-webkit-scrollbar { width: 4px; }
.filters::-webkit-scrollbar-track { background: transparent; }
.filters::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { padding-top: 4px; border-top: 0; }
.filter-group h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0 0 12px; color: var(--ink-3); font-weight: 500;
}
.filter-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 15px; cursor: pointer;
  color: var(--ink-2);
}
.filter-opt input[type="checkbox"], .filter-opt input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 3px;
  display: grid; place-items: center;
  background: var(--white);
  cursor: pointer;
  transition: all 120ms;
}
.filter-opt input[type="radio"] { border-radius: 50%; }
.filter-opt input[type="checkbox"]:checked,
.filter-opt input[type="radio"]:checked {
  background: var(--navy-800); border-color: var(--navy-800);
}
.filter-opt input[type="checkbox"]:checked::after {
  content: ""; width: 8px; height: 5px;
  border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg) translate(1px, -1px);
}
.filter-opt input[type="radio"]:checked::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: white;
}
.filter-opt .count { margin-left: auto; color: var(--ink-4); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.filter-opt:hover { color: var(--navy-800); }

.search-bar {
  display: flex; gap: 10px; align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  margin-bottom: 16px;
}
.search-bar .field {
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  border-right: 1px solid var(--line);
  flex: 1; min-width: 0;
}
.search-bar .field:last-of-type { border-right: 0; }
.search-bar input, .search-bar select {
  border: 0; background: transparent; outline: 0;
  height: 42px; width: 100%; font: inherit; font-size: 15px;
}

.result-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px 14px;
  color: var(--ink-3); font-size: 13px;
}
.result-meta b { color: var(--navy-900); font-weight: 600; }

/* ========== Modal ========== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 19, 32, 0.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 28px;
  animation: fadeIn 160ms ease-out;
}
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%; max-width: 720px;
  max-height: calc(100vh - 56px);
  overflow: auto;
  box-shadow: var(--shadow-3);
  animation: modalRise 200ms cubic-bezier(0.2,0.8,0.2,1);
}
.modal-lg { max-width: 920px; }
.modal-sm { max-width: 440px; }
.modal-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-head h3 { font-family: var(--f-display); font-size: 24px; margin: 0; font-weight: 400; letter-spacing: -0.01em; }
.modal-body { padding: 24px 28px; }
.modal-foot {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; justify-content: flex-end;
  background: var(--paper);
  border-bottom-left-radius: var(--r-lg);
  border-bottom-right-radius: var(--r-lg);
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }



/* misc */
.flag {
  display: inline-grid; place-items: center;
  width: 18px; height: 14px; border-radius: 2px;
  font-size: 12px; line-height: 1;
  background: transparent;
}

/* ========== Verify cards ("How a listing earns…") ========== */

/* Progress bar fill animation */
@keyframes barGrow {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Number shimmer */
@keyframes numShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Icon spin on hover trigger */
@keyframes iconSpin {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(360deg) scale(1.15); }
}

/* Card entrance — staggered via --i variable */
@keyframes verifyPop {
  0%   { opacity: 0; transform: translateY(40px) scale(0.92); }
  65%  { opacity: 1; transform: translateY(-5px) scale(1.02); }
  82%  { transform: translateY(3px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.verify-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  cursor: default;
  /* Staggered entrance via CSS variable --i */
  animation: verifyPop 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--i, 0) * 120ms);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 250ms ease,
              box-shadow 350ms ease;
}

/* Top gradient accent line */
.verify-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400), var(--gold-600));
  background-size: 200% 100%;
  border-radius: 0;
  opacity: 0;
  transition: opacity 300ms ease;
  animation: borderTrace 2.5s linear infinite;
}
.verify-card:hover::before { opacity: 1; }

.verify-card:hover {
  transform: translateY(-8px) scale(1.025) perspective(800px) rotateX(2deg);
  border-color: var(--gold-300, var(--gold-400));
  box-shadow: 0 24px 56px rgba(201,165,90,0.22),
              0 8px 20px rgba(11,19,32,0.06),
              inset 0 1px 0 rgba(255,255,255,0.95);
}
.verify-card:active {
  transform: translateY(-3px) scale(1.01);
  transition-duration: 100ms;
}

/* Step number badge */
.verify-num {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400), var(--gold-600), var(--gold-400), var(--gold-700));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: numShimmer 4s linear infinite;
  animation-delay: calc(var(--i, 0) * 0.4s);
  margin-bottom: 4px;
}

/* Icon circle */
.verify-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-50), var(--paper));
  border: 1.5px solid var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-700);
  margin-bottom: 4px;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background 250ms ease,
              border-color 250ms ease,
              box-shadow 250ms ease;
}
.verify-card:hover .verify-icon-wrap {
  background: linear-gradient(135deg, var(--gold-100), var(--gold-50));
  border-color: var(--gold-400);
  box-shadow: 0 4px 16px rgba(217,123,77,0.25);
  transform: rotate(12deg) scale(1.12);
}

/* Title */
.verify-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-900);
  line-height: 1.3;
  transition: color 200ms ease;
}
.verify-card:hover .verify-title { color: var(--gold-700); }

/* Description */
.verify-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}

/* Animated bottom progress bar */
.verify-bar {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}
.verify-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  border-radius: 3px;
  animation: barGrow 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--delay, 0s) + 0.5s);
}

/* Connector arrows between cards */
.verify-arrow {
  position: absolute;
  top: 28px;
  right: -14px;
  z-index: 5;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--gold-100);
  border-radius: 50%;
  font-size: 13px;
  color: var(--gold-500);
  box-shadow: 0 2px 8px rgba(11,19,32,0.06);
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms ease;
  pointer-events: none;
}
.verify-card:hover .verify-arrow {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--white);
  transform: scale(1.15);
}

/* Mobile stacking */
@media (max-width: 980px) {
  .verify-grid { grid-template-columns: repeat(2, 1fr); }
  .verify-arrow { display: none; }
  .verify-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}
@media (max-width: 600px) {
  .verify-grid { grid-template-columns: 1fr; }
}

/* ========== Toast ========== */
.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  animation: modalRise 200ms cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: var(--shadow-3);
}
.toast .check { color: var(--gold-400); }

/* footer */
.footer {
  background: var(--paper);
  color: var(--ink-3);
  padding: 56px 0 28px;
  margin-top: 80px;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.footer .grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer h6 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--navy-800); margin: 0 0 14px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a:hover { color: var(--navy-900); }
.footer .legal { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12px; color: var(--ink-4); }

/* ========== Country card grid (homepage) ========== */
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* Base card styles (animation declared in @keyframes block above) */
.country-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 250ms ease,
              box-shadow 350ms ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(11, 19, 32, 0.02);
  position: relative;
  overflow: hidden;
}

/* Animated shimmer overlay on hover */
.country-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(217,123,77,0.07) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  border-radius: inherit;
}
.country-card:hover::before {
  opacity: 1;
  animation: borderTrace 1.2s linear infinite;
}

.country-card:hover {
  transform: translateY(-6px) scale(1.025) perspective(800px) rotateX(1.5deg);
  border-color: var(--gold-400);
  box-shadow: 0 20px 48px rgba(201,165,90, 0.2), 0 6px 16px rgba(11,19,32, 0.05), inset 0 1px 0 rgba(255,255,255,0.9);
}
.country-card:active {
  transform: translateY(-2px) scale(1.01);
  transition-duration: 100ms;
}

/* Flag floats on card hover */
.country-card:hover .cname span[style] {
  animation: floatFlag 1.4s ease-in-out infinite;
  display: inline-block;
}

.country-card .cname { display: flex; align-items: center; gap: 10px; }
.country-card .cname b { font-family: var(--f-display); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; color: var(--navy-900); transition: color 200ms ease; }
.country-card:hover .cname b { color: var(--gold-700); }
.country-card .cmeta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.country-card .cnum { font-family: var(--f-display); font-size: 24px; color: var(--navy-900); transition: color 200ms ease; }
.country-card:hover .cnum { color: var(--gold-700); }
.country-card .clbl { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
.country-card .ctags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ========== Trust strip ========== */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.trust-strip .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-4); }
.trust-strip .marks { display: flex; gap: 48px; align-items: center; justify-content: center; }
.trust-strip .mk {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.trust-strip .mk:nth-child(1) { animation-delay: 0.1s; }
.trust-strip .mk:nth-child(2) { animation-delay: 0.2s; }
.trust-strip .mk:nth-child(3) { animation-delay: 0.3s; }
.trust-strip .mk:nth-child(4) { animation-delay: 0.4s; }
.trust-strip .mk:nth-child(5) { animation-delay: 0.5s; }
.trust-strip .mk:nth-child(6) { animation-delay: 0.6s; }
.trust-strip .mk:nth-child(7) { animation-delay: 0.7s; }
.trust-strip .mk:nth-child(8) { animation-delay: 0.8s; }

.trust-strip .mk:hover {
  color: var(--gold-600);
  transform: translateY(-2px) scale(1.05);
  opacity: 1 !important;
  transition: all 0.3s ease;
}

/* ========== Mobile ========== */
@media (max-width: 980px) {
  .hero-grid { gap: 32px; padding: 36px 0; }
  .hero-search { grid-template-columns: 1fr; border-radius: 24px; padding: 12px; }
  .hero-search .field { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 12px 6px; }
  .hero-search button { border-radius: 16px !important; width: 100%; margin-top: 8px; }

  .kpi-card { padding: 24px; }
  .kpi-metrics { flex-direction: column; gap: 24px; }
  .kpi-row { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 0 0 24px; width: 100%; }
  .kpi-row:last-child { border-bottom: 0; padding-bottom: 0; }

  /* On mobile, filters collapse to top (no independent scroll needed) */
  .layout-search { grid-template-columns: 1fr; }
  .filters {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

  .job-row, .job-row.compact, .job-row.spacious {
    grid-template-columns: 6px 1fr;
  }
  .job-logo { display: none; }
  .job-col, .job-actions { border-left: 0; border-top: 1px solid var(--line); }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .section-head h2 { font-size: 30px; }

  /* Reduce card pop animation intensity on small screens */
  .country-card:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

/* ========== Extra small screens ========== */
@media (max-width: 600px) {
  .country-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 26px; }
  .footer .grid { grid-template-columns: 1fr; }
  .result-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ========== Job row enhanced hover (desktop only) ========== */
@media (min-width: 981px) {
  .job-row:hover .job-title {
    color: var(--gold-700);
    transition: color 200ms ease;
  }
  .job-row:hover .job-stripe {
    width: 8px;
    transition: width 250ms ease;
  }
}
