/*
 * Structure and states for careers.js. Colours, type and radii come from the
 * --cr-* variables, so a brand only writes a small theme file.
 */
.cr-page, .cr-page * , .cr-state, .cr-loading { box-sizing: border-box; }
#careers-root { font-family: var(--cr-font, system-ui, sans-serif); color: var(--cr-ink, #1a1815); background: var(--cr-bg, #fff); line-height: 1.5; }
:where(#careers-root) a { color: inherit; text-decoration: none; }
:where(#careers-root) :is(h1, h2, p, dl, dd) { margin: 0; }
.cr-wrap { max-width: var(--cr-max, 1280px); margin: 0 auto; padding: 0 var(--cr-pad, 48px); }
.cr-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--cr-focus, #14586a); outline-offset: 2px; }
#careers-root [tabindex="-1"]:focus { outline: none; }

/* type */
.cr-h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; }
.cr-h1-sm { font-size: clamp(30px, 4vw, 44px); }
.cr-h1-job { font-size: clamp(34px, 5.2vw, 64px); max-width: 900px; }
.cr-h2 { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.cr-h2-lg { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -.03em; }
.cr-accent { color: var(--cr-accent-ink, #ba3b14); }
.cr-lead { font-size: 19px; line-height: 1.6; color: var(--cr-ink-2, #453f39); max-width: 540px; margin-top: 22px !important; }
.cr-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cr-ink-2, #453f39); margin-bottom: 16px; }
.cr-eyebrow-accent { color: var(--cr-accent-ink, #ba3b14); margin: 26px 0 12px; }
.cr-hint { font-size: 14px; color: var(--cr-ink-2, #453f39); }

/* buttons */
.cr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--cr-radius, 6px); border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.cr-btn-primary { background: var(--cr-accent, #cf441d); color: #fff !important; }
.cr-btn-primary:hover { background: var(--cr-accent-ink, #ba3b14); }
.cr-btn-primary:disabled { opacity: .65; cursor: progress; }
.cr-btn-ghost { background: transparent; border-color: var(--cr-ink, #1a1815); color: var(--cr-ink, #1a1815); }
.cr-btn-ghost:hover { background: var(--cr-sand, #f2f1ed); }
.cr-btn-block { width: 100%; }
.cr-btn-lg { min-height: 54px; padding: 0 34px; }
.cr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* hero */
.cr-hero { padding: 56px 0 72px; }
.cr-hero-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.cr-hero-copy { flex: 1 1 520px; max-width: 640px; }
.cr-hero-art { position: relative; flex: 1 1 380px; max-width: 520px; height: 380px; }
.cr-hero-art::before { content: ""; position: absolute; right: 20px; top: 10px; width: 340px; height: 340px; background: var(--cr-deco, #ed5428); transform: rotate(9deg); max-width: 80%; }
.cr-hero-card { position: absolute; left: 10px; bottom: 0; width: min(330px, 92%); background: #fff; border: 1px solid var(--cr-line, #e2e0da); border-radius: 14px; padding: 18px; box-shadow: 0 18px 40px rgba(26, 24, 21, .18); }
.cr-hero-card-t { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.cr-hero-grid { height: 110px; border-radius: 8px; padding: 14px; display: flex; align-items: flex-end; gap: 10px; background-color: #e9e9e4; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 22px 22px; }
.cr-hero-grid b { font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--cr-deep, #0f3540); }
.cr-hero-grid span { font-size: 13px; font-weight: 500; color: var(--cr-ink-2, #453f39); padding-bottom: 6px; }

/* optional photography (data-hero-image, data-job-image): cutouts standing on the edge of the next section */
.cr-hero-photo { position: absolute; z-index: 1; right: 6px; bottom: -72px; height: 470px; width: auto; max-width: none; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(26, 24, 21, .14)); }
.cr-hero-card { z-index: 2; }
.cr-has-art { position: relative; }
.cr-has-art .cr-h1-job { max-width: 640px; }
.cr-job-art { position: absolute; right: var(--cr-pad, 48px); top: -8px; bottom: -48px; width: 420px; pointer-events: none; }
.cr-job-art::before { content: ""; position: absolute; right: 24px; top: 20px; width: 250px; height: 250px; background: var(--cr-deco, #ed5428); transform: rotate(9deg); }
.cr-job-photo { position: absolute; right: 0; bottom: 0; height: 290px; width: auto; max-width: none; filter: drop-shadow(0 14px 20px rgba(26, 24, 21, .14)); }
@media (max-width: 1100px) { .cr-job-art { display: none; } .cr-has-art .cr-h1-job { max-width: 900px; } }
@media (max-width: 900px) { .cr-hero-photo { height: 400px; } }
@media (max-width: 640px) { .cr-hero-photo { height: 330px; right: 0; bottom: -48px; } .cr-hero-art:has(.cr-hero-photo) .cr-hero-card { display: none; } }

/* roles */
.cr-roles { background: var(--cr-sand, #f2f1ed); border-top: 1px solid var(--cr-line, #e2e0da); padding: 48px 0 80px; scroll-margin-top: 0; }
.cr-filters { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border: 1px solid var(--cr-line, #e2e0da); border-radius: var(--cr-radius-lg, 8px); padding: 12px; }
.cr-f { flex: 1 1 180px; display: block; }
.cr-f-q { flex: 2 1 260px; }
.cr-input { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--cr-line, #e2e0da); border-radius: var(--cr-radius, 6px); background: var(--cr-sand, #f2f1ed); color: var(--cr-ink, #1a1815); font: inherit; font-size: 16px; }
.cr-filters .cr-input { border-color: transparent; }
.cr-input:focus { background: #fff; }
.cr-input[aria-invalid="true"] { border-color: #b3261e; background: #fff; }
.cr-ta { padding: 12px 14px; resize: vertical; min-height: 120px; }
.cr-count { margin: 20px 4px 0; font-size: 14px; font-weight: 500; color: var(--cr-ink-2, #453f39); }
.cr-groups { display: grid; gap: 34px; margin-top: 18px; }
.cr-ghead { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 0 14px; border-bottom: 2px solid var(--cr-ink, #1a1815); cursor: pointer; }
.cr-ghead:focus-visible { outline: 2px solid var(--cr-focus, #14586a); outline-offset: 4px; }
.cr-gname { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.cr-gmeta { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--cr-ink-2, #453f39); }
.cr-gsign { font-size: 24px; line-height: 1; color: var(--cr-ink, #1a1815); width: 20px; text-align: center; }
.cr-rows { display: grid; gap: 10px; margin-top: 14px; }
.cr-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--cr-line, #e2e0da); border-radius: var(--cr-radius-lg, 8px); padding: 20px 24px; transition: border-color .15s, box-shadow .15s; }
.cr-row:hover { border-color: var(--cr-ink, #1a1815); box-shadow: 0 2px 0 var(--cr-ink, #1a1815); }
.cr-row-title { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cr-chips-lg { margin-top: 24px; }
.cr-chip { padding: 4px 10px; border-radius: 4px; background: var(--cr-sand, #f2f1ed); font-size: 13px; font-weight: 500; color: var(--cr-ink-2, #453f39); }
.cr-chips-lg .cr-chip { padding: 7px 14px; font-size: 14px; }
.cr-row-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.cr-empty { background: #fff; border: 1px solid var(--cr-line, #e2e0da); border-radius: var(--cr-radius-lg, 8px); padding: 56px 24px; text-align: center; }
.cr-empty p { margin-top: 10px; color: var(--cr-ink-2, #453f39); }

/* job page */
.cr-jobhead { padding: 40px 0 48px; }
.cr-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--cr-ink-2, #453f39) !important; }
.cr-jobbody { background: var(--cr-sand, #f2f1ed); border-top: 1px solid var(--cr-line, #e2e0da); padding: 48px 0 80px; }
.cr-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cr-main { flex: 1 1 560px; min-width: 0; display: grid; gap: 28px; }
.cr-article { min-width: 0; background: #fff; border: 1px solid var(--cr-line, #e2e0da); border-radius: var(--cr-radius-lg, 8px); padding: 44px; }
.cr-prose { font-size: 17px; line-height: 1.75; color: var(--cr-ink-2, #453f39); overflow-wrap: anywhere; }
.cr-prose h2, .cr-prose h3, .cr-prose h4 { color: var(--cr-ink, #1a1815); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; margin: 40px 0 12px; }
.cr-prose > :first-child { margin-top: 0; }
.cr-prose h2 { font-size: 26px; } .cr-prose h3 { font-size: 21px; } .cr-prose h4 { font-size: 18px; }
.cr-prose p { margin: 0 0 14px; }
.cr-prose ul, .cr-prose ol { margin: 0 0 14px; padding-left: 22px; }
.cr-prose li { margin-bottom: 6px; }
.cr-prose a { color: var(--cr-accent-ink, #ba3b14); text-decoration: underline !important; }
.cr-aside { flex: 0 1 320px; min-width: 260px; position: sticky; top: calc(var(--cr-header-h, 88px) + 20px); background: var(--cr-deep, #0f3540); color: #fff; border-radius: var(--cr-radius-lg, 8px); padding: 28px; }
.cr-aside-k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9fb8bf; }
.cr-aside-v { margin-top: 8px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.025em; }
.cr-aside-s { margin-top: 4px; font-size: 14px; color: #c9d6da; }
.cr-hr { border: 0; border-top: 1px solid #2a5360; margin: 22px 0; }
.cr-facts { display: grid; gap: 14px; font-size: 15px; margin-bottom: 24px !important; }
.cr-fact { display: flex; justify-content: space-between; gap: 12px; }
.cr-fact dt { color: #9fb8bf; } .cr-fact dd { font-weight: 600; text-align: right; }

/* form */
.cr-card { background: #fff; border: 1px solid var(--cr-line, #e2e0da); border-radius: var(--cr-radius-lg, 8px); padding: 44px; }
.cr-closed p { margin: 10px 0 24px; color: var(--cr-ink-2, #453f39); }
.cr-apply .cr-hint { margin-top: 8px; }
.cr-form { display: grid; gap: 30px; margin-top: 32px; }
.cr-fs { display: grid; gap: 18px; }
.cr-fs-h { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; }
.cr-step { width: 28px; height: 28px; border-radius: 4px; background: var(--cr-deep, #0f3540); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.cr-fs-end { padding-top: 24px; border-top: 1px solid var(--cr-line, #e2e0da); }
.cr-field { display: grid; gap: 7px; min-width: 0; }
.cr-label { font-size: 14px; font-weight: 600; }
.cr-req { color: var(--cr-accent-ink, #ba3b14); }
.cr-opt { font-weight: 400; color: var(--cr-ink-2, #453f39); }
.cr-err { font-size: 13.5px; font-weight: 500; color: #b3261e; }
.cr-alert { padding: 12px 14px; border-radius: var(--cr-radius, 6px); background: #fbe9e7; color: #8c1d18; font-size: 14.5px; font-weight: 500; }
.cr-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cr-grid-phone { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 12px; align-items: start; }
.cr-drop { border: 1.5px dashed #b9b4a8; border-radius: var(--cr-radius-lg, 8px); padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: #f7f6f2; }
.cr-drop-over { border-color: var(--cr-accent, #cf441d); background: #fdf1ec; }
.cr-drop-t { display: grid; gap: 2px; font-size: 15px; min-width: 0; }
.cr-drop-s { font-size: 13px; color: var(--cr-ink-2, #453f39); }
.cr-file-name { font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; margin-top: 4px; }
.cr-drop-has .cr-file-name { color: var(--cr-deep, #0f3540); }
.cr-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; color: var(--cr-ink-2, #453f39); }
.cr-check { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cr-accent, #cf441d); flex: none; }
.cr-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cr-submit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* states */
.cr-state { padding-top: 72px; padding-bottom: 96px; }
.cr-state .cr-lead + p { margin-top: 12px; color: var(--cr-ink-2, #453f39); max-width: 540px; }
.cr-loading { padding-top: 72px; padding-bottom: 96px; display: grid; gap: 16px; }
.cr-skel { height: 22px; border-radius: 4px; background: linear-gradient(90deg, var(--cr-sand, #f2f1ed), #fff, var(--cr-sand, #f2f1ed)); background-size: 200% 100%; animation: cr-shimmer 1.4s infinite linear; }
@keyframes cr-shimmer { to { background-position: -200% 0; } }

@media (max-width: 900px) {
  .cr-wrap { padding: 0 var(--cr-pad-sm, 28px); }
  .cr-aside { position: static; flex-basis: 100%; }
  .cr-article, .cr-card { padding: 28px; }
}
@media (max-width: 640px) {
  .cr-hero { padding: 32px 0 48px; }
  .cr-hero-art { height: 300px; }
  .cr-hero-art::before { width: 250px; height: 250px; }
  .cr-row { padding: 18px; }
  .cr-row-cta { width: 100%; }
  .cr-gname { font-size: 22px; }
  .cr-grid2, .cr-grid-phone { grid-template-columns: minmax(0, 1fr); }
  .cr-article, .cr-card { padding: 22px; }
  .cr-btn-lg { width: 100%; }
}
@media (max-width: 400px) { .cr-wrap { padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) { .cr-skel { animation: none; } .cr-btn, .cr-row { transition: none; } }
.cr-posted { margin: 14px 0 0; font-size: 15px; color: var(--cr-ink-2, #453f39); }

.cr-stickybar { display: none; }
@media (max-width: 900px) {
  .cr-stickybar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid var(--cr-line, #e2e0da); }
  .cr-stickybar.is-hidden { display: none; }
  .cr-jobbody { padding-bottom: 112px; }
}
