/* ================================================================
   HIREHUB — Premium Design System v3
   Fonts: Cormorant Garamond (display) · Outfit (body) · Space Mono (mono)
   Theme: Dark editorial hero · Light editorial listings
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  /* Dark palette (hero, footer) */
  --night:       #09090f;
  --night-2:     #0f0f1a;
  --night-3:     #16162a;
  --night-4:     #1e1e36;
  --night-border:#2a2a48;
  --night-text:  #e8e8f4;
  --night-muted: #7878a8;
  --night-soft:  #b0b0d0;

  /* Light palette (listings, cards) */
  --paper:       #fafafa;
  --paper-2:     #f4f4f8;
  --paper-3:     #eeeff6;
  --ink:         #0d0d1a;
  --ink-2:       #252540;
  --ink-3:       #50506e;
  --ink-4:       #8888a8;
  --rule:        #e2e2ee;
  --rule-2:      #ebebf5;

  /* Accents */
  --gold:        #d4a843;
  --gold-dim:    #8a6e1a;
  --gold-glow:   rgba(212,168,67,.18);
  --gold-bg:     rgba(212,168,67,.08);

  /* Type badges */
  --green:       #15803d;  --green-bg:  #dcfce7;
  --blue:        #1d4ed8;  --blue-bg:   #dbeafe;
  --amber:       #b45309;  --amber-bg:  #fef3c7;
  --rose:        #be185d;  --rose-bg:   #fce7f3;
  --teal:        #0f766e;  --teal-bg:   #ccfbf1;
  --purple:      #6d28d9;  --purple-bg: #ede9fe;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 9999px;

  /* Shadows */
  --sh-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --sh-lg:  0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.04);
  --sh-xl:  0 24px 80px rgba(0,0,0,.18);
  --sh-dark:0 8px 32px rgba(0,0,0,.5);

  /* Fonts */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Outfit', system-ui, sans-serif;
  --f-mono:    'Space Mono', 'Courier New', monospace;

  /* Layout */
  --nav-h: 64px;
  --max-w: 1280px;
  --ease:  cubic-bezier(.22,1,.36,1);
  --ease-2:cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{font-family:var(--f-body);background:var(--paper);color:var(--ink);line-height:1.6;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,select,input,textarea{font-family:var(--f-body)}

/* ================================================================
   NAVBAR
   ================================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  background: rgba(9,9,15,.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s var(--ease-2), box-shadow .3s var(--ease-2);
}
.site-nav.scrolled {
  background: rgba(9,9,15,.92);
  box-shadow: 0 1px 40px rgba(0,0,0,.5);
}
.nav-shell {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  height: 100%; display: flex; align-items: center; gap: 0;
}

/* Brand */
.nav-brand,.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto; flex-shrink: 0;
}
.brand-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--gold), #b8882c);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(212,168,67,.35);
}
.brand-name {
  font-family: var(--f-display); font-weight: 600; font-size: 22px;
  color: #fff; letter-spacing: -.01em;
}
/* Italic gold "Hub" suffix rendered via CSS, not PHP */
.brand-name::after {
  content: ''; /* name comes from PHP as plain text — styling via span below */
}
.brand-name em { font-style: italic; color: var(--gold); }
/* Footer brand uses dark bg so needs same colour treatment */
.footer-brand .brand-name { color: #fff; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: 24px; }
.nl {
  padding: 7px 15px; border-radius: var(--r-xs);
  font-size: 14px; font-weight: 500; color: var(--night-muted);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nl:hover { color: var(--night-text); background: rgba(255,255,255,.06); }
.nl.active { color: #fff; }

/* Admin button */
.nav-admin-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: var(--r-xs);
  border: 1px solid rgba(212,168,67,.4);
  color: var(--gold); font-size: 13px; font-weight: 600;
  transition: all .2s var(--ease-2);
  white-space: nowrap;
}
.nav-admin-btn:hover {
  background: var(--gold); color: #000;
  border-color: var(--gold); box-shadow: 0 4px 20px rgba(212,168,67,.4);
}
.nav-admin-btn svg { transition: transform .2s; }
.nav-admin-btn:hover svg { transform: translateX(3px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; min-height: 100vh;
  background: var(--night);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: var(--nav-h);
}

/* Mesh gradient background */
.hero-mesh { position: absolute; inset: 0; z-index: 0; }
.mesh-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,168,67,.22) 0%, transparent 70%);
  top: -200px; right: -150px; animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(100,80,255,.18) 0%, transparent 70%);
  bottom: -100px; left: -100px; animation-delay: -4s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,.1) 0%, transparent 70%);
  top: 40%; left: 40%; animation-delay: -8s;
}
@keyframes orbFloat {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(30px,-20px) scale(1.05); }
  100% { transform: translate(-20px,30px) scale(.95); }
}

/* Noise overlay */
.mesh-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .4; pointer-events: none;
}

/* Grid overlay */
.mesh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* Floating pills */
.hero-float-pills {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 1;
}
.fpill {
  position: absolute;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border-radius: var(--r-pill);
  padding: 8px 18px; font-size: 12px; font-weight: 500;
  color: var(--night-soft); white-space: nowrap;
  animation: pillFloat 8s ease-in-out infinite alternate;
}
.fpill-1 { top: 22%; left: 6%; animation-delay: 0s; }
.fpill-2 { top: 35%; right: 5%; animation-delay: -3s; }
.fpill-3 { bottom: 28%; left: 8%; animation-delay: -6s; }
@keyframes pillFloat {
  0%  { transform: translateY(0); opacity:.7; }
  100%{ transform: translateY(-14px); opacity:1; }
}

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  max-width: 860px; margin: 0 auto; padding: 0 40px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
  background: rgba(212,168,67,.1);
  border: 1px solid rgba(212,168,67,.25);
  border-radius: var(--r-pill);
  padding: 8px 20px;
  opacity: 0; animation: fadeUp .7s var(--ease) .1s forwards;
}
.kicker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: kDot 2s ease-in-out infinite;
}
@keyframes kDot { 0%,100%{opacity:1}50%{opacity:.4} }
.kicker-text { font-size: 12px; font-weight: 500; color: var(--gold); font-family: var(--f-mono); letter-spacing: .06em; }

.hero-h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 1.04; letter-spacing: -.03em;
  color: #fff; margin-bottom: 28px;
  display: flex; flex-direction: column; align-items: center;
}
.h1-line { display: block; }
.h1-line-1 {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s var(--ease) .3s forwards;
}
.h1-line-2 {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .8s var(--ease) .45s forwards;
}
.h1-line-2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 20%, #f0c84a 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--night-soft); line-height: 1.75;
  margin-bottom: 44px; font-weight: 300;
  opacity: 0; animation: fadeUp .8s var(--ease) .6s forwards;
}

/* Hero search bar */
.hero-search {
  display: flex; align-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px);
  overflow: hidden; max-width: 740px; margin: 0 auto 32px;
  transition: border-color .2s, box-shadow .2s;
  opacity: 0; animation: fadeUp .8s var(--ease) .75s forwards;
}
.hero-search:focus-within {
  border-color: rgba(212,168,67,.5);
  box-shadow: 0 0 0 3px rgba(212,168,67,.12), var(--sh-dark);
}
.hs-field {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px; flex: 1; min-width: 0;
}
.hs-search-field { flex: 1.6; }
.hs-icon { width: 16px; height: 16px; color: var(--night-muted); flex-shrink: 0; }
.hs-input {
  background: none; border: none; outline: none;
  font-family: var(--f-body); font-size: 14px;
  color: #fff; width: 100%; padding: 17px 0;
}
.hs-input::placeholder { color: var(--night-muted); }
.hs-select {
  appearance: none; cursor: pointer; color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%237878a8' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center;
  padding-right: 18px;
}
.hs-select option { background: var(--night-3); color: var(--night-text); }
.hs-divider { width: 1px; height: 28px; background: rgba(255,255,255,.08); flex-shrink: 0; }
.hs-submit {
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px; height: 100%; min-height: 56px;
  background: var(--gold); color: #000;
  font-family: var(--f-body); font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .2s, box-shadow .2s;
}
.hs-submit:hover { background: #e0b84a; box-shadow: inset 0 0 0 100px rgba(0,0,0,.08); }

/* Quick cats */
.hero-quickcats {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px;
  opacity: 0; animation: fadeUp .8s var(--ease) .9s forwards;
}
.qc-label { font-size: 12px; color: var(--night-muted); font-family: var(--f-mono); }
.qc-tag {
  padding: 5px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 12px; font-weight: 500; color: var(--night-soft);
  transition: all .2s;
}
.qc-tag:hover, .qc-tag.qc-active {
  background: rgba(212,168,67,.15);
  border-color: rgba(212,168,67,.4);
  color: var(--gold);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2; opacity: 0; animation: fadeUp .8s var(--ease) 1.2s forwards;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(212,168,67,.6));
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.4; transform:scaleY(.8)} 50%{opacity:1;transform:scaleY(1)} }
.scroll-text { font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; color: var(--night-muted); text-transform: uppercase; }

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--night-2);
  border-bottom: 1px solid var(--night-border);
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
}
.stats-inner::-webkit-scrollbar { display: none; }
.sb-stat { padding: 22px 28px 22px 0; margin-right: 28px; border-right: 1px solid var(--night-border); flex-shrink: 0; }
.sb-stat:last-of-type { border-right: none; }
.sb-num {
  font-family: var(--f-display); font-weight: 700; font-size: 26px;
  color: #fff; line-height: 1; margin-bottom: 3px; display: block;
}
.sb-label { font-size: 11px; color: var(--night-muted); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; display: block; }
.sb-sep { width: 1px; height: 28px; background: var(--night-border); flex-shrink: 0; margin: 0 28px; }
.sb-companies { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0; margin-left: auto; }
.sb-co-label { font-size: 10px; font-family: var(--f-mono); color: var(--night-muted); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.sb-co { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--night-soft); letter-spacing: -.01em; }

/* ================================================================
   FEATURED SECTION
   ================================================================ */
.featured-section {
  background: var(--paper); padding: 72px 0; border-bottom: 1px solid var(--rule);
}
.fs-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

.section-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.center-ey { justify-content: center; }
.ey-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); max-width: 60px; }
.center-ey .ey-line:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }

.fs-header { margin-bottom: 36px; }
.fs-title {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem,3.5vw,3rem);
  color: var(--ink); letter-spacing: -.03em; line-height: 1.1;
}

/* Featured grid — first card big, rest normal */
.featured-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px;
}
.feat-card {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s;
  cursor: pointer;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(212,168,67,.04));
  pointer-events: none;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: rgba(212,168,67,.3);
}
.feat-card-0 {
  background: var(--night); border-color: var(--night-border);
  grid-row: span 1;
}
.feat-card-0 .feat-title { color: #fff; }
.feat-card-0 .feat-company { color: var(--night-muted); }
.feat-card-0 .feat-meta { color: var(--night-muted); }
.feat-card-0 .feat-salary { color: var(--gold); }
.feat-card-0 .feat-tag { background: rgba(255,255,255,.06); color: var(--night-soft); border-color: rgba(255,255,255,.08); }
.feat-card-0 .feat-arrow { color: var(--gold); }

.feat-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.feat-co-mark {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--paper-3); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink-2);
}
.feat-card-0 .feat-co-mark { background: var(--night-3); border-color: var(--night-border); color: var(--night-soft); }

.feat-title {
  font-family: var(--f-display); font-weight: 700; font-size: 20px;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 4px;
}
.feat-company { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-bottom: 12px; }
.feat-meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-4); margin-bottom: 12px; }
.feat-salary { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--gold-dim); margin-bottom: 14px; }
.feat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.feat-tag { padding: 3px 9px; border-radius: var(--r-pill); background: var(--paper-3); border: 1px solid var(--rule); font-size: 11px; color: var(--ink-3); font-family: var(--f-mono); }
.feat-arrow {
  margin-top: auto; display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--gold-dim);
  transition: gap .2s;
}
.feat-card:hover .feat-arrow { gap: 10px; }

/* Type badges */
.feat-badge, .jtype-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-green  { background: var(--green-bg);  color: var(--green); }
.badge-blue   { background: var(--blue-bg);   color: var(--blue); }
.badge-amber  { background: var(--amber-bg);  color: var(--amber); }
.badge-rose   { background: var(--rose-bg);   color: var(--rose); }
.badge-teal   { background: var(--teal-bg);   color: var(--teal); }
.badge-gold   { background: var(--gold-bg);   color: var(--gold-dim); border: 1px solid rgba(212,168,67,.2); }
.badge-grey   { background: var(--paper-3);   color: var(--ink-3); }

/* ================================================================
   LISTINGS SECTION
   ================================================================ */
.listings-section {
  background: var(--paper-2); padding: 0 0 80px;
}
.ls-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 272px 1fr; gap: 32px; align-items: start;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.ls-sidebar {
  padding-top: 40px; position: sticky; top: calc(var(--nav-h) + 16px);
  display: flex; flex-direction: column; gap: 14px;
}

.sidebar-card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 24px; box-shadow: var(--sh-sm);
}
.sidebar-title {
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4);
  margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--rule-2);
}

.sf-block { margin-bottom: 22px; }
.sf-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4); font-family: var(--f-mono); display: block; margin-bottom: 10px;
}
.sf-options { display: flex; flex-direction: column; gap: 2px; }
.sf-radio {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: var(--r-xs); cursor: pointer;
  transition: background .15s; border: 1px solid transparent;
}
.sf-radio:hover { background: var(--paper-2); }
.sf-radio.checked { background: var(--gold-bg); border-color: rgba(212,168,67,.25); }
.sf-radio input { display: none; }
.sf-radio span:first-of-type { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.sf-radio.checked span:first-of-type { color: var(--gold-dim); font-weight: 600; }
.sf-count {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-4);
  background: var(--paper-3); padding: 1px 7px; border-radius: var(--r-pill);
}
.sf-radio.checked .sf-count { background: rgba(212,168,67,.15); color: var(--gold-dim); }

.sf-select {
  width: 100%; padding: 10px 32px 10px 12px;
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--r-sm);
  font-size: 13px; color: var(--ink); outline: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%238888a8' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color .2s;
}
.sf-select:focus { border-color: var(--gold); }

.sf-clear {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--rose); font-weight: 600;
  background: none; border: none; cursor: pointer; padding: 0;
  margin-top: 4px; font-family: var(--f-body);
}
.sf-clear:hover { opacity: .7; }

/* Mini stats */
.sidebar-mini-stats {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 18px;
}
.sms-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sms-label { font-size: 12px; color: var(--ink-4); }
.sms-val { font-family: var(--f-mono); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.sms-progress {
  height: 3px; background: var(--rule-2); border-radius: var(--r-pill); margin-bottom: 14px; overflow: hidden;
}
.sms-bar { height: 100%; background: linear-gradient(90deg, var(--gold), #f0c84a); border-radius: var(--r-pill); transition: width .6s var(--ease); }

/* Sidebar CTA */
.sidebar-cta {
  background: var(--night); border-radius: var(--r-md); padding: 22px;
  text-align: center;
}
.scta-icon { font-size: 22px; margin-bottom: 10px; color: var(--gold); }
.scta-text { font-size: 13px; color: var(--night-soft); line-height: 1.6; margin-bottom: 16px; }
.scta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 10px 16px; border-radius: var(--r-xs);
  background: var(--gold); color: #000;
  font-size: 13px; font-weight: 700; transition: all .2s;
}
.scta-btn:hover { background: #e0b84a; }

/* ── Job List Header ─────────────────────────────────────────── */
.ls-main { padding-top: 40px; }

.ls-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.ls-heading {
  font-family: var(--f-display); font-weight: 700; font-size: 26px;
  color: var(--ink); letter-spacing: -.03em; line-height: 1.2;
}
.ls-count-num { color: var(--gold-dim); }
.ls-search-ctx { font-size: 13px; color: var(--ink-4); margin-top: 3px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.af-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--gold-bg); border: 1px solid rgba(212,168,67,.3);
  font-size: 12px; font-weight: 600; color: var(--gold-dim);
  transition: all .2s;
}
.af-chip:hover { background: rgba(212,168,67,.2); }

/* Category tabs strip */
.cat-tabs-strip {
  display: flex; align-items: center; gap: 0; overflow-x: auto;
  scrollbar-width: none; margin-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.cat-tabs-strip::-webkit-scrollbar { display: none; }
.ct {
  flex-shrink: 0; padding: 12px 16px;
  font-size: 13px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: all .2s; white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.ct:hover { color: var(--ink); }
.ct-active { color: var(--ink); border-bottom-color: var(--gold); font-weight: 600; }
.ct-num {
  font-family: var(--f-mono); font-size: 10px;
  background: var(--paper-3); color: var(--ink-4);
  padding: 1px 6px; border-radius: var(--r-pill);
}
.ct-active .ct-num { background: var(--gold-bg); color: var(--gold-dim); }

/* ── Job Cards ───────────────────────────────────────────────── */
.job-list { display: flex; flex-direction: column; gap: 10px; }

.jcard {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-md); padding: 22px 24px;
  display: grid; grid-template-columns: 50px 1fr auto;
  gap: 0 18px; align-items: center; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
  opacity: 0; transform: translateY(10px);
  animation: cardIn .45s var(--ease) forwards;
}
@keyframes cardIn { to { opacity:1; transform:translateY(0); } }
.jcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: rgba(212,168,67,.25);
}
.jcard-featured {
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--paper), #fffcf5);
}
.jcard-feat-ribbon {
  position: absolute; top: 0; right: 0;
  background: var(--gold); color: #000;
  font-family: var(--f-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px 4px 14px;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}

.jcard-left { align-self: flex-start; margin-top: 2px; }
.jcard-mark {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  background: var(--paper-3); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 16px;
  color: var(--ink-2); text-transform: uppercase;
}

.jcard-body { min-width: 0; }
.jcard-row1 { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 3px; flex-wrap: wrap; }
.jcard-title {
  font-family: var(--f-display); font-weight: 700; font-size: 18px;
  color: var(--ink); letter-spacing: -.02em; line-height: 1.2;
}
.jcard-title a { transition: color .2s; }
.jcard-title a:hover { color: var(--gold-dim); }
.jcard-company { font-size: 13px; color: var(--ink-3); font-weight: 500; margin-bottom: 10px; }
.jcard-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.jmeta {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-4); font-weight: 500;
}
.jmeta svg { width: 11px; height: 11px; flex-shrink: 0; }
.jmeta-salary { color: var(--gold-dim); font-weight: 600; }
.jcard-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.jtag {
  padding: 2px 8px; border-radius: var(--r-pill);
  background: var(--paper-3); border: 1px solid var(--rule-2);
  font-size: 11px; color: var(--ink-3); font-family: var(--f-mono);
}

.jcard-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 10px; flex-shrink: 0; padding-left: 16px; align-self: flex-start; margin-top: 2px;
}
.jcard-date { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); }
.jcard-apply {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: var(--r-xs);
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.jcard-apply:hover { background: var(--gold); color: #000; transform: translateY(-1px); }
.jcard-apply svg { transition: transform .2s; }
.jcard-apply:hover svg { transform: translate(2px,-2px); }

/* Empty state */
.empty-state {
  text-align: center; padding: 72px 24px;
  border: 1.5px dashed var(--rule); border-radius: var(--r-lg);
  background: var(--paper);
}
.es-icon { font-size: 48px; margin-bottom: 16px; }
.es-title { font-family: var(--f-display); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.es-sub { font-size: 14px; color: var(--ink-4); margin-bottom: 28px; }
.es-btn {
  display: inline-flex; align-items: center; padding: 11px 24px; border-radius: var(--r-xs);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  transition: background .2s;
}
.es-btn:hover { background: var(--gold); color: #000; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-section {
  background: var(--night); padding: 96px 0; border-top: 1px solid var(--night-border);
}
.how-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; text-align: center; }
.how-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem,4vw,3.2rem); color: #fff;
  letter-spacing: -.03em; margin-bottom: 56px;
}
.how-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 900px; margin: 0 auto 52px;
}
.how-step {
  flex: 1; padding: 0 24px; text-align: center;
}
.hs-num {
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.hs-icon-wrap {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 18px;
}
.hs-title {
  font-family: var(--f-display); font-weight: 700; font-size: 19px;
  color: #fff; margin-bottom: 10px; letter-spacing: -.02em;
}
.hs-text { font-size: 14px; color: var(--night-muted); line-height: 1.7; }
.how-connector {
  flex-shrink: 0; width: 60px; margin-top: 42px; height: 1px;
  background: linear-gradient(90deg, rgba(212,168,67,.3), rgba(212,168,67,.1));
  position: relative;
}
.how-connector::after {
  content: '›'; position: absolute; top: -10px; right: -5px;
  color: rgba(212,168,67,.4); font-size: 18px; line-height: 1;
}
.how-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--r-xs);
  background: var(--gold); color: #000;
  font-size: 15px; font-weight: 700;
  transition: all .2s var(--ease-2);
}
.how-cta-btn:hover { background: #e0b84a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,168,67,.4); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--night); }
.footer-top-band { border-bottom: 1px solid var(--night-border); }
.ftb-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 56px 40px;
  display: flex; gap: 60px; align-items: flex-start;
}
.ftb-left { flex-shrink: 0; max-width: 240px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-tagline { font-size: 13px; color: var(--night-muted); line-height: 1.7; }
.footer-cols { display: flex; gap: 48px; flex: 1; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.fc-title {
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: 4px;
}
.fc-link { font-size: 14px; color: var(--night-muted); transition: color .2s; }
.fc-link:hover { color: #fff; }
.footer-bottom-band { padding: 20px 40px; }
.fbb-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.fbb-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.fbb-links { display: flex; gap: 20px; }
.fbb-link { font-size: 12px; color: rgba(255,255,255,.2); transition: color .2s; }
.fbb-link:hover { color: rgba(255,255,255,.45); }

/* ================================================================
   OTHER PAGES (About, Contact, Job detail) shared styles
   ================================================================ */
/* Reuse the older shared styles for about/contact/job pages */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--rule); padding: 80px 0; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(14,15,19,.04) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent); }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.page-ey-bar { width: 28px; height: 1px; background: var(--gold); }
.page-ey-txt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--f-mono); }
.page-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; margin-bottom: 16px; }
.page-subtitle { font-size: 17px; color: var(--ink-3); max-width: 500px; line-height: 1.65; }

.about-section { max-width: var(--max-w); margin: 0 auto; padding: 72px 40px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-lead { font-family: var(--f-display); font-size: 21px; font-weight: 400; font-style: italic; color: var(--ink-2); line-height: 1.55; margin-bottom: 28px; border-left: 3px solid var(--gold); padding-left: 20px; }
.about-body { font-size: 15px; color: var(--ink-3); line-height: 1.8; }
.about-body p { margin-bottom: 16px; }
.about-stat-card { display: flex; align-items: flex-start; gap: 18px; padding: 22px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper); margin-bottom: 12px; transition: box-shadow .2s; }
.about-stat-card:hover { box-shadow: var(--sh-md); }
.asc-icon { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--paper-3); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.asc-num { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--ink); line-height: 1; margin-bottom: 3px; }
.asc-desc { font-size: 13px; color: var(--ink-4); font-weight: 500; }

.values-section { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 72px 0; }
.values-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section-hd { margin-bottom: 44px; }
.section-ey { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-ey-bar { width: 24px; height: 1px; background: var(--gold); }
.section-ey-txt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--f-mono); }
.section-title { font-family: var(--f-display); font-weight: 700; font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 28px; transition: box-shadow .2s, transform .2s; }
.value-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.value-num { font-family: var(--f-mono); font-size: 11px; color: var(--gold); font-weight: 500; letter-spacing: .06em; margin-bottom: 12px; }
.value-title { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.value-text { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

.team-section { max-width: var(--max-w); margin: 0 auto; padding: 72px 40px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.team-card { text-align: center; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 28px 20px; transition: box-shadow .2s, transform .2s; }
.team-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.team-av { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--paper-3), var(--rule)); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink-2); margin: 0 auto 14px; }
.team-name { font-family: var(--f-display); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.team-role { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: .06em; font-family: var(--f-mono); }

.contact-wrap { max-width: var(--max-w); margin: 0 auto; padding: 72px 40px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info-title { font-family: var(--f-display); font-weight: 700; font-size: 24px; color: var(--ink); margin-bottom: 14px; letter-spacing: -.02em; }
.contact-info-text { font-size: 15px; color: var(--ink-3); line-height: 1.75; margin-bottom: 32px; }
.contact-method { display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.contact-method:first-of-type { border-top: 1px solid var(--rule); }
.cm-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--paper-3); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.cm-lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); font-family: var(--f-mono); margin-bottom: 3px; }
.cm-val { font-size: 14px; color: var(--ink); font-weight: 500; }
.contact-form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--sh-sm); }
.cfc-title { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 28px; letter-spacing: -.02em; }
.form-group { margin-bottom: 18px; }
.form-group.has-error .fi { border-color: #dc2626; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl { display: block; font-size: 11px; font-weight: 700; color: var(--ink-4); letter-spacing: .08em; text-transform: uppercase; font-family: var(--f-mono); margin-bottom: 7px; }
.req { color: var(--rose); }
.fi { width: 100%; padding: 12px 14px; background: var(--paper-2); border: 1.5px solid var(--rule); border-radius: var(--r-sm); font-size: 14px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-family: var(--f-body); }
.fi:focus { background: var(--paper); border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-bg); }
.fi::placeholder { color: var(--ink-4); }
.fi-ta { min-height: 120px; resize: vertical; }
.fi-sel { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%238888a8' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; cursor: pointer; }
.err-msg { font-size: 11px; color: #dc2626; margin-top: 5px; display: block; font-weight: 500; }
.form-ok { background: var(--green-bg); border: 1px solid rgba(21,128,61,.18); border-radius: var(--r-md); padding: 18px 22px; margin-bottom: 22px; }
.form-ok-title { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--green); margin-bottom: 4px; }
.form-ok-text { font-size: 13px; color: var(--green); }
.alert-error { background: #fef2f2; border: 1px solid rgba(220,38,38,.18); border-radius: var(--r-sm); padding: 12px 15px; font-size: 13px; color: #dc2626; margin-bottom: 18px; }

/* Button utilities shared across pages */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--r-xs); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-primary-w { width: 100%; justify-content: center; padding: 13px 20px; border-radius: var(--r-xs); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background .2s; font-family: var(--f-body); }
.btn-primary-w:hover { background: var(--gold); color: #000; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--r-xs); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; border: 1.5px solid var(--rule); cursor: pointer; transition: all .2s; }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-3); }
.btn-gold { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--r-xs); background: var(--gold); color: #000; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-gold:hover { background: #e0b84a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,168,67,.4); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .ls-inner { grid-template-columns: 1fr; gap: 0; }
  .ls-sidebar { position: static; padding-top: 32px; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .sidebar-card, .sidebar-mini-stats, .sidebar-cta { flex: 1; min-width: 200px; }
  .ls-main { padding-top: 24px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feat-card-0 { grid-column: 1 / -1; }
  .footer-cols { gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-shell, .hero-content, .stats-inner, .fs-inner, .ls-inner,
  .how-inner, .ftb-inner, .footer-bottom-band .fbb-inner,
  .page-hero-inner, .about-section, .contact-wrap, .team-section, .values-inner { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: auto; padding: 100px 0 80px; }
  .hero-h1 { font-size: 3rem; }
  .hero-desc { font-size: 15px; }
  .hero-search { flex-direction: column; border-radius: var(--r-sm); gap: 0; }
  .hs-field { padding: 14px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hs-divider { display: none; }
  .hs-submit { border-radius: 0 0 var(--r-sm) var(--r-sm); padding: 16px; }
  .hs-input { padding: 0; }
  .fpill { display: none; }
  .hero-scroll-hint { display: none; }
  .how-steps { flex-direction: column; gap: 32px; align-items: center; }
  .how-connector { display: none; }
  .featured-grid { grid-template-columns: 1fr; }
  .feat-card-0 { grid-column: auto; }
  .jcard { grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 0 14px; }
  .jcard-right { grid-column: 1/-1; flex-direction: row; justify-content: space-between; align-items: center; padding-left: 0; padding-top: 12px; border-top: 1px solid var(--rule-2); margin-top: 8px; }
  .ftb-inner { flex-direction: column; gap: 36px; }
  .footer-cols { flex-wrap: wrap; gap: 24px; }
  .fbb-inner { flex-direction: column; gap: 10px; text-align: center; }
  .stats-inner { padding-top: 4px; padding-bottom: 4px; }
  .sb-companies { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 18px; }
  .page-hero { padding: 44px 0; }
}

/* Non-hero pages: navbar always opaque */
.site-nav.scrolled {
  background: rgba(9,9,15,.96) !important;
}
/* nav-end flex helper */
.nav-end { display: flex; align-items: center; }
/* About/contact pages need top padding for fixed nav */
.page-hero, .contact-wrap, .about-section { padding-top: calc(var(--nav-h) + 0px); }
.page-hero { padding-top: calc(var(--nav-h) + 40px); }





/* ================================================================
   MOBILE RESPONSIVE FIXES
   Add at the bottom of main.css
   ================================================================ */

/* ── Hamburger Button ─────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-left: 12px;
  background: none;
  border: none;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-shell {
    flex-wrap: wrap;
    padding: 0 16px;
    height: auto;
    min-height: var(--nav-h);
    align-items: center;
  }

  /* Keep brand on left, hamburger on right */
  .nav-brand { margin-right: 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    gap: 2px;
    order: 10; /* push below brand row */
  }
  .nav-links.open { display: flex; }

  .nav-links .nl {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
    color: var(--night-soft);
  }
  .nav-links .nl.active { color: #fff; background: rgba(255,255,255,.06); }

  .nav-end {
    display: none;
    width: 100%;
    padding: 8px 0 14px;
    order: 11;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .nav-end.open { display: flex; }

  .nav-admin-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
  }

  /* Push hamburger to far right */
  .nav-hamburger { margin-left: auto; }
}

/* ── Hero fixes ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.4rem; }
  .hero-content { padding: 0 16px; }
  .hero-kicker { font-size: 11px; padding: 6px 14px; }
  .hs-submit { width: 100%; justify-content: center; }
  .hero-quickcats { gap: 6px; }
  .qc-tag { font-size: 11px; padding: 4px 10px; }
}

/* ── Featured cards ───────────────────────────────────────── */
@media (max-width: 480px) {
  .featured-section { padding: 48px 0; }
  .feat-card { padding: 20px; }
  .feat-title { font-size: 17px; }
}

/* ── Job cards ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .jcard { padding: 16px; gap: 0 12px; }
  .jcard-mark { width: 42px; height: 42px; font-size: 14px; }
  .jcard-title { font-size: 16px; }
  .jcard-right { flex-wrap: wrap; gap: 8px; }
  .jcard-apply { width: 100%; justify-content: center; }
}

/* ── Sidebar on mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  .ls-sidebar {
    padding-top: 20px;
  }
  .sidebar-card, .sidebar-mini-stats, .sidebar-cta {
    min-width: 100%;
  }
  /* Collapse sidebar filters with a toggle */
  .sidebar-card .sf-block { display: block; }
}

/* ── Stats bar ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .sb-stat { padding: 16px 16px 16px 0; margin-right: 16px; }
  .sb-num { font-size: 20px; }
}

/* ── How it works ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .how-section { padding: 60px 0; }
  .how-title { font-size: 1.8rem; margin-bottom: 36px; }
  .how-step { padding: 0 16px; }
}

/* ── Footer ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .footer-cols { flex-direction: column; gap: 20px; }
  .footer-col { min-width: 100%; }
  .footer-bottom-band { padding: 16px 20px; }
  .fbb-inner { flex-direction: column; gap: 8px; text-align: center; }
  .fbb-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ── About page ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team-card { padding: 20px 14px; }
  .team-av { width: 54px; height: 54px; font-size: 18px; }
}

/* ── Contact page ─────────────────────────────────────────── */
@media (max-width: 480px) {
  .contact-wrap { padding: 60px 16px; }
  .contact-form-card { padding: 20px 16px; border-radius: var(--r-md); }
}

/* ── Job detail page ──────────────────────────────────────── */
@media (max-width: 480px) {
  .jd-bc-inner { padding: 0 16px; gap: 6px; font-size: 12px; }
  .jd-header-inner { padding: 20px 16px; }
  .jd-h1 { font-size: 1.4rem; }
  .jd-body { padding: 16px 16px 48px; gap: 16px; }
  .jd-desc-body { padding: 20px 16px; }
  .jd-tags-bar { padding: 12px 16px; }
  .ac-body { padding: 16px; }
  .ac-header { padding: 16px; }
  .jd-overview-grid { grid-template-columns: 1fr 1fr; }
}

/* ── General small screen helpers ────────────────────────── */
@media (max-width: 360px) {
  .nav-brand .brand-name { font-size: 18px; }
  .brand-icon { width: 28px; height: 28px; }
  .jd-h1 { font-size: 1.2rem; }
}





