/* Version 2 — Careers (client's layout, 2026-10-19): a full-height panel over the client's team photo, split into four
   by a "+" — top-left: headline, text, two buttons; top-right: career categories; bottom-left: professionals;
   bottom-right: employers; the phases note underneath. Softened to match the rest of the site: a rounded panel with a
   small margin (like the vision/mission panel), an overlay that is dense behind the text and lighter where the team
   shows, 500-weight headings with the site's italic accent, fading "+" lines, a light that follows the pointer and
   quarters that brighten on hover. Copy: Crysmed New/Content (page 3: Careers). Photo: Crysmed New/img/careers-bg.jpg
   (cropped from the left so the desk flag stays out of view). */
.car2 { padding: 15px; background: #fff; font-family: var(--v2-sans); }
.car2__panel { --mx: 70%; --my: 30%; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100svh - 30px); padding: 72px clamp(20px, 5vw, 80px) 34px; border-radius: 28px; color: #fff; background: var(--brand-900); }

/* photo + overlay */
.car2__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.car2__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right 30%; transform-origin: right center; transform: scale(1.24); transition: transform 2.4s var(--v2-ease); }
.car2.is-in .car2__bg img { transform: scale(1.18); }
.car2__panel::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(10,69,80,.95) 0%, rgba(10,69,80,.86) 38%, rgba(7,121,148,.62) 72%, rgba(7,121,148,.5) 100%),
              linear-gradient(180deg, rgba(10,69,80,0) 55%, rgba(10,69,80,.55) 100%); }
/* a soft light that follows the pointer */
.car2__panel::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9; transition: opacity .6s;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(127,211,239,.16), rgba(127,211,239,0) 70%); }

/* the four quarters and the "+" */
.car2__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 1200px); margin: 0 auto; }
.car2__cell { position: relative; padding: 40px 56px; border-radius: 20px; transition: background-color .5s; }
.car2__cell:hover { background: rgba(255,255,255,.045); }
.car2__x, .car2__y { position: absolute; pointer-events: none; }
.car2__x { left: 0; right: 0; top: var(--mid, 50%); height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.3) 18%, rgba(255,255,255,.3) 82%, rgba(255,255,255,0)); }
.car2__y { top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.3) 18%, rgba(255,255,255,.3) 82%, rgba(255,255,255,0)); }
.car2__dot { position: absolute; left: 50%; top: var(--mid, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 6px rgba(255,177,0,.16), 0 0 24px 6px rgba(255,177,0,.35); animation: car2pulse 3s ease-in-out infinite; }
@keyframes car2pulse { 50% { box-shadow: 0 0 0 10px rgba(255,177,0,.08), 0 0 30px 10px rgba(255,177,0,.25); } }
.js .car2 .car2__x { transform: scaleX(0); transition: transform 1.4s var(--v2-ease) .2s; }
.js .car2 .car2__y { transform: scaleY(0); transition: transform 1.4s var(--v2-ease) .2s; }
.js .car2 .car2__dot { scale: 0; transition: scale .6s var(--v2-ease) 1.2s; }
.js .car2.is-in .car2__x, .js .car2.is-in .car2__y { transform: none; }
.js .car2.is-in .car2__dot { scale: 1; }

/* type: the site's 500-weight headings with the italic accent */
.car2__k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ffd36b; }
.car2__k::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.car2__title { margin-top: 14px; font-size: 44px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; max-width: 17ch; }
.car2__title em, .car2__h3 em { font-family: var(--v2-serif); font-style: italic; font-weight: 500; color: #9fe0f2; }
.car2__p { margin-top: 16px; max-width: 44ch; font-size: 17px; line-height: 1.6; color: #d4e7ea; }
.car2__h3 { font-size: 28px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.car2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.b2--light { background: #fff; color: var(--brand-900); }
.b2--light:hover { background: var(--brand-tint); }
.b2--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.b2--ghost:hover { background: rgba(255,255,255,.16); }

/* career categories: numbered list with a soft highlight */
.roles { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.role { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; margin: 0 -12px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 15.5px; font-weight: 500; line-height: 1.3; transition: background-color .35s, color .35s; }
.role::before { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: rgba(255,255,255,.13); transition: opacity .35s; }
.role span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; transition: color .35s; }
.role::after { content: '→'; margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .45s var(--v2-ease); }
.role:hover { background: rgba(255,255,255,.1); }
.role:hover::before { opacity: 0; }
.role:hover span { color: #ffd36b; }
.role:hover::after { opacity: 1; transform: none; }

.car2__note { width: min(100%, 1200px); margin: 30px auto 0; padding-top: 18px; text-align: center; font-size: 13.5px; line-height: 1.5; color: #b6d3d7;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.18), rgba(255,255,255,0)) top / 100% 1px no-repeat; }

/* entrances */
.js .car2 [data-up] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--v2-ease), transform 1s var(--v2-ease), background-color .5s; transition-delay: var(--d, 0s), var(--d, 0s), 0s; }
.js .car2.is-in [data-up] { opacity: 1; transform: none; }

/* talent network popup (opened by "Register Your Career Interest" / "Start Career Registration"): the live careers
   page's fields, in the version 2 form style (contact.css .form2__f) */
.cdlg { width: min(720px, 100% - 24px); font-family: var(--v2-sans); }
.cdlg h2 { font-family: var(--v2-sans); font-weight: 500; letter-spacing: -.02em; }
.cdlg__k { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); }
.cdlg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cdlg__grid .full { grid-column: 1 / -1; }
.cdlg__phone { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.cdlg__phone select { padding-right: 34px; }
.cdlg__file { position: relative; }
.cdlg__file input[type=file] { position: absolute; inset: auto 0 0 0; height: 64px; opacity: 0; cursor: pointer; }
.cdlg__drop { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 18px; border-radius: 16px; background: #f6f7f7; box-shadow: inset 0 0 0 1.5px #dfe6e6; border: 0; font-weight: 400; transition: box-shadow .25s, background-color .25s; }
.cdlg__drop b { font-weight: 600; font-size: 14.5px; color: var(--brand-700); }
.cdlg__drop small { font-size: 12.5px; color: var(--ink-500); }
.cdlg__file:hover .cdlg__drop, .cdlg__file input:focus-visible + .cdlg__drop { background: var(--brand-tint); box-shadow: inset 0 0 0 1.5px var(--brand-700); }
.cdlg__check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--ink-500); }
.cdlg__check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand-700); }
.cdlg__submit { margin-top: 18px; border: 0; width: 100%; min-height: 48px; }
.cdlg__fine { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink-500); }
.cdlg__fine svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--brand-700); }
.cdlg__done { display: none; padding: 20px 0 8px; }
.cdlg__done svg { width: 56px; height: 56px; margin-bottom: 16px; }
.cdlg__done h3 { font-size: 26px; font-weight: 500; margin-bottom: 8px; color: var(--ink-900); }
.cdlg__done p { color: var(--ink-500); }
.cdlg.is-done .cdlg__form, .cdlg.is-done .lede, .cdlg.is-done .cdlg__k, .cdlg.is-done h2 { display: none; }
.cdlg.is-done .cdlg__done { display: block; }
@media (max-width: 600px) { .cdlg__grid { grid-template-columns: 1fr; } .cdlg__phone { grid-template-columns: 110px 1fr; } }

@media (max-width: 1100px) { .car2__cell { padding: 34px 32px; } .car2__title { font-size: 40px; } }
@media (max-width: 860px) {
  .car2__panel { min-height: 0; padding: 64px 22px 30px; border-radius: 22px; }
  .car2__grid { grid-template-columns: 1fr; }
  .car2__cell, .car2__cell:nth-child(n) { padding: 32px 0; border-radius: 0; background: none; }
  .car2__cell + .car2__cell { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.22), rgba(255,255,255,0)) top / 100% 1px no-repeat; }
  .car2__cell:first-of-type { padding-top: 0; }
  .car2__x, .car2__y, .car2__dot { display: none; }
  .car2__panel::before { background: linear-gradient(180deg, rgba(10,69,80,.93), rgba(10,69,80,.88) 60%, rgba(10,69,80,.94)); }
}
@media (max-width: 600px) {
  .car2 { padding: 10px; }
  .car2__title { font-size: 34px; }
  .car2__h3 { font-size: 24px; }
  .car2__p { font-size: 16px; }
  .car2__actions .b2, .car2__cell .b2 { width: 100%; }
  .roles { grid-template-columns: 1fr; }
  .role { padding: 12px; }
  .car2__note { text-align: left; }
}
@media (hover: none) { .car2__panel::after { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .car2 [data-up], .js .car2 .car2__x, .js .car2 .car2__y { opacity: 1; transform: none; transition: none; }
  .js .car2 .car2__dot { scale: 1; transition: none; animation: none; }
  .car2__bg img { transition: none; }
}

/* 2026-10-19 (client: show a loader while the talent form sends, it takes a few seconds): spinner + "Uploading your
   CV..." / "Submitting..." replace the button label; sections.js adds .is-busy while sending. */
.cdlg__busy { display: none; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.cdlg__submit.is-busy { cursor: progress; }
.cdlg__submit.is-busy .b2__roll { display: none; }
.cdlg__submit.is-busy .cdlg__busy { display: inline-flex; }
.cdlg__spin { flex: 0 0 auto; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: cdlgSpin .8s linear infinite; }
@keyframes cdlgSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cdlg__spin { animation-duration: 2.4s; } }
