/* RA Movers — Careers page. Brand: Work Sans · gold #ECCD42 · purple #951CF2 · charcoal */
:root {
  --gold: #eccd42;
  --gold-deep: #d4b21f;
  --purple: #951cf2;
  --purple-deep: #7714c4;
  --ink: #25242a;
  --ink-soft: #54525e;
  --line: #e4e2e6;
  --bg: #eeeeee;
  --surface: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(37, 36, 42, 0.1);
  --maxw: 720px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(149, 28, 242, 0.16), transparent 60%),
    linear-gradient(168deg, #2b2933 0%, #1c1b22 100%);
  color: #fff;
  padding-bottom: 38px;
  position: relative;
  overflow: hidden;
}
.hero::after { /* gold underline strip */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}
.hero__bar {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; background: #fff; padding: 5px 9px; border-radius: 8px; }
.hero__call {
  text-decoration: none; color: #fff; font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 7px 15px;
  white-space: nowrap; transition: border-color .2s, background .2s;
}
.hero__call:hover { border-color: var(--gold); background: rgba(236,205,66,0.12); }

.hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 0; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; font-weight: 700;
  color: var(--gold); margin: 0 0 12px;
}
.hero h1 {
  font-weight: 900; line-height: 1.04; margin: 0 0 16px;
  font-size: clamp(2.1rem, 7vw, 3.1rem); letter-spacing: -0.02em;
}
.hero h1 .hl { color: var(--gold); }
.hero__sub { color: #d7d5dd; max-width: 46ch; margin: 0 0 24px; font-size: 1.05rem; }

/* Brand kit: primary CTA = black, 8px radius, Work Sans (matches ramover.com) */
.btn {
  display: inline-block; cursor: pointer; border: none; text-decoration: none;
  background: #111114; color: #fff; font-weight: 700; font-family: inherit;
  border-radius: 8px; padding: 13px 26px; font-size: 1rem; letter-spacing: 0.01em;
  transition: transform .12s ease, box-shadow .2s ease, background .2s;
  box-shadow: 0 8px 20px rgba(17, 17, 20, 0.22);
}
.btn:hover { transform: translateY(-2px); background: #000; }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }
/* On the dark hero, invert for contrast (still monochrome / on-brand) */
.hero .btn { background: #fff; color: #15141a; box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.hero .btn:hover { background: #f1eee9; }

.perks {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr);
}
.perks li {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px 14px;
}
.perks strong { display: block; color: #fff; font-size: 0.98rem; }
.perks span { display: block; color: #b9b7c2; font-size: 0.82rem; margin-top: 3px; }

/* ---------- APPLY ---------- */
.apply { max-width: var(--maxw); margin: -22px auto 0; padding: 0 20px 60px; }
.apply__head {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0; padding: 24px 24px 18px; box-shadow: var(--shadow);
}
.apply__head h2 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 800; }
.apply__head p { margin: 0; color: var(--ink-soft); }

.form {
  background: var(--surface); border: 1px solid var(--line); border-top: none;
  border-radius: 0 0 var(--radius) var(--radius); padding: 8px 24px 26px;
  box-shadow: var(--shadow); display: grid; gap: 18px;
}
.row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; border: none; padding: 0; margin: 0; min-width: 0; }
.field > span {
  font-weight: 600; font-size: 0.86rem; color: var(--ink);
}
.field em { color: var(--ink-soft); font-style: normal; font-weight: 500; }
input, select, textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fafafb; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 13px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(149, 28, 242, 0.14); background: #fff;
}
textarea { resize: vertical; }
input.invalid, select.invalid { border-color: #e0566a; box-shadow: 0 0 0 3px rgba(224,86,106,0.12); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  font-family: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--ink-soft); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 9px 16px; transition: all .15s;
}
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip[aria-pressed="true"] {
  background: var(--purple); border-color: var(--purple); color: #fff;
}

.form__note { margin: -4px 0 0; font-size: 0.78rem; color: var(--ink-soft); text-align: center; }
.form__status { font-size: 0.95rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form__status.ok { color: #1c8a4e; }
.form__status.err { color: #d23b53; }

#submit-btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- FOOTER ---------- */
.foot { text-align: center; color: var(--ink-soft); font-size: 0.84rem; padding: 6px 20px 40px; }
.foot__eq { margin-top: 6px; font-size: 0.78rem; opacity: 0.8; }

/* ---------- MOBILE ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .hero__sub { font-size: 1rem; }
  .apply__head, .form { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}
