/* ============================================================
   HOMEPAGE — loaded only from hero.pug
   Visual source: landing + below-fold design references
   ============================================================ */

:root {
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
}

body {
  background: #ffffff;
  color: #0b1b3f;
  font-family: var(--font-sans);
  font-weight: var(--font-normal);
  letter-spacing: 0;
}

body * {
  font-family: inherit;
}

.home-flow + .footer,
body:has(.home-flow) .footer {
  margin-top: 0;
}

/* ----- Landing (first viewport) ----- */

.home-landing {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 76px);
  padding: 8px 40px 0;
  background: #ffffff;
}

.home-hero {
  position: relative;
  flex: 1 1 auto;
  max-width: 1120px;
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
  padding: 80px 72px 96px;
  overflow: visible;
  background: #f3f6fc;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 245, 0.8);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 540px;
  min-width: 0;
}

.home-hero-stage {
  position: absolute;
  top: 88px;
  right: 40px;
  z-index: 3;
  width: min(400px, calc(100% - 580px));
  height: min(400px, calc(100% - 196px));
  min-height: 300px;
}

.home-hero-idle,
.home-hero-panel {
  position: absolute;
  inset: 0;
}

.home-hero-idle {
  overflow: hidden;
  border-radius: 28px;
  pointer-events: none;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero-stage.is-active .home-hero-idle {
  opacity: 0;
  transform: scale(0.96);
}

.home-hero-idle-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  will-change: transform, opacity;
}

.home-hero-idle-blob--a {
  top: 8%;
  left: 6%;
  width: 180px;
  height: 180px;
  background: rgba(37, 99, 235, 0.18);
  animation: home-idle-drift-a 16s ease-in-out infinite;
}

.home-hero-idle-blob--b {
  right: -8%;
  bottom: 12%;
  width: 210px;
  height: 210px;
  background: rgba(11, 27, 63, 0.1);
  animation: home-idle-drift-b 20s ease-in-out infinite;
}

.home-hero-idle-blob--c {
  top: 42%;
  left: 38%;
  width: 120px;
  height: 120px;
  background: rgba(59, 130, 246, 0.16);
  animation: home-idle-pulse 10s ease-in-out infinite;
}

.home-hero-idle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 50%;
  animation: home-idle-spin 36s linear infinite;
}

.home-hero-idle-ring::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 28px;
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  opacity: 0.45;
}

.home-hero-idle-cards {
  position: absolute;
  inset: 0;
}

.home-hero-idle-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 176px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 237, 245, 0.95);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 32px rgba(15, 27, 63, 0.08);
  will-change: transform;
}

.home-hero-idle-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-hero-idle-avatar {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 7px;
  background: #d7e4f8;
}

.home-hero-idle-avatar--violet {
  background: #e4d9f8;
}

.home-hero-idle-avatar--teal {
  background: #d4ebe6;
}

.home-hero-idle-tag {
  width: 44px;
  height: 14px;
  border-radius: 999px;
  background: #e8f0fe;
}

.home-hero-idle-card--1 {
  top: 38px;
  left: 28px;
  animation: home-idle-float 7s ease-in-out infinite;
}

.home-hero-idle-card--2 {
  top: 118px;
  right: 22px;
  width: 152px;
  animation: home-idle-float 8.5s ease-in-out infinite 0.8s;
}

.home-hero-idle-card--3 {
  bottom: 36px;
  left: 72px;
  width: 176px;
  animation: home-idle-float 9s ease-in-out infinite 1.4s;
}

.home-hero-idle-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #d7deea;
}

.home-hero-idle-line--title {
  width: 62%;
  height: 8px;
  background: #b7c4d8;
}

.home-hero-idle-line--mid {
  width: 78%;
}

.home-hero-idle-line--short {
  width: 42%;
}

.home-hero-panel {
  display: flex;
  flex-direction: column;
  padding: 20px 18px 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    linear-gradient(165deg, #f8fbff 0%, #ffffff 42%, #f4f7fc 100%);
  border: 1px solid rgba(226, 232, 245, 0.95);
  border-radius: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 48px rgba(15, 27, 63, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition:
    opacity 380ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 380ms;
}

.home-hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.18),
    transparent
  );
  pointer-events: none;
}

.home-hero-stage.is-active .home-hero-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.home-hero-panel-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: none;
}

.home-hero-panel-body::-webkit-scrollbar {
  display: none;
}

.home-hero-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e8edf5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #7b8494;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.home-hero-panel-close:hover {
  background: #ffffff;
  border-color: #d7deea;
  color: #0b1b3f;
}

.home-hero-panel-close i {
  width: 15px;
  height: 15px;
}

.home-hero-panel-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 340ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 340ms;
}

.home-hero-panel-view.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.home-hero-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 36px 16px 0;
}

.home-hero-panel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #eef4ff;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}

.home-hero-panel-icon--about {
  background: #f3f0ff;
  color: #4f46e5;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08);
}

.home-hero-panel-icon--contact {
  background: #eef8ff;
  color: #0284c7;
  box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.08);
}

.home-hero-panel-icon i {
  width: 16px;
  height: 16px;
}

.home-hero-panel-heading {
  min-width: 0;
}

.home-hero-panel-kicker {
  margin: 0 0 2px;
  color: #8b95a8;
  font-size: 0.68rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero-panel-view h3 {
  margin: 0;
  color: #0b1b3f;
  font-size: 1.05rem;
  font-weight: var(--font-medium);
  letter-spacing: -0.02em;
}

.home-hero-panel-copy {
  margin: 0 0 14px;
  color: #5b6475;
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-hero-panel-note {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding: 5px 10px;
  background: #f3f6fc;
  border-radius: 999px;
  color: #5b6475;
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.01em;
}

.home-hero-jobs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero-job {
  display: block;
  padding: 11px 12px;
  margin: 0 0 6px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 245, 0.8);
  color: #0b1b3f;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.home-hero-job:last-child {
  margin-bottom: 2px;
}

.home-hero-job:hover {
  background: #ffffff;
  border-color: #e0e7f3;
  box-shadow: 0 8px 20px rgba(15, 27, 63, 0.05);
  color: #0b1b3f;
}

.home-hero-job:hover .home-hero-job-title {
  color: #2563eb;
}

.home-hero-job-title {
  display: block;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: var(--font-medium);
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero-job-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  min-width: 0;
}

.home-hero-job-company,
.home-hero-job-place {
  overflow: hidden;
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: var(--font-normal);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero-job-company {
  min-width: 0;
  flex: 1 1 auto;
}

.home-hero-job-place {
  flex: 0 1 auto;
  max-width: 46%;
  padding-left: 8px;
  border-left: 1px solid #e5e9f0;
  color: #8b95a8;
}

.home-hero-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.home-hero-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 245, 0.9);
  color: #0b1b3f;
  text-decoration: none;
  transition:
    background 160ms ease,
    box-shadow 160ms ease;
}

.home-hero-contact-link:hover {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 27, 63, 0.05);
  color: #0b1b3f;
}

.home-hero-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef4ff;
  color: #2563eb;
}

.home-hero-contact-icon i {
  width: 15px;
  height: 15px;
}

.home-hero-contact-label,
.home-hero-contact-value {
  display: block;
}

.home-hero-contact-label {
  color: #8b95a8;
  font-size: 0.7rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-contact-value {
  margin-top: 2px;
  color: #0b1b3f;
  font-size: 0.88rem;
  font-weight: var(--font-medium);
}

.home-hero-panel-more {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 6px;
  margin-top: 10px;
  color: #2563eb;
  font-size: 0.84rem;
  font-weight: var(--font-medium);
  text-decoration: none;
}

.home-hero-panel-more i {
  width: 14px;
  height: 14px;
}

.home-hero-panel-more:hover {
  color: #1d4ed8;
}

.home-hero-panel-empty {
  margin: 8px 0 0;
  color: #6b7280;
}

@keyframes home-idle-drift-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

@keyframes home-idle-drift-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-20px, 16px, 0);
  }
}

@keyframes home-idle-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.12);
  }
}

@keyframes home-idle-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes home-idle-spin {
  to {
    transform: rotate(360deg);
  }
}

.home-hero-stage.is-active .home-hero-idle-blob,
.home-hero-stage.is-active .home-hero-idle-card,
.home-hero-stage.is-active .home-hero-idle-ring,
.home-hero-stage.is-reduced-motion .home-hero-idle-blob,
.home-hero-stage.is-reduced-motion .home-hero-idle-card,
.home-hero-stage.is-reduced-motion .home-hero-idle-ring {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-idle,
  .home-hero-panel,
  .home-hero-panel-body,
  .home-hero-panel-close,
  .home-hero-panel-view,
  .home-hero-cta,
  .home-hero-cta-go,
  .home-hero-cta-go i,
  .home-pill,
  .home-pill-hint {
    transition-duration: 1ms;
  }

  .home-hero-idle-blob,
  .home-hero-idle-card,
  .home-hero-idle-ring {
    animation: none;
  }
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 5px 12px 5px 6px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 245, 0.95);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 27, 63, 0.04);
  color: #5b6475;
  font-size: 0.72rem;
  font-weight: var(--font-semibold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero-kicker-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 3px, transparent 3.5px),
    #2563eb;
}

.home-hero-kicker-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7c4d8;
}

.home-hero h1 {
  max-width: 8.2em;
  margin: 0 0 16px;
  color: #0b1b3f;
  font-size: clamp(2.7rem, 4.8vw, 3.7rem);
  font-weight: var(--font-semibold);
  line-height: 0.98;
  letter-spacing: -0.038em;
}

.home-hero-title-lead,
.home-hero-title-end {
  display: block;
}

.home-hero-lede {
  max-width: 42ch;
  margin: 0 0 22px;
  color: #5b6475;
  font-size: 1.02rem;
  font-weight: var(--font-normal);
  line-height: 1.55;
  letter-spacing: 0.005em;
  word-spacing: 0.02em;
}

.home-hero-copy .home-chips {
  width: 100%;
  max-width: 100%;
  margin: 0 0 28px;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 28px;
}

.home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 4px 4px 4px 22px;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 28px rgba(37, 99, 235, 0.1);
  color: #0b1b3f;
  font-size: 0.95rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    box-shadow 200ms ease,
    transform 200ms ease;
}

.home-hero-cta:hover {
  color: #0b1b3f;
  box-shadow: 0 12px 32px rgba(15, 27, 63, 0.1);
}

.home-hero-cta:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.home-hero-cta-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #2563eb;
  border-radius: 999px;
  color: #ffffff;
  transition: background 200ms ease;
}

.home-hero-cta:hover .home-hero-cta-go {
  background: #1d4ed8;
}

.home-hero-cta-go i {
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}

.home-hero-cta:hover .home-hero-cta-go i {
  transform: translateX(1px);
}

/* Shared search */

.home-search {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.home-search-field {
  display: flex;
  align-items: center;
  min-width: 0;
}

.home-search-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #94a3b8;
}

.home-search-field input {
  width: 100%;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: #0b1b3f;
  font-family: inherit;
  font-size: 0.95rem;
}

.home-search-field input::placeholder {
  color: #9aa3b2;
}

.home-search-field input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 8px;
}

.home-search-submit {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-family: inherit;
  font-weight: var(--font-semibold);
}

.home-search-submit:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.home-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(183, 196, 216, 0.7);
}

.home-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 22px 0 0;
}

.home-stat + .home-stat {
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(183, 196, 216, 0.7);
}

.home-stat-value {
  color: #2563eb;
  font-size: 1.45rem;
  font-weight: var(--font-semibold);
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-stat:last-child .home-stat-value {
  color: #0b1b3f;
}

.home-stat-label {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: var(--font-medium);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Info pills + chips — hang below the hero with room to breathe */

.home-hero-foot {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: -26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.home-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  height: 52px;
  padding: 5px 16px 5px 5px;
  appearance: none;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border: 1px solid rgba(226, 232, 245, 0.95);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 22px rgba(15, 27, 63, 0.06);
  color: #0b1b3f;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: var(--font-medium);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

.home-pill:hover {
  color: #0b1b3f;
  transform: translateY(-1px);
  border-color: #d7e0ef;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(15, 27, 63, 0.1);
}

.home-pill:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.home-pill.is-active {
  background: #eef4ff;
  border-color: #c7d7fb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: none;
}

.home-pill-label {
  line-height: 1;
}

.home-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eef4ff;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}

.home-pill[data-home-panel='about'] .home-pill-icon {
  background: #f3f0ff;
  color: #4f46e5;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08);
}

.home-pill[data-home-panel='contact'] .home-pill-icon {
  background: #eef8ff;
  color: #0284c7;
  box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.08);
}

.home-pill.is-active .home-pill-icon {
  background: #2563eb;
  color: #ffffff;
  box-shadow: none;
}

.home-pill[data-home-panel='about'].is-active .home-pill-icon {
  background: #4f46e5;
}

.home-pill[data-home-panel='contact'].is-active .home-pill-icon {
  background: #0284c7;
}

.home-pill-icon i {
  width: 16px;
  height: 16px;
}

.home-pill-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  color: #b7c1d1;
  transition: color 200ms ease, transform 200ms ease;
}

.home-pill-hint i {
  width: 14px;
  height: 14px;
}

.home-pill:hover .home-pill-hint {
  color: #64748b;
  transform: translate(1px, -1px);
}

.home-pill.is-active .home-pill-hint {
  color: #2563eb;
  transform: none;
}

.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 16px;
  background: #eef3fb;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #3b4a66;
  font-size: 0.875rem;
  font-weight: var(--font-medium);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.home-chip:hover {
  background: #e2eaf6;
  color: #0b1b3f;
}

.home-chip--gov {
  background: #e8f0fe;
  border-color: #d4e3fb;
  color: #1d4ed8;
}

.home-chip--gov:hover {
  background: #d6e4fd;
  color: #1e40af;
}

.home-chip--private {
  background: #f1e9fc;
  border-color: #e3d6f8;
  color: #6d28d9;
}

.home-chip--private:hover {
  background: #e6d8fa;
  color: #5b21b6;
}

.home-chip--city {
  background: #e5f6f3;
  border-color: #ccece6;
  color: #0f766e;
}

.home-chip--city:hover {
  background: #d4f0eb;
  color: #0d5f59;
}

.home-chip--place {
  background: #e8f6ec;
  border-color: #cfead6;
  color: #15803d;
}

.home-chip--place:hover {
  background: #d8efde;
  color: #166534;
}

.home-chip--full {
  background: #fff4e0;
  border-color: #f7e4bd;
  color: #b45309;
}

.home-chip--full:hover {
  background: #ffe9c2;
  color: #92400e;
}

.home-chip--part {
  background: #fde8ef;
  border-color: #f6d0dc;
  color: #be185d;
}

.home-chip--part:hover {
  background: #fad6e3;
  color: #9d174d;
}

/* Award — occupies the visual weight of the removed category cards */

.home-award {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1120px;
  width: 100%;
  margin: auto auto 0;
  padding: 72px 24px 40px;
}

.home-award-badge {
  display: block;
  height: 148px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
}

.home-award-text {
  max-width: 420px;
  margin: 0;
  color: #5b6475;
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-award-text strong {
  display: block;
  margin-bottom: 4px;
  color: #0b1b3f;
  font-size: 1rem;
  font-weight: var(--font-medium);
}

/* ----- Proof ticker — ambient strip between award and browse ----- */

.home-ticker {
  padding: 22px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7f9fd 22%,
    #f7f9fd 78%,
    #ffffff 100%
  );
}

.home-ticker-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent
  );
}

.home-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: home-ticker-scroll 46s linear infinite;
}

.home-ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-ticker-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  white-space: nowrap;
}

.home-ticker-item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #c5cddb;
}

.home-ticker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef4ff;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}

.home-ticker-icon i {
  width: 15px;
  height: 15px;
}

.home-ticker-icon--employers {
  background: #f3f0ff;
  color: #4f46e5;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08);
}

.home-ticker-icon--candidates {
  background: #eef8ff;
  color: #0284c7;
  box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.08);
}

.home-ticker-text {
  color: #5b6475;
  font-size: 0.875rem;
  font-weight: var(--font-medium);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@keyframes home-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .home-ticker-viewport:hover .home-ticker-track {
    animation-play-state: paused;
  }
}

.home-ticker-viewport:focus-within .home-ticker-track,
.home-ticker[data-paused='true'] .home-ticker-track {
  animation-play-state: paused;
}

.home-ticker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f5;
  border-radius: 999px;
  color: #5b6475;
  font-size: 0.8125rem;
  font-weight: var(--font-medium);
  cursor: pointer;
}

.home-ticker-toggle:hover {
  border-color: #c7d7f5;
}

.home-ticker-toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .home-ticker-toggle {
    display: none;
  }

  .home-ticker-viewport {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-ticker-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    animation: none;
    will-change: auto;
  }

  .home-ticker-group {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 8px 0;
  }

  .home-ticker-group + .home-ticker-group,
  .home-ticker-item:nth-child(n + 4) {
    display: none;
  }

  .home-ticker-item:nth-child(3)::after {
    display: none;
  }
}

/* ----- Below-fold browse ----- */

.home-browse {
  padding: 88px 40px 72px;
  background: #ffffff;
}

.home-browse-inner {
  max-width: 860px;
  margin: 0 auto;
}

.home-browse h2 {
  margin: 0 0 10px;
  color: #0b1b3f;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: var(--font-medium);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
}

.home-browse-lede {
  margin: 0 0 36px;
  color: #5b6475;
  font-size: 1.05rem;
  font-weight: var(--font-normal);
  line-height: 1.5;
  text-align: center;
}

.home-search--browse {
  max-width: 760px;
  height: 64px;
  margin: 0 auto;
  padding: 6px;
  background: #f7f9fd;
  border: 1px solid #e4ebf5;
  border-radius: 999px;
  box-shadow:
    0 1px 2px rgba(15, 27, 63, 0.04),
    0 12px 30px rgba(37, 99, 235, 0.08);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-search--browse:focus-within {
  border-color: #c7d7f5;
  box-shadow:
    0 1px 2px rgba(15, 27, 63, 0.04),
    0 14px 36px rgba(37, 99, 235, 0.14);
}

.home-search--browse .home-search-field {
  flex: 1 1 0;
  gap: 10px;
  padding: 0 18px;
}

.home-search--browse .home-search-field + .home-search-field {
  border-left: 1px solid #e4ebf5;
}

.home-search--browse .home-search-field input {
  font-size: 1rem;
}

.home-search--browse .home-search-field input:focus-visible {
  outline: none;
}

.home-search--browse .home-search-field:focus-within .home-search-icon {
  color: #2563eb;
}

.home-search--browse .home-search-submit {
  width: auto;
  min-width: 128px;
  padding: 0 28px;
  background: #2563eb;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.home-search--browse .home-search-submit:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.34);
}

.home-chips--center {
  position: static;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
}

.home-chips--center .home-chip + .home-chip::before {
  content: none;
}

.home-jobs {
  margin-top: 56px;
}

.home-jobs-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.home-jobs-head h3 {
  margin: 0;
  color: #0b1b3f;
  font-size: 1.15rem;
  font-weight: var(--font-medium);
  letter-spacing: -0.015em;
}

.home-jobs-all {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: var(--font-normal);
}

.home-jobs-all:hover {
  color: #2563eb;
}

.home-job-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The initials box and arrow exist only for the mobile pastel card
   (see the max-width: 768px block). Hidden here so the desktop
   .home-job grid keeps its four visible columns exactly as before. */
.home-job-logo,
.home-job-go {
  display: none;
}

/* No `auto` tracks: each row is its own grid, so content-sized columns would
   misalign rows and let a long pay scale squeeze the other columns to zero. */
.home-job {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(11rem, 0.9fr);
  align-items: center;
  gap: 16px 28px;
  padding: 24px 0;
  border-bottom: 1px solid #eef0f4;
  color: #0b1b3f;
  text-decoration: none;
}

.home-job:hover {
  color: #0b1b3f;
}

.home-job:hover .home-job-title {
  color: #2563eb;
}

.home-job-title,
.home-job-company,
.home-job-location,
.home-job-pay {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-job-title {
  color: #0b1b3f;
  font-size: 1.05rem;
  font-weight: var(--font-medium);
  letter-spacing: -0.015em;
}

.home-job-company,
.home-job-location {
  color: #4b5563;
  font-size: 1.02rem;
  font-weight: var(--font-normal);
}

.home-job-pay {
  color: #0b1b3f;
  font-size: 1.02rem;
  font-weight: var(--font-medium);
  text-align: right;
}

.home-jobs-empty {
  margin: 24px 0 0;
  color: #6b7280;
  text-align: center;
}

.home-hire {
  margin: 36px 0 0;
  text-align: center;
}

.home-hire a {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: var(--font-normal);
}

.home-hire a:hover {
  color: #2563eb;
}

@media (max-width: 1200px) {
  .home-hero {
    padding: 64px 48px 88px;
  }

  .home-hero-copy {
    max-width: 460px;
  }

  .home-hero h1 {
    font-size: clamp(2.45rem, 4.2vw, 3.25rem);
  }

  .home-hero-stage {
    top: 64px;
    right: 28px;
    width: min(330px, calc(100% - 500px));
  }

  .home-hero-foot {
    left: 28px;
    right: 28px;
  }
}

@media (max-width: 1024px) {
  .home-landing,
  .home-browse {
    padding-left: 24px;
    padding-right: 24px;
  }

  .home-hero {
    min-height: 540px;
    padding: 56px 40px 88px;
  }

  .home-hero-stage {
    top: 64px;
    right: 24px;
    width: min(340px, calc(100% - 480px));
  }

  .home-hero-foot {
    left: 24px;
    right: 24px;
    bottom: -26px;
    gap: 0;
  }

  .home-award {
    flex-direction: column;
    text-align: center;
    margin-top: 48px;
    gap: 16px;
  }

  .home-ticker-viewport {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 48px,
      #000 calc(100% - 48px),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 48px,
      #000 calc(100% - 48px),
      transparent
    );
  }
}

@media (max-width: 860px) {
  .home-job {
    grid-template-columns: minmax(0, 1fr) fit-content(50%);
    gap: 4px 16px;
    padding: 18px 0;
  }

  .home-job-title {
    grid-column: 1;
  }

  .home-job-pay {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }

  .home-job-company,
  .home-job-location {
    grid-column: 1;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .home-landing {
    min-height: 0;
    padding: 8px 16px 8px;
  }

  .home-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 32px 20px 28px;
    border-radius: 24px;
  }

  .home-hero-stage {
    position: relative;
    top: auto;
    right: auto;
    order: 3;
    width: 100%;
    height: 0;
    min-height: 0;
    overflow: hidden;
  }

  .home-hero-stage.is-active {
    height: auto;
    min-height: 220px;
    margin-top: 16px;
    overflow: visible;
  }

  .home-hero-idle {
    display: none;
  }

  .home-hero-panel {
    position: relative;
    min-height: 220px;
  }

  .home-hero-kicker {
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  .home-hero h1 {
    max-width: none;
    font-size: 2.15rem;
    margin-bottom: 10px;
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .home-hero-lede {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .home-hero-copy .home-chips {
    flex-wrap: wrap;
    margin: 0 0 20px;
    padding: 0;
    overflow-x: visible;
  }

  .home-hero-copy .home-chips::-webkit-scrollbar {
    display: none;
  }

  .home-hero-actions {
    gap: 16px;
  }

  .home-hero-cta {
    height: 48px;
    padding: 4px 4px 4px 20px;
  }

  .home-hero-cta-go {
    width: 40px;
    height: 40px;
  }

  .home-stats {
    padding-left: 0;
    border-left: none;
  }

  .home-stat-value {
    font-size: 1.2rem;
  }

  .home-stat-label {
    font-size: 0.72rem;
  }

  .home-hero-foot {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    order: 2;
    gap: 16px;
    margin-top: 24px;
    width: 100%;
  }

  .home-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    overflow-x: visible;
  }

  .home-pills::-webkit-scrollbar {
    display: none;
  }

  .home-pill {
    flex: 0 0 auto;
    height: 48px;
    padding: 4px 14px 4px 4px;
  }

  .home-pill-icon {
    width: 34px;
    height: 34px;
  }

  .home-chip {
    flex: 0 0 auto;
  }

  .home-award {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin: 20px auto 8px;
    padding: 8px 4px 16px;
    text-align: left;
  }

  .home-award-badge {
    height: 72px;
    max-width: 120px;
  }

  .home-award-text {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .home-award-text strong {
    font-size: 0.875rem;
  }

  .home-ticker {
    padding: 16px 0;
  }

  .home-ticker-viewport {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 28px,
      #000 calc(100% - 28px),
      transparent
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 28px,
      #000 calc(100% - 28px),
      transparent
    );
  }

  .home-ticker-item {
    padding: 0 28px;
  }

  .home-ticker-text {
    font-size: 0.8125rem;
  }

  @media (prefers-reduced-motion: reduce) {
    .home-ticker-group {
      flex-direction: column;
      align-items: flex-start;
      width: auto;
      max-width: 100%;
      padding: 0 16px;
    }

    .home-ticker-item {
      padding: 6px 0;
    }

    .home-ticker-item::after {
      display: none;
    }
  }

  .home-browse {
    padding: 36px 16px 40px;
  }

  .home-browse h2 {
    font-size: 1.75rem;
  }

  .home-browse-lede {
    font-size: 0.9rem;
    margin-bottom: 22px;
  }

  .home-search--browse {
    max-width: none;
    height: auto;
    flex-direction: column;
    border-radius: 22px;
    overflow: visible;
    padding: 10px;
    gap: 8px;
    box-shadow:
      0 1px 2px rgba(15, 27, 63, 0.04),
      0 10px 24px rgba(37, 99, 235, 0.07);
  }

  .home-search--browse .home-search-field,
  .home-search--browse .home-search-field + .home-search-field {
    padding: 0 14px;
    border: 1px solid #e4ebf5;
    border-left: 1px solid #e4ebf5;
    border-radius: 14px;
    background: #ffffff;
  }

  .home-search--browse .home-search-field input {
    padding: 12px 0;
    font-size: 16px;
  }

  .home-search--browse .home-search-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
  }

  .home-chips--center {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .home-chips--center .home-chip + .home-chip::before {
    display: none;
  }

  .home-jobs {
    margin-top: 32px;
  }

  /* Highlight the closing phrase of the headline in blue (mobile only). */
  .home-hero-title-end {
    color: #2563eb;
  }

  /* ---- Latest jobs as pastel cards (mobile only) ----
     Each row cycles through blue / lavender / mint / peach. The card's
     accent colour is exposed as --card-acc and reused by the logo box,
     company line and arrow, so one nth-child rule tints the whole card. */
  .home-job-list li + li {
    margin-top: 12px;
  }

  .home-job {
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    grid-template-areas:
      'logo title    go'
      'logo company  go'
      'logo location go'
      'logo pay      go';
    align-items: center;
    gap: 2px 12px;
    padding: 14px;
    border-bottom: 0;
    border-radius: 18px;
    background: var(--card-bg, #e8f0fe);
  }

  .home-job:hover .home-job-title {
    color: #0b1b3f;
  }

  .home-job-list li:nth-child(4n + 1) .home-job {
    --card-bg: #e8f0fe;
    --card-acc: #1d4ed8;
  }

  .home-job-list li:nth-child(4n + 2) .home-job {
    --card-bg: #f1eafe;
    --card-acc: #6d28d9;
  }

  .home-job-list li:nth-child(4n + 3) .home-job {
    --card-bg: #e3f5f0;
    --card-acc: #0f766e;
  }

  .home-job-list li:nth-child(4n) .home-job {
    --card-bg: #fff1dc;
    --card-acc: #b45309;
  }

  .home-job-logo {
    display: grid;
    grid-area: logo;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--card-acc, #1d4ed8);
    font-size: 0.9rem;
    font-weight: var(--font-semibold);
    letter-spacing: 0.01em;
  }

  .home-job-title {
    grid-area: title;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
    overflow: hidden;
    color: #0b1b3f;
    font-size: 1rem;
    line-height: 1.25;
  }

  .home-job-company {
    grid-area: company;
    margin-top: 2px;
    color: var(--card-acc, #1d4ed8);
    font-size: 0.8125rem;
    font-weight: var(--font-medium);
  }

  .home-job-location {
    grid-area: location;
    color: #64748b;
    font-size: 0.78rem;
  }

  .home-job-pay {
    grid-area: pay;
    text-align: left;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: var(--font-medium);
  }

  /* Some jobs have no salary set; collapse the empty line on the card. */
  .home-job-pay:empty {
    display: none;
  }

  .home-job-go {
    display: grid;
    grid-area: go;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--card-acc, #1d4ed8);
  }

  .home-job-go i {
    width: 16px;
    height: 16px;
  }

  .home-hire {
    margin-top: 24px;
  }
}
