/* Careers page (Views/Home/Career.cshtml): banner with the career tracks, why join, life at DESOL, the career
   ladders, the hiring process and the final call to apply. Behaviour (culture accordion, reveal) in wwwroot/js/career.js. */
body {
  background-image: none;
  background-color: #ffffff;
}
.crs-page {
  --crs-cyan: #00c2cb;
  --crs-cyan-deep: #00c2cb;
  --crs-deep: #00c2cb;
  --crs-teal-text: #0e2a38;
  --crs-yellow: #fedd59;
  --crs-navy: #0e2a38;
  --crs-text: #3e5662;
  --crs-muted: #5a7380;
  --crs-line: #d4eff1;
  --crs-card-line: #e3eef0;
  --crs-card-shadow: 0 1.6rem 3.2rem -2.6rem rgba(14, 42, 56, 0.45);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--crs-text);
}
/* Like the home page, this page runs 4.8rem wider than the others; the ladders and hiring lanes keep
   the narrower width */
@media (min-width: 1200px) {
  .crs-page .container {
    max-width: 118.8rem;
    padding: 0 1rem;
  }
  .crs-page .ladders,
  .crs-page .hire {
    max-width: 112rem;
    margin: 0 auto;
  }
}
/* Lines break as in the design, not balanced (main.css balances titles site-wide) */
.crs-page > section :is(h1, h2, p) {
  text-wrap: wrap;
}
.crs-page .section-kicker {
  margin: 0;
  line-height: 1.55;
}
.crs-page .section-kicker__label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.crs-page .sec-head {
  gap: 1.4rem;
  max-width: 80rem;
}
.crs-page .sec-lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.crs-page strong {
  font-weight: 700;
  color: var(--crs-navy);
}
/* Scroll reveal: career.js adds .careers-reveal and toggles .is-visible */
.careers-reveal .reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 0.7s ease var(--d, 0s), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s), border-color 0.3s, box-shadow 0.3s;
}
.careers-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Banner: title on the left, the open roles and career tracks stacked on the right ---------- */
.crs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: radial-gradient(ellipse 45% 60% at 75% 50%, rgba(0, 194, 203, 0.12), transparent 70%), radial-gradient(ellipse 30% 30% at 92% 8%, rgba(0, 194, 203, 0.1), transparent 70%), linear-gradient(110deg, #f5fcfd 0%, #ffffff 45%, #eaf8fa 100%);
}
.crs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(0, 194, 203, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 194, 203, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.container.crs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4.8rem;
  align-items: center;
  padding-top: 18.4rem;
  padding-bottom: 6.4rem;
}
.crs-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.2rem;
}
.crs-hero .breadcrumb {
  margin: 0;
}
.crs-hero__title {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--crs-navy);
}
/* Each phrase on its own line, as in the design, so no language breaks inside the first one */
.crs-hero__title em {
  display: block;
  font-style: normal;
  color: #0e2a38;
}
html[lang=ja] .crs-hero__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.crs-hero__text {
  max-width: 48rem;
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
}
.crs-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
/* Rail through the row icons */
.crs-stack__rail {
  position: absolute;
  top: 6rem;
  bottom: 4rem;
  left: 3.6rem;
  width: 2px;
  color: rgba(0, 194, 203, 0.5);
}
/* Tier label lines up with the row titles */
.crs-stack__label {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: 7.8rem;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crs-teal-text);
}
.crs-stack__label::after {
  content: "";
  flex: 1;
  min-width: 2.4rem;
  height: 1px;
  background: linear-gradient(90deg, #b9e6ea, transparent);
}
.crs-stack__rows {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crs-row {
  position: relative;
  z-index: 1;
  animation: crs-slide 0.6s calc(0.2s + var(--i) * 0.1s) cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes crs-slide {
  from {
    opacity: 0;
    transform: translateX(2.4rem);
  }
}
.crs-row a {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.2rem 1.8rem 1.2rem 1.2rem;
  border: 1px solid var(--crs-line);
  border-radius: 1.8rem;
  background: #ffffff;
  box-shadow: var(--crs-card-shadow);
  color: var(--crs-navy);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}
.crs-row a:hover,
.crs-row a:focus-visible {
  transform: translateX(-4px);
  border-color: var(--crs-cyan);
  box-shadow: 0 2rem 4rem -2.4rem rgba(0, 194, 203, 0.6);
}
.crs-row a:focus-visible {
  outline: 2px solid var(--crs-cyan);
  outline-offset: 4px;
}
.crs-row__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1.4rem;
  background: var(--crs-cyan);
  color: #ffffff;
}
.crs-row__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.crs-row__title {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.55;
}
/* Japanese has no spaces: break only at punctuation and where the resources mark it (U+200B), so words are not split */
html[lang=ja] :is(.crs-row__title, .ladder-level strong, .ladders__branch-label) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.crs-row__levels {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: var(--fs-small);
  color: var(--crs-muted);
  white-space: nowrap;
}
/* One bar per level of the track, rising with seniority */
.crs-row__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.crs-row__bars i {
  width: 5px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--crs-deep), var(--crs-cyan));
}
.crs-row__bars i:nth-child(2) {
  height: 11px;
}
.crs-row__bars i:nth-child(3) {
  height: 14px;
}
.crs-row__bars i:nth-child(4) {
  height: 17px;
}

/* ---------- Why join: six benefit cards ---------- */
.crs-why-sec .sec-head {
  gap: 1.6rem;
  margin-bottom: 4.8rem;
}
.crs-why-sec .sec-lead {
  line-height: 1.65;
}
.crs-why {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crs-why__item {
  flex: 1 1 30rem;
  min-width: 0;
  display: flex;
  gap: 1.6rem;
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--crs-line);
  border-radius: 2.2rem;
  background: #ffffff;
  box-shadow: var(--crs-card-shadow);
}
.crs-why__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1.4rem;
  background: var(--crs-cyan);
  color: #ffffff;
}
.crs-why__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: var(--fs-small);
  line-height: 1.6;
}
.crs-why__body strong {
  font-size: var(--fs-title);
  line-height: 1.55;
}

/* ---------- Life at DESOL: the values (accordion) beside the active value's illustration ---------- */
.crs-life .sec-head {
  margin-bottom: 4.8rem;
}
.culture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 4.8rem;
  align-items: center;
}
.culture__values {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.culture-value {
  border: 1px solid var(--crs-card-line);
  border-radius: 2rem;
  background: #ffffff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.culture-value:hover {
  border-color: #b9e6ea;
}
.culture-value.is-active {
  border-color: #b9e6ea;
  box-shadow: inset 4px 0 0 var(--crs-cyan-deep), 0 2rem 4rem -2.8rem rgba(0, 194, 203, 0.6);
}
.culture-value__head {
  margin: 0;
}
.culture-value__toggle {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
  padding: 2rem 2.2rem;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: var(--crs-navy);
  cursor: pointer;
}
.culture-value__toggle:focus-visible {
  outline: 2px solid var(--crs-cyan);
  outline-offset: -4px;
  border-radius: 2rem;
}
.culture-value__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1.4rem;
  background: #e6f6f7;
  color: var(--crs-navy);
  transition: background 0.3s, color 0.3s;
}
.culture-value.is-active .culture-value__icon {
  background: var(--crs-cyan);
  color: #ffffff;
}
.culture-value__name {
  flex: 1;
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.55;
}
.culture-value__chevron {
  flex: none;
  display: flex;
  color: var(--crs-cyan-deep);
  transition: transform 0.25s;
}
.culture-value.is-active .culture-value__chevron {
  transform: rotate(180deg);
}
.culture-value__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s ease;
}
.culture-value__body > div {
  overflow: hidden;
}
/* Text lines up with the value name: padding + icon + gap */
.culture-value__body p {
  margin: 0;
  padding: 0 2.4rem 2.2rem 8.6rem;
  font-size: var(--fs-body);
  line-height: 1.7;
}
.culture.is-enhanced .culture-value:not(.is-active) .culture-value__body {
  grid-template-rows: 0fr;
}

/* Stage: the active value's illustration in a dashed ring, its name in a pill below */
.culture__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44rem;
  overflow: hidden;
  border: 1px solid #b9e6ea;
  border-radius: 2.8rem;
  background-color: #f2fbfc;
  background-image: radial-gradient(rgba(0, 194, 203, 0.14) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
.culture__ring {
  position: absolute;
  width: 36rem;
  height: 36rem;
  border: 1.5px dashed #9fe3e7;
  border-radius: 50%;
}
.culture-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.culture-scene.is-active {
  opacity: 1;
}
.culture-scene img {
  position: relative;
  width: 30rem;
  height: 26.7rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.culture-scene__tag {
  position: absolute;
  bottom: 2.6rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.8rem 0.8rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1.2rem 2.4rem -1.4rem rgba(14, 42, 56, 0.4);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--crs-navy);
}
.culture-scene__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--crs-cyan);
  color: #ffffff;
}
@media (prefers-reduced-motion: reduce) {
  .culture-scene,
  .culture-value__body {
    transition: none;
  }
}

/* ---------- Career ladders: professional in the middle, branching at senior engineer into the two management tracks ---------- */
.crs-path {
  background-image: radial-gradient(rgba(0, 194, 203, 0.1) 1px, transparent 1.4px);
  background-size: 22px 22px;
}
.crs-path .sec-lead {
  max-width: 70rem;
}
/* Fixed card heights so the branch wires meet the right levels: --lh per level, --lg between levels. --lh fits the longest
   level in EN/VI/JA (19/11): a name on two lines ("Kiến trúc sư / Trưởng nhóm kỹ thuật", シニアプロジェクトマネージャー), its
   experience chip and, under it, what that counts */
.ladders {
  --head: 8rem;
  --head-gap: 5rem;
  --lh: 12.6rem;
  --lg: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem minmax(0, 1fr) 11rem minmax(0, 1fr);
  align-items: start;
}
.ladder {
  --tone: #00c2cb;
  display: flex;
  flex-direction: column;
  gap: var(--head-gap);
}
.ladder--pm {
  --tone: #fedd59;
}
.ladder--team {
  --tone: #0e2a38;
}
.ladder__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  height: var(--head);
  margin: 0;
  padding: 0 2.2rem;
  border: 1px solid var(--crs-card-line);
  border-radius: 1.8rem;
  background: #ffffff;
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 1.55;
  color: var(--crs-navy);
}
.ladder__head::after {
  content: "";
  width: 4.4rem;
  height: 3px;
  border-radius: 3px;
  background: var(--tone);
}
/* The levels hang on a spine with an arrow pointing up to seniority */
.ladder__levels {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--lg);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ladder__levels::before {
  content: "";
  position: absolute;
  top: -1.8rem;
  bottom: calc(var(--lh) / 2);
  left: 2.6rem;
  width: 2px;
  background: var(--tone);
  opacity: 0.8;
}
.ladder--team .ladder__levels::before {
  opacity: 0.5;
}
.ladder__levels::after {
  content: "";
  position: absolute;
  top: -2.6rem;
  left: 2.1rem;
  border-right: 6px solid transparent;
  border-bottom: 9px solid var(--tone);
  border-left: 6px solid transparent;
}
.ladder-level {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  height: var(--lh);
  padding: 1.4rem 1.8rem 1.4rem 4.6rem;
  border: 1px solid var(--crs-card-line);
  border-radius: 1.8rem;
  background: #ffffff;
  box-shadow: 0 1.4rem 2.8rem -2.4rem rgba(14, 42, 56, 0.4);
}
.ladder-level::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2rem;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: -0.7rem;
  border: 2.5px solid var(--tone);
  border-radius: 50%;
  background: #ffffff;
}
.ladder-level:first-child::before {
  background: var(--tone);
}
.ladder-level strong {
  font-size: var(--fs-body);
  line-height: 1.3;
}
/* The experience a level asks for: a fact chip (_Fact, main.css), what it counts under it */
.ladder-level__exp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: var(--fs-label);
  color: var(--crs-muted);
}
/* Senior engineer: where the path branches */
.ladder-level--branch {
  border: 1.5px solid var(--crs-cyan);
  box-shadow: 0 0 0 4px rgba(0, 194, 203, 0.1), 0 1.8rem 3.6rem -2.2rem rgba(0, 194, 203, 0.6);
}
/* Branch wires, level with the branching card; labels sit above them */
.ladders__branch {
  position: relative;
  align-self: stretch;
}
.ladders__branch-label {
  position: absolute;
  top: calc(var(--head) + var(--head-gap) + 2 * (var(--lh) + var(--lg)) + var(--lh) / 2 - 4.4rem);
  right: 0.4rem;
  left: 0.4rem;
  font-size: var(--fs-label);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  color: var(--crs-navy);
}
.ladders__branch--pm .ladders__branch-label {
  color: #7a5c00;
}
.ladders__wire {
  position: absolute;
  --branch-y: calc(var(--head) + var(--head-gap) + 2 * (var(--lh) + var(--lg)) + var(--lh) / 2);
  --join-y: calc(var(--head) + var(--head-gap) + 3 * (var(--lh) + var(--lg)) + var(--lh) / 2);
}
.ladders__wire--pm {
  top: calc(var(--branch-y) - 1.5px);
  right: 0;
  left: 0;
  height: 3px;
}
/* Arrow into project management */
.ladders__wire--pm::before {
  content: "";
  position: absolute;
  top: -4.5px;
  left: 0;
  border-top: 6px solid transparent;
  border-right: 9px solid #fedd59;
  border-bottom: 6px solid transparent;
}
.ladders__wire--out,
.ladders__wire--in,
.ladders__wire--down {
  color: var(--crs-navy);
  opacity: 0.55;
}
.ladders__wire--out {
  top: calc(var(--branch-y) - 1.5px);
  left: 0;
  width: 50%;
  height: 3px;
}
.ladders__wire--down {
  top: calc(var(--branch-y) - 1.5px);
  left: calc(50% - 1.5px);
  width: 3px;
  height: calc(var(--join-y) - var(--branch-y) + 3px);
}
.ladders__wire--in {
  top: calc(var(--join-y) - 1.5px);
  right: 0;
  left: 50%;
  height: 3px;
}
.ladders__wire--in::after {
  content: "";
  position: absolute;
  top: -4.5px;
  right: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid var(--crs-navy);
}

/* ---------- Hiring process: your lane on top, DESOL's below; wires run along a lane, then into the next step ---------- */
.hire {
  --lw: 11.2rem;
  --cw: calc((100% - var(--lw) + 1.2rem) / 5);
  --you-y: 7rem;
  --desol-y: 28rem;
  position: relative;
  height: 35rem;
}
.hire__band {
  position: absolute;
  right: 0;
  left: 0;
  height: 14rem;
  border-radius: 2rem;
}
.hire__band--you {
  top: 0;
  border: 1px dashed #f2d572;
  background: rgba(253, 221, 89, 0.12);
}
.hire__band--desol {
  top: 21rem;
  border: 1px dashed #b9e6ea;
  background: rgba(0, 194, 203, 0.06);
}
.hire__label {
  position: absolute;
  left: 0;
  display: flex;
  justify-content: center;
  width: 9.6rem;
  transform: translateY(-50%);
}
.hire__label--you {
  top: var(--you-y);
}
.hire__label--you span {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: var(--crs-yellow);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crs-navy);
}
.hire__label--desol {
  top: var(--desol-y);
}
.hire__label--desol img {
  width: 6rem;
  height: auto;
}
.hire__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hire-step {
  position: absolute;
  z-index: 2;
  top: 2rem;
  left: calc(var(--lw) + var(--k) * var(--cw));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: calc(var(--cw) - 1.6rem);
  height: 10rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--crs-line);
  border-radius: 1.6rem;
  background: #ffffff;
  box-shadow: 0 1.2rem 2.4rem -1.8rem rgba(14, 42, 56, 0.45);
  font-size: var(--fs-small);
  line-height: 1.45;
  color: var(--crs-muted);
}
.hire-step--you {
  border-color: #f2d572;
  background: #fffaeb;
}
.hire-step--desol {
  top: 23rem;
}
.hire-step--gate {
  border: 2px solid #fedd59;
}
.hire-step strong {
  font-size: var(--fs-body);
  line-height: 1.3;
}
/* The lane is already shown by the band; the label is for screen readers and the stacked layout */
.hire-step__who {
  display: none;
}
.hire__h,
.hire__v {
  position: absolute;
}
/* Along the lane: from the right edge of step k to the middle of step k + 1 */
.hire__h {
  left: calc(var(--lw) + (var(--k) + 1) * var(--cw) - 1.6rem);
  width: calc((var(--cw) - 1.6rem) / 2 + 1.6rem);
  height: 3px;
}
.hire__h--you {
  top: calc(var(--you-y) - 1px);
}
.hire__h--desol {
  top: calc(var(--desol-y) - 1px);
}
.hire__v {
  left: calc(var(--lw) + (var(--k) + 1) * var(--cw) + (var(--cw) - 1.6rem) / 2 - 1.5px);
  width: 3px;
}
.hire__v--down {
  top: calc(var(--you-y) - 1px);
  height: 15.3rem;
}
.hire__v--up {
  top: 12.8rem;
  height: 15.4rem;
}
.hire__arrow {
  position: absolute;
  width: 0;
  height: 0;
}
.hire__arrow--down {
  top: 22.1rem;
  left: calc(var(--lw) + (var(--k) + 1) * var(--cw) + (var(--cw) - 1.6rem) / 2 - 6px);
  border-top: 8px solid #0e2a38;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}
.hire__arrow--up {
  top: 12rem;
  left: calc(var(--lw) + (var(--k) + 1) * var(--cw) + (var(--cw) - 1.6rem) / 2 - 6px);
  border-right: 6px solid transparent;
  border-bottom: 8px solid #0e2a38;
  border-left: 6px solid transparent;
}
.hire__arrow--right {
  top: calc(var(--you-y) - 6px);
  left: calc(var(--lw) + (var(--k) + 1) * var(--cw) - 1.4rem);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #0e2a38;
}

/* ---------- Final call to apply ---------- */
.crs-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid #e3eef0;
  background-image: radial-gradient(ellipse 45% 55% at 50% 45%, rgba(0, 194, 203, 0.14), transparent 70%), linear-gradient(180deg, #ffffff 0%, #f3fbfc 100%);
}
.crs-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(0, 194, 203, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 194, 203, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 45%, #000 20%, transparent 75%);
}
.container.crs-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 82rem;
  padding-top: 9.6rem;
  padding-bottom: 9.6rem;
  text-align: center;
}
.crs-final__title {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--crs-navy);
}
html[lang=ja] .crs-final__title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.crs-final__text {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 1024px) {
  .container.crs-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 13.6rem;
  }
  .culture {
    grid-template-columns: minmax(0, 1fr);
    max-width: 64rem;
    margin: 0 auto;
  }
  /* Illustration first, values below */
  .culture__stage {
    order: -1;
    min-height: 40rem;
  }

  /* The ladders stack (professional first) and lose the branch wires */
  .ladders {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.2rem;
    max-width: 56rem;
    margin: 0 auto;
  }
  .ladder {
    gap: 3.2rem;
  }
  .ladder--pro {
    order: -1;
  }
  .ladders__branch {
    display: none;
  }
  .ladder-level {
    height: auto;
    min-height: 8.4rem;
  }

  /* The lanes become a list of steps, each marked with whose step it is */
  .hire {
    height: auto;
  }
  .hire__band,
  .hire__label,
  .hire__wires {
    display: none;
  }
  .hire__steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 56rem;
    margin: 0 auto;
  }
  .hire-step {
    position: static;
    width: auto;
    height: auto;
  }
  .hire-step__who {
    display: block;
    align-self: flex-start;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    background: #dff6f7;
    font-size: var(--fs-label);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--crs-teal-text);
  }
  .hire-step--you .hire-step__who {
    background: #fff3c4;
    color: #7a5c00;
  }
}
@media (max-width: 767px) {
  .container.crs-hero__grid {
    gap: 3.2rem;
    padding-top: 11.2rem;
    padding-bottom: 4.8rem;
  }
  /* Titles at the phone Home's sizes (main.css) */
  .crs-hero__title,
  html[lang=ja] .crs-hero__title {
    font-size: var(--fs-h1);
    line-height: 4rem;
    letter-spacing: -0.06rem;
  }
  .crs-hero__text,
  .crs-page .sec-lead,
  .crs-final__text {
    font-size: var(--fs-body);
  }
  /* Sections and heads in the shared phone rhythm (main.css): 2.4rem from a head to its first block */
  .crs-page .sec-head,
  .crs-why-sec .sec-head,
  .crs-life .sec-head {
    gap: 1.2rem;
    margin-bottom: 2.4rem;
  }
  .crs-final__title {
    font-size: var(--fs-h2);
    line-height: 3.2rem;
    letter-spacing: -0.03rem;
  }
  .crs-why__body strong,
  .ladder__head {
    font-size: var(--fs-title);
  }
  .ladder__head {
    padding: 0 1.6rem;
  }
  .container.crs-final__inner {
    gap: 1.6rem;
    padding-top: 4.4rem;
    padding-bottom: 4.8rem;
  }
  .crs-row a {
    gap: 1.2rem;
    padding: 1rem 1.4rem 1rem 1rem;
  }
  .crs-row__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.2rem;
  }
  .crs-row__title {
    font-size: var(--fs-body);
  }
  .crs-row__levels {
    gap: 0.6rem;
    font-size: var(--fs-label);
  }
  .crs-stack__rail {
    left: 3rem;
  }
  .crs-stack__label {
    margin-left: 6.2rem;
    letter-spacing: 0.16em;
  }
  /* Icon and title on one row, the text below across the card's whole width (as .card-head), so it is not squeezed beside the icon */
  .crs-why__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.2rem;
    padding: 1.8rem 1.6rem;
  }
  .crs-why__icon {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.2rem;
  }
  .crs-why__body {
    display: contents;
  }
  .crs-why__body strong {
    line-height: 1.3;
  }
  .crs-why__body > span {
    grid-column: 1 / -1;
  }
  .culture {
    gap: 2.4rem;
  }
  .culture__stage {
    min-height: 34rem;
    border-radius: 2.4rem;
  }
  .culture__ring {
    width: 28rem;
    height: 28rem;
  }
  .culture-scene img {
    width: 24rem;
    height: 21.4rem;
  }
  .culture-value__toggle {
    gap: 1.2rem;
    padding: 1.6rem;
  }
  .culture-value__icon {
    width: 4.4rem;
    height: 4.4rem;
  }
  .culture-value__name {
    font-size: var(--fs-title);
  }
  .culture-value__body p {
    padding: 0 1.6rem 1.8rem;
    font-size: var(--fs-body);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crs-row {
    animation: none;
  }
  .crs-stack__rail {
    animation: none;
  }
  .careers-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* The trail stays below the corner of the header's logo, which reaches furthest at these widths */
@media (min-width: 1367px) and (max-width: 1480px) {
  .container.crs-hero__grid {
    padding-top: 20rem;
  }
}
