/* Careers page */
html { scroll-behavior: smooth; }

.k-hero {
  position: relative;
  min-height: min(780px, 88svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.k-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.65) brightness(.42) contrast(1.08);
  transform: scale(1.01);
}
.k-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.18), rgba(10,10,11,.95)), linear-gradient(90deg, rgba(10,10,11,.52), transparent 72%);
}
.k-hero .container { position: relative; width: 100%; }
.k-hero__inner { max-width: 960px; padding: 150px 0 72px; }
.k-hero h1 {
  max-width: 14ch;
  margin-top: 28px;
  font-size: clamp(50px, 7.2vw, 102px);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.03em;
}
.k-hero h1 em { color: var(--ink-3); font-style: normal; }
.k-hero__inner > p { max-width: 56ch; margin-top: 32px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.k-hero__cta { display: inline-flex; gap: 14px; margin-top: 40px; height: 52px; padding: 0 24px; }

/* Listing */
.jobs { padding: 96px 0 120px; background: var(--bg-2); }
.jobs__head { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 8vw, 120px); align-items: start; margin-bottom: 56px; }
.jobs__head h2 { max-width: 16ch; font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.jobs__list { border-top: 1px solid var(--line-2); }
.job-card { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 38px 0; border-bottom: 1px solid var(--line-2); color: inherit; transition: background .25s ease, padding .25s ease; }
.job-card:hover { padding-left: 20px; padding-right: 20px; background: var(--bg); }
.job-card__num { padding-top: 5px; color: var(--ink-4); font: 11px "DM Mono", monospace; letter-spacing: .08em; }
.job-card__status { display: flex; align-items: center; gap: 9px; color: var(--ink-3); font: 10px "DM Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.job-card__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--hot); }
.job-card h3 { max-width: 22ch; margin-top: 14px; font-size: clamp(27px, 3.3vw, 46px); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; text-transform: none; }
.job-card p { max-width: 68ch; margin-top: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.job-card__action { display: flex; align-items: center; gap: 22px; align-self: center; color: var(--ink-2); font: 11px "DM Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.job-card__action b { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 400; transition: color .2s, border-color .2s, transform .2s; }
.job-card:hover .job-card__action b { border-color: var(--hot); color: var(--hot); transform: translate(2px, -2px); }
.jobs__empty { min-height: 28vh; padding: 40px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 20px; }

.job { padding: 96px 0 120px; background: var(--bg-2); }
.job--detail { padding-top: 156px; }
.job__back { display: inline-flex; margin-bottom: 58px; color: var(--ink-2); font: 11px "DM Mono", monospace; letter-spacing: .05em; text-transform: uppercase; transition: color .2s; }
.job__back:hover { color: var(--hot); }
.job__layout { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.65fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.job__aside { position: sticky; top: 112px; }
.job__status { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink-2); font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.job__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 5px rgba(239,126,44,.1); }
.job__apply { display: inline-flex; gap: 14px; height: 50px; padding: 0 22px; }
.job__apply--desktop { margin-top: 34px; }
.job__article { min-width: 0; }
.job__empty { min-height: 44vh; }
.job__empty h1 { max-width: 18ch; margin-top: 32px; font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.job__article > h1 { max-width: 17ch; font-size: clamp(42px, 5.4vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.03em; text-transform: none; }
.job__content { margin-top: 52px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.job__content p { max-width: 68ch; margin: 0 0 22px; }
.job__content .job-lede { color: var(--ink); font-size: clamp(20px, 2.1vw, 28px); line-height: 1.48; letter-spacing: -.01em; }
.job__content h2 { margin: 64px 0 22px; color: var(--ink); font-size: clamp(24px, 2.8vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; text-transform: none; }
.job__content ul { max-width: 72ch; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.job__content li { position: relative; padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); }
.job__content li::before { content: "↗"; position: absolute; left: 2px; top: 16px; color: var(--hot); font-family: "DM Mono", monospace; font-size: 12px; }
.job__content a { color: var(--ink); border-bottom: 1px solid var(--hot); }
.job__content strong { color: var(--ink); font-weight: 500; }
.job__apply-box { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-top: 72px; padding: 34px; border: 1px solid var(--line-2); background: var(--bg); }
.job__apply-box .mono { color: var(--hot); font-size: 10px; letter-spacing: .09em; }
.job__apply-box h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -.02em; }
.job__apply-box p { max-width: 48ch; margin-top: 10px; color: var(--ink-2); line-height: 1.55; }

@media (max-width: 800px) {
  .k-hero { min-height: 680px; }
  .k-hero__inner { padding: 120px 0 64px; }
  .job { padding: 64px 0 80px; }
  .job__layout { grid-template-columns: 1fr; gap: 40px; }
  .job__aside { position: static; }
  .job__apply--desktop { display: none; }
  .job__content { margin-top: 38px; }
  .jobs { padding: 64px 0 80px; }
  .jobs__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .job-card { grid-template-columns: 42px minmax(0, 1fr); }
  .job-card__action { grid-column: 2; align-self: start; justify-content: space-between; margin-top: 4px; }
  .job--detail { padding-top: 112px; }
}

@media (max-width: 520px) {
  .k-hero { min-height: 610px; }
  .k-hero__inner { padding: 100px 0 48px; }
  .k-hero h1 { font-size: 43px; }
  .k-hero__inner > p { font-size: 15px; }
  .job { padding: 48px 0 64px; }
  .job__article > h1 { font-size: 36px; }
  .job__content { font-size: 15px; }
  .job__content h2 { margin-top: 48px; }
  .job__content li { padding-left: 28px; }
  .job__apply-box { align-items: stretch; flex-direction: column; margin-top: 56px; padding: 24px 20px; }
  .job__apply-box .job__apply { justify-content: center; }
  .job-card { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .job-card:hover { padding-left: 10px; padding-right: 10px; }
  .job-card h3 { font-size: 25px; }
  .job-card__action span { display: none; }
  .job-card__action { justify-content: flex-end; }
  .job__back { margin-bottom: 40px; }
}
