/* careers.css — the /careers/ page only.
 *
 * Kept out of premium.css on purpose: that file has twice been destroyed by a
 * careless copy, so a page-specific sheet is safer than appending to it. Every
 * class here is prefixed cr- so nothing can collide with the shared stylesheet,
 * and every colour comes from the tokens premium.css already defines
 * (--navy, --coral, --odoo, --line, --mut, --bg2) so the page cannot drift
 * away from the rest of the site.
 */

/* ---------- the two openings, shown in the hero ---------- */
.cr-open {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.cr-open a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.cr-open a:hover {
  border-color: var(--odoo);
  box-shadow: 0 14px 34px -20px rgba(20, 20, 63, .45);
  transform: translateY(-1px);
}
.cr-open i {
  width: 6px;
  align-self: stretch;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--coral), var(--coral2));
}
.cr-open b {
  display: block;
  color: var(--navy);
  font-size: 15.5px;
  line-height: 1.3;
}
.cr-open span {
  display: block;
  color: var(--mut);
  font-size: 12.5px;
  margin-top: 2px;
}

/* ---------- the job cards ---------- */
.cr-roles {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}
@media (min-width: 980px) {
  .cr-roles { grid-template-columns: 1fr 1fr; }
}

.cr-role {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px 28px;
  overflow: hidden;
}
/* the accent that makes a job card read as a job card */
.cr-role::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--odoo), var(--coral));
}
.cr-role__no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--odoo);
}
.cr-role h3 {
  margin: 8px 0 0;
  font-size: 25px;
  line-height: 1.22;
  color: var(--navy);
  letter-spacing: -.01em;
}
.cr-role__lede {
  margin: 12px 0 0;
  color: var(--mut);
  line-height: 1.62;
}

/* meta pills: full-time, on-site, experience */
.cr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.cr-meta li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
}

.cr-role h4 {
  margin: 26px 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}
.cr-role h4 + ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cr-role h4 + ul li {
  position: relative;
  padding: 0 0 0 24px;
  margin: 0 0 11px;
  color: var(--mut);
  line-height: 1.6;
}
.cr-role h4 + ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--coral);
}
.cr-role h4 + ul li b { color: var(--ink); font-weight: 650; }

.cr-role__foot {
  margin-top: auto;
  padding-top: 24px;
}
.cr-role__foot .btn { width: 100%; justify-content: center; }
.cr-note {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--mut2);
  text-align: center;
}

/* ---------- apply: form beside a short "what happens next" ---------- */
.cr-apply {
  display: grid;
  gap: 26px;
  margin-top: 28px;
  align-items: start;
}
@media (min-width: 980px) {
  .cr-apply { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 40px; }
}
.cr-apply__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.cr-side {
  background: var(--odoo-wash);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
}
.cr-side h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--navy);
}
.cr-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.cr-steps li {
  position: relative;
  counter-increment: s;
  padding: 0 0 0 40px;
  margin: 0 0 18px;
  color: var(--mut);
  font-size: 14.5px;
  line-height: 1.6;
}
.cr-steps li:last-child { margin-bottom: 0; }
.cr-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cr-steps b { display: block; color: var(--ink); margin-bottom: 2px; }

/* ---------- working here ---------- */
.cr-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
@media (min-width: 760px)  { .cr-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cr-grid { grid-template-columns: repeat(4, 1fr); } }
.cr-grid > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
}
.cr-grid u {
  display: block;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--coral);
  margin-bottom: 10px;
}
.cr-grid h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); line-height: 1.3; }
.cr-grid p  { margin: 0; color: var(--mut); font-size: 14.5px; line-height: 1.6; }

/* ---------- location ---------- */
.cr-loc {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}
@media (min-width: 980px) { .cr-loc { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.cr-loc__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
}
.cr-loc__card b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 10px; }
.cr-loc__card address {
  font-style: normal;
  color: var(--mut);
  line-height: 1.7;
  margin: 0 0 20px;
}
.cr-loc__card .btn { justify-content: center; }
.cr-tel {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--mut);
}
.cr-tel a { color: var(--navy); font-weight: 650; text-decoration: none; }
.cr-tel a:hover { text-decoration: underline; }
.cr-map {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  line-height: 0;
  min-height: 320px;
}
.cr-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
