/* Jobs listing & job detail pages */

.page-jobs,
.page-job {
  --jobs-paper: #fffafa;
  --jobs-paper-2: #f9f1f1;
  --jobs-ink: #333333;
  --jobs-muted: #555555;
  --jobs-clay: #fa5555;
  --jobs-accent: #d80909;
  --jobs-line: rgba(51, 51, 51, 0.12);
  --jobs-sh-rest: 0 6px 22px -14px rgba(120, 60, 50, 0.22);
  --jobs-sh-hover: 0 22px 44px -20px rgba(120, 60, 50, 0.45);
  --jobs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --jobs-placeholder-bg: repeating-linear-gradient(135deg, #f0e8e6 0 13px, #e8dedc 13px 14px);
  --jobs-placeholder-ink: #7a5a52;
  background: var(--jobs-paper);
  color: var(--jobs-ink);
  font-family: "IBM Plex Sans", -apple-system, sans-serif;
}

.page-job {
  --job-hero-header-offset: clamp(4.25rem, 11vw, 5.75rem);
}

.jobs-wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.jobs-wrap--narrow {
  max-width: 880px;
}

/* Careers hero */
.jobs-hero {
  position: relative;
  background: var(--jobs-paper-2);
  border-bottom: 1px solid var(--jobs-line);
  overflow: hidden;
  padding: clamp(100px, 14vw, 140px) 0 clamp(48px, 7vw, 72px);
}

.jobs-hero__scrim {
  display: none;
}

.jobs-hero__inner {
  position: relative;
}

.jobs-hero__title {
  margin: 0;
  color: var(--jobs-ink);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}

.jobs-hero__intro {
  margin: 20px 0 0;
  color: var(--jobs-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 54ch;
}

/* Listing grid */
.jobs-listing {
  padding: clamp(52px, 7vw, 84px) 0 clamp(72px, 9vw, 112px);
}

.jobs-listing__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.jobs-card {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: var(--jobs-paper);
  border: 1px solid var(--jobs-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--jobs-sh-rest);
  transition: transform 0.45s var(--jobs-ease), box-shadow 0.45s var(--jobs-ease);
  padding: 0;
}

.jobs-card:hover,
.jobs-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--jobs-sh-hover);
}

.jobs-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--jobs-placeholder-bg);
  overflow: hidden;
}

.jobs-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto !important;
  max-width: none !important;
}

.jobs-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.jobs-card__placeholder span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--jobs-placeholder-ink);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border: 1px dashed rgba(122, 90, 82, 0.35);
  padding: 7px 12px;
  border-radius: 7px;
  text-align: center;
  max-width: 80%;
  line-height: 1.5;
}

.jobs-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(28, 18, 16, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jobs-card__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2bd46a;
}

.jobs-card__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.jobs-card__title {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.jobs-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--jobs-muted);
}

.jobs-card__blurb {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--jobs-muted);
  flex: 1;
}

.jobs-card__cta {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jobs-accent);
}

.jobs-empty {
  margin-top: 32px;
  padding: 40px;
  border: 1px dashed var(--jobs-line);
  border-radius: 18px;
  background: var(--jobs-paper-2);
}

.jobs-empty h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.jobs-empty p {
  margin: 0;
  color: var(--jobs-muted);
  line-height: 1.65;
  max-width: 60ch;
}

/* Preview panel */
.jobs-panel[hidden] {
  display: none !important;
}

.jobs-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
}

.jobs-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 13, 0.5);
  backdrop-filter: blur(2px);
}

.jobs-panel__aside {
  position: relative;
  width: min(480px, 100%);
  height: 100%;
  background: var(--jobs-paper);
  box-shadow: -30px 0 60px -30px rgba(120, 60, 50, 0.5);
  display: flex;
  flex-direction: column;
}

.jobs-panel__hero {
  position: relative;
  flex: 0 0 auto;
  height: 180px;
  background: var(--jobs-placeholder-bg);
  overflow: hidden;
}

.jobs-panel__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobs-panel__badge {
  position: absolute;
  bottom: 16px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(28, 18, 16, 0.6);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jobs-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 26px 28px;
}

.jobs-panel__body h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.jobs-panel__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.jobs-panel__meta-item {
  border: 1px solid var(--jobs-line);
  border-radius: 12px;
  padding: 13px 14px;
  background: var(--jobs-paper-2);
}

.jobs-panel__meta-value {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.jobs-panel__meta-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jobs-muted);
  margin-top: 6px;
}

.jobs-panel__summary {
  margin: 22px 0 0;
  color: var(--jobs-muted);
  font-size: 15px;
  line-height: 1.7;
}

.jobs-panel__summary > p {
  margin: 0 0 0.9em;
}

.jobs-panel__summary > p:last-child {
  margin-bottom: 0;
}

.jobs-panel__summary-list {
  margin: 0.4em 0 1em;
  padding-left: 1.2em;
  list-style: disc;
}

.jobs-panel__summary-list:last-child {
  margin-bottom: 0;
}

.jobs-panel__summary-list li {
  margin: 0.35em 0;
  padding-left: 0.15em;
}

.jobs-panel__highlights-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jobs-muted);
  margin-top: 26px;
  margin-bottom: 14px;
}

.jobs-panel__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.jobs-panel__highlights li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
}

.jobs-panel__bullet {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jobs-accent);
  margin-top: 7px;
}

.jobs-panel__bar {
  flex: 0 0 auto;
  border-top: 1px solid var(--jobs-line);
  padding: 18px 28px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.jobs-panel__cta {
  flex: 1;
  text-align: center;
  text-decoration: none;
  background: var(--jobs-accent);
  color: var(--jobs-paper);
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border-radius: 999px;
}

.jobs-panel__close-btn {
  background: none;
  border: 1px solid var(--jobs-line);
  cursor: pointer;
  font-family: inherit;
  color: var(--jobs-muted);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 18px;
  border-radius: 999px;
}

/* Job detail hero — full viewport below site header */
.job-hero.job-hero--detail {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--job-hero-header-offset));
  min-height: calc(100dvh - var(--job-hero-header-offset));
  background: var(--jobs-paper);
  border-bottom: 1px solid var(--jobs-line);
  padding: 0;
}

.job-hero.job-hero--detail .job-hero__media {
  position: absolute;
  inset: 0;
}

.job-hero.job-hero--detail .job-hero__media img,
.job-hero.job-hero--detail .job-hero__media picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-hero.job-hero--detail .job-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 250, 250, 0.78) 0%,
    rgba(255, 250, 250, 0.9) 42%,
    rgba(255, 250, 250, 0.97) 100%
  );
  pointer-events: none;
}

/* Hero image — white copy over a darker scrim (like tour pages) */
.job-hero.job-hero--detail:has(.job-hero__media) {
  background: #2a2422;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.job-hero.job-hero--detail:has(.job-hero__media) .job-hero__scrim {
  background: linear-gradient(
    180deg,
    rgba(20, 16, 15, 0.45) 0%,
    rgba(20, 16, 15, 0.3) 40%,
    rgba(20, 16, 15, 0.82) 100%
  );
}

.job-hero.job-hero--detail:has(.job-hero__media) .job-hero__title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.job-hero.job-hero--detail:has(.job-hero__media) .job-hero__subtitle {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.job-hero.job-hero--detail:has(.job-hero__media) .job-hero__cta--secondary {
  background: rgba(255, 250, 250, 0.96);
  color: var(--jobs-ink);
  border-color: rgba(255, 250, 250, 0.35);
}

.job-hero.job-hero--detail .job-hero__layout {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(16px, 3vh, 32px);
  width: 100%;
  min-height: 0;
  padding-top: clamp(20px, 4vh, 48px);
  padding-bottom: 0;
}

.job-hero.job-hero--detail .job-hero__copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(760px, 100%);
  min-height: 0;
}

.job-hero.job-hero--detail .job-hero__title {
  margin: 0;
  color: var(--jobs-ink);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.8vw + 0.5rem, 3.65rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
  text-wrap: balance;
}

.job-hero.job-hero--detail .job-hero__subtitle {
  margin: clamp(12px, 2vh, 20px) 0 0;
  color: var(--jobs-muted);
  font-size: clamp(0.95rem, 1.1vw + 0.65rem, 1.15rem);
  line-height: 1.55;
  max-width: 48ch;
}

.job-hero.job-hero--detail .job-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 3vh, 28px);
}

.job-hero.job-hero--detail .job-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.9rem, 0.35vw + 0.8rem, 1rem);
  padding: clamp(12px, 1.8vh, 16px) clamp(22px, 3vw, 30px);
  border-radius: 999px;
  transition: transform 0.35s var(--jobs-ease), box-shadow 0.35s var(--jobs-ease);
}

.job-hero.job-hero--detail .job-hero__cta--primary {
  background: var(--jobs-accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(216, 9, 9, 0.45);
}

.job-hero.job-hero--detail .job-hero__cta--primary:hover,
.job-hero.job-hero--detail .job-hero__cta--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(216, 9, 9, 0.75);
}

.job-hero.job-hero--detail .job-hero__cta--secondary {
  background: var(--jobs-paper);
  color: var(--jobs-ink);
  border: 1px solid var(--jobs-line);
}

.job-hero.job-hero--detail .job-hero__facts {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--jobs-line);
  margin-top: 0;
  width: 100%;
  background: rgba(255, 250, 250, 0.92);
  backdrop-filter: blur(8px);
}

.job-hero.job-hero--detail .job-hero__fact {
  padding: clamp(14px, 2.2vh, 24px) clamp(12px, 2vw, 24px);
  border-right: 1px solid var(--jobs-line);
  min-width: 0;
}

.job-hero.job-hero--detail .job-hero__fact:last-child {
  border-right: none;
}

.job-hero.job-hero--detail .job-hero__fact-value {
  display: block;
  color: var(--jobs-ink);
  font-size: clamp(1rem, 1.4vw + 0.55rem, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.job-hero.job-hero--detail .job-hero__fact-label {
  display: block;
  margin-top: clamp(4px, 0.8vh, 8px);
  color: var(--jobs-muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: clamp(8px, 0.55vw + 6px, 10px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Legacy full-bleed hero (unused on current pages) */
.job-hero:not(.job-hero--detail) {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--jobs-paper-2);
  border-bottom: 1px solid var(--jobs-line);
  overflow: hidden;
  padding: clamp(100px, 14vw, 140px) 0 clamp(48px, 7vw, 72px);
}

.job-hero__media {
  position: absolute;
  inset: 0;
}

.job-hero__media img,
.job-hero__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  aspect-ratio: unset !important;
  display: block;
}

.job-hero__media--placeholder {
  background: var(--jobs-placeholder-bg);
}

.job-hero__scrim {
  display: none;
}

.job-hero__inner {
  position: relative;
  padding-bottom: 0;
}

.job-hero__title {
  margin: 0;
  color: var(--jobs-ink);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 65px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}

.job-hero__subtitle {
  margin: 22px 0 0;
  color: var(--jobs-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 52ch;
}

.job-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.job-section--muted {
  background: var(--jobs-paper-2);
  border-top: 1px solid var(--jobs-line);
  border-bottom: 1px solid var(--jobs-line);
}

.job-eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jobs-clay);
  margin-bottom: 16px;
}

.job-eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.job-section__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}

.job-section__intro {
  margin: 18px 0 0;
  color: var(--jobs-muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  max-width: 62ch;
}

.job-rich {
  margin-top: 22px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--jobs-muted);
  max-width: 56ch;
}

.job-rich p {
  margin: 0 0 15px;
}

.job-callout {
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(216, 9, 9, 0.05);
  border: 1px solid rgba(216, 9, 9, 0.18);
  border-radius: 14px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.65;
}

.job-section__grid {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.job-section__grid--schedule {
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
}

.job-section__grid--candidate {
  grid-template-columns: 1fr 1.25fr;
}

.job-cards {
  display: grid;
  gap: 18px;
  margin-top: 46px;
}

.job-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.job-card {
  background: var(--jobs-paper);
  border: 1px solid var(--jobs-line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--jobs-sh-rest);
  transition: transform 0.45s var(--jobs-ease), box-shadow 0.45s var(--jobs-ease);
}

.job-section--muted .job-card {
  background: var(--jobs-paper);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jobs-sh-hover);
}

.job-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.job-card p {
  margin: 10px 0 0;
  color: var(--jobs-muted);
  font-size: 14px;
  line-height: 1.65;
}

.job-card__icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(216, 9, 9, 0.08);
  margin-bottom: 18px;
  position: relative;
}

.job-card__icon::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 4px;
  background: var(--jobs-accent);
}

.job-figure {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--jobs-placeholder-bg);
  border: 1px solid var(--jobs-line);
  box-shadow: var(--jobs-sh-rest);
}

.job-figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-figure__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.job-figure__placeholder span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--jobs-placeholder-ink);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border: 1px dashed rgba(122, 90, 82, 0.35);
  padding: 9px 14px;
  border-radius: 8px;
  text-align: center;
  max-width: 78%;
  line-height: 1.5;
}

.job-figure__badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 18, 16, 0.55);
  backdrop-filter: blur(6px);
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.job-figure__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jobs-clay);
  box-shadow: 0 0 0 4px rgba(250, 85, 85, 0.25);
}

.job-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.job-stat {
  border: 1px solid var(--jobs-line);
  border-radius: 14px;
  padding: 22px;
  background: var(--jobs-paper);
}

.job-stat strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--jobs-accent);
  letter-spacing: -0.02em;
}

.job-stat span {
  display: block;
  margin-top: 6px;
  color: var(--jobs-muted);
  font-size: 14px;
  line-height: 1.45;
}

.job-life {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  background: var(--jobs-paper-2);
  border: 1px solid var(--jobs-line);
  box-shadow: var(--jobs-sh-rest);
}

.job-life__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-life__placeholder {
  position: absolute;
  inset: 0;
  background: var(--jobs-placeholder-bg);
}

.job-life__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(255, 250, 250, 0.97) 0%,
    rgba(255, 250, 250, 0.9) 38%,
    rgba(255, 250, 250, 0.45) 68%,
    rgba(255, 250, 250, 0.12) 100%
  );
  pointer-events: none;
}

.job-life:not(:has(.job-life__img)) .job-life__scrim {
  display: none;
}

.job-life__pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--jobs-ink);
  background: rgba(255, 250, 250, 0.94);
  border: 1px solid var(--jobs-line);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--jobs-sh-rest);
}

.job-life__pin::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--jobs-clay);
  box-shadow: 0 0 0 4px rgba(250, 85, 85, 0.25);
}

.job-life__pin--1 { top: 24%; right: 30%; }
.job-life__pin--2 { top: 58%; right: 16%; }
.job-life__pin--3 { top: 42%; right: 48%; }

.job-life__copy {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 72px);
  max-width: 520px;
}

.job-life__copy h2 {
  margin: 0;
  color: var(--jobs-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.job-life .job-rich,
.job-life .job-rich p {
  color: var(--jobs-muted);
}

.job-traits {
  border-top: 1px solid var(--jobs-line);
}

.job-trait {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--jobs-line);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
}

.job-trait__num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  color: var(--jobs-accent);
  font-size: 13px;
  flex: 0 0 auto;
  width: 24px;
  padding-top: 3px;
}

.job-apply {
  position: relative;
  background: var(--jobs-paper-2);
  border-top: 1px solid var(--jobs-line);
  overflow: hidden;
}

.job-apply__scrim {
  display: none;
}

.job-apply__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
  padding: clamp(64px, 9vw, 112px) 0;
}

.job-apply__title {
  margin: 0;
  color: var(--jobs-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.job-steps {
  margin-top: 32px;
}

.job-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--jobs-line);
}

.job-step__num {
  font-weight: 700;
  font-size: 28px;
  color: var(--jobs-clay);
  line-height: 1;
  flex: 0 0 auto;
}

.job-step h3 {
  margin: 0;
  color: var(--jobs-ink);
  font-size: 19px;
  letter-spacing: -0.01em;
}

.job-step p {
  margin: 6px 0 0;
  color: var(--jobs-muted);
  font-size: 15px;
  line-height: 1.6;
}

.job-apply__panel--form {
  background: transparent;
  border: none;
  padding: 0;
}

.job-apply-form-card {
  background: var(--jobs-paper);
  border: 1px solid var(--jobs-line);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 32px);
  color: var(--jobs-ink);
  box-shadow: 0 20px 50px -28px rgba(120, 60, 50, 0.4);
}

.job-apply-form-card__eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jobs-muted);
  margin-bottom: 12px;
}

.job-apply-form-card__title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.job-apply-form-card__intro {
  margin: 10px 0 22px;
  color: var(--jobs-muted);
  font-size: 14px;
  line-height: 1.6;
}

.job-apply-form-card__note {
  margin: 16px 0 0;
  color: var(--jobs-muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.job-apply-form__row {
  display: grid;
  gap: 14px;
}

.job-apply-form__row--2 {
  grid-template-columns: 1fr 1fr;
}

.job-apply-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.job-apply-form__field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--jobs-ink);
}

.job-apply-form__field input,
.job-apply-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--jobs-line);
  border-radius: 12px;
  background: var(--jobs-paper-2);
  padding: 14px 16px;
  font: inherit;
  color: var(--jobs-ink);
}

.job-apply-form__field input[type="file"] {
  padding: 12px 14px;
  background: var(--jobs-paper);
}

.job-apply-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.job-apply-form__hint {
  margin: 0;
  font-size: 12px;
  color: var(--jobs-muted);
}

.job-apply-form__error {
  margin: 0;
  color: #b42318;
  font-size: 13px;
}

.job-apply-form__submit {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  background: var(--jobs-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 17px 24px;
  border-radius: 999px;
}

.job-apply__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 28px;
}

.job-apply__note {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.job-apply__email {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
}

.job-apply__email a {
  color: #fff;
}

.job-apply__btn {
  display: inline-block;
  text-decoration: none;
  background: var(--jobs-paper);
  color: var(--jobs-ink);
  font-weight: 700;
  font-size: 16px;
  padding: 17px 34px;
  border-radius: 999px;
}

.job-faq__head {
  text-align: center;
  margin-bottom: 42px;
}

.job-faq__list {
  border-top: 1px solid var(--jobs-line);
}

.job-faq-item {
  border-bottom: 1px solid var(--jobs-line);
}

.job-faq-item__toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  color: var(--jobs-ink);
  -webkit-appearance: none;
  appearance: none;
}

.job-faq-item__toggle span:first-child {
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.01em;
}

.job-faq-item__sign {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  color: var(--jobs-accent);
}

.job-faq-item__panel {
  display: none;
  padding: 0 4px 24px;
  max-width: 64ch;
}

.job-faq-item.is-open .job-faq-item__panel {
  display: block;
}

.job-faq-item__panel p {
  margin: 0;
  color: var(--jobs-muted);
  font-size: 16px;
  line-height: 1.7;
}

.job-cta {
  background: var(--jobs-accent);
}

.job-cta__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(48px, 6vw, 80px) 0;
}

.job-cta__inner h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.job-cta__btn {
  text-decoration: none;
  background: var(--jobs-paper);
  color: var(--jobs-ink);
  font-weight: 700;
  font-size: 16px;
  padding: 17px 34px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .job-section__grid--schedule,
  .job-section__grid--candidate,
  .job-apply__grid {
    grid-template-columns: 1fr;
  }

  .job-cards--3 {
    grid-template-columns: 1fr;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .job-hero.job-hero--detail .job-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .job-hero.job-hero--detail .job-hero__fact:nth-child(2n) {
    border-right: none;
  }

  .job-hero.job-hero--detail .job-hero__fact:nth-child(-n + 2) {
    border-bottom: 1px solid var(--jobs-line);
  }

  .job-hero.job-hero--detail .job-hero__title {
    max-width: 100%;
  }

  .job-apply-form__row--2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .job-hero.job-hero--detail .job-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .job-hero.job-hero--detail .job-hero__cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-height: 720px) {
  .job-hero.job-hero--detail .job-hero__layout {
    padding-top: clamp(12px, 2vh, 20px);
    gap: clamp(10px, 2vh, 16px);
  }

  .job-hero.job-hero--detail .job-hero__actions {
    margin-top: clamp(12px, 2vh, 16px);
  }

  .job-hero.job-hero--detail .job-hero__fact {
    padding-block: clamp(10px, 1.6vh, 16px);
  }
}

@media (max-height: 580px) and (orientation: landscape) {
  .job-hero.job-hero--detail {
    min-height: auto;
  }

  .job-hero.job-hero--detail .job-hero__layout {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .job-hero.job-hero--detail .job-hero__copy {
    justify-content: flex-start;
  }

  .job-hero.job-hero--detail .job-hero__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .job-hero.job-hero--detail .job-hero__fact {
    border-bottom: none;
  }

  .job-hero.job-hero--detail .job-hero__fact:nth-child(-n + 2) {
    border-bottom: none;
  }

  .job-hero.job-hero--detail .job-hero__fact:not(:last-child) {
    border-right: 1px solid var(--jobs-line);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .kj-fade {
    animation: jobsRise 0.8s var(--jobs-ease) both;
  }
}

@keyframes jobsRise {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
