/* =========================================================
   CAREERS PAGE
   ========================================================= */

.careers-page{ background: #fff; }
.careers-page .topnav--always-solid{ background: var(--navy); }


/* --------------------------------------------------------- */
/* Intro                                                     */
/* --------------------------------------------------------- */
.careers-intro{
  padding: calc(var(--nav-h-scrolled) + clamp(56px, 7vw, 104px)) 0 clamp(56px, 7vw, 96px);
  background: #fff;
  border-bottom: 1px solid var(--rule-soft);
}
.careers-intro__title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin: 28px 0 32px;
  max-width: 30ch;
}
.careers-intro__lede{
  font-size: 17px;
  line-height: 1.65;
  color: #2D3346;
  max-width: 60ch;
  margin: 0;
}


/* --------------------------------------------------------- */
/* Values — 3-up editorial blocks                            */
/* --------------------------------------------------------- */
.careers-values{
  padding: clamp(64px, 8vw, 112px) 0;
  background: #fff;
  border-bottom: 1px solid var(--rule-soft);
}
.careers-values__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.careers-value{
  display: flex;
  flex-direction: column;
}
.careers-value__num{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--gold);
  margin: 0 0 28px;
  letter-spacing: .02em;
}
.careers-value__title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 18px;
}
.careers-value__body{
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(15,31,54,.72);
  margin: 0;
  max-width: 36ch;
}


/* --------------------------------------------------------- */
/* Apply — section header                                    */
/* --------------------------------------------------------- */
.careers-apply{
  padding: clamp(72px, 9vw, 128px) 0 clamp(96px, 11vw, 160px);
  background: #fff;
}
.careers-apply__inner{
  max-width: 920px;
}
.careers-apply__head{
  margin-bottom: clamp(40px, 5vw, 64px);
}
.careers-apply__title{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--navy);
  margin: 22px 0 22px;
}
.careers-apply__lede{
  font-size: 16px;
  line-height: 1.65;
  color: rgba(15,31,54,.72);
  margin: 0;
  max-width: 56ch;
}


/* --------------------------------------------------------- */
/* Form                                                      */
/* --------------------------------------------------------- */
.careers-form{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.careers-form__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.careers-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.careers-field--full{ grid-column: 1 / -1; }
.careers-field--half{ grid-column: auto; }

.careers-field__label{
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,31,54,.62);
}
.careers-field__opt,
.careers-field__hint{
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: none;
  color: rgba(15,31,54,.42);
  font-size: 11px;
  margin-left: 4px;
}
.careers-field__input{
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1px solid rgba(15,31,54,.22);
  padding: 0 16px;
  font-family: var(--font-body);
  /* 16px minimum to prevent iOS Safari auto-zoom on focus */
  font-size: 16px;
  color: var(--navy);
  outline: none;
  border-radius: 0;
  transition: border-color .18s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.careers-field__input::placeholder{
  color: rgba(15,31,54,.34);
}
.careers-field__input:hover{ border-color: rgba(15,31,54,.42); }
.careers-field__input:focus{
  border-color: var(--navy);
  box-shadow: inset 0 -1px 0 var(--navy);
}
.careers-field__textarea{
  height: auto;
  padding: 14px 16px;
  font-family: var(--font-body);
  line-height: 1.55;
  resize: vertical;
  min-height: 120px;
}

/* File upload control */
.careers-file{
  position: relative;
}
.careers-file__input{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.careers-file__face{
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px dashed rgba(15,31,54,.30);
  background: rgba(15,31,54,.02);
  color: rgba(15,31,54,.62);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.careers-file__face:hover,
.careers-file__input:focus + .careers-file__face{
  border-color: var(--navy);
  background: rgba(25,59,102,.04);
  color: var(--navy);
}
.careers-file__face svg{
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.careers-file__placeholder,
.careers-file__filename{
  display: inline-block;
  font-size: 14px;
  word-break: break-word;
}
.careers-file__filename{
  color: var(--navy);
  font-weight: 500;
}
.careers-file.is-filled .careers-file__placeholder{ display: none; }
.careers-file.is-filled .careers-file__face{
  border-style: solid;
  border-color: var(--navy);
  background: rgba(25,59,102,.04);
  color: var(--navy);
}

/* Honeypot — visually & semantically hidden */
.careers-form__honeypot{
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Consent */
.careers-form__consent{
  margin-top: 4px;
}
.careers-consent{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(15,31,54,.66);
  cursor: pointer;
}
.careers-consent input[type="checkbox"]{
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.careers-consent a{
  color: var(--navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Actions row */
.careers-form__actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.careers-form__status{
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(15,31,54,.66);
}
.careers-form__status.is-error{ color: #A82E2E; }
.careers-form__status.is-success{ color: #246A3B; }

.careers-form__submit{
  position: relative;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--navy);
  color: #fff;
  border: 0;
  padding: 16px 32px;
  cursor: pointer;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background .2s var(--ease), opacity .2s var(--ease);
}
.careers-form__submit:hover:not(:disabled){
  background: var(--navy-deep);
}
.careers-form__submit:disabled{
  background: rgba(15,31,54,.18);
  color: rgba(255,255,255,.7);
  cursor: not-allowed;
}
.careers-form__submit-spinner{
  display: none;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: careers-spin .7s linear infinite;
}
.careers-form__submit.is-loading .careers-form__submit-spinner{ display: inline-block; }
@keyframes careers-spin{ to{ transform: rotate(360deg); } }


/* --------------------------------------------------------- */
/* Responsive                                                */
/* --------------------------------------------------------- */
@media (max-width: 900px){
  .careers-values__grid{ grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px){
  .careers-form__grid{ grid-template-columns: 1fr; gap: 22px; }
  .careers-field--half{ grid-column: 1 / -1; }
  .careers-form__actions{ flex-direction: column; align-items: stretch; }
  .careers-form__submit{ width: 100%; }
}
