/* Careers: pieces shared by the six pages, and the careers overview's staircase. */
.cr-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cr-btns .btn--ghost { --fg: #0B0D1A; --bd: #C7C4BC; color: #0B0D1A; }
.cr-btns .btn--ghost:hover { --fg: #fff; --bg: #0B0D1A; --bd: #0B0D1A; color: #fff; }

.cr-routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.cr-routes a { display: grid; grid-template-columns: 120px minmax(0, 1fr) 20px; gap: 18px; align-items: center; padding-block: 12px; border-top: 1px solid #D9D6CE; color: inherit; text-decoration: none; }
.cr-routes figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.cr-routes img { width: 100%; height: 100%; object-fit: cover; }
.cr-routes strong { display: block; color: #0B0D1A; font: 600 1.18rem/1.2 var(--sans); }
.cr-routes small { display: block; margin-top: 4px; font-size: 1rem; line-height: 1.34; color: #33353F; }
.cr-routes svg { width: 18px; height: 18px; color: var(--st); transition: transform .3s var(--ease); }
.cr-routes a:hover svg { transform: translateX(5px); }
@media (max-width: 760px) { .cr-routes { grid-template-columns: 1fr; } .cr-routes a { grid-template-columns: 88px minmax(0, 1fr) 20px; } }

/* overview: the staircase */
.ci-band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 3px; background: #fff; }
.ci-band figure { margin: 0; height: clamp(260px, 30vw, 420px); overflow: hidden; }
.ci-band img { width: 100%; height: 100%; object-fit: cover; }

.ci-stairs { margin-top: 34px; }
.ci-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 0 clamp(8px, 1vw, 16px); }
.ci-step figure { margin: 0 0 12px; aspect-ratio: 4/3; overflow: hidden; }
.ci-step img { width: 100%; height: 100%; object-fit: cover; }
.ci-step small { display: block; font: 600 .92rem/1.2 var(--sans); color: var(--st); }
.ci-step h3 { margin: 4px 0 6px; color: #0B0D1A; font: 600 clamp(1.15rem, 1rem + .5vw, 1.45rem)/1.14 var(--sans); letter-spacing: -.015em; }
.ci-step p { margin: 0 0 14px; font-size: 1rem; line-height: 1.36; color: #33353F; }
.ci-step i { display: block; height: calc(14px + var(--n) * clamp(44px, 5vw, 76px)); background: color-mix(in srgb, var(--st) calc(34% + var(--n) * 16%), #fff); }

.ci-doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(8px, 1vw, 16px); }
.ci-door { display: block; padding: 18px 18px 20px; background: #0B0D1A; color: #fff; text-decoration: none; transition: background .25s; }
.ci-door:nth-child(2) { grid-column: 2 / span 2; }
.ci-door:nth-child(3) { grid-column: 4 / span 2; }
.ci-door:hover { background: var(--st); }
.ci-door small { display: block; font: 600 .92rem/1.2 var(--sans); color: #F2B33D; }
.ci-door strong { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; color: #fff; font: 600 1.14rem/1.18 var(--sans); }
.ci-door svg { width: 18px; height: 18px; flex: none; }
.ci-door span { display: block; margin-top: 6px; font-size: .98rem; line-height: 1.34; color: #fff; }

.ci-same { margin-top: 30px; }
.ci-same figure { margin: 0; height: clamp(280px, 36vw, 500px); overflow: hidden; }
.ci-same img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ci-same ul { list-style: none; margin: clamp(-72px, -5vw, -40px) clamp(16px, 3vw, 48px) 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.ci-same li { padding: 22px 20px 24px; background: #fff; }
.ci-same small { font: 600 .92rem/1.2 var(--sans); color: var(--st); }
.ci-same h3 { margin: 8px 0 6px; color: #0B0D1A; font: 600 1.25rem/1.16 var(--sans); }
.ci-same p { margin: 0; font-size: 1.02rem; line-height: 1.38; color: #33353F; }

.ci-specs { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; color: #0B0D1A; font: 500 clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem)/1.3 var(--sans); letter-spacing: -.018em; }
.ci-specs li:not(:last-child)::after { content: "/"; margin-inline: .42em; color: var(--st); font-weight: 400; }

@media (max-width: 900px) {
  .ci-band { grid-template-columns: 1fr 1fr; }
  .ci-band figure:first-child { grid-column: 1 / -1; }
  .ci-steps, .ci-doors { grid-template-columns: 1fr; gap: 18px; }
  .ci-step i { display: none; }
  .ci-doors { margin-top: 22px; gap: 3px; }
  .ci-door:nth-child(n) { grid-column: auto; }
  .ci-same ul { grid-template-columns: 1fr 1fr; margin-inline: 0; margin-top: 3px; }
}
@media (max-width: 520px) { .ci-same ul { grid-template-columns: 1fr; } }
