/* ═══ MACHINE GUN AMERICA — careers ═══
   Self-contained like holding.css (/css/* sits behind the holding redirect).
   Same tokens, so the two pages read as one site. */

:root {
  --void: #0A0A0B;
  --steel: #141416;
  --steel-hi: #1C1C1F;
  --blood: #C41E24;
  --blood-hi: #E5292F;
  --white: #F5F3EF;
  --ash: #A3A3A6;
  --brass: #C9A227;
  --line: rgba(245, 243, 239, .13);
  --line-hi: rgba(245, 243, 239, .28);

  --display: "Black Ops One", "Arial Black", sans-serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --body: "Roboto", -apple-system, sans-serif;

  --pad: clamp(16px, 5vw, 72px);
  --max: 1120px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--void) var(--noise);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blood); color: var(--white); }
:focus-visible { outline: 2px solid var(--blood-hi); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blood); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── top bar ── */
.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--pad);
  background: rgba(10, 10, 11, .92);
  border-bottom: 3px solid var(--blood);
  backdrop-filter: blur(6px);
}
.bar__home img { width: 96px; height: auto; }
.bar__label { font-family: var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--ash); font-size: 14px; }
.bar__cta {
  margin-left: auto;
  display: inline-block; padding: 10px 18px;
  background: var(--blood); color: var(--white); text-decoration: none;
  font-family: var(--cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px;
  transition: background .15s ease, transform .15s ease;
}
.bar__cta:hover { background: var(--blood-hi); }
.bar__cta:active { transform: translateY(1px); }

/* ── hero ── */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 9vw, 120px) var(--pad) clamp(32px, 6vw, 72px);
}
.eyebrow { font-family: var(--cond); letter-spacing: .28em; text-transform: uppercase; color: var(--brass); font-size: 14px; margin-bottom: 10px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 11vw, 128px); overflow-wrap: anywhere; line-height: .92; text-transform: uppercase; }
.hero__lede { max-width: 640px; margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: #DAD8D4; }
.hero__points { list-style: none; margin-top: 28px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.hero__points li { border-left: 3px solid var(--blood); padding: 6px 0 6px 14px; color: var(--ash); }
.hero__points strong { color: var(--white); display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

.section-h { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 48px); text-transform: uppercase; margin-bottom: 24px; }

/* ── roles ── */
.roles { max-width: var(--max); margin: 0 auto; padding: 24px var(--pad) 64px; }
.roles__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.roles__grid:has(> .role:only-child) { grid-template-columns: 1fr; max-width: 720px; }
.role {
  position: relative;
  background: var(--steel); border: 1px solid var(--line);
  padding: 20px 18px 18px;
  transition: border-color .15s ease, transform .15s ease;
}
.role:hover { border-color: var(--blood); transform: translateY(-2px); }
.role h3 { font-family: var(--cond); font-weight: 600; font-size: 20px; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; padding-right: 44px; }
.role p { margin-top: 8px; color: var(--ash); font-size: 15px; }
.role__age { position: absolute; top: 16px; right: 16px; font-family: var(--cond); font-size: 12px; letter-spacing: .1em; color: var(--brass); border: 1px solid var(--brass); padding: 1px 6px; }

/* ── application ── */
.apply { max-width: 880px; margin: 0 auto; padding: 24px var(--pad) 96px; scroll-margin-top: 80px; }
.apply__intro { color: var(--ash); margin-bottom: 28px; }
.req { color: var(--blood-hi); }

fieldset { min-width: 0; border: 1px solid var(--line); background: var(--steel); padding: 22px 20px 24px; margin-bottom: 18px; scroll-margin-top: 90px; }
legend { font-family: var(--cond); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .08em; padding: 0 10px; margin-left: -10px; }
.step { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; background: var(--blood); font-family: var(--display); font-size: 15px; }
.hint { color: var(--ash); font-size: 14px; margin: 14px 0 8px; }
.hint:first-of-type { margin-top: 4px; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); margin-top: 14px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.field { display: block; font-size: 14px; color: #DAD8D4; min-width: 0; }
.field input, .field select, .field textarea { display: block; margin-top: 6px; }
.field--wide { grid-column: 1 / -1; }
.field--block { margin-top: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="month"], select, textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--white);
  background: var(--void); border: 1px solid var(--line-hi);
  padding: 11px 12px; border-radius: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
  color-scheme: dark;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blood-hi); box-shadow: 0 0 0 3px rgba(196, 30, 36, .25); }
textarea { resize: vertical; }
input[type="file"] { font-size: 14px; color: var(--ash); padding: 8px 0; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blood); width: 18px; height: 18px; flex: none; }

.checks { display: grid; gap: 8px 16px; }
.checks--2 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.checks--days { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.checks label, .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; padding: 6px 0; }
.check { margin-top: 10px; color: #DAD8D4; }
.check--inline { align-self: end; }

.yn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.yn:first-of-type { border-top: 0; }
.yn > span { flex: 1 1 min(320px, 100%); font-size: 15px; }
.yn small { color: var(--ash); }
.yn label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

.job { border-left: 3px solid var(--line-hi); padding-left: 14px; }
.more { margin-top: 14px; }
.more summary { cursor: pointer; font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; color: var(--brass); padding: 6px 0; }
.ref + .ref { margin-top: 6px; border-top: 1px dashed var(--line); }

.is-bad { border-color: var(--blood-hi) !important; box-shadow: 0 0 0 1px var(--blood-hi); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.eeo { font-size: 13px; color: var(--ash); margin: 8px 0 20px; }
.form-error { background: rgba(196, 30, 36, .15); border-left: 3px solid var(--blood-hi); padding: 12px 14px; margin-bottom: 16px; }
.submit {
  width: 100%; padding: 18px;
  background: var(--blood); color: var(--white); border: 0; cursor: pointer;
  font-family: var(--display); font-size: 22px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .15s ease, transform .15s ease;
}
.submit:hover { background: var(--blood-hi); }
.submit:active { transform: translateY(1px); }
.submit:disabled { opacity: .6; cursor: wait; }

.done { background: var(--steel); border: 1px solid var(--line); border-top: 4px solid var(--blood); padding: 40px 28px; }
.done h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 7vw, 56px); text-transform: uppercase; margin-bottom: 12px; }
.done p { color: #DAD8D4; margin-bottom: 24px; }
.done__ref { color: var(--brass); font-family: var(--cond); letter-spacing: .08em; }
.done:focus { outline: none; }

/* ── footer ── */
.legal { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding: 24px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--ash); }
.legal__links { display: flex; flex-wrap: wrap; gap: 16px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--white); }

@media (max-width: 560px) {
  .bar__label { display: none; }
  fieldset { padding: 18px 14px 20px; }
}
