/* ============================================================
   LitmusVerified — public job application page (apply.html)
   Standalone "document" theme: white bg, crimson #FF2244 accent.
   Type: form text/inputs/labels/button = Cabin (body); page headers
   + role title = Zilla Slab (display); the LITMUSVERIFIED lockup = mono
   (Share Tech Mono). All three are the site's existing self-hosted
   families, reused via @import fonts.css (no new font files).
   ============================================================ */

/* Reuse the site's already-loaded font families (Cabin, Zilla Slab, Share
   Tech Mono) — no new font files. apply.html is standalone (does not extend
   base.html), so it pulls fonts.css in here rather than via the navy shell. */
@import url('fonts.css');

:root {
  --apply-bg: #ffffff;
  --apply-ink: #14161a;
  --apply-ink-soft: #5b6470;
  --apply-line: #d9dde3;
  --apply-line-strong: #b7bdc7;
  --apply-crimson: #ff2244;
  --apply-crimson-ink: #ffffff;
  /* Reused site fonts: body = Cabin, display = Zilla Slab, lockup = mono. */
  --apply-body: 'Cabin', 'Segoe UI', sans-serif;
  --apply-display: 'Zilla Slab', Georgia, serif;
  --apply-mono: 'Share Tech Mono', 'Consolas', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--apply-bg);
  color: var(--apply-ink);
  font-family: var(--apply-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.apply-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 96px 24px;
}

/* ---- header lockup ---- */
.apply-brand {
  font-family: var(--apply-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apply-ink);
}
.apply-brand b { color: var(--apply-crimson); font-weight: 400; }

.apply-role {
  font-family: var(--apply-display);
  margin: 10px 0 0 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}
.apply-role-code {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: var(--apply-ink-soft);
}
.apply-rule {
  height: 2px;
  background: var(--apply-crimson);
  border: 0;
  width: 56px;
  margin: 20px 0 36px 0;
}

/* ---- error banner ---- */
.apply-error {
  border: 1px solid var(--apply-crimson);
  color: var(--apply-crimson);
  background: #fff5f6;
  padding: 12px 14px;
  font-size: 14px;
  margin: 0 0 28px 0;
}

/* ---- form ---- */
.apply-form { display: block; }

.apply-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 10px 0;
}
.apply-req { color: var(--apply-crimson); }

/* résumé dropzone — FIRST and prominent */
.apply-drop {
  display: block;
  position: relative;
  border: 2px dashed var(--apply-line-strong);
  border-radius: 4px;
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
  margin: 0 0 40px 0;
}
.apply-drop:hover,
.apply-drop:focus-within {
  border-color: var(--apply-crimson);
  background: #fffafb;
}
.apply-drop-arrow { font-size: 22px; line-height: 1; }
.apply-drop-main { font-weight: 700; margin: 10px 0 4px 0; }
.apply-drop-sub { font-size: 12px; color: var(--apply-ink-soft); }
.apply-drop-name { font-size: 13px; color: var(--apply-crimson); margin-top: 8px; min-height: 1em; }
/* the real input fills the dropzone but stays invisible & clickable */
.apply-drop input[type=file] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* one field per row, label above, generous spacing */
.apply-field { display: block; margin: 0 0 28px 0; }
.apply-field > span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.apply-field input {
  width: 100%;
  font-family: var(--apply-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--apply-ink);
  background: #fff;
  border: 1px solid var(--apply-line-strong);
  border-radius: 3px;
  padding: 12px 13px;
}
.apply-field input:focus {
  outline: 2px solid var(--apply-crimson);
  outline-offset: 1px;
  border-color: var(--apply-crimson);
}

/* consent */
.apply-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.6;
  color: var(--apply-ink-soft);
  margin: 8px 0 36px 0;
}
.apply-consent input { margin-top: 3px; accent-color: var(--apply-crimson); }
.apply-consent .apply-req { color: var(--apply-crimson); }

/* submit */
.apply-submit {
  display: inline-block;
  font-family: var(--apply-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--apply-crimson-ink);
  background: var(--apply-crimson);
  border: 0;
  border-radius: 3px;
  padding: 14px 30px;
  cursor: pointer;
  transition: filter 120ms ease;
}
.apply-submit:hover { filter: brightness(1.06); }

/* confirmation state — single line, no body paragraph or back link */
.apply-done-h { font-family: var(--apply-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; margin: 0 0 12px 0; }

/* honeypot — visually removed, belt-and-suspenders, kept in a11y tree */
.apply-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 560px) {
  .apply-wrap { padding: 40px 18px 72px 18px; }
}
