/* n8n-inspired design system */
:root {
  --primary: #FF6D5A;
  --primary-hover: #ff5340;
  --primary-soft: #fff1ee;
  --ink: #0E1117;
  --ink-2: #1f2329;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-dark: #101216;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,17,23,.06);
  --shadow: 0 6px 24px rgba(15,17,23,.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }
h1,h2,h3,h4 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { color: var(--ink-2); margin: 0 0 1em; }
.muted { color: var(--muted); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.brand-icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-icon { display: block; }
.brand-text span { color: var(--primary); }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a { font-weight: 500; color: var(--ink-2); font-size: 14.5px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 780px) { .primary-nav { display: none; } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 18px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,109,90,.35); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: #f3f4f6; color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; color: #991b1b; }

/* FORMS */
.input, .select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: inherit; font-size: 14.5px;
  color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
label { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.field { margin-bottom: 14px; }
textarea { min-height: 140px; resize: vertical; }

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(255,109,90,.12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255,154,90,.08), transparent 60%),
    #fff;
  overflow: hidden;
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary);
  font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }

/* SEARCH BAR */
.search-bar {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px;
  background: #fff; padding: 10px; border-radius: 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  max-width: 760px; margin: 0 auto;
}
.search-bar .field-wrap { display: flex; align-items: center; gap: 10px; padding: 4px 14px; border-radius: 10px; }
.search-bar .field-wrap:hover { background: #fafafa; }
.search-bar input {
  border: none; padding: 12px 0; font-size: 15px; width: 100%;
  background: transparent; outline: none; color: var(--ink); font-family: inherit;
}
.search-bar .icon { color: var(--muted); flex-shrink: 0; }
.search-bar .btn { padding: 14px 24px; }
@media (max-width: 720px) {
  .search-bar { grid-template-columns: 1fr; }
}

/* TRUST */
.trust { padding: 48px 0; border-top: 1px solid var(--line); background: var(--bg-soft); }
.trust-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust .stat { text-align: center; }
.trust .stat strong { display: block; font-size: 28px; color: var(--ink); font-weight: 800; }
.trust .stat span { color: var(--muted); font-size: 13px; }

/* SECTIONS */
section.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; transition: all .2s;
}
.feature:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature .ficon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* JOBS PAGE */
.jobs-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 40px 0 80px; }
@media (max-width: 880px) { .jobs-layout { grid-template-columns: 1fr; } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; height: fit-content; position: sticky; top: 88px; }
.filters h4 { font-size: 15px; margin-bottom: 14px; }
.filter-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group label.opt { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink-2); padding: 4px 0; cursor: pointer; }
.filter-group input[type=checkbox], .filter-group input[type=radio] { accent-color: var(--primary); }

.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; transition: all .15s;
}
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.job-card h3 { margin-bottom: 4px; }
.job-card h3 a { color: var(--ink); }
.job-card h3 a:hover { color: var(--primary); }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tag {
  display: inline-block; padding: 4px 10px; background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 600; border-radius: 999px; margin-right: 6px;
}
.tag.neutral { background: #f3f4f6; color: var(--ink-2); }

/* AUTH PAGES */
.auth-wrap { max-width: 440px; margin: 60px auto; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: visible; }
main { padding: 0 24px; }
.auth-wrap h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-wrap .muted { text-align: center; margin-bottom: 24px; }
.auth-wrap .btn { width: 100%; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.role-toggle label { display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 500; }
.role-toggle input { display: none; }
.role-toggle input:checked + span { color: var(--primary); }
.role-toggle label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }

/* DASHBOARD */
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 32px 0 80px; }
@media (max-width: 880px) { .dash { grid-template-columns: 1fr; } }
.side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; height: fit-content; }
.side a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 500; color: var(--ink-2); font-size: 14px; }
.side a:hover, .side a.active { background: var(--primary-soft); color: var(--primary); }
.side .side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 12px 6px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--ink); }
.stat-card .lbl { color: var(--muted); font-size: 13px; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
table.data tr:hover td { background: #fafafa; }

/* FOOTER */
.site-footer { background: var(--bg-dark); color: #b8bcc6; padding: 56px 0 24px; margin-top: 60px; }
.site-footer .brand-text { color: #fff; }
.site-footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 14px; }
.site-footer a { display: block; color: #b8bcc6; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #1f2329; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-bottom { padding-top: 24px; font-size: 13px; color: #6b7280; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.site-footer .muted { color: #6b7280; }

/* MISC */
.flash { background: var(--primary-soft); color: var(--primary); padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; font-weight: 500; }
.error { background: #fee2e2; color: #b91c1c; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.pill.green { background: #d1fae5; color: #065f46; }
.pill.yellow { background: #fef3c7; color: #92400e; }
.pill.gray { background: #f3f4f6; color: #4b5563; }

/* INSTALL */
.install-wrap { max-width: 520px; margin: 60px auto; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.install-wrap h1 { font-size: 26px; }
.install-wrap .step { color: var(--primary); font-weight: 600; font-size: 13px; margin-bottom: 8px; }

/* ===== SEEKER DASHBOARD ADDITIONS ===== */

/* Notification bell badge in nav */
.notif-bell { position:relative; display:inline-flex; align-items:center; }
.notif-badge { position:absolute; top:-5px; right:-7px; background:var(--primary); color:#fff; border-radius:999px; font-size:10px; font-weight:700; padding:1px 5px; min-width:16px; text-align:center; line-height:16px; }

/* Onboarding */
.onboard-wrap { max-width:580px; margin:48px auto; padding:0 24px 80px; }

/* Profile section cards */
.section-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px 28px; margin-bottom:20px; }
.section-card-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.section-card-head h3 { margin:0; font-size:16px; }

/* Modals */
.modal-bg { display:none; position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:200; align-items:center; justify-content:center; padding:16px; }
.modal-bg.open { display:flex; }
.modal { background:#fff; border-radius:var(--radius-lg); padding:32px; width:100%; max-width:520px; max-height:90vh; overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,.2); }

/* Skills tags */
.skills-tags { display:flex; flex-wrap:wrap; gap:6px; padding:8px 12px; border:1px solid var(--line); border-radius:var(--radius); min-height:46px; cursor:text; }
.skills-tags:focus-within { border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-soft); }
.skill-tag { display:inline-flex; align-items:center; gap:4px; background:var(--primary-soft); color:var(--primary); padding:3px 10px; border-radius:999px; font-size:13px; font-weight:500; }
.skill-tag button { background:none; border:none; cursor:pointer; color:var(--primary); font-size:15px; line-height:1; padding:0; }
.skills-tags input { border:none; outline:none; font-family:inherit; font-size:14px; min-width:120px; flex:1; padding:2px 4px; }

/* Profile photo */
.profile-photo { width:88px; height:88px; border-radius:50%; object-fit:cover; border:3px solid var(--line); }
.photo-placeholder { width:88px; height:88px; border-radius:50%; background:linear-gradient(135deg,var(--primary),#ff9a5a); display:flex; align-items:center; justify-content:center; color:#fff; font-size:32px; font-weight:700; border:3px solid var(--line); }

/* Experience & education cards */
.exp-card, .edu-card { border:1px solid var(--line); border-radius:var(--radius); padding:16px 20px; margin-bottom:12px; }

/* Progress bar */
.progress-bar { height:6px; background:var(--line); border-radius:999px; }
.progress-bar-fill { height:100%; background:var(--primary); border-radius:999px; transition:width .4s; }

/* Profile completion banner */
.profile-completion { background:linear-gradient(135deg,#fff8f7,#fff1ee); border:1px solid #ffd9d4; border-radius:var(--radius-lg); padding:18px 22px; margin-bottom:20px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }

/* Match score pills */
.match-score { display:inline-flex; align-items:center; gap:4px; font-size:12px; font-weight:600; padding:3px 9px; border-radius:999px; }
.match-high { background:#d1fae5; color:#065f46; }
.match-med  { background:#fef3c7; color:#92400e; }
.match-low  { background:#f3f4f6; color:#4b5563; }

/* Chips (onboarding) */
.chip-group { display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.chip { padding:6px 14px; border:1.5px solid var(--line); border-radius:999px; font-size:13px; font-weight:500; cursor:pointer; transition:all .15s; color:var(--ink-2); background:#fff; user-select:none; }
.chip:hover { border-color:var(--primary); color:var(--primary); }
.chip.selected { border-color:var(--primary); background:var(--primary-soft); color:var(--primary); }

/* Onboarding step indicator */
.onboard-steps { display:flex; align-items:center; gap:0; margin-bottom:40px; }
.ostep { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; position:relative; }
.ostep:not(:last-child)::after { content:''; position:absolute; top:16px; left:50%; width:100%; height:2px; background:var(--line); z-index:0; }
.ostep.done::after, .ostep.active::after { background:var(--primary); }
.ostep-num { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; border:2px solid var(--line); background:#fff; z-index:1; color:var(--muted); }
.ostep.active .ostep-num { border-color:var(--primary); background:var(--primary); color:#fff; }
.ostep.done .ostep-num { border-color:var(--primary); background:var(--primary-soft); color:var(--primary); }
.ostep-label { font-size:12px; color:var(--muted); font-weight:500; }
.ostep.active .ostep-label { color:var(--primary); }

/* Applicant cards (employer side) */
.applicant-card { border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; margin-bottom:12px; transition:border-color .15s; }
.applicant-card:hover { border-color:var(--primary); }
.applicant-avatar { width:40px; height:40px; border-radius:50%; object-fit:cover; }
.avatar-placeholder { width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,var(--primary),#ff9a5a); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:16px; flex-shrink:0; }

/* Pill – viewed status */
.pill.blue { background:#dbeafe; color:#1e40af; }



/* Split CTA section */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.split-cta h2 { font-size: 32px; margin: 0 0 16px; }
.split-cta p { margin: 0 0 24px; }
@media (max-width: 720px) { .split-cta { grid-template-columns: 1fr; } }

/* ── Mobile ── */
html, body { overflow-x: hidden; }
.mob-burger { display: none; }
.split-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

@media (max-width: 600px) {
  html, body { max-width: 100vw; }
  * { box-sizing: border-box; }
  .nav-actions { display: none !important; }
  .primary-nav { display: none !important; }
  .nav { height: 56px; }
  .mob-burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; cursor: pointer; color: var(--ink); }
  .container { padding: 0 14px; }
  .hero { padding: 20px 0 28px; }
  h1 { font-size: 1.65rem !important; line-height: 1.15; }
  .hero p.lead { font-size: 13px; line-height: 1.5; margin-bottom: 18px; }
  .eyebrow { font-size: 11px; padding: 4px 10px; margin-bottom: 12px; }
  .search-bar { grid-template-columns: 1fr; gap: 4px; padding: 8px; }
  .search-bar .btn { width: 100%; }
  .ad-leaderboard-wrap { overflow: hidden; }
  .ad-leaderboard-wrap > div { padding: 0 !important; overflow: hidden; }
  .ad-leaderboard-wrap > div > div { width: 100% !important; height: 60px !important; }
  .ad-leaderboard-wrap > div > div span:last-child { display: none; }
  .trust { padding: 16px 0 !important; }
  .trust-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; padding: 0 14px; }
  .trust-row .stat strong { font-size: 18px !important; }
  .trust-row .stat span { font-size: 11px !important; }
  section.section { padding: 28px 0; }
  .section-head { margin-bottom: 20px; }
  h2 { font-size: 1.3rem !important; }
  h3 { font-size: 0.95rem !important; }
  p { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .feature { padding: 12px !important; }
  .feature .ficon { width: 32px !important; height: 32px !important; margin-bottom: 8px !important; }
  .feature h3 { font-size: 12px !important; margin-bottom: 4px !important; }
  .feature p { font-size: 11px !important; margin: 0 !important; }
  .split-cta-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .split-cta-grid h2 { font-size: 1.2rem !important; }
  .split-cta-grid .btn { width: 100%; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Seeker dashboard mobile ── */
@media (max-width: 600px) {
  /* Stack sidebar below content */
  .dash { grid-template-columns: 1fr !important; gap: 16px !important; padding: 16px 0 40px !important; }

  /* Stats 2x2 */
  .stat-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; margin-bottom: 16px !important; }
  .stat-card { padding: 14px !important; }
  .stat-card .num { font-size: 22px !important; }

  /* Profile completion banner */
  .profile-completion { flex-direction: column !important; align-items: flex-start !important; padding: 14px 16px !important; }
  .profile-completion .progress-bar { max-width: 100% !important; width: 100% !important; }

  /* Panel */
  .panel { padding: 16px !important; }
  .panel-head { flex-wrap: wrap; gap: 8px; }

  /* Job match cards */
  .dash .panel > div > div[style*="display:flex;justify-content:space-between"] {
    flex-direction: column !important;
  }
  .dash .panel > div > div > div[style*="flex-shrink:0"] {
    flex-direction: row !important;
    width: 100% !important;
  }
  .dash .panel > div > div > div[style*="flex-shrink:0"] a,
  .dash .panel > div > div > div[style*="flex-shrink:0"] button {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Applications table — hide less important columns */
  .data th:nth-child(2),
  .data td:nth-child(2),
  .data th:nth-child(3),
  .data td:nth-child(3) { display: none !important; }
  .data { font-size: 13px !important; }
  .data th, .data td { padding: 10px 8px !important; }
}

/* ── Christmas Snow ── */
.snow-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999; overflow: hidden; }
.snowflake { position: absolute; top: -20px; color: #fff; animation: snowfall linear infinite; opacity: 0.8; text-shadow: 0 0 3px rgba(150,200,255,.8); }
@keyframes snowfall { 0% { transform: translateY(-20px) rotate(0deg); opacity: 0.9; } 100% { transform: translateY(105vh) rotate(360deg); opacity: 0.1; } }
.snowflake:nth-child(1)  { left:5%;  font-size:8px;  animation-duration:7s;  animation-delay:0s; }
.snowflake:nth-child(2)  { left:12%; font-size:12px; animation-duration:9s;  animation-delay:1s; }
.snowflake:nth-child(3)  { left:20%; font-size:6px;  animation-duration:6s;  animation-delay:2s; }
.snowflake:nth-child(4)  { left:30%; font-size:10px; animation-duration:10s; animation-delay:0.5s; }
.snowflake:nth-child(5)  { left:40%; font-size:7px;  animation-duration:7s;  animation-delay:3s; }
.snowflake:nth-child(6)  { left:50%; font-size:14px; animation-duration:8s;  animation-delay:1.5s; }
.snowflake:nth-child(7)  { left:60%; font-size:6px;  animation-duration:9s;  animation-delay:2.5s; }
.snowflake:nth-child(8)  { left:70%; font-size:11px; animation-duration:7s;  animation-delay:0s; }
.snowflake:nth-child(9)  { left:80%; font-size:8px;  animation-duration:6s;  animation-delay:4s; }
.snowflake:nth-child(10) { left:90%; font-size:13px; animation-duration:9s;  animation-delay:1s; }
.snowflake:nth-child(11) { left:95%; font-size:7px;  animation-duration:8s;  animation-delay:2s; }
.snowflake:nth-child(12) { left:22%; font-size:9px;  animation-duration:10s; animation-delay:3.5s; }

/* ── Santa hat on logo ── */
.brand-icon-wrap { position: relative; }
.santa-hat {
  position: absolute;
  top: -14px; left: -6px;
  font-size: 22px;
  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 10;
  line-height: 1;
}

/* ── Page Loader ── */
#page-loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Page Loader v4 - Icon assembles ── */
#page-loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-icon-wrap { position: relative; width: 80px; height: 80px; }
.loader-icon-wrap svg { position: absolute; top: 0; left: 0; }
.loader-icon-wrap .p1 { animation: from-top    0.5s ease 0.0s both; }
.loader-icon-wrap .p2 { animation: from-bottom 0.5s ease 0.1s both; }
.loader-icon-wrap .p3 { animation: from-right  0.5s ease 0.2s both; }
.loader-icon-wrap .p4 { animation: from-left   0.5s ease 0.3s both; }
.loader-icon-wrap .p5 { animation: from-bottom 0.5s ease 0.4s both; }
@keyframes from-top    { from { opacity:0; transform: translateY(-60px); } to { opacity:1; transform: none; } }
@keyframes from-bottom { from { opacity:0; transform: translateY(60px);  } to { opacity:1; transform: none; } }
@keyframes from-left   { from { opacity:0; transform: translateX(-60px); } to { opacity:1; transform: none; } }
@keyframes from-right  { from { opacity:0; transform: translateX(60px);  } to { opacity:1; transform: none; } }

/* ── Clickable job card ── */
.job-card { transition: box-shadow .15s, transform .15s; }
.job-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.1); transform: translateY(-2px); cursor: pointer; }
