/* =========================================================
   JBros — careers page. Deliberately a different feel from the
   customer site: darker, bolder, no sales nav, no storefront.
   ========================================================= */

body.careers{
  background:#080d17;
  color:#e8edf5;
}

/* ---- minimal header ---- */
.crheader{padding:1.4rem 0}
.crheader__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.crheader__logo{height:64px;width:auto;filter:drop-shadow(0 2px 12px rgba(0,0,0,.6))}
.crheader__back{
  font-size:.82rem;color:rgba(255,255,255,.55);
  transition:color .2s;white-space:nowrap;
}
.crheader__back:hover{color:#9ccafc}

/* ---- opening screen: headline fills the view, nothing else ---- */
.crhero{
  position:relative;overflow:hidden;
  /* viewport minus the logo bar, so the whole screen is just this */
  min-height:calc(100vh - 112px);
  min-height:calc(100svh - 112px);
  display:flex;flex-direction:column;justify-content:center;
  padding-bottom:5rem; /* room for the scroll prompt */
}
.crhero__glow{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(50% 60% at 18% 0%,rgba(0,78,212,.55),transparent 70%),
    radial-gradient(40% 55% at 85% 40%,rgba(66,155,248,.22),transparent 70%);
  filter:blur(8px);
}
/* same width as the cards below so the block lines up over them,
   while the text itself stays left-aligned */
.crhero__inner{position:relative;z-index:1;width:min(780px,92vw)}

/* one word per line, sized off viewport height so it fills the screen */
.crhero__title{
  font-size:min(18vh,25vw,11rem);
  line-height:1.06;letter-spacing:-.005em;
  color:#fff;
  text-shadow:0 4px 40px rgba(0,40,120,.5);
}
.crhero__title span{display:block}

/* the role, kept to a single line under the headline.
   selector outranks the generic .crhero p */
.crhero p.crhero__role{
  font-family:var(--font-head);
  font-size:min(3.4vh,4.8vw,2.1rem);
  letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;
  max-width:none;
  margin-top:clamp(1.1rem,4vh,2.6rem);line-height:1.2;
  color:rgba(232,237,245,.45);
}
.crhero__rolelabel{color:rgba(232,237,245,.45);margin-right:.2em}

/* scroll prompt */
.crscroll{
  position:absolute;left:50%;bottom:clamp(1.4rem,4vh,2.6rem);
  transform:translateX(-50%);z-index:2;
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  color:rgba(232,237,245,.45);
  font-family:var(--font-head);font-size:.68rem;
  letter-spacing:.24em;text-transform:uppercase;
  transition:color .3s;
}
.crscroll:hover{color:#9ccafc}
.crscroll__arrow{display:block;animation:crscrollbob 1.9s ease-in-out infinite}
.crscroll__arrow svg{width:22px;height:22px;display:block}
@keyframes crscrollbob{
  0%,100%{transform:translateY(0);opacity:.55}
  50%{transform:translateY(9px);opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .crscroll__arrow{animation:none}
}

/* =========================================================
   Section rhythm — every block gets room and its own identity
   ========================================================= */
.crsec{padding:clamp(4rem,13vh,8rem) 0;position:relative}

/* the shared content column every section sits inside */
.crwrap{width:min(780px,92vw);margin-inline:auto}

/* one big blue heading per section */
.crsec__head{
  font-family:var(--font-head);
  font-size:clamp(2rem,5.5vw,3.4rem);
  letter-spacing:.02em;text-transform:uppercase;
  color:var(--blue2);
  line-height:1.1;margin-bottom:1.6rem;
  text-shadow:0 2px 26px rgba(0,78,212,.45);
}

/* ---- who we are ---- */
.crintro{text-align:center}
.crintro p{
  color:rgba(232,237,245,.78);font-size:clamp(1.05rem,2vw,1.35rem);
  line-height:1.8;max-width:56ch;margin-inline:auto;
}

/* ---- the role: points strung along a vertical line ---- */
.crbullets{
  list-style:none;position:relative;
  margin:0;padding-left:1.9rem;
  display:grid;gap:1.5rem;
}
/* the spine connecting every point */
.crbullets::before{
  content:"";position:absolute;left:5px;top:.55em;bottom:.55em;width:2px;
  background:linear-gradient(180deg,
    rgba(255,255,255,.85) 0%,rgba(255,255,255,.4) 100%);
  border-radius:99px;
}
.crbullets li{
  position:relative;
  color:rgba(232,237,245,.8);
  font-size:clamp(1rem,1.8vw,1.15rem);line-height:1.65;
}
.crbullets li::before{
  content:"";position:absolute;left:-1.9rem;top:.5em;
  width:12px;height:12px;border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 4px #080d17,0 0 12px rgba(255,255,255,.45);
}


/* ---- why join: the slider holds still while the cards advance sideways.
   Pinned at 76vh (not full screen) so it never feels like a takeover. ---- */
.crwhy{position:relative;height:210vh}
.crwhy__sticky{
  position:sticky;top:12vh;top:12svh;
  height:76vh;height:76svh;
  display:flex;flex-direction:column;justify-content:center;
  overflow:hidden;
}
.crslides{overflow:hidden;padding:.4rem 0 1.2rem}
.crtrack{
  display:flex;gap:1.2rem;
  will-change:transform;
}
.crslide{flex:0 0 100%;display:flex}
.crslide__card{
  flex:1;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;padding:clamp(1.5rem,4vh,2.4rem) clamp(1.4rem,3vw,2rem);
  opacity:.3;transform:scale(.95);
  transition:opacity .45s ease,transform .45s ease,border-color .45s ease,background .45s ease;
}
.crslide.active .crslide__card{
  opacity:1;transform:none;
  border-color:rgba(66,155,248,.4);
  background:rgba(66,155,248,.07);
}
.crslide__card h3{font-size:clamp(1.15rem,2.6vw,1.6rem);color:#fff;margin-bottom:.6rem;line-height:1.25}
.crslide__card p{font-size:clamp(.92rem,1.7vw,1.1rem);color:rgba(232,237,245,.68);line-height:1.7}

/* progress dots */
.crdots{display:flex;justify-content:center;gap:.45rem;margin-top:.4rem}
.crdots button{
  width:7px;height:7px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.22);
  transition:background .3s,width .3s;
}
.crdots button.on{background:var(--blue2);width:22px;border-radius:99px}

/* ---- the earnings stat, alone on the screen ---- */
.crstatsec{
  min-height:50vh;min-height:50svh;
  display:flex;align-items:center;
  padding:clamp(2rem,5vh,3.5rem) 0;
  background:
    radial-gradient(62% 58% at 50% 50%,rgba(0,78,212,.28),transparent 72%);
}
.crstat{
  font-size:clamp(1.6rem,5vw,3.4rem);
  font-family:var(--font-head);line-height:1.25;
  color:rgba(232,237,245,.9);margin:0;
}
.crstat b{
  font-weight:inherit;
  background:linear-gradient(90deg,#6ee787,#42e2b8);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.crstat__arrow{
  display:inline-block;margin-right:.35em;
  color:var(--blue2);
  animation:crnudge 1.6s ease-in-out infinite;
}
@keyframes crnudge{
  0%,100%{transform:translateX(0)}
  50%{transform:translateX(9px)}
}
@media (prefers-reduced-motion:reduce){
  .crstat__arrow{animation:none}
}

/* ---- the attention grab before the form ---- */
.crask{
  padding:clamp(5rem,20vh,10rem) 0 0;
  background:
    radial-gradient(62% 55% at 50% 50%,rgba(0,78,212,.2),transparent 72%);
}
.crask__head{
  font-size:clamp(2.4rem,8vw,5rem);color:#fff;line-height:1.02;
  text-shadow:0 4px 40px rgba(0,40,120,.5);
}

/* the form rises up to meet them rather than sitting there waiting */
.crformsec{padding-top:clamp(1.2rem,3vh,2rem)}
.crformsec .crform{
  opacity:0;transform:translateY(110px) scale(.96);
  transition:opacity .75s cubic-bezier(.2,.75,.3,1),
             transform .75s cubic-bezier(.2,.75,.3,1);
}
.crformsec .crform.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .crformsec .crform{opacity:1;transform:none;transition:none}
}
.crform__intro{
  color:rgba(232,237,245,.6);font-size:.92rem;
  line-height:1.65;margin-bottom:1.8rem;
}

/* ---- form card ---- */
.crform{
  position:relative;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.14);
  border-radius:22px;padding:clamp(1.5rem,3.5vw,2.2rem);
  box-shadow:0 30px 70px rgba(0,0,0,.5);
}
.crform::before{
  content:"";position:absolute;inset:0;border-radius:22px;padding:1px;
  background:var(--grad);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  opacity:.5;pointer-events:none;
}
/* the two questions */
.crq{margin-bottom:2rem}
.crq__label{
  display:block;font-size:.92rem;color:#fff;
  margin-bottom:.7rem;font-weight:600;
}
.crpick{display:flex;gap:.55rem;flex-wrap:wrap}
.crpick__opt{position:relative;flex:1 1 auto;cursor:pointer}
.crpick__opt input{position:absolute;opacity:0;pointer-events:none}
.crpick__opt span{
  display:block;text-align:center;
  padding:.65rem .8rem;border-radius:11px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.03);
  font-size:.85rem;color:rgba(232,237,245,.7);
  transition:.2s;user-select:none;white-space:nowrap;
}
.crpick__opt:hover span{border-color:rgba(66,155,248,.4);color:#fff}
.crpick__opt input:checked+span{
  color:#fff;border-color:transparent;
  background:var(--grad);
  box-shadow:0 6px 20px rgba(0,78,212,.45);
}

/* contact fields */
.crfields{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:1.6rem 0 1.3rem}
.crfield--full{grid-column:1 / -1}
.crfield label{
  display:block;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(232,237,245,.55);margin-bottom:.35rem;
}
.crfield label em{color:var(--blue2);font-style:normal}
.crfield__opt{text-transform:none;letter-spacing:0;opacity:.7}
.crfield input,.crfield textarea{
  width:100%;padding:.7rem .85rem;border-radius:11px;
  background:rgba(8,13,23,.6);
  border:1px solid rgba(255,255,255,.16);
  color:#e8edf5;font-family:var(--font-body);font-size:.9rem;
  transition:border-color .2s,box-shadow .2s;
}
.crfield textarea{resize:vertical;min-height:70px;line-height:1.55}
.crfield input::placeholder,.crfield textarea::placeholder{color:rgba(232,237,245,.3)}
.crfield input:focus,.crfield textarea:focus{
  outline:none;border-color:var(--blue2);
  box-shadow:0 0 0 3px rgba(66,155,248,.22);
}
.crfield input.invalid{border-color:#e5484d;box-shadow:0 0 0 3px rgba(229,72,77,.2)}

.crform__note{
  text-align:center;font-size:.8rem;color:rgba(232,237,245,.5);
  margin-top:.9rem;line-height:1.5;
}

/* sent state */
.crsent{
  text-align:center;padding:clamp(2rem,5vw,3rem) 1rem;
}
.crsent__tick{
  width:56px;height:56px;border-radius:50%;margin:0 auto 1.1rem;
  background:var(--grad);display:grid;place-items:center;
  font-size:1.6rem;color:#fff;
  box-shadow:0 10px 30px rgba(0,78,212,.5);
}
.crsent h2{font-size:1.5rem;color:#fff;margin-bottom:.6rem}
.crsent p{color:rgba(232,237,245,.65);font-size:.95rem;line-height:1.65;max-width:42ch;margin-inline:auto}

/* ---- booking calendar shown after a successful submit ---- */
.crbook{
  margin-top:1.4rem;
  background:#fff;
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.crbook iframe{
  display:block;width:100%;height:640px;border:0;
}
.crbook__note{
  text-align:center;margin-top:1rem;
  color:rgba(232,237,245,.55);font-size:.85rem;
}
.crbook__note a{color:#9ccafc;font-weight:600}
.crbook__note a:hover{color:#fff}

.crfoot{text-align:center;margin-top:2rem}
.crfoot p{color:rgba(232,237,245,.5);font-size:.88rem}
.crfoot a{color:#9ccafc;font-weight:600}
.crfoot a:hover{color:#fff}

@media (max-width:640px){
  .crheader__logo{height:52px}
  .crfields{grid-template-columns:1fr}
  .crpick{flex-direction:column}
  .crpick__opt span{text-align:left}

  /* phones: shorter logo bar to subtract from the opening screen */
  .crheader{padding:1.6rem 0 .6rem}
  .crhero{
    min-height:calc(100vh - 96px);
    min-height:calc(100svh - 96px);
    padding-bottom:4.5rem;
  }

  /* keep the generous rhythm, just a touch tighter */
  .crsec{padding:clamp(3.2rem,10vh,5rem) 0}
  .crsec__head{margin-bottom:1.4rem}
  .crbullets{gap:1.3rem}
  .crwhy{height:200vh}
  .crwhy__sticky{top:10svh;height:78svh}
  .crslide__card{padding:1.5rem 1.4rem}

  /* these two set their own rhythm — must come after the .crsec rule above */
  .crstatsec{min-height:46svh;padding:2rem 0}
  .crask{padding:5.5rem 0 0}
  .crformsec{padding-top:1.2rem}

  .crbook iframe{height:580px}
  .crform{padding:1.6rem 1.4rem}
  .crq{margin-bottom:1.9rem}
  .crfields{margin:2rem 0 1.6rem;gap:1rem}
  .crform__note{margin-top:1.1rem}
  .crfoot{margin-top:2.6rem}
}

/* ---- pick a role: two cards, each opens its own page ---- */
.crroles__grid{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
.crrolecard{
  display:flex;flex-direction:column;gap:.7rem;
  padding:clamp(1.5rem,3.5vw,2.1rem);border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  transition:border-color .3s,background .3s,transform .3s,box-shadow .3s;
}
.crrolecard:hover{
  border-color:rgba(66,155,248,.5);background:rgba(66,155,248,.08);
  transform:translateY(-4px);box-shadow:0 18px 44px rgba(0,40,120,.35);
}
.crrolecard__icon{
  width:58px;height:58px;border-radius:16px;display:grid;place-items:center;
  color:#fff;background:var(--grad);
  box-shadow:0 10px 26px rgba(0,78,212,.45);margin-bottom:.3rem;
}
.crrolecard__icon svg{width:34px;height:34px}
.crrolecard h3{
  font-family:var(--font-head);font-weight:400;
  font-size:clamp(1.5rem,3.4vw,2rem);line-height:1.1;color:#fff;
  text-transform:uppercase;letter-spacing:.02em;
}
.crrolecard p{color:rgba(232,237,245,.75);font-size:1.15rem;line-height:1.5;flex:1}
.crrolecard__go{
  display:inline-flex;align-items:center;gap:.45rem;margin-top:.4rem;
  font-family:var(--font-head);font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--blue2);
}
.crrolecard__go i{font-style:normal;transition:transform .3s}
.crrolecard:hover .crrolecard__go i{transform:translateX(5px)}

/* second bullet block on the technician page sits closer to the first */
.crlooking{padding-top:0}
.crbullets b{color:#fff;font-weight:600}

.crfoot__other{margin-top:.6rem}

@media (max-width:640px){
  .crroles__grid{grid-template-columns:1fr}
}

/* role pages: the role name is the headline, sized so the longest word fits a phone */
.crhero__title--role{font-size:min(13vh,14vw,8.5rem)}
