/* ==========================================================================
   Iron Woman — Careers index + Job detail
   Reproduces design_files/Careers.dc.html and Job *.dc.html
   ========================================================================== */

/* ---------- Job hero ---------- */
.job-hero { padding: clamp(132px, 19vh, 220px) var(--pad-x) clamp(40px, 6vh, 60px); }
.job-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: clamp(26px, 4vh, 42px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--light-6);
}
.job-breadcrumb a { color: var(--light-6); transition: color var(--t-fast); }
.job-breadcrumb a:hover { color: #fff; }
.job-breadcrumb .sep { color: var(--accent); }
.job-hero__title { color: var(--light); max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4.2rem); }

.job-meta {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); margin: 0;
  margin-top: clamp(28px, 4vh, 44px); padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--bd-dark-18);
}
.job-meta__item dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--light-5);
}
.job-meta__item dd {
  margin: 6px 0 0; font-family: var(--font-sans); font-size: 15px; color: var(--light-body);
}
.job-hero__apply {
  margin-top: clamp(28px, 4vh, 40px);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--btn-text);
  background: var(--accent); border: 1px solid var(--accent);
  transition: background var(--t-base), color var(--t-base);
}
.job-hero__apply:hover { background: transparent; color: var(--light); }

/* ---------- (01) The role ---------- */
.job-role__grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); }
.job-role__label { flex: 0 1 240px; min-width: 170px; }
.job-role__body { flex: 1 1 560px; max-width: 1000px; }
.job-role__lead {
  font-family: var(--font-sans); font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.3rem); line-height: 1.34;
  letter-spacing: -.008em; color: var(--ink-strong);
}

/* ---------- (04) What we offer ---------- */
.job-offer__title { color: var(--ink); max-width: 20ch; margin-bottom: clamp(34px, 5vh, 58px); }
.benefit-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}
.benefit-card {
  display: flex; flex-direction: column;
  min-height: clamp(186px, 21vh, 224px);
}
.benefit-card__top { display: flex; align-items: center; justify-content: space-between; }
.benefit-card__square { width: 9px; height: 9px; background: var(--accent); display: block; }
.benefit-card__index {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--faint);
}
.benefit-card__title { margin: auto 0 10px; font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.6rem); color: var(--ink); }
.benefit-card__desc {
  font-family: var(--font-sans); font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.5; color: var(--card-desc);
}

/* ---------- (05) Apply ---------- */
.job-apply__grid { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 100px); }
.job-apply__intro { flex: 1 1 300px; max-width: 430px; }
.job-apply__title { color: var(--light); max-width: 14ch; margin-bottom: 16px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.job-apply__copy {
  font-family: var(--font-sans); font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6; color: var(--light-7); max-width: 42ch;
}
.job-apply__copy a { color: var(--light); }
.job-apply__form { flex: 1 1 460px; max-width: 680px; }

/* Static fallback + Gravity Forms share the dark form layout */
.job-form { display: flex; flex-direction: column; gap: clamp(20px, 2.6vh, 26px); }
.job-form__row { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.6vw, 30px); }
.job-form__field { flex: 1 1 220px; }
.job-form .btn { align-self: flex-start; margin-top: 6px; }
.job-form .btn:hover { background: var(--light); color: var(--dark); border-color: var(--light); }

/* ---------- Careers index ---------- */
.careers-hero { padding: clamp(128px, 18vh, 210px) var(--pad-x) clamp(48px, 7vh, 80px); }
.careers-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 4vh, 46px); }
.careers-hero__eyebrow span.sq { width: 8px; height: 8px; background: var(--accent); }
.careers-hero__title { max-width: 15ch; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.careers-hero__lead {
  margin-top: clamp(26px, 3.6vh, 40px); font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.42; color: var(--body); max-width: 52ch;
}
.careers-creed {
  display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 40px);
  margin-top: clamp(28px, 4vh, 44px);
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--ink);
}
.careers-creed .dot { color: var(--accent); }

.roles-list { }
.role-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; padding: clamp(24px, 3.4vh, 36px) clamp(2px, 1vw, 14px) clamp(24px, 3.4vh, 36px) 0;
  border-top: 1px solid var(--bd-light-2); color: var(--ink);
  transition: background var(--t-base), padding-left var(--t-base);
}
.role-row:last-child { border-bottom: 1px solid var(--ink); }
.role-row:hover { background: rgba(190, 58, 43, .04); padding-left: 16px; }
.role-row__main { display: flex; align-items: baseline; gap: clamp(16px, 2vw, 28px); flex-wrap: wrap; }
.role-row__index { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.role-row__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.04; margin: 0; }
.role-row__meta { display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); flex-wrap: wrap; }
.role-row__tags {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mono-muted);
}
.role-row__apply {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); white-space: nowrap;
}
.careers-foot {
  margin-top: clamp(34px, 5vh, 52px); font-size: 15px; line-height: 1.6;
  color: var(--muted); max-width: 64ch;
}
.careers-foot a { color: var(--accent); }
.careers-foot a:hover { text-decoration: underline; }

/* Reveal-on-scroll is defined globally in base.css (html.js-guarded). */

/* Careers index: benefits section ahead of the open roles. */
.careers-benefits .job-offer__title:has(+ .careers-benefits__intro) { margin-bottom: 18px; }
.careers-benefits__intro {
  max-width: 62ch; margin-bottom: clamp(34px, 5vh, 58px);
  font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.65; color: var(--ink-strong-2, var(--ink));
}
.careers-benefits__intro p + p { margin-top: 12px; }

/* Pay details under the job meta row (Colorado pay transparency). */
.job-meta__note {
  margin: 14px 0 0; max-width: 70ch;
  font-size: 14px; line-height: 1.6; color: var(--light-7);
}

/* Closed job: hero note + apply section without a form. */
.job-hero__closed {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(28px, 4vh, 40px); padding: 11px 16px;
  border: 1px solid var(--bd-dark-28);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--light-7);
}
.job-hero__closed-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--light-40); }
.job-apply--closed .job-apply__title { max-width: 22ch; }
.job-apply__closed-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vh, 32px); }
