/* ============================================================
   Careers page — scoped to .crs-page.
   Design: "Careers v4 — Musemind (dark)" (Figma 145:3737).
   Everything here is namespaced so it can't leak into the theme.
   ============================================================ */
.crs-page {
  /* Colour tokens, named after the Figma variables */
  --crs-bg: #0d1015;           /* Background/Base    */
  --crs-surface: #1a1f28;      /* Background/Surface */
  --crs-cyan: #3567db;         /* Brand/Cyan         */
  --crs-cyan-soft: #83a2e9;
  --crs-text: #f4f7fa;         /* Text/Primary       */
  --crs-text-2: #a7b1bf;       /* Text/Secondary     */
  --crs-muted: #697585;        /* Text/Muted         */
  --crs-elevated: #242b36;     /* Background/Elevated */
  --crs-border: #2a313c;       /* Border/Subtle      */
  --crs-border-strong: #3c4553;/* Border/Strong      */
  --crs-hairline: #29292d;     /* benefits grid rules */
  --crs-on-cyan: #0a171e;      /* Text/On Cyan       */
  /* Neue Montreal is licensed and must be served by the theme. Without it the
     display face falls back to Inter, which is close enough in colour but wider
     — the tight tracking below compensates. */
  --crs-display: 'Neue Montreal', 'Inter', system-ui, -apple-system, sans-serif;
  --crs-body: 'Inter', system-ui, -apple-system, sans-serif;
  /* Condensed display face — the job-detail design sets every heading in it. */
  --crs-cond: 'Barlow Condensed', 'Neue Montreal', 'Inter', system-ui, sans-serif;
  /* Content is capped at 1320px (incl. 24px gutters each side). */
  --crs-content: 1320px;
  background: var(--crs-bg);
  color: var(--crs-text);
  font-family: var(--crs-body);
  overflow-x: clip; /* the oversized "BUILD WITH DESMOK" lockup must not scroll the page */
}
.crs-page *,
.crs-page *::before,
.crs-page *::after { box-sizing: border-box; }
.crs-page p { margin: 0; }
.crs-page h1, .crs-page h2, .crs-page h3, .crs-page h4 { margin: 0; font-weight: 500; }
.crs-page ul { margin: 0; padding: 0; list-style: none; }
.crs-page img { max-width: 100%; }
.crs-wrap {
  width: 100%;
  max-width: var(--crs-content);
  margin-inline: auto;
  padding-inline: 24px;
}
/* ---------- Type scale (values straight off the Figma text styles) ---------- */
.crs-eyebrow {
  font-family: var(--crs-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: #8fb0f0;
  text-transform: uppercase;
}
.crs-h2 {
  font-family: var(--crs-display);
  font-size: clamp(34px, 2.71vw, 39px);
  line-height: 1.115;
  letter-spacing: -0.02em;
  color: var(--crs-text);
}
.crs-weare .career-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.crs-h3 {
  font-family: var(--crs-display);
  font-size: clamp(24px, 1.67vw, 24px);
  line-height: 1.19;
  letter-spacing: -0.015em;
  color: var(--crs-text);
  width:95%;
}
.crs-h4 {
  font-family: var(--crs-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: var(--crs-text);
}
.crs-body-lg {
  font-size: clamp(17px, 1.04vw, 17px);
  line-height: 1.6;
  color: var(--crs-text-2);
}
.crs-body {
  font-size: 17px;
  line-height: 27px;
  color: var(--crs-text-2);
}
/* ---------- Buttons ---------- */
.crs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  font-family: var(--crs-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 17px 30px;
  text-decoration: none;
  border: 1px solid transparent;
  /* <button> is styled with this too, so neutralise the UA background and
     cursor — without it the ghost variant paints as a solid light pill. */
  appearance: none;
  background: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.crs-btn:hover { text-decoration: none; transform: translateY(-1px); }
.crs-btn--primary { background: var(--crs-cyan); color: #fff; }
.crs-btn--primary:hover { background: var(--crs-cyan-soft); color: var(--crs-on-cyan); }
.crs-btn--ghost { border-color: var(--crs-border-strong); color: var(--crs-text); }
.crs-btn--ghost:hover { border-color: var(--crs-cyan); color: var(--crs-text); }
/* ---------- Sections ---------- */
.crs-section { padding-block: clamp(64px, 5.7vw, 82px); }
.crs-section--surface { background: var(--crs-surface); }
.crs-section--base { background: var(--crs-bg); }
/* The job-detail body hangs close under its header and breathes at the bottom. */
.crs-section--detail { padding-block: 30px clamp(72px, 5.7vw, 110px); }
/* ============================ HERO ============================ */
.crs-hero {
  background: var(--crs-bg);
  padding-block: 40px 30px;
  overflow: clip; /* clips the oversized wordmark, exactly as the frame does */
}
.crs-hero__stage {
  position: relative;
  max-width: var(--crs-content);
  margin-inline: auto;
  padding-inline: 24px;
  min-height: 805px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crs-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  max-width: 860px;
}
.crs-hero__title {
  font-family: var(--crs-display);
  font-size: clamp(40px, 5.42vw, 78px);
  line-height: 0.904;
  letter-spacing: -0.03em;
  color: #f5f5f6;
  max-width: 640px;
}
.crs-hero__sub {
  max-width: 624px;
  font-size: clamp(17px, 1.04vw, 17px);
  line-height: 1.6;
  color: var(--crs-text-2);
}
.crs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-top: 16px;
}
/* Two decorative cards that hang just past the content box, per the design. */
.crs-hero__card {
  position: absolute;
  width: 314px;
  border: 1px solid var(--crs-border);
  border-radius: 20px;
  overflow: hidden;
}
.crs-hero__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.crs-hero__card--left  { left: 8px;  top: 343.5px; height: 337px; }
.crs-hero__card--right { right: 8px; top: 104.5px; height: 282px; }
/* Oversized lockup, running as an endless marquee.
   242.5px at a 1920 canvas === 12.63vw, so the type scales with the viewport and
   the scroll reads at the same speed everywhere.
   The track carries four identical copies and travels exactly -50% (two copies),
   landing on a frame identical to the first — so the loop has no visible seam. */
.crs-hero__grow {
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
  user-select: none;
}
.crs-hero__grow-track {
  display: flex;
  width: max-content;
  animation: crs-marquee 30s linear infinite;
  will-change: transform;
}
.crs-hero__grow-item {
  font-family: var(--crs-display);
  font-size: min(12.63vw, 182px);
  font-weight: 700;
  line-height: 0.942;
  letter-spacing: -0.03em;
  color: rgba(244, 247, 250, 0.69);
  white-space: nowrap;
  padding-right: 0.12em; /* breathing room between repeats */
}
@keyframes crs-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.crs-hero__grow:hover .crs-hero__grow-track { animation-play-state: paused; }
/* ============================ BENEFITS ============================ */
.crs-benefits__grid {
  display: flex;
  align-items: center;
  gap: clamp(40px, 10.3vw, 148px);
}
.crs-benefits__cells {
  flex: 1 0 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.crs-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-block: 38px;
  padding-inline: 12px;
  text-align: center;
}
/* Column rules on every cell but the last of each row; a single rule between rows. */
.crs-benefits__cells .crs-benefit:not(:nth-child(4n)) { border-right: 1px solid var(--crs-hairline); }
.crs-benefits__cells .crs-benefit:nth-child(-n+4)     { border-bottom: 1px solid var(--crs-hairline); }
/* ---------- Icons ----------
   The exported SVGs carry preserveAspectRatio="none" and percentage sizing, so
   they take their ratio from the viewBox. Pinning height and leaving width to the
   ratio keeps them undistorted inside the 56px slot. */
.crs-ico {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.crs-ico img { height: 56px; width: auto; display: block; }
.crs-ico--glow { filter: drop-shadow(0 8px 11px rgba(104, 139, 223, 0.22)); }
/* Two icons are pure geometry in the design rather than exported art, so they're
   rebuilt here instead of shipped as images. */
.crs-ico--bars, .crs-ico--book { position: relative; width: 56px; height: 56px; }
.crs-ico--bars i {
  position: absolute;
  border-radius: 4px;
  background: var(--crs-cyan-soft);
}
.crs-ico--bars i:nth-child(1) { left: 9px;  top: 32px; width: 9px; height: 18px; }
.crs-ico--bars i:nth-child(2) { left: 23px; top: 22px; width: 9px; height: 28px; background: rgba(131, 162, 233, 0.3); }
.crs-ico--bars i:nth-child(3) { left: 37px; top: 12px; width: 9px; height: 38px; }
.crs-ico--book i { position: absolute; border-radius: 3px; background: var(--crs-cyan-soft); }
.crs-ico--book i:nth-child(1) { left: 7px;    top: 12px; width: 20px; height: 32px; background: rgba(131, 162, 233, 0.3); }
.crs-ico--book i:nth-child(2) { left: 29px;   top: 12px; width: 20px; height: 32px; }
.crs-ico--book i:nth-child(3) { left: 26.5px; top: 11px; width: 3px;  height: 34px; border-radius: 1px; }
/* ============================ CURRENT OPENINGS ============================ */
.crs-openings { display: flex; flex-direction: column; gap: 48px; }
.crs-openings__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 5.2vw, 75px);
}
.crs-openings__head-left {
  width: 560px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.crs-openings__head-right { flex: 1 0 0; min-width: 0; }
.crs-listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.crs-job {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: var(--crs-surface);
  border: 1px solid var(--crs-border);
  border-radius: 16px;
  padding: 22px 26px;
  overflow: hidden;
  transition: border-color .18s ease;
}
.crs-job:hover { border-color: var(--crs-border-strong); }
.crs-job__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--crs-border);
}
.crs-job__title {
  flex: 1 0 0;
  min-width: 0;
  font-family: var(--crs-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: var(--crs-text);
}
.crs-job__apply {
  flex-shrink: 0;
  background: var(--crs-cyan);
  color: var(--crs-on-cyan);
  border-radius: 100px;
  padding: 9px 18px;
  font-family: var(--crs-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease;
}
.crs-job__apply:hover { background: var(--crs-cyan-soft); color: var(--crs-on-cyan); text-decoration: none; }
.crs-job__avatar {
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; letter-spacing: 0.04em;
}
.crs-job__avatar:hover { background: var(--crs-cyan); }
.crs-job__tags { display: flex; flex-wrap: wrap; gap: 7px; width: 100%; }
.crs-job__tags li {
  background: var(--crs-elevated);
  border: 1px solid var(--crs-border);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: var(--crs-text-2);
  white-space: nowrap;
}
.crs-job__desc { width: 100%; font-size: 15px; line-height: 23px; color: var(--crs-text-2); }
.crs-empty {
  border: 1px dashed var(--crs-border);
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
  color: var(--crs-text-2);
}
/* ---------- Contact panel ---------- */
.crs-contact {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(32px, 3.75vw, 54px);
  background: var(--crs-bg);
  border: 1px solid var(--crs-border);
  border-radius: 24px;
  padding: clamp(40px, 3.5vw, 50px) clamp(28px, 3.75vw, 54px);
  overflow: hidden;
}
.crs-contact__glow {
  position: absolute;
  left: -346px;
  top: -306px;
  width: 989.8px;
  height: 789.8px;
  pointer-events: none;
}
.crs-contact__intro {
  position: relative;
  width: 560px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.crs-contact__intro .crs-h3 { font-weight: 400; }
.crs-contact__rule { align-self: stretch; width: 1px; background: var(--crs-border); flex-shrink: 0; }
.crs-contact__list {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.crs-contact__row { display: flex; align-items: center; gap: 22px; }
.crs-contact__row .crs-ico { height: 46px; }
.crs-contact__row .crs-ico img { height: 46px; }
.crs-contact__meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.crs-contact__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--crs-muted);
}
.crs-contact__value {
  font-family: var(--crs-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: var(--crs-text);
  text-decoration: none;
  word-break: break-word;
}
a.crs-contact__value { color: var(--crs-cyan); }
a.crs-contact__value:hover { color: var(--crs-cyan-soft); text-decoration: underline; }
.crs-contact__note { font-size: 15px; line-height: 23px; color: var(--crs-muted); }
.crs-contact__hr { height: 1px; background: var(--crs-border); }
/* ============================ INSIDE DESMOK ============================ */
.crs-life { display: flex; flex-direction: column; gap: 36px; }
/* Auto-advancing strip. Slide width and the visible count are driven by JS via
   --crs-life-w, because a percentage width on a flex item would resolve against
   the track — which is content-sized, and therefore circular. */
.crs-life__viewport { overflow: hidden; width: 100%; padding-block: 4px; }
.crs-life__track {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 260px; /* pin to the tallest slide so the section never reflows */
  will-change: transform;
  backface-visibility: hidden;
  transition: transform .9s cubic-bezier(.33, 1, .68, 1);
}
/* The wrap-around swaps which element sits in each slot. Transform AND height must
   both be frozen for that swap: leaving height animated makes the centre tile drop
   to 220 and grow back, which is a visible lurch exactly on the loop seam. */
.crs-life__track.is-jumping,
.crs-life__track.is-jumping .crs-life__slide { transition: none !important; }
.crs-life__slide {
  flex: 0 0 var(--crs-life-w, 280px);
  width: var(--crs-life-w, 280px);
  height: 220px;
  margin: 0;
  border: 1px solid var(--crs-border);
  border-radius: 16px;
  overflow: hidden;
  contain: paint;
  transition: height .9s cubic-bezier(.33, 1, .68, 1);
}
/* Height by distance from the centre slot: 260 at centre, 239 either side, 220
   at the edges — the arc the design draws. */
.crs-life__slide[data-d="1"] { height: 239px; }
.crs-life__slide[data-d="0"] { height: 260px; }
.crs-life__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ============================ WHY CLIENTS STAY ============================ */
.crs-team { display: flex; flex-direction: column; gap: 64px; }
.crs-team__head { display: flex; flex-direction: column; gap: 16px; }
.crs-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px clamp(40px, 5.2vw, 75px);
}
.crs-team__item { display: flex; flex-direction: column; gap: 18px; }
.crs-team__item .crs-ico { justify-content: flex-start; }
/* ============================ WE ARE DESMOK ============================ */
.crs-weare {
  position: relative;
  height: 730px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-color: var(--crs-bg);
}
.crs-weare__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.crs-weare__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 880px;
  height: 880px;
  pointer-events: none;
}
.crs-weare__inner {
  position: relative;
  z-index: 1;
  width: 500px;
  max-width: calc(100% - 48px);
  margin-top: 195.74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 31px;
  text-align: center;
}
	@media(max-width:767px){
		.crs-weare__inner svg{
			width:300px;
		}
	}
.crs-weare__kicker {
  font-size: clamp(24px, 1.92vw, 27.6px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--crs-cyan);
}
.crs-weare__mark { width: 100%; max-width: 420px; height: auto; display: block; }
.crs-weare__tag {
  font-family: var(--crs-display);
  font-size: clamp(24px, 1.93vw, 27.8px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: #cacaca;
}
/* ============================ FAQ ============================ */
.crs-faq { display: flex; flex-direction: column; gap: 48px; }
.crs-faq__item { border-top: 1px solid var(--crs-border); }
.crs-faq__item:last-child { border-bottom: 1px solid var(--crs-border); }
.crs-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--crs-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.01em;
  color: var(--crs-text);
}
.crs-faq__sign { position: relative; width: 26px; height: 26px; flex-shrink: 0; }
.crs-faq__sign::before,
.crs-faq__sign::after {
  content: '';
  position: absolute;
  background: #677383;
  border-radius: 2px;
  transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}
.crs-faq__sign::before { left: 4px; top: 11.8px; width: 18px; height: 2.4px; }
.crs-faq__sign::after  { left: 11.8px; top: 4px; width: 2.4px; height: 18px; }
.crs-faq__q[aria-expanded="true"] .crs-faq__sign::before { background: var(--crs-cyan); }
.crs-faq__q[aria-expanded="true"] .crs-faq__sign::after  { opacity: 0; transform: rotate(90deg); }
.crs-faq__a { padding: 0 0 32px; max-width: 1100px; }
.crs-faq__a[hidden] { display: none; }
/* ============================ JOB DETAIL ============================
   Design: "Careers — Job Detail (1920)" (Figma 566:773). The 1920 frame pads
   300px each side, which is exactly the 1320px content box .crs-wrap already
   gives us — so the header and body both sit in the standard wrap. */
/* ---------- Header ---------- */
.crs-jobhero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 36.8vw, 706px);
  padding-block: clamp(44px, 3.4vw, 64px) clamp(48px, 3.7vw, 70px);
  background: var(--crs-bg);
  overflow: hidden;
}
.crs-jobhero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.crs-jobhero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
/* Scrim — opaque to 38.5% then clear, so the light streaks only ever read to
   the right of the copy. Nothing here depends on the plate loading: without it
   the header simply falls back to the flat page background. */
.crs-jobhero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--crs-bg) 0%, var(--crs-bg) 38.5%, rgba(13, 16, 21, 0) 100%);
}
.crs-jobhero__glow {
  position: absolute;
  left: -471px;
  bottom: -120px;
  width: 900px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(53, 103, 219, 0.26) 0%, rgba(53, 103, 219, 0) 70%);
  pointer-events: none;
}
.crs-jobhero .crs-wrap { position: relative; z-index: 1; }
.crs-jobhero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.crs-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 23px;
  color: var(--crs-muted);
}
.crs-crumbs a { color: var(--crs-muted); text-decoration: none; }
.crs-crumbs a:hover { color: var(--crs-cyan); text-decoration: none; }
.crs-crumbs__here { color: var(--crs-text-2); }
.crs-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--crs-surface);
  border: 1px solid var(--crs-border);
  border-radius: 100px;
  padding: 8px 16px 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--crs-text-2);
  text-transform: uppercase;
}
.crs-status__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crs-cyan);
  box-shadow: 0 0 0 3px rgba(53, 103, 219, 0.18);
}
.crs-jobhero__title {
  font-family: var(--crs-cond);
  font-size: clamp(38px, 3.55vw, 68px);
  font-weight: 700;
  line-height: 1.03;
  color: var(--crs-text);
  max-width: 860px;
}
.crs-jobhero__lede {
  max-width: 720px;
  font-size: clamp(17px, 1.04vw, 20px);
  line-height: 1.6;
  color: var(--crs-text-2);
}
.crs-jobhero__actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 10px; }
/* ---------- Pills ---------- */
.crs-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.crs-pills li {
  background: var(--crs-elevated);
  border: 1px solid var(--crs-border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.02em;
  color: var(--crs-text-2);
}
.crs-pills--lg li { padding: 10px 15px; font-size: 15px; font-weight: 400; line-height: 23px; letter-spacing: 0; }
.crs-pills--cyan li {
  background: rgba(53, 103, 219, 0.12);
  border-color: rgba(53, 103, 219, 0.32);
  color: var(--crs-cyan);
}
/* ---------- Body ---------- */
.crs-detail { display: flex; align-items: flex-start; gap: clamp(40px, 3.75vw, 72px); }
.crs-detail__main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 2.7vw, 52px);
}
.crs-detail__side { flex: 0 0 400px; width: 400px; display: flex; flex-direction: column; gap: 20px; }
.crs-detail__block { display: flex; flex-direction: column; gap: 22px; }
.crs-detail__h {
  font-family: var(--crs-cond);
  font-size: clamp(27px, 1.67vw, 32px);
  font-weight: 600;
  line-height: 1.125;
  color: var(--crs-text);
}
.crs-detail__prose { font-size: clamp(17px, 1.04vw, 20px); line-height: 1.6; color: var(--crs-text-2); }
.crs-detail__prose p { margin-bottom: 16px; }
.crs-detail__prose p:last-child { margin-bottom: 0; }
.crs-checks { display: flex; flex-direction: column; gap: 16px; }
.crs-checks li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: clamp(17px, 1.04vw, 20px);
  line-height: 1.6;
  color: var(--crs-text-2);
}
.crs-checks li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(53, 103, 219, 0.15);
  color: var(--crs-cyan);
  font-size: 13.5px;
  line-height: 1;
}
/* ---------- Sidebar cards ---------- */
.crs-card {
  position: relative;
  background: var(--crs-surface);
  border: 1px solid var(--crs-border);
  border-radius: 20px;
  overflow: hidden;
}
.crs-card--overview { padding: 28px 28px 12px; }
.crs-card__eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  color: var(--crs-muted);
  text-transform: uppercase;
}
.crs-facts { margin-top: 18px; }
.crs-facts__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--crs-border);
  font-size: 15px;
  line-height: 23px;
}
.crs-facts__k { flex-shrink: 0; color: var(--crs-muted); }
.crs-facts__v { color: var(--crs-text); text-align: right; }
.crs-card--apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 28px;
  text-align: center;
}
.crs-card__glow {
  position: absolute;
  left: -41px;
  top: -101px;
  width: 360px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(53, 103, 219, 0.3) 0%, rgba(53, 103, 219, 0) 70%);
  pointer-events: none;
}
.crs-card--apply > *:not(.crs-card__glow) { position: relative; }
.crs-card__title {
  font-family: var(--crs-cond);
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: 0.01em;
  color: var(--crs-text);
}
.crs-card__note { font-size: 15px; line-height: 23px; color: var(--crs-text-2); }
.crs-card--apply .crs-btn { width: 100%; }
.crs-card__mail { font-size: 15px; line-height: 23px; color: var(--crs-cyan); text-decoration: none; }
.crs-card__mail:hover { color: var(--crs-cyan-soft); text-decoration: underline; }
/* Application modal */
.crs-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(5, 7, 10, 0.82);
  overflow-y: auto;
}
.crs-modal.is-open { display: flex; }
.crs-modal__panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--crs-surface);
  border: 1px solid var(--crs-border);
  border-radius: 24px;
  padding: 40px;
}
.crs-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--crs-text-2);
  cursor: pointer;
}
.crs-modal__close:hover { color: var(--crs-text); }
/* ============================ RESPONSIVE ============================ */
@media (max-width: 1399px) {
  .crs-hero__card { display: none; } /* decorative, and they hang outside the box */
  .crs-hero__stage { min-height: 560px; }
}
@media (max-width: 1199px) {
  .crs-benefits__cells { grid-template-columns: repeat(3, 1fr); }
  .crs-benefits__cells .crs-benefit:not(:nth-child(4n)) { border-right: 0; }
  .crs-benefits__cells .crs-benefit:nth-child(-n+4) { border-bottom: 0; }
  .crs-benefits__cells .crs-benefit:not(:nth-child(3n)) { border-right: 1px solid var(--crs-hairline); }
  .crs-benefits__cells .crs-benefit:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--crs-hairline); }
  .crs-openings__head-left { width: 42%; }
  .crs-contact__intro { width: 46%; }
  .crs-detail__side { flex-basis: 340px; width: 340px; }
}
@media (max-width: 991px) {
  .crs-benefits__grid { flex-direction: column; align-items: flex-start; gap: 32px; }
  .crs-benefits__cells { width: 100%; }
  .crs-openings__head { flex-direction: column; gap: 20px; }
  .crs-openings__head-left { width: 100%; }
  .crs-listings { grid-template-columns: 1fr; }
  .crs-contact { flex-direction: column; align-items: stretch; }
  .crs-contact__intro { width: 100%; }
  .crs-contact__rule { display: none; }
  .crs-team__grid { grid-template-columns: 1fr; gap: 40px; }
  /* The life strip keeps its 3-slide arc (260/239/220) all the way down to 768,
     so the tablet view matches the 1024 design; it only flattens below 768 where
     JS switches to a single slide. */
  .crs-weare { height: 560px; }
  .crs-weare__inner { margin-top: 120px; }
  .crs-weare__glow { width: 620px; height: 620px; }
  /* The plate has no room to sit beside the copy any more, so it goes behind it
     and the scrim thickens to keep the text off the bright streaks. */
  .crs-jobhero__bg img { object-position: 72% center; }
  .crs-jobhero__bg::after {
    background: linear-gradient(to right, var(--crs-bg) 0%, rgba(13, 16, 21, 0.94) 55%, rgba(13, 16, 21, 0.62) 100%);
  }
  /* Stacked: both columns take the full width outright rather than being sized
     by the flex algorithm along the block axis. */
  .crs-detail { flex-direction: column; align-items: stretch; }
  .crs-detail__main,
  .crs-detail__side { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 767px) {
  .crs-benefits__cells { grid-template-columns: repeat(2, 1fr); }
  .crs-benefits__cells .crs-benefit:not(:nth-child(3n)) { border-right: 0; }
  .crs-benefits__cells .crs-benefit:not(:nth-last-child(-n+2)) { border-bottom: 0; }
  .crs-benefits__cells .crs-benefit:nth-child(odd) { border-right: 1px solid var(--crs-hairline); }
  .crs-benefits__cells .crs-benefit:not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--crs-hairline); }
  .crs-job { padding: 20px; }
  .crs-job__title { font-size: 20px; line-height: 26px; }
  .crs-hero__actions .crs-btn { flex: 1 1 100%; }
  .crs-faq__q { font-size: 19px; }
  .crs-modal__panel { padding: 28px 20px; }
  .crs-jobhero { min-height: 0; }
  .crs-jobhero__actions { width: 100%; }
  .crs-jobhero__actions .crs-btn { flex: 1 1 100%; }
  .crs-card--overview { padding: 24px 20px 8px; }
  .crs-card--apply { padding: 28px 20px; }
  .crs-facts__row { font-size: 14.5px; }
  /* Single slide below 768 (JS matches this) — every one is the centre, so the
     arc is moot and all tiles share one height. */
  .crs-life__slide,
  .crs-life__slide[data-d="1"],
  .crs-life__slide[data-d="0"] { height: 220px; }
}
/* Phones in landscape: the hero shrinks to its copy. */
@media (max-height: 500px) and (orientation: landscape) {
  .crs-hero__stage { min-height: 0; padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .crs-page * { transition: none !important; }
  /* Park the marquee rather than let it scroll — it's large, constant motion and
     the exact thing this query is asking us to stop. */
  .crs-hero__grow-track { animation: none !important; }
}
/* hero card float-in + idle float */
.crs-hero__card img{animation:crs-float 6s ease-in-out infinite}
.crs-hero__card--right img{animation-delay:-3s}
@keyframes crs-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}
@media (prefers-reduced-motion:reduce){.crs-hero__card img{animation:none}}

/* ===== LIGHT THEME (.theme-light) =====
   Page tokens flip to light; the hero and the "We Are" video band (marked
   data-hero-band) are light too, with a white veil over the video. */
.theme-light .crs-page {
  --crs-bg: #f5f7fb;
  --crs-surface: #ffffff;
  --crs-text: #0e1525;
  --crs-text-2: #2b3445;
  --crs-muted: #5b6577;
  --crs-elevated: #eef2f8;
  --crs-border: #e1e6ef;
  --crs-border-strong: #c3cad6;
  --crs-hairline: #e1e6ef;
  --crs-on-cyan: #ffffff;
}
.theme-light .crs-page .crs-hero[data-hero-band] {
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f5f7fb 55%, #eef2fa 100%);
  color: var(--crs-text);
}
.theme-light .crs-hero__title { color: #0e1525; }
.theme-light .crs-hero .crs-btn--ghost { border-color: rgba(14, 21, 37, .28); color: #0e1525; }
.theme-light .crs-hero .crs-btn--ghost:hover { border-color: var(--crs-cyan); color: var(--crs-cyan); }
.theme-light .crs-hero__card { box-shadow: 0 18px 40px -18px rgba(14, 21, 37, .25); }
.theme-light .crs-hero__grow-item {
  color: rgba(14, 21, 37, .06);
  -webkit-text-stroke: 1.5px rgba(14, 21, 37, .35);
}
.theme-light .crs-page .crs-weare[data-hero-band] { background-color: #f5f7fb; color: var(--crs-text); }
.theme-light .crs-weare::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .74) 50%, rgba(255, 255, 255, .88) 100%);
  pointer-events: none;
}
.theme-light .crs-weare__mark { content: url("../../images/brand/desmok-logo-dark.png"); }
.theme-light .crs-weare__tag { color: #2b3445; }

/* Icons: the soft #83A2E9 art reads too pale on white — deepen to brand blue. */
.theme-light .crs-page :not([data-hero-band]) .crs-ico svg [fill="#83A2E9"] { fill: var(--crs-cyan); }
.theme-light .crs-page :not([data-hero-band]) .crs-ico--glow { filter: drop-shadow(0 8px 11px rgba(53, 103, 219, 0.18)); }

/* Review cards */
.theme-light .crs-job { box-shadow: 0 10px 30px -12px rgba(14, 21, 37, .12); }
.theme-light .crs-job:hover { border-color: #c9d4ea; box-shadow: 0 16px 36px -14px rgba(14, 21, 37, .18); }
.theme-light .crs-job__apply:hover { color: #fff; }

/* Talk-to-us card: white panel on the white band, set off by border + shadow. */
.theme-light .crs-contact { background: #fff; box-shadow: 0 18px 44px -18px rgba(14, 21, 37, .16); }
.theme-light .crs-contact__glow { opacity: .35; }
.theme-light a.crs-contact__value:hover { color: #2559d2; }

/* Inside Desmok photos */
.theme-light .crs-life__slide { box-shadow: 0 10px 26px -14px rgba(14, 21, 37, .22); }

/* FAQ */
.theme-light .crs-faq__sign::before,
.theme-light .crs-faq__sign::after { background: #8a93a3; }
.theme-light .crs-faq__q[aria-expanded="true"] .crs-faq__sign::before { background: var(--crs-cyan); }
