:root {
  --ink: #10100f;
  --paper: #f1eee7;
  --acid: #dfff00;
  --white: #ffffff;
  --line: rgba(16, 16, 15, 0.22);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Satoshi", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--acid);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.82;
}

.career-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: calc(100% - clamp(36px, 10vw, 192px));
  min-height: 90px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.career-nav > span { justify-self: center; }

.career-nav > a:last-child {
  justify-self: end;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.career-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: end;
  padding: clamp(48px, 5vw, 76px) clamp(18px, 5vw, 96px) clamp(56px, 6vw, 88px);
}

.career-hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.career-hero__status i {
  width: 9px;
  height: 9px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(223, 255, 0, 0.24);
}

.career-hero h1 {
  max-width: 1050px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  font-size: clamp(4rem, 6.6vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.082em;
  line-height: 0.82;
  text-wrap: balance;
}

.career-hero__main > p {
  max-width: 660px;
  margin: 30px 0 0;
  color: #4e4d49;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.career-hero__facts {
  border-top: 1px solid var(--ink);
}

.career-hero__facts span {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.career-hero__facts b {
  font-weight: 700;
}

.career-hero__facts a {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--acid);
  font-size: 0.8rem;
  font-weight: 800;
}

.roles {
  padding: clamp(62px, 7vw, 96px) clamp(18px, 5vw, 96px) clamp(90px, 10vw, 140px);
  background: var(--ink);
  color: var(--white);
}

.roles__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.roles__heading div > p {
  margin: 0 0 22px;
  color: var(--acid);
  font-size: 0.75rem;
  font-weight: 700;
}

.roles__heading h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.roles__heading > p {
  max-width: 42ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.role-list { border-top: 1px solid rgba(255, 255, 255, 0.45); }

.role {
  display: grid;
  grid-template-columns: 0.18fr minmax(300px, 1.5fr) 0.55fr auto;
  align-items: start;
  gap: clamp(18px, 3vw, 50px);
  padding: 38px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: padding 450ms var(--ease), background 250ms ease;
}

.role:hover,
.role:focus-visible {
  padding-inline: 20px;
  background: var(--acid);
  color: var(--ink);
  outline: none;
}

.role__number,
.role__meta {
  padding-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.role h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.role p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

.role:hover p,
.role:focus-visible p { color: rgba(16, 16, 15, 0.72); }

.role__details {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 600;
}

.role:hover .role__details,
.role:focus-visible .role__details { color: rgba(16, 16, 15, 0.68); }

.role__arrow { font-size: 1.5rem; }

.career-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
  padding: clamp(80px, 9vw, 130px) clamp(18px, 5vw, 96px);
  background: var(--acid);
}

.career-close p {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.career-close a {
  min-width: 250px;
  padding: 24px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
}

.career-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
  padding: 36px clamp(18px, 5vw, 96px);
  background: var(--acid);
  border-top: 1px solid var(--ink);
  font-size: 0.72rem;
}

.career-footer > span { justify-self: center; }
.career-footer > a:last-child { justify-self: end; text-decoration: underline; }

@media (max-width: 900px) {
  .career-hero { grid-template-columns: 1fr; }
  .career-hero__facts { max-width: 560px; }
  .roles__heading { grid-template-columns: 1fr; }
  .role { grid-template-columns: 60px 1fr auto; }
  .role__meta { display: none; }
}

@media (max-width: 650px) {
  .career-nav {
    grid-template-columns: 1fr 1fr;
    width: calc(100% - 36px);
    min-height: 72px;
  }

  .career-nav > span { display: none; }

  .career-hero { padding: 54px 18px 72px; }
  .career-hero h1 { font-size: clamp(3.5rem, 15vw, 5rem); }

  .roles,
  .career-close { padding-inline: 18px; }

  .roles__heading h2,
  .career-close p { font-size: clamp(3.4rem, 15vw, 5.2rem); }

  .roles__heading { gap: 28px; }
  .role { grid-template-columns: 42px 1fr auto; padding-block: 28px 32px; }
  .role p { font-size: 0.9rem; }
  .role:hover,
  .role:focus-visible { padding-inline: 8px; }

  .career-close { grid-template-columns: 1fr; }
  .career-close a { min-width: 0; }

  .career-footer { grid-template-columns: 1fr 1fr; }
  .career-footer > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
