/* /about-us/careers/ — the three job cards and the apply form.
   Built on the site's own form vocabulary (.vb-field / .vb-in / .vb-consent in
   vilo.css) so the fields match the booking popup and the quote tool; only the
   things that page doesn't have are below. Teal (--night-2) marks the
   "we can't take this one" panel: it is an answer, not an error. */

/* ---------- the three jobs ---------- */
.ap-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .ap-jobs { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.ap-job {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-m);
  padding: clamp(18px, 2vw, 24px); box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; gap: 8px;
}
.ap-job h3 { font: 700 clamp(18px, 1.8vw, 21px)/1.25 var(--font); letter-spacing: -0.01em; }
.ap-job p { font-size: 15.5px; color: var(--ink-2); }
.ap-job-where { font: 600 12.5px/1.2 var(--font) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--clay) !important; }
.ap-job-need { font-size: 13.5px !important; color: var(--ink-3) !important; margin-top: auto !important; padding-top: 6px; }
.ap-job-go a { font: 600 15px/1 var(--font); color: var(--brand); text-decoration: none; border-bottom: 1.5px solid rgba(105,29,32,.3); padding-bottom: 2px; }
.ap-job-go a:hover { border-bottom-color: var(--brand); }

/* ---------- the form ---------- */
.ap-form { max-width: 620px; margin: clamp(22px, 3vw, 32px) auto 0; }
.ap-sel { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px 20px; }
.ap-ta { min-height: 110px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.ap-opt { font-weight: 500; color: var(--ink-3); }

.ap-langs { border: 0; margin: 20px 0 0; padding: 0; }
.ap-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ap-langs .ap-tick {
  display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: 600 17px/1 var(--font); cursor: pointer; transition: border-color .18s, background .18s;
}
.ap-langs .ap-tick input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); }
.ap-langs .ap-tick:has(input:checked) { border-color: var(--brand); background: #fdf7f7; }
.ap-langs .ap-tick:hover { border-color: var(--brand-hover); }
.ap-hint { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }

/* the kind no — their options, not a red error */
.ap-gate { margin-top: 20px; background: var(--night-2); color: var(--night-ink); border-radius: var(--r-m); padding: clamp(18px, 2.2vw, 26px); }
.ap-gate-h { font: 700 clamp(19px, 2vw, 23px)/1.25 var(--font); letter-spacing: -0.01em; }
.ap-gate-m { margin-top: 9px; font-size: 15.5px; line-height: 1.5; color: var(--night-ink-2); }
.ap-gate-a { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.ap-gate-btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  background: var(--clay-lt); color: #2a1210; border-radius: var(--pill);
  font: 700 15.5px/1 var(--font); padding: 14px 22px; transition: background .18s, transform .05s;
}
.ap-gate-btn:hover { background: #f0d2c4; }
.ap-gate-btn:active { transform: translateY(1px); }
.ap-gate-call { background: transparent; color: var(--clay-lt); border: 1.5px solid rgba(230,189,172,.5); }
.ap-gate-call:hover { background: rgba(230,189,172,.12); }

/* the résumé */
.ap-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ap-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ap-file .ap-file-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  min-height: 48px; padding: 0 20px; border-radius: var(--pill);
  border: 1.5px solid var(--line); background: #fff;
  font: 600 15.5px/1 var(--font); color: var(--ink); margin: 0; transition: border-color .18s, background .18s;
}
.ap-file .ap-file-btn::before { content: "\01F4C4"; font-size: 17px; }
.ap-file .ap-file-btn:hover { border-color: var(--brand); background: #fdf7f7; }
.ap-file input[type="file"]:focus-visible + .ap-file-btn { outline: 2px solid var(--brand); outline-offset: 3px; }
.ap-file-n { font-size: 13.5px; color: var(--ink-3); min-width: 0; overflow-wrap: anywhere; }

/* a honeypot, hidden from people but not from a bot reading the markup */
.ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ap-err { margin-top: 16px; }
.ap-err .vb-err { font-size: 14.5px; line-height: 1.45; color: var(--bad); }
.ap-err .vb-err a { color: var(--bad); font-weight: 700; }
.ap-go { margin-top: 20px; width: 100%; }
@media (min-width: 521px) { .ap-go { width: auto; min-width: 260px; } }
.ap-fine { margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }

/* sent */
.ap-done { max-width: 620px; margin: clamp(22px, 3vw, 32px) auto 0; background: #fff; border: 1px solid var(--line-soft); border-left: 4px solid var(--good); border-radius: var(--r-m); padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-s); }
.ap-done-h { font: 700 clamp(20px, 2vw, 24px)/1.25 var(--font); letter-spacing: -0.01em; color: var(--good); }
.ap-done-m { margin-top: 9px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ap-done-f { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.ap-done-f a { color: var(--brand); font-weight: 600; }

@media (max-width: 420px) { .ap-ticks { grid-template-columns: 1fr; } }
