/* careers.html — page-specific styles only.
   New classes are prefixed .cr- so nothing collides with sitewide
   assets/styles.css or other pages' own page CSS. */

/* ----------------------- hero (centered, no CTA) -----------------------
   This hero has no full-bleed visual, just centered copy — the shared
   "unified first screen" .page-hero min-height (sized for big-visual
   heroes) left a tall empty band below the text, so it's zeroed here
   and the hero falls back to its own natural content height (same fix
   as the Case Studies hero, .cs-hero, for the same reason). */
.cr-hero{min-height:0}
.cr-hero-copy{max-width:860px;margin:0 auto;text-align:center}
.cr-hero-copy .lead{margin-left:auto;margin-right:auto}

/* ----------------------- Current Job Openings (accordion) -----------------------
   Reuses the sitewide .vacancy-list border-top/row-divider look, but each
   row is a native <details>/<summary> so clicking it reveals the role
   description — same open/close mechanics as the sitewide FAQ component
   (.faq-list), just laid out like a vacancy row instead of a Q&A. */
#openings .section-head{max-width:1000px}
.cr-vacancy-list{border-top:1px solid var(--line)}
.cr-vacancy{border-bottom:1px solid var(--line)}
.cr-vacancy summary{
  position:relative;cursor:pointer;list-style:none;
  display:grid;grid-template-columns:180px 1fr auto;gap:16px;align-items:center;
  padding:22px 40px 22px 0;
}
.cr-vacancy summary::-webkit-details-marker{display:none}
.cr-vacancy summary:after{content:"+";position:absolute;right:4px;top:20px;font-size:1.35rem;color:var(--mut)}
.cr-vacancy[open] summary:after{content:"−"}
.cr-vacancy-tag{
  justify-self:start;
  font-size:.66rem;font-weight:750;letter-spacing:.09em;text-transform:uppercase;
  padding:5px 12px;border-radius:999px;background:var(--yellow);color:var(--ink);white-space:nowrap;
}
.cr-vacancy summary h3{font-size:1.08rem;font-weight:700;margin:0;letter-spacing:-.01em}
.cr-vacancy-meta{font-size:.82rem;color:var(--mut);white-space:nowrap}
.cr-vacancy-body{margin:0 44px 24px 0;padding-top:2px}
.cr-vacancy-body p{margin:0 0 14px;color:var(--mut);line-height:1.6;font-size:.92rem}
.cr-vacancy-body ul{margin:0 0 14px;padding:0;list-style:none}
.cr-vacancy-body li{position:relative;padding-left:16px;margin:0 0 7px;color:var(--mut);line-height:1.55;font-size:.92rem}
.cr-vacancy-body li:before{content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;background:var(--yellow);border-radius:50%}
.cr-vacancy-body a{font-size:.87rem;font-weight:650;border-bottom:2px solid var(--yellow)}
@media(max-width:700px){
  .cr-vacancy summary{grid-template-columns:1fr;gap:6px;padding:20px 32px 20px 0}
  .cr-vacancy-tag{justify-self:start}
  .cr-vacancy-meta{order:3}
  .cr-vacancy-body{margin-right:32px}
}

/* ----------------------- recent work (case carousel) -----------------------
   Ported from the Technologies page's own "Recent works" carousel (see
   .tp-case-* in assets/technologies-page.css) — same component, renamed
   .cr- so it stays scoped to this page's own stylesheet. */
.cr-case-carousel{position:relative;margin-top:8px}
.cr-case-track{margin:0}
.cr-case-arrow{position:absolute;top:36%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:1.5px solid var(--line);background:var(--paper);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:5;transition:background .15s ease,border-color .15s ease,transform .15s ease;color:var(--ink)}
.cr-case-arrow:hover{background:var(--bone);border-color:var(--ink)}
.cr-case-arrow-left{left:-23px}
.cr-case-arrow-right{right:-23px}
.cr-case-dots{display:flex;justify-content:center;gap:10px;margin-top:32px}
.cr-case-dot{width:9px;height:9px;border-radius:50%;background:var(--line);border:none;padding:0;cursor:pointer;transition:background .15s ease,transform .15s ease}
.cr-case-dot.active{background:var(--yellow);transform:scale(1.25)}
@media(max-width:900px){
  .cr-case-arrow{display:none}
}

.cr-case-link{color:inherit;text-decoration:none}
.cr-case-link .case-metric{
  position:relative;overflow:hidden;isolation:isolate;
  height:144px;display:flex;flex-direction:column;justify-content:center;
}
.cr-case-link .case-metric-visual{
  position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;
  opacity:.22;
}
.cr-case-link .case-metric b{
  position:relative;z-index:1;line-height:1.28;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.cr-case-link .case-metric-industry{position:relative;z-index:1;margin-top:8px;display:block}
