
/* ===================== the careers page (careers.py) ================== */
.cr-sec{padding:clamp(72px,9vh,120px) 0;}

/* THE APPLY BAND: the route in on the left, what the roles are on the right */
/* CENTRED, NOT TOP ALIGNED. Top aligned left a quarter of a screen of
   nothing under the button, because the role list is five rows and the
   words beside it are four lines. */
.cr-apply{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,4vw,64px);
  align-items:center;}
.cr-apply .lede{margin:0 0 22px;}
.cr-apply .btns{margin:0;}
.cr-note{margin:18px 0 0;font-size:15px;line-height:1.65;
  color:rgba(255,255,255,.58);max-width:46ch;}

/* the role list. The rules between rows are one pixel of background on the
   row itself, never a border. */
.cr-fam{list-style:none;margin:0;padding:0;}
.cr-fam li{display:flex;flex-direction:column;gap:4px;padding:16px 0;
  background-image:linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12));
  background-size:100% 1px;background-repeat:no-repeat;background-position:0 100%;}
.cr-fam li:last-child{background-image:none;}
.cr-fam b{font-size:16px;font-weight:600;color:#fff;}
.cr-fam span{font-size:14.5px;line-height:1.55;color:rgba(255,255,255,.58);}

/* THE TWO PORTRAIT BANDS */
.cr-split{display:grid;grid-template-columns:.78fr 1.22fr;
  gap:clamp(28px,4.5vw,72px);align-items:center;}
.cr-split-r{grid-template-columns:1.22fr .78fr;}
.cr-split-r .cr-shot{order:2;}
.cr-split-r .cr-split-m{order:1;}
.cr-shot{margin:0;}
.cr-shot i{display:block;width:100%;aspect-ratio:3 / 4;border-radius:26px;
  background-size:cover;background-position:center;
  background-color:rgba(255,255,255,.04);}
.cr-split-m .sec-head{margin-bottom:26px;}
.cr-split-m .sec-head p{max-width:52ch;}

/* the numbered induction list. The number is drawn, not bulleted. */
.cr-steps{list-style:none;margin:0;padding:0;counter-reset:cr;}
.cr-steps li{counter-increment:cr;position:relative;padding:0 0 22px 52px;}
.cr-steps li:last-child{padding-bottom:0;}
.cr-steps li::before{content:counter(cr,decimal-leading-zero);
  position:absolute;left:0;top:1px;font-size:13px;font-weight:600;
  letter-spacing:.06em;color:var(--aqua,#6fdce6);}
.cr-steps b{display:block;font-size:16.5px;font-weight:600;color:#fff;
  margin-bottom:5px;}
.cr-steps p{margin:0;font-size:15px;line-height:1.7;
  color:rgba(255,255,255,.62);max-width:54ch;}

/* the four house rules. Same one pixel background trick as the role list. */
.cr-house{list-style:none;margin:0;padding:0;}
.cr-house li{position:relative;padding:15px 0 15px 30px;font-size:15.5px;
  line-height:1.65;color:rgba(255,255,255,.72);
  background-image:linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.12));
  background-size:100% 1px;background-repeat:no-repeat;background-position:0 100%;}
.cr-house li:last-child{background-image:none;}
.cr-house li::before{content:"";position:absolute;left:2px;top:23px;
  width:9px;height:9px;border-radius:50%;background:var(--aqua,#6fdce6);
  opacity:.75;}

/* six cards in the three up grid rather than three */
.cr-6{row-gap:clamp(20px,2.6vw,34px);}

/* ROOM FOR THE ICON TIER TO SLIDE OVER, MEASURED RATHER THAN GUESSED.
   polish.py puts .wy-clear on whatever section ends up above the tier and
   gives it 120px. That is enough on the pages it was written for, where the
   last thing in the section is a line of text. Here the last thing is a 3:4
   photograph that runs 655px tall at 1440, and at 1440x900 the tier travels
   192px while its visible panel starts a further 52px above the section it
   is covering. 120px of clearance left 150px of photograph and the last
   house rule under the panel.

   244px is the measured sweep, so the clearance is set past it rather than
   at it. Specificity has to beat polish's own html body section rule. */
html body section.cr-sec.wy-clear{padding-bottom:clamp(260px,30vh,340px);}

@media (max-width:980px){
  .cr-apply{grid-template-columns:1fr;gap:34px;}
  .cr-split,.cr-split-r{grid-template-columns:1fr;gap:30px;}
  .cr-split-r .cr-shot{order:0;}
  .cr-split-r .cr-split-m{order:1;}
  .cr-shot i{aspect-ratio:4 / 3;border-radius:20px;}
}
