:root {
  color-scheme: dark;
  --void: #080909;
  --panel: #101112;
  --panel-raised: #151718;
  --ink: #f2f4f0;
  --muted: #a9ada7;
  --dim: #757a74;
  --line: rgba(255, 255, 255, .105);
  --line-strong: rgba(255, 255, 255, .24);
  --focus: rgba(242, 244, 240, .88);
  --scroll-signal: #d7ff57;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, .9, .2, 1.06);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--void); scroll-behavior: smooth; }
body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--void);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01" 1, "cv02" 1, "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    radial-gradient(circle at 50% -30%, rgba(255, 255, 255, .075), transparent 44%);
  background-size: 24px 24px, 24px 24px, auto;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, .42) 72%, transparent);
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.signal-field {
  width: min(1780px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 48px) clamp(14px, 3vw, 56px) clamp(72px, 9vw, 150px);
}
.field-header {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 540px) 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 42px);
  padding: 0 3px;
}
.field-mark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .155em;
}
.field-mark__dot,
.field-refresh__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: #d9ddd7;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .055), 0 0 15px rgba(255, 255, 255, .26);
}
.field-status { display: grid; min-width: 0; gap: 5px; text-align: center; }
.field-status__count { color: var(--ink); font-size: 13px; font-weight: 660; letter-spacing: -.022em; }
.field-status__detail { overflow: hidden; color: var(--dim); font-size: 11px; font-weight: 530; letter-spacing: -.004em; text-overflow: ellipsis; white-space: nowrap; }
.field-actions { display: inline-flex; justify-self: end; align-items: center; }
.field-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, .025);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .052em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 220ms var(--ease-spring);
}
.field-refresh:hover { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .06); transform: translateY(-1px); }
.field-refresh:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.field-refresh[disabled] { cursor: progress; opacity: .55; }
.field-refresh.is-live .field-refresh__dot { box-shadow: 0 0 0 4px rgba(255, 255, 255, .055), 0 0 19px rgba(255, 255, 255, .38); }

.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: clamp(14px, 1.3vw, 22px); }
.job-card-shell,
.job-skeleton { min-height: clamp(448px, 38vw, 564px); border-radius: 24px; }
.job-card-shell { position: relative; }
.job-card {
  --scroll-progress: 0;
  position: relative;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: inherit;
  background: rgba(15, 16, 17, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 22px 60px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: opacity 150ms ease, transform 250ms var(--ease), border-color 210ms ease, box-shadow 260ms ease;
}
.job-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, .085) 8% calc(8% + 1px), transparent calc(8% + 1px)),
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 17%);
  transition: opacity 220ms ease;
}
.job-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 96px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 16, 17, .99) 42%, rgba(15, 16, 17, .79) 70%, transparent);
}
.job-card-shell.is-passing { opacity: 0; transform: scale(.975) translateY(8px); }
@media (hover: hover) {
  .job-card-shell:hover { z-index: 2; }
  .job-card-shell:hover .job-card {
    border-color: var(--line-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 38px 88px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .025);
    transform: translateY(-5px);
  }
  .job-card-shell:hover .job-card::before { opacity: 1; }
}
.job-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-color: rgba(255, 255, 255, .52);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 28px 72px rgba(0, 0, 0, .32);
}

/* This is the only scrollable card element. The browser rails are removed at source;
   the yellow signal rail below is the sole visible scroll indication. */
.job-card__scroller,
.job-modal__scroll {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.job-card__scroller::-webkit-scrollbar,
.job-modal__scroll::-webkit-scrollbar { width: 0; height: 0; background: transparent; }
.job-card__scroller::-webkit-scrollbar-thumb,
.job-modal__scroll::-webkit-scrollbar-thumb { background: transparent; }
.job-card__scroller::-webkit-scrollbar-track,
.job-modal__scroll::-webkit-scrollbar-track { background: transparent; }
.job-card__scroller {
  position: relative;
  z-index: 1;
  height: 100%;
  max-height: clamp(448px, 38vw, 564px);
  touch-action: pan-y pinch-zoom;
  outline: none;
}
.job-card__head { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(24px, 2.2vw, 34px) clamp(24px, 2.2vw, 34px) 0; }
.job-card__company { display: inline-flex; min-width: 0; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 590; letter-spacing: -.018em; }
.job-card__mark { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: #171919; font-size: 8px; font-weight: 800; letter-spacing: -.06em; }
.job-card__company-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card__time { flex: 0 0 auto; color: var(--dim); font-size: 11px; letter-spacing: -.01em; white-space: nowrap; }
.job-card__title { max-width: 15ch; margin: clamp(44px, 5vw, 66px) clamp(24px, 2.2vw, 34px) 0; color: var(--ink); font-size: clamp(30px, 2.25vw, 43px); font-weight: 655; line-height: .93; letter-spacing: -.068em; text-wrap: balance; transform: translate3d(0, calc(var(--scroll-progress) * -5px), 0); transition: transform 220ms var(--ease); }
.job-card__meta { margin: 19px clamp(24px, 2.2vw, 34px) 0; color: var(--muted); font-size: 12px; font-weight: 530; letter-spacing: -.018em; }
.job-card__signals { margin: 11px clamp(24px, 2.2vw, 34px) 0; color: #b8bdb7; font-size: 11px; font-weight: 600; letter-spacing: -.018em; line-height: 1.4; }
.job-card__rule { height: 1px; margin: 26px clamp(24px, 2.2vw, 34px) 0; background: var(--line); }
.job-card__description { padding: 0 clamp(24px, 2.2vw, 34px) 102px; transform: translate3d(0, calc(var(--scroll-progress) * -12px), 0); transition: transform 260ms var(--ease); }
.job-card__copy { margin: 0 0 16px; color: #c9cdc8; font-size: 13px; line-height: 1.68; letter-spacing: -.017em; }
.job-card__scroll-track {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 11px;
  width: 2px;
  height: 58px;
  overflow: hidden;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, .13);
  transform: translateY(-50%);
}
.job-card__scroll-track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--scroll-signal);
  box-shadow: 0 0 10px rgba(215, 255, 87, .6);
  transform: scaleY(.25) translateY(calc(var(--scroll-progress) * 300% - 150%));
  transform-origin: center;
  transition: transform 80ms linear;
}
.job-card:not(.is-scrollable) .job-card__scroll-track { display: none; }
.job-card__pass,
.job-modal__pass,
.job-modal__origin,
.job-modal__close {
  border: 1px solid rgba(255, 255, 255, .18);
  color: #d4d8d2;
  background: rgba(11, 12, 12, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 220ms var(--ease-spring);
}
.job-card__pass,
.job-modal__pass,
.job-modal__origin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.job-card__pass {
  position: absolute;
  z-index: 6;
  right: clamp(17px, 2vw, 26px);
  bottom: 18px;
  cursor: pointer;
}
.job-card__pass:hover,
.job-modal__pass:hover,
.job-modal__origin:hover,
.job-modal__close:hover { border-color: rgba(255, 255, 255, .48); color: var(--ink); background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.job-card__pass:focus-visible,
.job-modal__pass:focus-visible,
.job-modal__origin:focus-visible,
.job-modal__close:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

.job-skeleton { position: relative; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, .018); }
.job-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 48%, transparent 66%); transform: translateX(-100%); animation: skeleton 1.25s ease-in-out infinite; }
.field-empty { grid-column: 1 / -1; min-height: 420px; display: grid; align-content: center; justify-items: start; max-width: 720px; padding: clamp(30px, 6vw, 72px); border: 1px solid var(--line); border-radius: 26px; background: rgba(255, 255, 255, .018); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.field-empty__eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 740; letter-spacing: .08em; text-transform: uppercase; }
.field-empty__title { max-width: 15ch; margin: 16px 0 0; color: var(--ink); font-size: clamp(34px, 4.6vw, 62px); line-height: .94; letter-spacing: -.073em; }
.field-empty__copy { max-width: 510px; margin: 21px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; letter-spacing: -.015em; }
.field-empty__meta { margin: 28px 0 0; color: var(--dim); font-size: 11px; }

.job-modal { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: clamp(10px, 3vw, 44px); opacity: 0; transition: opacity 180ms ease; }
.job-modal[hidden] { display: none; }
.job-modal.is-open { opacity: 1; }
.job-modal__backdrop { position: absolute; inset: 0; cursor: zoom-out; background: rgba(0, 0, 0, .76); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.job-modal__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1020px, 100%);
  max-height: min(900px, calc(100dvh - 20px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: clamp(24px, 3vw, 34px);
  outline: none;
  background: #111313;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 42px 150px rgba(0, 0, 0, .72);
  transform: translateY(14px) scale(.986);
  transition: transform 250ms var(--ease-spring);
}
.job-modal.is-open .job-modal__dialog { transform: translateY(0) scale(1); }
.job-modal__toolbar {
  position: relative;
  z-index: 6;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 19, .96);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .09);
}
.job-modal__pass { cursor: pointer; }
.job-modal__origin { text-decoration: none; }
.job-modal__close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.job-modal__scroll { min-height: 0; max-height: min(832px, calc(100dvh - 88px)); }
.job-modal__content { padding: clamp(42px, 5.8vw, 76px) clamp(34px, 5.6vw, 72px) clamp(42px, 5.6vw, 72px); }
.job-modal__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.job-modal__head { max-width: 760px; }
.job-modal__company { margin: 0; color: var(--muted); font-size: 12px; font-weight: 630; letter-spacing: -.014em; }
.job-modal__title { max-width: 14ch; margin: 18px 0 0; color: var(--ink); font-size: clamp(44px, 5.4vw, 72px); font-weight: 655; line-height: .91; letter-spacing: -.079em; text-wrap: balance; }
.job-modal__metadata { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 1px; margin-top: clamp(38px, 5vw, 62px); overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--line); }
.job-modal__meta-item { min-height: 78px; padding: 16px 17px; background: #141616; }
.job-modal__meta-label { display: block; color: var(--dim); font-size: 10px; font-weight: 640; letter-spacing: .01em; }
.job-modal__meta-value { display: block; margin-top: 8px; color: #c8cdc8; font-size: 13px; line-height: 1.4; letter-spacing: -.012em; overflow-wrap: anywhere; }
.job-modal__description { max-width: 760px; margin-top: clamp(44px, 5vw, 72px); color: #cbd0cb; font-size: 15px; line-height: 1.78; letter-spacing: -.017em; }
.job-modal__description p { margin: 0 0 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes skeleton { to { transform: translateX(100%); } }
@media (max-width: 1180px) {
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-card-shell, .job-skeleton { min-height: clamp(430px, 51vw, 554px); }
  .job-card__scroller { max-height: clamp(430px, 51vw, 554px); }
}
@media (max-width: 700px) {
  .signal-field { padding: 15px 12px 58px; }
  .field-header { grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 20px; }
  .field-status { grid-column: 1 / -1; grid-row: 2; justify-items: start; text-align: left; }
  .field-status__detail { max-width: 100%; }
  .job-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .job-card-shell, .job-skeleton { min-height: 454px; border-radius: 22px; }
  .job-card__scroller { max-height: 454px; }
  .job-card__title { margin-top: 45px; font-size: 34px; }
  .job-modal { padding: 8px; }
  .job-modal__dialog { max-height: calc(100dvh - 16px); border-radius: 23px; }
  .job-modal__toolbar { min-height: 62px; gap: 7px; padding: 13px 14px; }
  .job-modal__origin { padding: 0 10px; }
  .job-modal__scroll { max-height: calc(100dvh - 78px); }
  .job-modal__content { padding: 46px 23px 40px; }
  .job-modal__title { font-size: 49px; }
  .job-modal__description { margin-top: 43px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; animation-duration: .01ms; animation-iteration-count: 1; transition-duration: .01ms; }
}
