/* ═══════════════════════════════════════════════════════════════════════
   Careers page (/careers/): loaded after fibre.css.
   Photo hero with quick facts, value cards, expandable role cards, apply
   steps and a copyable recruitment email.
   ═══════════════════════════════════════════════════════════════════════ */

.cr-hero .fh-hero-bg img { object-position: 75% center; }
.cr-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.cr-eyebrow svg { width: 15px; height: 15px; }
.cr-hero-facts { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.cr-hero-facts li { padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-width: 0; }
.cr-hero-facts strong { display: block; color: #fff; font-size: 22px; font-weight: 900; line-height: 1.1; }
.cr-hero-facts span { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ── Values ── */
.cr-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cr-value { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.cr-value .inc-icon { margin-bottom: 14px; }
.cr-value h3 { font-size: 17px; font-weight: 800; color: #111; margin-bottom: 4px; }
.cr-value p { color: #6b7280; font-size: 14.5px; line-height: 1.55; }

/* ── Roles ── */
.cr-none { display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid #eee; color: #4b5563; font-size: 16px; line-height: 1.55; }
.cr-none a { color: #d82633; font-weight: 700; overflow-wrap: anywhere; }
.cr-jobs { display: flex; flex-direction: column; gap: 16px; }
.cr-job { border-radius: 24px; background: #fff; border: 1px solid #eee; box-shadow: 0 14px 40px rgba(0,0,0,0.06); overflow: hidden; scroll-margin-top: 140px; }
.cr-job-head { width: 100%; display: flex; align-items: flex-start; gap: 18px; padding: 26px 28px; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; }
.cr-job-icon { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #d82633, #99151c); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 10px 24px rgba(216,38,51,0.28); }
.cr-job-icon svg { width: 24px; height: 24px; }
.cr-job-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cr-job-main h3 { font-size: 22px; font-weight: 800; color: #111; line-height: 1.2; }
.cr-job-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.cr-job-meta > span { display: inline-flex; align-items: center; gap: 6px; color: #6b7280; font-size: 13.5px; font-weight: 600; }
.cr-job-meta svg { width: 15px; height: 15px; color: #d82633; flex-shrink: 0; }
.cr-job-meta .is-close { color: #d82633; }
.cr-job-sum { color: #4b5563; font-size: 15px; line-height: 1.55; }
.cr-job.is-open .cr-job-sum { display: none; }   /* "The role" repeats it */
.cr-job-chev { width: 22px; height: 22px; color: #9ca3af; flex-shrink: 0; margin-top: 16px; transition: transform .3s; }
.cr-job-head[aria-expanded="true"] .cr-job-chev { transform: rotate(180deg); }
.cr-job-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.cr-job.is-open .cr-job-body { grid-template-rows: 1fr; }
.cr-job-body > div { overflow: hidden; min-height: 0; }
.cr-job-inner { padding: 0 28px 28px 100px; }
.cr-job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cr-job-tags span { padding: 5px 12px; border-radius: 999px; background: rgba(216,38,51,0.08); color: #d82633; font-size: 12.5px; font-weight: 700; }
.cr-job-inner h4 { font-size: 15px; font-weight: 800; color: #111; margin-bottom: 8px; }
.cr-job-inner > p { color: #4b5563; font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
.cr-job-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 24px; }
.cr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cr-list li { display: flex; align-items: flex-start; gap: 10px; color: #374151; font-size: 14.5px; line-height: 1.5; }
.cr-list svg { width: 17px; height: 17px; color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.cr-list.is-offer svg { color: #d82633; }
.cr-job-apply { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; padding-top: 22px; border-top: 1px solid #f0f0f0; }
.cr-job-apply p { color: #6b7280; font-size: 14px; line-height: 1.5; flex: 1; min-width: 220px; }
.cr-job-apply strong { color: #111; overflow-wrap: anywhere; }

/* ── How to apply ── */
.cr-steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cr-step { position: relative; padding: 28px 24px 24px; border-radius: 22px; background: #fff; border: 1px solid #eee; box-shadow: 0 14px 40px rgba(0,0,0,0.06); }
.cr-step .inc-icon { margin-bottom: 14px; }
.cr-step-n { position: absolute; top: 20px; right: 22px; color: #eceef1; font-size: 40px; font-weight: 900; line-height: 1; }
.cr-step h3 { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 6px; }
.cr-step p { color: #6b7280; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.cr-email { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 auto; padding: 22px 26px; border-radius: 22px; background: linear-gradient(135deg, #141418, #0a0a0c); box-shadow: 0 24px 60px rgba(0,0,0,0.18); }
.cr-email > div { min-width: 0; }
.cr-email-label { display: block; color: rgba(255,255,255,0.5); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.cr-email-addr { color: #fff; font-size: clamp(18px, 2.6vw, 26px); font-weight: 800; overflow-wrap: anywhere; }
.cr-email-addr:hover { color: #ff4d5a; }
.cr-copy { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.cr-copy:hover { background: rgba(255,255,255,0.14); }
.cr-copy svg { width: 16px; height: 16px; }
.cr-email-note { max-width: 760px; margin: 16px auto 0; text-align: center; color: #6b7280; font-size: 14.5px; line-height: 1.55; }

/* ── Dark theme ── */
[data-theme="dark"] .cr-value, [data-theme="dark"] .cr-job, [data-theme="dark"] .cr-step, [data-theme="dark"] .cr-none { background: #16171d; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .cr-value h3, [data-theme="dark"] .cr-job-main h3, [data-theme="dark"] .cr-job-inner h4, [data-theme="dark"] .cr-step h3, [data-theme="dark"] .cr-job-apply strong { color: #fff; }
[data-theme="dark"] .cr-value p, [data-theme="dark"] .cr-job-sum, [data-theme="dark"] .cr-job-inner > p, [data-theme="dark"] .cr-list li, [data-theme="dark"] .cr-step p, [data-theme="dark"] .cr-job-apply p, [data-theme="dark"] .cr-none, [data-theme="dark"] .cr-email-note, [data-theme="dark"] .cr-job-meta > span { color: rgba(255,255,255,0.65); }
[data-theme="dark"] .cr-job-apply { border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .cr-step-n { color: rgba(255,255,255,0.08); }

@media (prefers-reduced-motion: reduce) {
    .cr-job-body, .cr-job-chev { transition: none; }
}

/* ── Tablets ── */
@media (max-width: 1023px) {
    .cr-steps { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
}

/* ── Phones ── */
@media (max-width: 767px) {
    .cr-hero-facts { margin-top: 24px; gap: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cr-hero-facts li { padding: 10px 10px; border-radius: 13px; }
    .cr-hero-facts strong { font-size: 18px; }
    .cr-hero-facts span { font-size: 11.5px; display: block; line-height: 1.3; }
    .cr-values { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .cr-value { padding: 20px; }
    .cr-job { border-radius: 20px; }
    .cr-job-head { padding: 20px 18px; gap: 14px; }
    .cr-job-icon { width: 44px; height: 44px; border-radius: 13px; }
    .cr-job-icon svg { width: 20px; height: 20px; }
    .cr-job-main h3 { font-size: 19px; }
    .cr-job-sum { font-size: 14px; }
    .cr-job-chev { margin-top: 10px; }
    .cr-job-inner { padding: 0 18px 22px; }
    .cr-job-cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .cr-list li { font-size: 14px; }
    .cr-job-apply .btn-red { width: 100%; justify-content: center; }
    .cr-job-apply p { min-width: 0; }
    .cr-step { padding: 22px 20px 20px; }
    .cr-email { padding: 20px 18px; border-radius: 18px; }
    .cr-copy { width: 100%; justify-content: center; }
    .cr-none { flex-direction: column; align-items: flex-start; padding: 20px; font-size: 15px; }
}
