/* Careers story — Fitelo rebrand. Shared chrome is careers.css. */

.cm{padding-bottom:0}

.cm-hero{
  position:relative;
  padding:calc(118px + env(safe-area-inset-top,0px)) 0 clamp(20px,3vw,40px);
  overflow:hidden;
}

.nav-cta, .ft-btns {
  display: none !important;
}
.cm-hero::after{
  width:min(380px,56vw);
  height:min(380px,56vw);
  left:-10%;
  bottom:-36%;
  background:radial-gradient(circle,rgba(233,200,143,.48),transparent 70%);
}
.cm-hero .wrap{position:relative;z-index:1}
.cm-hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr);
  gap:clamp(28px,4vw,72px);
  align-items:center;
}
.cm-hero--solo .cm-hero__grid{grid-template-columns:minmax(0,16ch)}
.cm-hero h1{
  max-width:12em;
  font-size:clamp(40px,5.4vw,68px);
  color:var(--maroon);
  letter-spacing:-.04em;
}
.cm-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.cm-hero__photo{
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--ivory2);
  box-shadow:var(--shadowL);
}
.cm-hero__photo img{
  width:100%;
  height:auto;
  max-height:460px;
  object-fit:cover;
  object-position:center top;
}

.cm-block{padding:clamp(22px,3vw,40px) 0}
.cm-shead{margin-bottom:clamp(20px,3vw,32px)}
.cm-shead h2{
  max-width:14em;
  font-size:clamp(30px,3.6vw,48px);
  color:var(--maroon);
}
.cm-shead p{
  margin-top:12px;
  max-width:46ch;
  color:var(--ink2);
  font-size:clamp(16px,1.15vw,18px);
  line-height:1.5;
}

.cm-stats{padding-bottom:8px}
.cm-stats .container{width:100%;max-width:var(--max);margin:0 auto;padding-inline:var(--pad)}

/* —— Slider —— */
.cm-slider__viewport{overflow:hidden}
.cm-slider__track{display:flex;width:100%;transition:transform .45s var(--ease)}
.cm-slide{
  flex:0 0 calc(100% / var(--show,1));
  width:calc(100% / var(--show,1));
  max-width:calc(100% / var(--show,1));
  min-width:0;
  padding-inline:7px;
  box-sizing:border-box;
}
.cm-slider__bar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  margin-top:18px;
}
body:has(.careers) .cm-arrow{
  width:44px;height:44px;
  border-radius:50%;
  display:grid;place-items:center;
  color:var(--maroon);
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line);
  transition:background .3s var(--ease),color .3s var(--ease);
}
.cm-arrow svg{
  width:18px;height:18px;display:block;
  fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
body:has(.careers) .cm-arrow:hover{background:var(--maroon);color:#fff}
body:has(.careers) .cm-arrow:disabled{opacity:.35;pointer-events:none}
.cm-dots{display:flex;gap:6px;align-items:center;margin-right:auto}
body:has(.careers) .cm-dots button{
  position:relative;
  width:8px;height:8px;border-radius:999px;
  background:rgba(79,7,22,.22);
  transition:width .3s var(--ease),background .3s var(--ease);
}
.cm-dots button::before{content:"";position:absolute;inset:-14px}
body:has(.careers) .cm-dots button.is-on{width:22px;background:var(--maroon)}
.cm-slider[data-cm-static] .cm-slider__bar{display:none}

.cm-year{
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:22px 22px 24px;
  border-radius:var(--r-md);
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.cm-year h3{font-size:clamp(28px,2.4vw,36px);color:var(--maroon)}
.cm-year ul{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.cm-year li{
  position:relative;
  padding-left:16px;
  color:var(--ink2);
  font-size:15px;
  line-height:1.45;
}
.cm-year li::before{
  content:"";
  position:absolute;
  left:0;top:.55em;
  width:6px;height:6px;border-radius:50%;
  background:var(--orange);
}

.cm-awards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.cm-awards figure{
  margin:0;
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.cm-awards figure{display:flex;align-items:center;justify-content:center;padding:18px}
.cm-awards img{width:auto;max-width:100%;height:auto;max-height:120px;object-fit:contain}

.cm-split{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(24px,4vw,56px);
  align-items:center;
}
.cm-split h2{
  font-size:clamp(30px,3.6vw,48px);
  color:var(--maroon);
  max-width:14em;
}
.cm-split p{
  margin-top:14px;
  color:var(--ink2);
  font-size:clamp(16px,1.15vw,18px);
  line-height:1.55;
  max-width:46ch;
}
.cm-split__photo{
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--ivory2);
  box-shadow:inset 0 0 0 1px var(--line);
}
.cm-split__photo img{width:100%;height:auto;max-height:420px;object-fit:cover;object-position:center}
.cm-marks{display:flex;gap:10px;margin-bottom:16px}
.cm-marks img{width:36px;height:auto}

.cm-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.cm-card{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:100%;
  padding:22px;
  border-radius:var(--r-md);
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.cm-card:nth-child(even){background:rgba(255,255,255,.45)}
.cm-card b{
  font-family:var(--serif);
  font-weight:500;
  font-size:28px;
  letter-spacing:-.03em;
  color:var(--maroon);
  line-height:1;
}
.cm-card h3{font-size:22px;color:var(--ink)}
.cm-card p{color:var(--ink2);font-size:15.5px;line-height:1.5}

.cm-leader{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);
  min-height:320px;
  border-radius:var(--r-lg);
  overflow:hidden;
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.cm-leader__copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  padding:clamp(24px,3vw,40px);
}
.cm-leader__copy h3{font-size:clamp(26px,2.6vw,36px);color:var(--maroon)}
.cm-leader__copy p{color:var(--ink2);font-size:16.5px;line-height:1.55}
.cm-leader__who{margin-top:6px}
.cm-leader__who strong{display:block;color:var(--ink);font-size:15.5px}
.cm-leader__who span{display:block;color:var(--ink3);font-size:14px}
.cm-leader__photo{background:var(--ivory2);min-height:240px}
.cm-leader.is-text{grid-template-columns:1fr}
.cm-leader.is-text .cm-leader__photo{display:none}
.cm-leader__photo img{width:100%;height:100%;object-fit:cover;object-position:center top}

.cm-voice{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
  padding:24px;
  border-radius:var(--r-md);
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line),var(--shadow);
}
.cm-voice blockquote{
  margin:0;
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(18px,1.5vw,22px);
  letter-spacing:-.02em;
  line-height:1.35;
  color:var(--ink);
}
.cm-voice footer{display:flex;align-items:center;gap:12px}
.cm-voice img{width:56px;height:56px;border-radius:50%;object-fit:cover;background:var(--ivory2)}
.cm-voice strong{display:block;font-size:15px;color:var(--ink)}
.cm-voice span{display:block;font-size:13.5px;color:var(--ink3)}

.cm-join{
  margin-top:clamp(12px,2vw,24px);
  padding:clamp(36px,5vw,64px) 0;
  color:var(--ivory);
  background:
    radial-gradient(80% 80% at 100% 0%,rgba(226,92,70,.28),transparent 60%),
    linear-gradient(168deg,#4A0716 0%,#2C0510 70%);
}
body:has(.careers) .cm-join h2{
  max-width:12em;
  font-size:clamp(32px,4vw,52px);
  color:#faf8ee;
}
.cm-join .btn{margin-top:22px}
.cm-join__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(220px,.8fr);
  gap:clamp(24px,4vw,48px);
  align-items:center;
}
.cm-join__photo{
  min-height:260px;
  border-radius:var(--r-lg);
  background:rgba(250,248,238,.06) center/cover no-repeat;
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 0 1px rgba(250,248,238,.12);
}
.cm-join__grid.is-text{grid-template-columns:1fr}
.cm-join__photo.is-empty{display:none}
.cm-join__photo img{width:min(280px,78%);height:auto;object-fit:contain}

.cm-press{    padding-top: clamp(18px, 5.5vw, 60px);
  padding-bottom: clamp(24px, 3vw, 36px);}
.cm-press__quote{
  min-height:0;
  display:grid;
  align-items:center;
}
.cm-press__quote p{
  margin:0 auto;
  max-width:22em;
  text-align:center;
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(22px,2.6vw,34px);
  letter-spacing:-.03em;
  line-height:1.28;
  color:var(--maroon);
}
.cm-press__quote p[hidden]{display:none}
.cm-press__logos{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
body:has(.careers) .cm-press__logo{
  width:auto;
  height:64px;
  padding:0 16px;
  border-radius:16px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:var(--white);
  box-shadow:inset 0 0 0 1px var(--line);
  transition:box-shadow .3s var(--ease),transform .3s var(--ease);
}
body:has(.careers) .cm-press__logo img{
  display:block;
  width:auto;
  height:28px;
  max-width:132px;
  max-height:28px;
  object-fit:contain;
  opacity:.85;
}
body:has(.careers) .cm-press__logo.is-active{
  transform:translateY(-2px);
  box-shadow:inset 0 0 0 1.5px var(--maroon),var(--shadow);
}
body:has(.careers) .cm-press__logo.is-active img{opacity:1}

.cm-close{padding:clamp(28px,4vw,56px) 0 clamp(48px,6vw,80px);text-align:center}
.cm-close h2{
  margin:0 auto 20px;
  max-width:16ch;
  font-size:clamp(32px,4vw,52px);
  color:var(--maroon);
}

@media(max-width:900px){
  .cm-hero__grid,
  .cm-split,
  .cm-leader,
  .cm-join__grid,
  .cm-awards,
  .cm-grid{grid-template-columns:1fr}
  .cm-hero--solo .cm-hero__grid{grid-template-columns:1fr}
  .cm-leader__photo{min-height:220px;aspect-ratio:16/10}
  .cm-hero h1,
  .cm-shead h2,
  .cm-split h2,
  body:has(.careers) .cm-join h2,
  .cm-close h2{max-width:none}
  .cm-hero__photo img,
  .cm-split__photo img{max-height:320px}
}
@media(max-width:680px){
  .cm-hero{padding-top:calc(96px + env(safe-area-inset-top,0px))}
  body:has(.careers) .cm h1,
  body:has(.careers) .cm h2{
    line-height:1.14;
    letter-spacing:-.03em;
    text-wrap:pretty;
  }
  .cm-hero h1{font-size:clamp(32px,8.4vw,40px)}
  .cm-shead h2,
  .cm-split h2,
  body:has(.careers) .cm-join h2,
  .cm-close h2{font-size:clamp(28px,7.2vw,36px)}
  .cm-hero__cta .btn{width:100%}
  .cm-press__quote p{font-size:clamp(20px,5.2vw,26px)}
  body:has(.careers) .cm-press__logo{height:56px;padding:0 12px}
  body:has(.careers) .cm-press__logo img{height:22px;max-height:22px;max-width:108px}
}
@media(prefers-reduced-motion:reduce){
  .cm-slider__track,.cm-arrow,.cm-press__logo{transition:none}
}
