/* ===== Force theme font everywhere on this template ===== */
body .careers-page,
body .careers-page * ,
body .careers-page h1,
body .careers-page h2,
body .careers-page h3,
body .careers-page h4,
body .careers-page h5,
body .careers-page h6,
body .careers-page p,
body .careers-page li,
body .careers-page strong,
body .careers-page em {
  font-family: "Inter", sans-serif !important;
}

/* Tighten & bold headings globally */
body .careers-page h1,
body .careers-page h2,
body .careers-page h3,
body .careers-page h4,
body .careers-page h5,
body .careers-page h6 {
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

/* Container */
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* ========== HERO / INTRO ========== */
.careers-hero {
  padding: clamp(160px, 22vw, 160px) 0 clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
}

.careers-hero__title {
  margin: 0 0 16px;
  color: #111;
  text-transform: capitalize;
  font-weight: 700;
  line-height: .98;
  font-size: clamp(42px, 10vw, 120px);
  font-family: "Inter", sans-serif;
  letter-spacing: -0.03em;
}

.careers-hero__sub {
  margin: 0 0 48px;
  color: #111;
  font-weight: 700;
  text-transform: capitalize;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.03em;
  font-family: "Inter", sans-serif;
}

.intro-card__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.intro-card__copy {
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 26px 32px;
  max-width: 720px;
  text-align: left;
}

.intro-card__copy .wysiwyg p {
  color: #fff;
  line-height: 1.7;
}

.intro-card__badge img {
  max-height: 140px;
  width: auto;
}

@media (max-width: 900px) {
  .careers-hero { padding-top: clamp(170px, 24vw, 210px); }
  .intro-card__grid { grid-template-columns: 1fr; }
  .intro-card__badge { justify-self: center; }
}

/* ========== WHO WE ARE & VALUES ========== */
.who{ padding:clamp(60px,8vw,100px) 0; }
.who__grid{
  display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(24px,5vw,56px);
  align-items:center;
}
.who__left{ display:flex; flex-direction:column; justify-content:center; }
.who__title{
  margin:0; color:#111; text-transform:capitalize;
  font-weight:700; line-height:.98; font-size:clamp(30px,11vw,90px);
  letter-spacing:-0.03em;
}
.who__title::before{ content:none; }
.who__intro{ margin:10px 0 14px; }
.who__values-intro{ font-weight:800; font-size: 18px; margin:6px 0 12px; }
.who__values{ list-style:disc; padding-left:20px; margin:0 0 10px; }
.who__values li{ margin:10px 0; font-size: 16px; line-height:1.4; }
.who__values-footer{ margin-top:10px; }
@media(max-width:900px){ .who__grid{ grid-template-columns:1fr; } }

/* ========== OUR CULTURE ========== */
.culture{ padding:clamp(60px,8vw,100px) 0; position:relative; }
.culture__grid{
  display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(24px,5vw,56px);
  align-items:center;
}
.culture__left{ display:flex; flex-direction:column; justify-content:center; }
.culture__title{
  position:relative; margin:0; color:#111; text-transform:capitalize;
  font-weight:700; line-height:.98; font-size:clamp(30px,11vw,90px);
  letter-spacing:-0.03em;
}
.culture__title::after{
  content:""; position:absolute; left:-18px; top:22%; width:140px; height:98px;
  background:#f4c433; border-radius:2px; z-index:-1;
}
.culture__intro{ font-weight:700; font-size:18px; margin:8px 0 12px; }
.bullets{ list-style:disc; padding-left:20px; margin:0; }
.bullets li{ line-height:1.8; font-size:16px; margin:10px 0; }
@media(max-width:900px){
  .culture__grid{ grid-template-columns:1fr; }
  .culture__title::after{ left:-10px; }
}

/* ========== BENEFITS & PERKS ========== */
.benefits{ padding:clamp(60px,8vw,110px) 0; }
.benefits__grid{
  display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(24px,5vw,56px);
  align-items:center;
}
.benefits__right{ display:flex; flex-direction:column; justify-content:center; }
.benefits__title{
  order:2; margin:0; color:#111; text-transform:capitalize;
  font-weight:700; line-height:.98; font-size:clamp(30px,11vw,90px);
  letter-spacing:-0.03em;
  text-align:left;
}
.benefits__eyebrow{ margin-bottom:8px; font-size:18px; font-weight:700; }
@media(max-width:900px){
  .benefits__grid{ grid-template-columns:1fr; }
  .benefits__title{ order:1; }
}

/* ========== CAREER PATHS ========== */
.paths{ padding:clamp(60px,8vw,110px) 0; }
.paths__grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(24px,5vw,56px);
  align-items:center;
}
.paths__left{ display:flex; flex-direction:column; justify-content:center; }
.paths__title{
  margin:0 0 8px; color:#111; text-transform:capitalize;
  font-weight:700; line-height:.98; font-size:clamp(30px,11vw,90px);
  letter-spacing:-0.03em;
}
.paths__sub{ font-weight:700; font-size:18px; margin:6px 0 12px; }
.paths .bullets{ list-style:disc; padding-left:20px; }
.paths .bullets li{ margin:10px 0; line-height:1.8; }
.paths__images{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.paths__images img{ width:100%; height:170px; object-fit:cover; border-radius:8px; }
@media(max-width:900px){
  .paths__grid{ grid-template-columns:1fr; }
  .paths__left{ justify-content:flex-start; }
  .paths__images img{ height:150px; }
}

/* ========== TESTIMONIALS (ONE CARD, GAP, OUTSIDE ARROWS) ========== */
.team{ padding:clamp(60px,8vw,110px) 0; position:relative; }

.team__grid{
  display:grid;
  grid-template-columns:minmax(560px,1fr) minmax(340px,520px);
  column-gap:clamp(28px,5vw,64px);
  align-items:start;
}
.team__bg{ 
  grid-column:1; 
  grid-row:1; 
  position:relative; 
  overflow:visible; 
  isolation:isolate; 
}
.team__left{ 
  grid-column:2; 
  grid-row:1; 
  display:flex; 
  justify-content:flex-start; 
  text-align:center; 
}
.team__title{
  margin:0; 
  color:#111; 
  text-transform:uppercase; 
  font-weight:900; 
  line-height:.94;
  font-size:clamp(42px,9vw,120px); 
  letter-spacing:-.02em; 
  max-width:12ch; 
  margin-inline:auto;
}

/* ----- slider track: one card per view, no peek ----- */
.team__bg{ --slide-gap: clamp(16px,2vw,28px); }
.team__list{
  display:flex; 
  flex-wrap:nowrap;
  gap:0;                      
  padding:0;                  
  width:100%;
  overflow-x:auto;
  overscroll-behavior:contain;
  scroll-snap-type:x mandatory;
  scroll-snap-stop:always;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.team__list::-webkit-scrollbar{ display:none; }

/* ----- slides: full width + visual space AFTER each card ----- */
.team-card{
  box-sizing:border-box;
  flex:0 0 100%;              
  max-width:100%;
  min-width:0;                
  margin-right:var(--slide-gap);   
  scroll-snap-align:start;

  background:#f4c433;
  padding:clamp(18px,2.4vw,28px);
  border-radius:12px;
  text-align:center;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  overflow-wrap:anywhere; 
  word-break:break-word;
}
.team-card:last-child{ margin-right:0; }

.team-card blockquote{
  margin:0 0 10px;
  font-weight:600;
  font-size:clamp(15px,1.1vw,17px);
  line-height:1.75; 
  color:#111;
}
.team-card figcaption{ 
  font-size:14px; 
  line-height:1.6; 
  color:#111; 
  font-weight:700; 
}

/* ----- arrows: OUTSIDE on desktop, never over the card ----- */
.team__arrow{
  position:absolute; 
  top:50%; 
  transform:translateY(-50%);
  width:44px; 
  height:44px; 
  display:grid; 
  place-items:center;
  background:#f4c433; 
  color:#111; 
  border:none; 
  border-radius:10px;
  box-shadow:0 6px 16px rgba(0,0,0,.12); 
  cursor:pointer; 
  font-size:18px; 
  font-weight:700;
  z-index:3; 
  transition:transform .2s ease;
}
.team__arrow:hover{ transform:translateY(-50%) scale(1.05); }
.team__arrow--prev{ left:-28px; }   
.team__arrow--next{ right:-28px; }

/* ----- mobile/tablet adjustments: keep arrows inside safely + add side padding ----- */
@media (max-width:1024px){
  .team__grid{ grid-template-columns:1fr; row-gap:16px; }
  .team__left{ grid-column:1; grid-row:1; }
  .team__bg{ grid-column:1; grid-row:2; --slide-gap:16px; }

  /* more inner padding for text */
  .team-card{ 
    flex-basis:100%; 
    max-width:100%; 
    margin-right:var(--slide-gap); 
    padding-left:clamp(28px,6vw,40px);
    padding-right:clamp(28px,6vw,40px);
  }

  /* smaller, moved-in arrows */
  .team__arrow{ 
    width:32px; 
    height:32px; 
    font-size:14px;
  }
  .team__arrow--prev{ left:8px; }
  .team__arrow--next{ right:8px; }
}

/* ========== OPEN POSITIONS ========== */
.positions{ padding:clamp(60px,8vw,110px) 0; position:relative; }
.positions__grid-main{
  position:relative; display:grid; grid-template-columns:1.3fr .8fr; gap:clamp(24px,5vw,56px);
  align-items:center;
}
.positions__left,
.positions__right{ position:relative; z-index:1; display:flex; flex-direction:column; justify-content:center; }

.positions__bg{
  position:absolute; left:0; right:0; bottom:0;
  height:clamp(70px,12vw,140px);
  background:#f4c433; border-radius:8px; z-index:0;
}

.positions__title{
  margin:0 0 14px; color:#111; text-transform:capitalize;
  font-weight:700; line-height:.98; font-size:clamp(30px,11vw,90px);
  letter-spacing:-0.03em;
}
.positions__sub{ font-weight:700; margin:0 0 12px; }

.positions__cards{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}
.position-card{ border-radius:8px; overflow:hidden; background:transparent; }
.position-card__media img{ width:100%; height:300px; object-fit:cover; display:block; }
.position-card__bar{ background:#f4c433; text-transform:capitalize; font-weight:700; padding:10px 12px; }

@media(max-width:1100px){
  .positions__cards--slider{
    display:grid; grid-auto-flow:column; grid-auto-columns:80%;
    overflow-x:auto; gap:14px; padding-bottom:6px;
    scroll-snap-type:x mandatory;
  }
  .positions__cards--slider > .position-card{ scroll-snap-align:start; }
}
@media(max-width:700px){
  .positions__cards--slider{ grid-auto-columns:88%; }
}

.positions__right{ padding-bottom:clamp(80px,12vw,150px); }
.positions__cta .btn{ background:#111; color:#fff; border-radius:999px; padding:10px 18px; display:inline-block; }
.positions__footer{ margin-top:14px; line-height:1.7; }

@media(max-width:900px){
  .positions__grid-main{ grid-template-columns:1fr; align-items:start; }
  .positions__left, .positions__right{ justify-content:flex-start; }
  .position-card__media img{ height:180px; }
}

/* ========== OUR TEAM (Grid) ========== */
.teamgrid{
  padding:clamp(60px,8vw,110px) 0;
  text-align:center;
}
.teamgrid__title{
  margin:0 0 18px;
  color:#111;
  font-weight:800;              /* bold, to match your headings */
  letter-spacing:-0.02em;       /* a little tighter like the rest */
  text-transform:capitalize;    /* you switched headings to Cap Case */
  line-height:.98;
  font-size:clamp(30px,11vw,68px);
  font-family: inherit;
}

.teamgrid__grid{
  list-style:none;
  padding:0;
  margin:24px 0 0;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:18px;
}
@media (max-width:1024px){
  .teamgrid__grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:900px){
  .teamgrid__grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:520px){
  .teamgrid__grid{ grid-template-columns:1fr; }
}

.teamcard{ text-align:left; }
.teamcard__link{
  display:block;
  text-decoration:none;
  color:inherit;
}

.teamcard__media img{
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

.teamcard__meta{ margin-top:10px; }
.teamcard__name{
  display:block;
  font-weight:800;
  letter-spacing:-0.01em;
  text-transform:capitalize;
  font-family: inherit;
}
.teamcard__role{
  display:block;
  opacity:.85;
  margin-top:2px;
  font-weight:600;
  font-family: inherit;
}

.teamcard__link:hover .teamcard__name{
  text-decoration:underline;
}

/* ========== CTA ========== */
.cta{ padding:clamp(70px,10vw,120px) 0; text-align:center; position:relative; }
.cta__box{ display:flex; flex-direction:column; align-items:center; justify-content:center; }
.cta__title{
  position:relative; margin:0 0 10px; color:#111; text-transform:capitalize;
  font-weight:700; line-height:.98; font-size:clamp(30px,11vw,90px);
  letter-spacing:-0.03em;
  display:inline-block; padding:6px 10px;
}
.cta__title::after{
  content:""; position:absolute; left:-14px; top:50%; transform:translateY(-50%);
  width:210px; height:40px; background:#f4c433; z-index:-1; border-radius:4px; opacity:.95;
}
.btn--primary{ background:#f4c433; color:#111; border-radius:999px; padding:10px 18px; display:inline-block; }
@media(max-width:600px){ .cta__title::after{ width:70%; left:-8px; height:24px; } }