
/* 2 Dec: application page = the contact form on its own, centred, with no page title */
.nw.ap { margin-top: clamp(-90px, -5vw, -48px); padding-top: 0; padding-bottom: clamp(80px, 8vw, 160px); }   /* the page already leaves room for the header above main */
@media (max-width: 720px) { .nw.ap { margin-top: 12px; } }   /* phones: clear of the big wordmark */
html.is-mobile .nw.ap { margin-top: 12px; }
.ap-form { width: min(720px, 100%); margin: 0 auto; }
.ap-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 6px; }   /* 2 Dec: no hairline */
.ap-top .ct-form__label { margin: 0; color: #fff; }
.ap-title { margin: clamp(14px, 1.4vw, 22px) 0 0; font-family: var(--f-display); font-weight: 500; font-stretch: 123%; font-size: clamp(34px, 3.3vw, 62px); line-height: 1.04; letter-spacing: -.065em; color: #fff; }   /* 2 Dec: the role name in Diatype, "Apply" in mono above it */
.ap-back { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: #fff; text-decoration: none; transition: color .25s; }
.ap-back svg { width: 13px; height: 13px; flex: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ap-back:hover svg { transform: translateX(-3px); }
.ap-form .nw-btn { transition: background-color .35s, color .35s, opacity .4s ease; }
.motion .ap-form .nw-btn:hover { opacity: .74; }   /* the Explore button's hover: dark with an orange label, and the same fade */
.ap-back:hover { color: var(--orange); }
.ap-flabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* like Contact: labels are for screen readers, the box text says what goes in */
.ct-field label.ap-file { position: relative; width: auto; height: 64px; overflow: visible; clip: auto; white-space: nowrap; }
.ap-file { display: flex; align-items: center; height: 64px; padding: 0 16px 0 18px; cursor: pointer; font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -0.03em; color: rgba(255,255,255,.6); }   /* same type as the text fields' placeholders */
.ap-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 3; }
.ap-file__name { position: relative; z-index: 1; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-file.has-file .ap-file__name { color: #fff; }
.ap-file__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-left: 12px; background: var(--orange); color: #0e0e0e; }
.ap-file__ic svg { width: 12px; height: 12px; }
.ap-file:hover::before { background: rgba(255,255,255,.6); }
.ap-file.is-bad::before { background: #ff5a3c; }
.ap .ct-done { text-align: left; }
.ap-form > .ct-field { flex: none; }   /* a field straight in the form would otherwise take the 240px basis as its height */
.ap-form .ct-field label.ap-file { font-family: var(--f-display); font-weight: 500; font-size: 24px; letter-spacing: -0.03em; text-transform: none; color: rgba(255,255,255,.6); }
.ap-form .ct-field label.ap-file.has-file { color: #fff; }
