/* DAVZON – Recruitment (RPO) and Staffing pages
   Builds on styles.css, eor.css and contractor.css. */

/* ---------- Hero frames: each page its own curve ---------- */
.rpo-hero .eor-hero__frame { border-radius: 200px 40px 40px 40px; }
.rpo-hero .eor-hero__media::before {
  left: -14px;
  top: -14px;
  bottom: auto;
  border: 2.5px solid var(--saffron);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 220px 0 0 0;
}
.rpo-hero .eor-hero__card--a { left: auto; right: -5%; top: 10%; }
.rpo-hero .eor-hero__card--b { right: auto; left: -7%; bottom: 8%; }
.stf-hero .eor-hero__frame { border-radius: 40px 40px 200px 40px; }
.stf-hero .eor-hero__media::before {
  left: auto;
  right: -14px;
  top: auto;
  bottom: -14px;
  border: 2.5px solid var(--saffron);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 0 0 220px 0;
}
.stf-hero .eor-hero__card--a { right: auto; left: -6%; top: 12%; bottom: auto; }
.stf-hero .eor-hero__card--b { left: auto; right: -5%; bottom: 22%; }

/* ---------- RPO: stage rail ---------- */
.rpo-pipe { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.pipe { margin-top: clamp(32px, calc(3.5 * var(--vw)), 56px); }
.pipe__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.pipe__line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 31px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.pipe__line i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--saffron); transform-origin: left; transform: scaleX(0); }
.pipe__stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 4px 6px;
  border: 0;
  background: none;
  color: var(--slate);
  font: 700 clamp(15px, calc(1.1 * var(--vw)), 19px)/1.2 var(--font);
  cursor: pointer;
}
.pipe__stage:focus-visible { outline-offset: 2px; border-radius: 16px; }
.pipe__dot {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 6px var(--sand), 0 14px 28px -18px rgba(12, 27, 42, 0.6);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pipe__num { color: var(--slate); font-size: 12px; letter-spacing: 0.1em; }
.pipe__stage:hover .pipe__dot { transform: translateY(-3px); }
.pipe__stage.is-done .pipe__dot { background: var(--saffron); }
.pipe__stage[aria-selected="true"] { color: var(--ink); }
.pipe__stage[aria-selected="true"] .pipe__dot { background: var(--ink); color: var(--saffron); }

/* ---------- RPO: roles ---------- */
.rpo-roles { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.rpo-roles__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(32px, calc(5 * var(--vw)), 96px);
}
.role-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.role-tile {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 190px;
  padding: 20px;
  border-radius: var(--r-tile);
  background: var(--white);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.role-tile b { margin-top: auto; font-weight: 800; font-size: clamp(16px, calc(1.15 * var(--vw)), 20px); line-height: 1.2; letter-spacing: -0.015em; }
.role-tile > span:last-child { color: var(--slate); font-size: 14px; line-height: 1.45; transition: color 0.35s var(--ease); }
.role-tile__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--paper); transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
.role-tile:hover { background: var(--ink); color: var(--white); transform: translateY(-4px); }
.role-tile:hover > span:last-child { color: var(--ink-muted); }
.role-tile:hover .role-tile__ico { background: color-mix(in srgb, var(--saffron) 18%, transparent); color: var(--saffron); }

.rpo-next__big b { font-size: clamp(40px, calc(3.6 * var(--vw)), 64px) !important; letter-spacing: -0.04em; line-height: 1; }

/* ---------- Staffing: four-step track ---------- */
.track__steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Staffing: team builder ---------- */
.stf-build { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.bld {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  margin-top: clamp(32px, calc(3.5 * var(--vw)), 56px);
}
.bld__roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bld-role {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 14px 14px 14px 16px;
  border: 1.5px solid transparent;
  border-radius: var(--r-tile);
  background: var(--white);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.bld-role.is-on { border-color: var(--saffron); background: color-mix(in srgb, var(--saffron) 10%, var(--white)); }
.bld-role b { font-weight: 700; font-size: clamp(15px, calc(1.05 * var(--vw)), 18px); line-height: 1.25; }
.bld-role__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--paper); }
.bld-role.is-on .bld-role__ico { background: var(--saffron); }
.bld-step { display: flex; align-items: center; gap: 4px; margin-left: auto; padding: 4px; border-radius: var(--r-pill); background: var(--paper); }
.bld-step__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.bld-step__btn:hover { background: var(--ink); color: var(--white); }
.bld-step__btn:disabled { opacity: 0.4; cursor: default; background: var(--white); color: var(--ink); }
.bld-step__n { min-width: 2ch; font-weight: 800; font-size: 18px; text-align: center; font-variant-numeric: tabular-nums; }

.bld__sum {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, calc(2.2 * var(--vw)), 34px);
  border-radius: var(--r-panel);
  background:
    radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--saffron) 18%, transparent), transparent 70%),
    var(--ink);
  color: var(--white);
}
.bld__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; }
.bld__total { padding: 4px 12px; border-radius: var(--r-pill); background: var(--saffron); color: var(--ink); font-size: 14px; }
.bld__list { display: grid; gap: 8px; margin-top: 18px; }
.bld__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 15px;
}
.bld__list li b { color: var(--saffron); }
.bld__empty { margin-top: 18px; padding: 18px; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 14px; color: var(--ink-muted); font-size: 15px; text-align: center; }
.bld__empty[hidden] { display: none; }
.bld__inc { display: grid; gap: 8px; margin: 20px 0 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bld__inc li { display: flex; align-items: center; gap: 10px; color: var(--ink-muted); font-size: 14px; }
.bld__inc svg { flex: none; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--saffron); color: var(--ink); }
.bld__cta { width: 100%; }

/* ---------- Staffing: who does what, centred ---------- */
.stf-who { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.who--center { display: grid; justify-items: center; margin-top: clamp(28px, calc(3 * var(--vw)), 44px); }
.who--center .who__panels { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .rpo-roles__grid, .bld { grid-template-columns: minmax(0, 1fr); }
  .role-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe__rail { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; padding-top: 8px; }
  .pipe__stage { flex: 0 0 104px; }
  .pipe__line { display: none; }
  .bld__sum { position: relative; top: auto; }
  .track__steps--4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .bld__roles { grid-template-columns: minmax(0, 1fr); }
  .role-tile { min-height: 160px; padding: 16px; }
  .pipe__dot { width: 52px; height: 52px; }
  .rpo-hero .eor-hero__frame { border-radius: 120px 32px 32px 32px; }
  .stf-hero .eor-hero__frame { border-radius: 32px 32px 120px 32px; }
  .rpo-hero .eor-hero__card, .stf-hero .eor-hero__card { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
}

/* =================== India payroll =================== */
.pay-hero .eor-hero__frame { border-radius: 40px 40px 40px 200px; }
.pay-hero .eor-hero__card--a { left: -8%; top: 12%; }
.pay-hero .eor-hero__card--b { right: -4%; bottom: 8%; }

/* Compliance coverage: eight tiles on the Ink panel */
.cov { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(32px, calc(3.5 * var(--vw)), 56px); }
.cov__tile {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.cov__tile:hover { background: rgba(255, 255, 255, 0.08); border-color: color-mix(in srgb, var(--saffron) 45%, transparent); transform: translateY(-4px); }
.cov__abbr { font-weight: 800; font-size: clamp(30px, calc(2.6 * var(--vw)), 46px); letter-spacing: -0.04em; line-height: 1; color: var(--white); transition: color 0.35s var(--ease); }
.cov__tile:hover .cov__abbr { color: var(--saffron); }
.cov__tile b { margin-top: auto; font-weight: 700; font-size: 16px; }
.cov__tile > span:nth-child(3) { color: var(--ink-muted); font-size: 14px; line-height: 1.45; }
.cov__tick { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--saffron); color: var(--ink); }

/* =================== Background verification =================== */
.bg-hero .eor-hero__frame { border-radius: 200px 40px 40px 40px; }
.bg-hero .eor-hero__media::before { display: none; }

.bg-build { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.chk__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 18px 50px 18px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--r-tile);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.chk-opt:hover { border-color: color-mix(in srgb, var(--ink) 18%, transparent); }
.chk-opt__box { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk-opt__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--paper); transition: background-color 0.3s var(--ease); }
.chk-opt__txt b { display: block; font-weight: 800; font-size: clamp(16px, calc(1.1 * var(--vw)), 19px); }
.chk-opt__txt span { display: block; margin-top: 4px; color: var(--slate); font-size: 14px; line-height: 1.45; }
.chk-opt__tick {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 30%, transparent);
  color: transparent;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.chk-opt:has(.chk-opt__box:checked) { border-color: var(--saffron); background: color-mix(in srgb, var(--saffron) 10%, var(--white)); }
.chk-opt:has(.chk-opt__box:checked) .chk-opt__ico { background: var(--saffron); }
.chk-opt__box:checked ~ .chk-opt__tick { background: var(--ink); color: var(--white); box-shadow: none; }
.chk-opt:has(.chk-opt__box:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.chk__price { display: flex; align-items: flex-end; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.chk__price small { padding-bottom: 8px; color: var(--ink-muted); font-size: 14px; }
.chk__price b { color: var(--saffron); font-weight: 800; font-size: 54px; line-height: 0.9; letter-spacing: -0.04em; }
.chk__price span { padding-bottom: 6px; color: var(--ink-muted); font-size: 14px; }
.chk__note { margin: 10px 0 22px; color: var(--ink-muted); font-size: 14px; line-height: 1.5; }

.bg-why { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.bg-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, calc(5 * var(--vw)), 96px); }
.bg-why__list { display: grid; gap: 22px; margin-top: clamp(24px, calc(2.6 * var(--vw)), 40px); }
.bg-why__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.bg-why__list .reason__ico { margin: 0; background: var(--ink); }
.bg-why__list b { font-weight: 800; font-size: clamp(18px, calc(1.35 * var(--vw)), 23px); }
.bg-why__list p { margin-top: 6px; color: var(--slate); font-size: clamp(15px, calc(1.05 * var(--vw)), 18px); line-height: 1.55; }
.bg-why__media { position: relative; padding-bottom: 60px; }
.bg-why__media > img { width: 80%; aspect-ratio: 1.08; object-fit: cover; border-radius: 40px 160px 40px 40px; }
.bg-why__media .mock { position: absolute; right: 0; bottom: 0; width: min(360px, 58%); }

.bg-flow { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, calc(3.5 * var(--vw)), 56px); }
.flow3__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(24px, calc(2.4 * var(--vw)), 36px);
  border-radius: var(--r-panel);
  background: var(--white);
}
.flow3__step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--saffron);
  font-weight: 800;
}
.flow3__step.is-here { background: var(--ink); color: var(--white); }
.flow3__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--paper); }
.flow3__step.is-here .flow3__ico { background: var(--saffron); color: var(--ink); }
.flow3__num { margin-top: 10px; color: var(--slate); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.flow3__step.is-here .flow3__num { color: var(--saffron); }
.flow3__step h3 { font-weight: 800; font-size: clamp(24px, calc(2 * var(--vw)), 34px); letter-spacing: -0.03em; }
.flow3__step p { color: var(--slate); font-size: 16px; line-height: 1.55; }
.flow3__step.is-here p { color: var(--ink-muted); }
.flow3__step a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-weight: 700; text-decoration: none; }
.flow3__step a:hover { text-decoration: underline; text-underline-offset: 4px; }
.flow3__step.is-here a { color: var(--saffron); }

@media (max-width: 1020px) {
  .cov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bg-why__grid { grid-template-columns: minmax(0, 1fr); }
  .flow3 { grid-template-columns: minmax(0, 1fr); }
  .flow3__step:not(:last-child)::after { content: "↓"; top: auto; bottom: -22px; right: 50%; margin: 0 -14px 0 0; }
}
@media (max-width: 600px) {
  .cov { grid-template-columns: minmax(0, 1fr); }
  .cov__tile { min-height: 0; }
  .chk__opts { grid-template-columns: minmax(0, 1fr); }
  .bg-why__media { padding-bottom: 0; }
  .bg-why__media > img { width: 100%; }
  .bg-why__media .mock { position: relative; width: auto; margin-top: 12px; }
  .pay-hero .eor-hero__frame, .bg-hero .eor-hero__frame { border-radius: 32px 32px 32px 120px; }
  .pay-hero .eor-hero__card, .bg-hero .eor-hero__card { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
}

/* ---------- Recruitment page: full-screen photo hero ----------
   The photo fills the screen under the clear nav, with an Ink wash on the
   left behind white copy. Sizes follow the screen width so the layout holds
   its proportions on every desktop. */
.rpo-hero.eor-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100 * var(--svh));
  padding: clamp(96px, calc(11 * var(--vw)), 240px) 0 clamp(40px, calc(4 * var(--vw)), 96px);
  overflow: hidden;
}
.rpo-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
}
.rpo-hero.eor-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 27, 42, 0.8) 0%, rgba(12, 27, 42, 0.62) 25%, rgba(12, 27, 42, 0.28) 46%, rgba(12, 27, 42, 0.27) 49%, rgba(12, 27, 42, 0.221) 52%, rgba(12, 27, 42, 0.14) 55%, rgba(12, 27, 42, 0.059) 58%, rgba(12, 27, 42, 0.01) 61%, rgba(12, 27, 42, 0) 64%),
    linear-gradient(180deg, rgba(12, 27, 42, 0.38) 0%, rgba(12, 27, 42, 0.367) 3.7%, rgba(12, 27, 42, 0.3) 7.3%, rgba(12, 27, 42, 0.19) 11%, rgba(12, 27, 42, 0.08) 14.7%, rgba(12, 27, 42, 0.013) 18.3%, rgba(12, 27, 42, 0) 22%);
}
.rpo-hero .eor-hero__inner { display: block; width: 100%; max-width: none; margin: 0; padding-inline: calc(7.65 * var(--vw)); }
.rpo-hero .eor-hero__copy { max-width: calc(52 * var(--vw)); }
.rpo-hero .eyebrow {
  min-height: clamp(36px, calc(2.4 * var(--vw)), 58px);
  padding: 0 calc(1 * var(--vw)) 0 calc(0.85 * var(--vw));
  color: var(--ink);
  font-size: clamp(14px, calc(0.93 * var(--vw)), 22px);
}
.rpo-hero .eor-hero__title {
  margin-top: calc(1.5 * var(--vw));
  color: var(--white);
  font-size: clamp(38px, calc(4.3 * var(--vw)), 112px);
  line-height: 1.05;
}
.rpo-hero .eor-hero__title .highlight { white-space: nowrap; color: var(--ink); }
.rpo-hero .eor-hero__lede {
  max-width: calc(43 * var(--vw));
  margin-top: calc(1.5 * var(--vw));
  color: var(--white);
  font-size: clamp(17px, calc(1.32 * var(--vw)), 34px);
  line-height: 1.57;
}
.rpo-hero .eor-hero__ctas { margin-top: calc(2.2 * var(--vw)); gap: calc(0.9 * var(--vw)); }
.rpo-hero .eor-hero__ctas .btn { min-height: clamp(52px, calc(3.9 * var(--vw)), 96px); padding-inline: calc(1.75 * var(--vw)); font-size: clamp(16px, calc(1.25 * var(--vw)), 30px); }
.rpo-hero .eor-hero__facts {
  max-width: calc(39.5 * var(--vw));
  margin-top: calc(3 * var(--vw));
  border-top-color: rgba(255, 255, 255, 0.28);
}
.rpo-hero .eor-hero__facts li { padding: calc(0.9 * var(--vw)) calc(1.3 * var(--vw)) 0 0; }
.rpo-hero .eor-hero__facts li + li { padding-left: calc(1.3 * var(--vw)); border-left-color: rgba(255, 255, 255, 0.34); }
.rpo-hero .eor-hero__facts b { color: var(--white); font-size: clamp(28px, calc(2.5 * var(--vw)), 64px); font-weight: 700; }
.rpo-hero .eor-hero__facts span { margin-top: calc(0.45 * var(--vw)); color: var(--white); font-size: clamp(14px, calc(1 * var(--vw)), 24px); }

@media (max-width: 1020px) {
  .rpo-hero.eor-hero { padding: 110px 0 48px; }
  .rpo-hero.eor-hero::after { background: linear-gradient(180deg, rgba(12, 27, 42, 0.72) 0%, rgba(12, 27, 42, 0.82) 100%); }
  .rpo-hero__bg { object-position: 68% 50%; }
  .rpo-hero .eor-hero__inner { padding-inline: 20px; }
  .rpo-hero .eor-hero__copy, .rpo-hero .eor-hero__lede, .rpo-hero .eor-hero__facts { max-width: none; }
  .rpo-hero .eor-hero__title { margin-top: 20px; }
  .rpo-hero .eor-hero__title .highlight { display: inline-block; white-space: nowrap; }
  .rpo-hero .eor-hero__lede { margin-top: 18px; }
  .rpo-hero .eor-hero__ctas { margin-top: 26px; gap: 10px; }
  .rpo-hero .eor-hero__ctas .btn { padding-inline: 24px; }
  .rpo-hero .eor-hero__facts { margin-top: 32px; }
  .rpo-hero .eor-hero__facts li { padding: 14px 14px 0 0; }
  .rpo-hero .eor-hero__facts li + li { padding-left: 14px; }
  .rpo-hero .eor-hero__facts span { margin-top: 4px; }
}
@media (max-width: 600px) {
  .rpo-hero__br { display: none; }
  .rpo-hero .eor-hero__facts li + li { padding-left: 0; padding-top: 14px; margin-top: 14px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.28); }
  .rpo-hero .eor-hero__facts li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0 0; }
  .rpo-hero .eor-hero__facts span { margin: 0; }
}

/* Recruitment hero only: the Ink wash covers the marble desk at lower left */
@media (min-width: 1021px) {
  .page-rpo .rpo-hero.eor-hero { padding-top: calc(7.7 * var(--vw)); }
  .page-rpo .rpo-hero.eor-hero::after {
    background:
      radial-gradient(70% 75% at 0% 100%, rgba(12, 27, 42, 0.92) 0%, rgba(12, 27, 42, 0.8) 55%, rgba(12, 27, 42, 0.772) 62.5%, rgba(12, 27, 42, 0.632) 70%, rgba(12, 27, 42, 0.4) 77.5%, rgba(12, 27, 42, 0.168) 85%, rgba(12, 27, 42, 0.028) 92.5%, rgba(12, 27, 42, 0) 100%),
      linear-gradient(90deg, rgba(12, 27, 42, 0.62) 0%, rgba(12, 27, 42, 0.42) 35%, rgba(12, 27, 42, 0.405) 38.5%, rgba(12, 27, 42, 0.332) 42%, rgba(12, 27, 42, 0.21) 45.5%, rgba(12, 27, 42, 0.088) 49%, rgba(12, 27, 42, 0.015) 52.5%, rgba(12, 27, 42, 0) 56%);
  }
  .page-rpo .rpo-hero .eor-hero__lede { margin-top: calc(2 * var(--vw)); }
  .page-rpo .rpo-hero .eor-hero__ctas .btn { min-height: calc(3.9 * var(--vw)); }
}

/* Recruitment stages as a navigation bar */
.pipe__rail {
  display: flex;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--white);
  box-shadow: 0 16px 36px -28px rgba(12, 27, 42, 0.55);
  overflow-x: auto;
  scrollbar-width: none;
}
.pipe__line, .pipe__num { display: none; }
.pipe__stage {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px 0 16px;
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: clamp(15px, calc(1 * var(--vw)), 18px);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.pipe__dot, .pipe__stage.is-done .pipe__dot, .pipe__stage[aria-selected="true"] .pipe__dot {
  width: auto;
  height: auto;
  background: none;
  box-shadow: none;
  color: inherit;
}
.pipe__stage:hover { background: var(--paper); }
.pipe__stage:hover .pipe__dot { transform: none; }
.pipe__stage[aria-selected="true"], .pipe__stage[aria-selected="true"]:hover { background: var(--ink); color: var(--white); }
.pipe__stage[aria-selected="true"] .pipe__dot { color: var(--saffron); }
@media (max-width: 1020px) {
  .pipe__rail { display: flex; padding: 6px; }
  .pipe__stage { flex: none; }
}

/* Recruitment client stories: a plain rounded photo on a Saffron offset */
.page-rpo .eor-story__photo { aspect-ratio: 0.8; margin: 0 18px 18px 0; border-radius: var(--r-card); box-shadow: 18px 18px 0 var(--saffron); }
.page-rpo .eor-story__photo img { object-position: 50% 30%; }

/* Phones and tablets (EOR, Recruitment, Staffing): the "Client stories"
   label and the quote come first and the photo follows as a landscape
   picture of the team being quoted. Photo-first, it sat alone between two
   sections and read as an image-only section. */
@media (max-width: 1020px) {
  .eor-story__photo { order: 2; }
  .page-rpo .eor-story__photo { aspect-ratio: 16 / 10; margin: 0 14px 14px 0; box-shadow: 14px 14px 0 var(--saffron); }
}

/* India payroll hero: sketched skyline and small floating payroll cards */
.pay-hero { position: relative; overflow: clip; }
.pay-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  background: url("../img/payroll/skyline.svg") right bottom / auto 100% no-repeat;
  opacity: 0.26;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.016) 37.5%, rgba(0, 0, 0, 0.104) 41%, rgba(0, 0, 0, 0.275) 44.5%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.725) 51.5%, rgba(0, 0, 0, 0.896) 55%, rgba(0, 0, 0, 0.984) 58.5%, rgba(0, 0, 0, 1) 62%), linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.5) 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.016) 37.5%, rgba(0, 0, 0, 0.104) 41%, rgba(0, 0, 0, 0.275) 44.5%, rgba(0, 0, 0, 0.5) 48%, rgba(0, 0, 0, 0.725) 51.5%, rgba(0, 0, 0, 0.896) 55%, rgba(0, 0, 0, 0.984) 58.5%, rgba(0, 0, 0, 1) 62%), linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.5) 80%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}
.pay-hero .eor-hero__inner { position: relative; z-index: 1; }
.pay-hero .eor-hero__media::before { display: none; }
.pay-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 22px 44px -22px rgba(12, 27, 42, 0.5);
}
.pay-mini b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.pay-mini__txt { display: grid; gap: 7px; }
.pay-mini__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; }
.pay-mini__ico--saffron { background: var(--saffron); border-radius: 50%; }
.pay-mini__ico--ink { background: var(--ink); color: var(--saffron); }
.pay-mini__ico--paper { background: var(--sand); }
.pay-mini__ok { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--saffron); color: var(--ink); }
.pay-mini__lines { display: grid; gap: 5px; }
.pay-mini__lines i { display: block; width: 92px; height: 5px; border-radius: 5px; background: var(--sand); }
.pay-mini__lines i + i { width: 58px; }
.pay-mini .glass__tags { display: flex; gap: 4px; }
.pay-mini .glass__tags i { padding: 3px 7px; font-size: 11px; }
.pay-mini--tile { display: grid; justify-items: center; gap: 8px; padding: 14px 16px; }
.pay-mini__doc { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 16px; background: var(--paper); }
.pay-mini__doc .pay-mini__ok { position: absolute; right: -6px; bottom: -6px; }
.pay-mini__people { display: flex; flex: none; }
.pay-mini__people i { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--white); border-radius: 50%; background: var(--sand); }
.pay-mini__people i + i { margin-left: -10px; background: var(--saffron); }
.pay-mini__people i:last-child { background: var(--ink); color: var(--white); }
.pay-hero .pay-mini.eor-hero__card--a { left: -11%; right: auto; top: 12%; bottom: auto; width: auto; }
.pay-hero .pay-mini.eor-hero__card--b { left: -13%; right: auto; top: auto; bottom: 15%; width: auto; }
.pay-mini--c { right: -8%; top: 7%; }
.pay-mini--d { right: -12%; top: 47%; }
.pay-mini--e { right: -6%; bottom: 7%; }
.pay-dash { position: absolute; pointer-events: none; }
.pay-dash--a { left: -9%; top: 30%; stroke: var(--ink); }
.pay-dash--b { right: -9%; top: 35%; stroke: var(--saffron); }
@media (max-width: 1020px) {
  .pay-hero::before, .pay-dash, .pay-mini--c, .pay-mini--d, .pay-mini--e { display: none; }
  .pay-hero .pay-mini.eor-hero__card--a { left: -2%; }
  .pay-hero .pay-mini.eor-hero__card--b { left: auto; right: -2%; }
}

/* India payroll hero: a cut-out person with no frame, standing on the section's base */
.pay-hero { padding-bottom: 0; }
.pay-hero::before { opacity: 0.34; }
.pay-hero .eor-hero__inner { align-items: end; }
.pay-hero .eor-hero__copy { padding-bottom: clamp(48px, calc(5 * var(--vw)), 96px); }
.pay-hero .eor-hero__frame { overflow: visible; aspect-ratio: auto; border-radius: 0; background: none; }
.pay-hero .eor-hero__frame::after { display: none; }
/* Fade the cut-out and skyline into the next section instead of ending on a hard edge */
.pay-hero .eor-hero__frame img { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.pay-hero .eor-hero__frame img { display: block; width: auto; height: clamp(520px, calc(82 * var(--svh)), 780px); max-width: 100%; margin: 0 auto; object-fit: contain; object-position: 50% 100%; }
.pay-hero .pay-mini.eor-hero__card--a { left: -7%; top: 30%; }
.pay-hero .pay-mini.eor-hero__card--b { left: -11%; bottom: 13%; }
.pay-mini--c { right: -3%; top: 9%; }
.pay-mini--d { right: -13%; top: 44%; }
.pay-mini--e { right: -8%; bottom: 10%; }
.pay-dash--a { left: 8%; top: 13%; }
.pay-dash--b { right: 13%; top: 30%; }
@media (max-width: 1020px) {
  .pay-hero .eor-hero__frame img { width: 100%; height: auto; max-width: 480px; }
  .pay-hero .pay-mini.eor-hero__card--a { left: -2%; }
  .pay-hero .pay-mini.eor-hero__card--b { left: auto; right: -2%; }
  .pay-hero .eor-hero__copy { padding-bottom: 0; }
}
@media (max-width: 680px) {
  .pay-hero .eor-hero__card { position: absolute; margin: 0; }
  .pay-hero .pay-mini.eor-hero__card--a { left: 0; right: auto; top: 18%; }
  .pay-hero .pay-mini.eor-hero__card--b { left: auto; right: 0; bottom: 8%; }
}

@media (max-width: 680px) {
  .pay-hero .pay-mini.eor-hero__card--a { top: 47%; }
}

/* India payroll hero, desktop: the person fills the height of the text column */
@media (min-width: 1021px) {
  .pay-hero .eor-hero__inner { align-items: stretch; }
  .pay-hero .eor-hero__frame { position: absolute; inset: 0; }
  .pay-hero .eor-hero__frame img { position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; height: 100%; margin: 0; transform: translateX(-50%); }
  .pay-hero .pay-mini.eor-hero__card--a { top: 24%; }
  .pay-mini--c { top: 6%; }
  .pay-mini--d { top: 38%; }
  .pay-hero .pay-mini.eor-hero__card--b { bottom: 20%; }
  .pay-mini--e { bottom: 14%; }
  .pay-dash--a { top: 9%; }
  .pay-dash--b { top: 26%; }
}

/* Staffing hero: a plain, evenly rounded photo */
.stf-hero .eor-hero__frame { aspect-ratio: 1.08; border-radius: 32px; }
.stf-hero .eor-hero__frame img { object-position: 62% 50%; }
.stf-hero .eor-hero__frame::after { display: none; }
.stf-hero .eor-hero__media::before { display: none; }
.stf-hero .eor-hero__card--a { left: -6%; top: auto; bottom: 7%; }
.stf-hero .eor-hero__card--b { right: -5%; bottom: -4%; }
@media (max-width: 1020px) {
  .stf-hero .eor-hero__card--a, .stf-hero .eor-hero__card--b { bottom: auto; }
  .stf-hero .eor-hero__frame { border-radius: 24px; }
}

/* Staffing, How it works: a full curve along the photo's bottom edge, the card
   moved clear of it, and less space above the section */
.eor-steps--curved .eor-steps__photo > img { border-radius: 40px 40px 160px 160px; }
.eor-steps--curved .eor-steps__photo figcaption { top: 24px; bottom: auto; }
.trust:has(+ .eor-steps--curved) { padding-bottom: 0; }
@media (min-width: 1021px) { .eor-steps--curved { margin-top: calc(-3 * var(--vw)); } }
@media (max-width: 1020px) {
  .eor-steps--curved .eor-steps__photo > img { border-radius: 24px 24px 90px 90px; }
  .trust:has(+ .eor-steps--curved) { padding-bottom: 32px; }
}
@media (max-width: 720px) {
  .eor-steps--curved .eor-steps__photo figcaption { top: auto; }
}
