/* ==========================================================================
   CAREERS  (/careers and /careers/<role>) -- templates/careers.html,
   career_job.html, partials/career_form.html. Loaded only on these pages.
   Uses the site tokens from style-old-verified.css (--navy, --light-blue,
   --card-blue, --section-heading-size, --head-gap ...).
   ========================================================================== */
.page-careers { --cr-orange: #F0602A; --cr-card: #fff; }
.cr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Hero ---- */
.cr-hero .page-hero-sub { max-width: none; }
.cr-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 20px; }
html body .cr-btn-light { background: var(--light-blue); color: var(--navy); }
html body .cr-btn-light:hover { background: #fff; color: var(--navy); }
.cr-link-light {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: #f2f2f2;
  border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 2px; transition: border-color .25s, color .25s;
}
.cr-link-light:hover { color: #fff; border-color: #fff; }

/* ---- Shared bits ---- */
.cr-lead { font-size: clamp(.98rem, 1.1vw, 1.08rem); line-height: 1.7; color: var(--ink-soft); max-width: 62ch; margin: 0 0 1em; }
.cr-sub { color: var(--ink-soft); font-size: clamp(.95rem, 1.1vw, 1.05rem); margin: calc(var(--head-gap) * -1 + var(--sub-gap)) auto var(--head-gap); max-width: 72ch; }
.cr-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cr-tags li {
  font-size: .74rem; letter-spacing: .03em; padding: 5px 11px; border-radius: 999px;
  background: var(--light-blue); color: var(--navy); border: 1px solid rgba(3,17,48,.1); white-space: nowrap;
}
.cr-tags--light li { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }

/* ---- Life at BRANDit ---- */
.cr-intro-text { max-width: 61.25rem; text-align: center; }
.cr-intro .section-title, .cr-roles-section .section-title { max-width: none; }
.cr-intro .cr-lead { margin-inline: auto; max-width: none; text-wrap: balance; }

.cr-eyebrow { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cr-orange); font-weight: 600; margin: 0 0 .8rem; }
.cr-tagline {
  margin: 1.2em 0 0; font-family: "Playfair Display", "Playfair Fallback", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.35;
  /* Same look as the home page "Impact" word (Playfair italic + orange gradient). */
  background: linear-gradient(135deg, #FF8A4C 0%, #F0602A 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  width: fit-content; margin-inline: auto; padding-right: .08em;
}
.cr-sub-cta { margin: calc(var(--head-gap) * -1 + 6px) auto var(--head-gap); font-weight: 600; color: var(--navy); font-size: clamp(.95rem, 1.1vw, 1.05rem); }

/* ---- Why BRANDit? (plain text, no cards) ---- */
.cr-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.cr-why li { padding: 4px clamp(16px, 2vw, 28px); border-left: 1px solid rgba(3,17,48,.14); }
.cr-why li:first-child { border-left: 0; padding-left: 0; }
.cr-why li:last-child { padding-right: 0; }
html.dir-rtl .cr-why li { border-left: 0; border-right: 1px solid rgba(3,17,48,.14); }
html.dir-rtl .cr-why li:first-child { border-right: 0; padding-right: 0; padding-left: clamp(16px, 2vw, 28px); }
.cr-why h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 .4em; font-size: clamp(.98rem, 1.1vw, 1.08rem); font-weight: 600; color: var(--navy); }
.cr-why-icon { display: inline-flex; color: var(--cr-orange); flex: 0 0 auto; }
.cr-why-icon svg { width: 20px; height: 20px; }
.cr-why p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.55; }


/* ---- Open positions ---- */
.cr-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 22px; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chip {
  font: inherit; font-size: .8rem; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  background: var(--cr-card); color: var(--navy); border: 1px solid rgba(3,17,48,.14);
  transition: background-color .25s, color .25s, border-color .25s;
}
.cr-chip:hover { border-color: var(--navy); }
.cr-chip.is-on { background: var(--navy); color: var(--light-blue); border-color: var(--navy); }
.cr-loc select, .cr-form select {
  font-family: var(--font-body); font-size: .92rem; color: var(--ink); background-color: var(--cr-card);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 38px 11px 14px; cursor: pointer;
  -webkit-appearance: none; appearance: none; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23031130' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.cr-loc select { min-width: 200px; }
html.dir-rtl .cr-loc select, html.dir-rtl .cr-form select { padding: 11px 14px 11px 38px; background-position: left 14px center; }

.cr-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cr-job a {
  display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: center;
  background: var(--cr-card); border: 1px solid rgba(3,17,48,.08); border-radius: var(--radius-lg);
  padding: clamp(18px, 2vw, 26px) clamp(18px, 2.4vw, 30px); color: inherit; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cr-job a::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #FF8A4C, #F0602A);
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
html.dir-rtl .cr-job a::before { inset: 0 0 0 auto; }
.cr-job a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(3,17,48,.5); border-color: rgba(3,17,48,.16); }
.cr-job a:hover::before { transform: scaleY(1); }
.cr-job-dept { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cr-orange); font-weight: 600; margin-bottom: 6px; }
.cr-job h3 { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; color: var(--navy); }
.cr-job-main p { margin: 6px 0 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; max-width: 70ch; }
.cr-job-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cr-job-meta .cr-tags { justify-content: flex-end; }
.cr-job-go { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--navy); white-space: nowrap; }
.cr-job-go span { display: inline-block; transition: transform .3s var(--ease); }
.cr-job a:hover .cr-job-go span { transform: translateX(4px); }
.cr-job[hidden] { display: none; }
.cr-nomatch { text-align: center; color: var(--ink-soft); margin: 18px 0 0; }
.cr-empty {
  text-align: center; background: var(--cr-card); border: 1px dashed rgba(3,17,48,.22); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px) clamp(18px, 4vw, 48px); max-width: 760px; margin: 0 auto;
}
.cr-empty h3 { margin: 0 0 .4em; color: var(--navy); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; }
.cr-empty p { color: var(--ink-soft); margin: 0 auto 20px; max-width: 52ch; }


/* ---- Apply ---- */
.cr-apply-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cr-apply-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.cr-apply-intro .section-title { max-width: none; }
.cr-form-card {
  background: var(--cr-card); border: 1px solid rgba(3,17,48,.08); border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(20px, 3vw, 38px); box-shadow: 0 30px 60px -36px rgba(3,17,48,.45);
}
.cr-form { display: grid; gap: 16px; }
.cr-form .field input, .cr-form .field textarea { background: var(--light-blue); border-color: transparent; }
.cr-form select { background-color: var(--light-blue); border-color: transparent; }
.cr-form .field input:focus, .cr-form .field textarea:focus, .cr-form select:focus { outline: none; border-color: var(--navy); background-color: #fff; }
.cr-form .field label i, .cr-label i { color: var(--cr-orange); font-style: normal; }
.cr-label { font-size: .85rem; color: var(--ink-soft); }
.cr-form-role p { margin: 0; }
.cr-form-role { display: flex; flex-wrap: wrap; gap: 0 .35em; margin: 0 0 4px; padding: 12px 16px; border-radius: 12px; background: var(--light-blue); color: var(--navy); font-size: .92rem; }
.cr-drop {
  position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; cursor: pointer;
  padding: 22px 16px; border: 1.5px dashed rgba(3,17,48,.28); border-radius: 14px; background: var(--light-blue);
  transition: border-color .25s, background-color .25s;
}
.cr-drop:hover, .cr-drop.is-over { border-color: var(--navy); background: #fff; }
.cr-drop.has-file { border-style: solid; border-color: #2E7D4F; background: #EEF7F1; }
.cr-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.cr-drop-icon { color: var(--navy); }
.cr-drop-text { font-size: .92rem; color: var(--navy); }
.cr-drop-hint { font-size: .78rem; color: var(--ink-soft); }
.cr-drop-file { margin-top: 6px; font-size: .86rem; font-weight: 600; color: #1F6B40; word-break: break-all; }
.cr-consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .84rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.cr-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.cr-consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.cr-submit { justify-self: start; font-size: .8rem; padding: .85em 1.6em; }
.cr-submit[disabled] { opacity: .65; cursor: progress; }
.cr-error, .cr-alert--error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: #8C1D18; border: 1px solid #F3C3BE; font-size: .9rem; }
.cr-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #EEF7F1; color: #1F6B40; border: 1px solid #BFDFCB; font-size: .9rem; }
.cr-done { text-align: center; padding: clamp(16px, 3vw, 36px) 8px; }
.cr-done-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #EEF7F1; color: #2E7D4F; margin-bottom: 14px; }
.cr-done h3 { margin: 0 0 .4em; color: var(--navy); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; }
.cr-done p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 22px; }

.cr-mail {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-top: 22px;
  background: var(--cr-card); border: 1px solid rgba(3,17,48,.08); border-radius: var(--radius-lg); padding: 18px 20px;
}
.cr-mail-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(240,96,42,.1); color: var(--cr-orange); }
.cr-mail-label { margin: 0 0 2px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.cr-mail-link { font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 600; color: var(--navy); word-break: break-all; }
.cr-mail-link:hover { color: var(--cr-orange); }
.cr-mail-note { margin: 6px 0 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.cr-or { margin: 18px 0 0; color: var(--ink-soft); font-size: .92rem; }

/* ---- Closing line ---- */
.cr-closing { background: linear-gradient(135deg, #031130 0%, #0A1F4D 100%); color: #fff; padding: clamp(40px, 5vw, 72px) 0; text-align: center; }
.cr-closing-line { margin: 0 auto; max-width: 22ch; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 500; line-height: 1.2; color: #fff; }

/* ---- Job page ---- */
.cr-job-hero { background: var(--navy); color: #fff; border-bottom: 0; min-height: 0; padding-bottom: clamp(32px, 4vw, 52px); }
.cr-job-hero h1 { color: #fff; max-width: 24ch; margin: 0 0 16px; font-weight: 600; }
.cr-job-hero .cr-job-dept { margin-bottom: 10px; }
.cr-job-hero .page-hero-sub { color: rgba(255,255,255,.8); }
.cr-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: clamp(18px, 2.4vw, 28px); }
.cr-crumbs a { color: rgba(255,255,255,.7); }
.cr-crumbs a:hover { color: #fff; }
.cr-crumbs span { color: rgba(255,255,255,.4); }
.cr-job-body { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.cr-job-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cr-job-summary { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--navy); margin: 0 0 1.2em; }
.cr-job-text h2 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 600; color: var(--navy); margin: 1.6em 0 .7em; }
.cr-job-text h2:first-child { margin-top: 0; }
.cr-job-text p { color: var(--ink-soft); line-height: 1.75; margin: 0 0 1em; }
.cr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cr-list li { position: relative; padding-left: 26px; color: var(--ink); line-height: 1.65; }
html.dir-rtl .cr-list li { padding-left: 0; padding-right: 26px; }
.cr-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #FF8A4C, #F0602A); }
html.dir-rtl .cr-list li::before { left: auto; right: 4px; }
.cr-list--soft li::before { background: none; border: 1.5px solid var(--cr-orange); }
.cr-job-side { position: sticky; top: calc(var(--header-h) + 24px); }
.cr-side-card { background: var(--cr-card); border: 1px solid rgba(3,17,48,.08); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 24px 48px -30px rgba(3,17,48,.45); }
.cr-side-card h2 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cr-orange); font-weight: 600; }
.cr-side-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 20px; font-size: .92rem; }
.cr-side-card dt { color: var(--ink-soft); }
.cr-side-card dd { margin: 0; color: var(--navy); font-weight: 600; text-align: end; }
.cr-side-card .btn--block { justify-content: center; }
.cr-side-back { display: block; text-align: center; margin-top: 14px; font-size: .84rem; color: var(--navy); }
.cr-closed { min-height: 52vh; display: flex; align-items: center; }
.cr-closed .page-hero-sub { margin-top: 0; }

/* ---- Tablets ---- */
@media (max-width: 1024px) {
  .cr-job-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 860px) {
  .cr-why { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .cr-why li:nth-child(3) { border-left: 0; padding-left: 0; }
  html.dir-rtl .cr-why li:nth-child(3) { border-right: 0; }
  .cr-apply-grid, .cr-job-grid { grid-template-columns: 1fr; }
  .cr-apply-intro, .cr-job-side { position: static; }
  .cr-job a { grid-template-columns: 1fr; }
  .cr-job-meta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .cr-job-meta .cr-tags { justify-content: flex-start; }
}

/* ---- Phones ---- */
@media (max-width: 600px) {
  .cr-why { grid-template-columns: 1fr; row-gap: 0; }
  .cr-why li, .cr-why li:first-child, .cr-why li:nth-child(3), .cr-why li:last-child { border: 0; padding: 14px 0; border-top: 1px solid rgba(3,17,48,.12); }
  .cr-why li:first-child { border-top: 0; padding-top: 0; }

  .cr-filters { flex-direction: column; align-items: stretch; }
  .cr-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px 4px; scrollbar-width: none; }
  .cr-chips::-webkit-scrollbar { display: none; }
  .cr-chip { flex: 0 0 auto; }
  .cr-loc select { min-width: 0; }
  .cr-submit { justify-self: stretch; justify-content: center; }
  .cr-hero-ctas { gap: 14px 18px; }
}

/* ---- User's changes, 25 Oct 2026 ----
   "Why BRANDit?": navy background (white text) and 10% taller (extra space above/below the four points).
   "Your next big move could start here.": navy background removed -- page white, navy text. */
.cr-why-section { background: var(--navy, #031130); }
.cr-why-section .section-title { color: #fff; }
.cr-why-section .cr-why { padding-block: clamp(9px, .8vw, 12px); }
.cr-why-section .cr-why h3 { color: #fff; }
.cr-why-section .cr-why p { color: rgba(255,255,255,.75); }
.cr-why-section .cr-why li { border-color: rgba(255,255,255,.18); }
.cr-closing { background: none; color: var(--navy, #031130); }
.cr-closing-line { color: var(--navy, #031130); }
@media (max-width: 600px) {
  .cr-why-section .cr-why { padding-block: 20px; }
}
.cr-eyebrow { color: #B8400E; }  /* small orange label: 4.6:1 on the light page (pro audit 25 Oct 2026) */
