/* ==========================================================================
   ARKHOS ENERGY: Careers page
   Only components that are new to this page, built from style.css tokens.
   ========================================================================== */

/* ---------- Helpers ---------- */
.grid-3-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3-1 { grid-template-columns: minmax(0, 1fr); } }

.page-hero__content .cluster { margin-top: 8px; }
.feature .chain__specs { margin-top: 4px; }
/* Why Arkhos: keep the spec lines of the three features on one baseline */
.why-features .feature { grid-template-rows: auto auto 1fr auto; }

/* Spec lists: dt on top, dd straight under it (style.css stretches both rows when cells differ in height) */
.specs > div { align-content: start; }

/* Section-head asides with more than one child need a gap once the split collapses */
@media (max-width: 959px) {
  .section-head__aside { display: grid; gap: 20px; justify-items: start; }
}

/* Consent checkbox sits inside a .field (so main.js validates it) but keeps body type */
.field > .check {
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
}
.form-success__icon { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--up); }
.section--light .form-success__icon { color: var(--sea-ink); }

/* ---------- Career area cards ---------- */
.area-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 18px;
  min-width: 0;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 70%, transparent) 0%, color-mix(in srgb, var(--surface) 40%, transparent) 100%);
  transition: border-color .35s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.area-card:hover { border-color: rgba(255, 139, 43, 0.55); transform: translateY(-4px); box-shadow: var(--shadow); }
.area-card:focus-within { outline: 2px solid var(--flare); outline-offset: 3px; }
.area-card a:focus-visible { outline: none; }
.area-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.area-card__icon {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--rule-strong);
  color: var(--accent-text);
  transition: background .35s var(--ease), border-color .35s, color .35s;
}
.area-card__icon svg { width: 25px; height: 25px; }
.area-card:hover .area-card__icon { background: var(--flare); border-color: var(--flare); color: var(--petrol-950); }
.area-card__count {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.area-card__count b {
  font-family: var(--font-display); font-stretch: 112%; font-weight: 700;
  font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.area-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.area-card p { color: var(--text-2); font-size: 0.98rem; }
/* Cards in one row share their row tracks, so tag rules and links line up across the row */
@supports (grid-template-rows: subgrid) {
  .area-card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 18px; }
}
.area-card__body { display: grid; gap: 14px; align-content: start; min-width: 0; }
/* Tag list: separators sit in the column gap; the one that would start a wrapped line is clipped */
.area-card__tags {
  list-style: none;
  display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 4px;
  overflow: hidden;
  padding-top: 14px; border-top: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; line-height: 1.6; color: var(--muted);
}
.area-card__tags li { position: relative; white-space: nowrap; }
.area-card__tags li::before { content: "\00B7"; position: absolute; left: -14px; width: 6px; text-align: center; }
.area-card__cta { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-weight: 500; color: var(--text); transition: color .3s; }
.area-card__cta svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.area-card:hover .area-card__cta { color: var(--accent-text); }
.area-card:hover .area-card__cta svg { transform: translateX(4px); }

/* ---------- Life at Arkhos ---------- */
@media (min-width: 901px) {
  .life { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: start; }
}
@media (min-width: 901px) and (min-height: 820px) {
  .life__media { position: sticky; top: 132px; }
}
@media (max-width: 900px) {
  /* Heading and benefits first on narrow screens; photo and rota details follow */
  .life > .stack { order: -1; }
}
/* Soft scrim so the white caption stays legible over the bright desk */
.life .media-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(180deg, rgba(5, 15, 21, 0) 0%, rgba(5, 15, 21, 0.72) 100%); pointer-events: none; }
.life .media-caption { z-index: 1; }
.life__media .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.life__media .specs dd { font-size: 1rem; }
@media (max-width: 560px) {
  .life__media .specs { grid-template-columns: minmax(0, 1fr); }
  .life__media .specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; }
  .life__media .specs dd { text-align: right; }
}

.benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 36px);
  border-top: 1px solid var(--rule-strong);
}
.benefit {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 16px;
  align-content: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.benefit__icon {
  grid-row: span 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 139, 43, 0.1);
  border: 1px solid rgba(255, 139, 43, 0.28);
  color: var(--flare);
}
.benefit__icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 1.04rem; font-weight: 650; font-stretch: 105%; line-height: 1.3; letter-spacing: -0.005em; }
.benefit p { font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Early careers: program panels ---------- */
.program { display: grid; gap: 18px; align-content: start; }
.program__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.program > p { color: var(--text-2); }
.program .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 6px; }

/* ---------- Early careers: 24-month rotation diagram (to scale) ---------- */
.rotation {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.rotation__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.rotation__legend {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.rotation__legend li { display: inline-flex; align-items: center; gap: 10px; }
.rotation__key, .rotation__mark { width: 10px; height: 10px; flex: none; }
.rotation__key--module, .rotation__mark--module { background: var(--text); transform: rotate(45deg); }
.rotation__key--review, .rotation__mark--review { border-radius: 50%; border: 2px solid var(--flare-ink); background: var(--surface); }

.rotation__chart { display: grid; gap: 10px; }
.rotation__scale {
  position: relative; list-style: none; height: 30px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  background: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px calc(100% / 24)) left bottom / 100% 7px no-repeat;
  border-bottom: 1px solid var(--rule-strong);
}
.rotation__scale::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 7px; background: var(--rule-strong); }
.rotation__scale li { position: absolute; top: 0; left: calc(var(--m) / 24 * 100%); transform: translateX(-50%); white-space: nowrap; }
.rotation__scale li:first-child { transform: none; }
.rotation__scale li:last-child { transform: translateX(-100%); }

.rotation__track { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.rotation__bar {
  display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden;
  min-height: 46px; padding: 0 clamp(10px, 1.4vw, 16px);
  border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.rotation__bar span { opacity: 0.7; }
.rotation__bar--1 { background: var(--flare); color: #170a02; }
.rotation__bar--2 { background: var(--petrol-600); color: var(--fg); }
.rotation__bar--3 { background: var(--sea-ink); color: #fff; }

/* Two marker lanes on the same 24-month grid: Foundations weeks above, reviews below */
.rotation__marks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  grid-template-rows: 20px 20px;
  align-items: center;
  background:
    linear-gradient(var(--rule), var(--rule)) left 10px / 100% 1px no-repeat,
    linear-gradient(var(--rule), var(--rule)) left 30px / 100% 1px no-repeat;
}
.rotation__mark { grid-column: var(--m); }
.rotation__mark--module { grid-row: 1; justify-self: center; }
.rotation__mark--review { grid-row: 2; justify-self: end; }

.rotation__notes { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.rotation__note {
  --note: var(--flare);
  display: grid; gap: 10px; align-content: start; min-width: 0;
  padding: 18px clamp(12px, 2vw, 28px) 0 0;
  border-top: 3px solid var(--note);
}
.rotation__note--1 { --note: var(--flare); }
.rotation__note--2 { --note: var(--petrol-600); }
.rotation__note--3 { --note: var(--sea-ink); }
.rotation__note > p { color: var(--text-2); font-size: 0.95rem; }
.rotation__note .rotation__months { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.rotation__note .rotation__eg { font-size: 0.85rem; color: var(--muted); }
.rotation figcaption { max-width: 82ch; }
@media (max-width: 760px) {
  .rotation__notes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .rotation__unit { display: none; }
  .rotation__bar { padding: 0 8px; font-size: 0.64rem; letter-spacing: 0.05em; }
  .rotation__bar span { display: none; }
  .rotation__key, .rotation__mark { width: 8px; height: 8px; }
}

/* ---------- Early careers: how-to-apply stepper ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { position: relative; display: grid; gap: 18px; align-content: start; min-width: 0; padding-right: clamp(14px, 2vw, 28px); }
.step::before { content: ""; position: absolute; top: 28px; left: 70px; right: 14px; height: 1px; background: var(--rule-strong); }
.step::after {
  content: ""; position: absolute; top: 24.5px; right: 15px; width: 7px; height: 7px;
  border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted);
  transform: rotate(45deg);
}
.step:last-child::before, .step:last-child::after { display: none; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; color: var(--text);
}
.step:last-child .step__num { background: var(--flare); border-color: var(--flare); color: #170a02; }
.step__body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.step__body > p { color: var(--text-2); font-size: 0.95rem; }
.step__body .step__time { margin-top: 4px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 0 0 30px; }
  .step:last-child { padding-bottom: 0; }
  .step__body { padding-top: 14px; }
  .step::before { top: 64px; bottom: 8px; left: 28px; right: auto; width: 1px; height: auto; }
  .step::after { display: none; }
}

/* ---------- Early careers: intake table ---------- */
.intake-table { min-width: 880px; }
.intake-table td { white-space: nowrap; }
.intake-table td:nth-child(6) { white-space: normal; min-width: 200px; }
/* Below 961px each program becomes a compact card instead of a 7-column scroll */
@media (max-width: 960px) {
  .intake-table { min-width: 0; }
  .intake-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .intake-table, .intake-table tbody { display: block; }
  .intake-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "status status" "prog prog" "open close" "start len" "loc loc";
    gap: 14px 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--rule);
  }
  .intake-table tbody tr:hover { background: none; }
  .intake-table td { display: grid; gap: 4px; align-content: start; padding: 0; border: 0; white-space: normal; min-width: 0; }
  .intake-table td::before {
    content: attr(data-label);
    font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  }
  .intake-table td:nth-child(1) { grid-area: prog; font-family: var(--font-display); font-stretch: 106%; font-weight: 650; font-size: 1.12rem; line-height: 1.25; }
  .intake-table td:nth-child(2) { grid-area: open; }
  .intake-table td:nth-child(3) { grid-area: close; }
  .intake-table td:nth-child(4) { grid-area: start; }
  .intake-table td:nth-child(5) { grid-area: len; }
  .intake-table td:nth-child(6) { grid-area: loc; min-width: 0; }
  .intake-table td:nth-child(7) { grid-area: status; justify-items: start; }
  .intake-table td:nth-child(1)::before, .intake-table td:nth-child(7)::before { content: none; }
}
@media (min-width: 561px) and (max-width: 960px) {
  .intake-table tr {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: "status status status status" "prog prog prog prog" "open close start len" "loc loc loc loc";
  }
}

/* ---------- Open roles: toolbar, list and rows ---------- */
.roles-contact { display: grid; gap: 10px; }
.roles-contact__email { font-size: 0.95rem; color: var(--text); overflow-wrap: anywhere; }

.jobs-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 20px 32px;
  align-items: center;
}
.jobs-search { position: relative; }
.jobs-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.jobs-search input {
  width: 100%; min-height: 48px;
  padding: 0 18px 0 46px;
  border: 1px solid var(--rule-strong); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
}
.jobs-search input::placeholder { color: var(--muted); opacity: 0.85; }
.jobs-search input:focus { outline: none; border-color: var(--flare); box-shadow: 0 0 0 3px rgba(255, 139, 43, 0.22); }
/* Below 1280px the seven chips and the search no longer fit on one line: stack them */
@media (max-width: 1279px) {
  .jobs-toolbar { grid-template-columns: minmax(0, 1fr); }
  .jobs-search { max-width: 440px; }
}
/* Below 900px the chips would wrap with one left over: make them a swipeable row */
@media (max-width: 900px) {
  .jobs-toolbar .filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    padding-block: 2px;
  }
  .jobs-toolbar .filters::-webkit-scrollbar { display: none; }
  .jobs-toolbar .filter-btn { flex: none; white-space: nowrap; }
  /* Edge fades (classes set by careers.js) hint that the row scrolls */
  .jobs-toolbar .filters.is-scrollable { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 56px), transparent 100%); }
  .jobs-toolbar .filters.is-scrollable.at-start { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 56px), transparent 100%); }
  .jobs-toolbar .filters.is-scrollable.at-end { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 100%); }
  .jobs-search { max-width: none; }
}

.jobs-status {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-strong);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.jobs-status b { color: var(--text); font-weight: 500; }

.jobs-head, .job {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 3.3fr) 140px;
  gap: 24px;
  align-items: center;
}
.jobs-head__meta, .job__meta { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 20px; }
.jobs-head {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.jobs { list-style: none; }
.job { position: relative; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.job::before {
  content: ""; position: absolute; inset: 0 -14px; z-index: -1;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--text) 4%, transparent);
  box-shadow: inset 2px 0 0 var(--flare);
  opacity: 0; transition: opacity .25s;
}
.job:hover::before, .job:focus-within::before { opacity: 1; }
.job__main { min-width: 0; }
.job__title { font-size: 1.16rem; font-weight: 650; font-stretch: 108%; line-height: 1.25; letter-spacing: -0.01em; }
.job__area { margin-top: 6px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.job__area b { color: var(--accent-text); font-weight: 500; }
.job__meta > div { min-width: 0; }
.job__meta dt {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.job__meta dd { color: var(--text-2); font-size: 0.95rem; line-height: 1.4; }
.job__meta time { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.02em; }
.job .btn { justify-self: end; }

@media (max-width: 1000px) {
  .jobs-head { display: none; }
  .job { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; }
  .job__main { grid-column: 1; grid-row: 1; }
  /* Separators sit in the column gap; one that would open a wrapped line is clipped */
  .job__meta { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; overflow: hidden; }
  .job__meta > div { position: relative; }
  .job__meta > div + div::before {
    content: "\00B7"; position: absolute; top: 0; left: -14px; width: 6px; text-align: center;
    font-size: 0.9rem; line-height: 1.4; color: var(--muted);
  }
  .job__meta dd { font-size: 0.9rem; }
  .job .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 520px) {
  .job { grid-template-columns: minmax(0, 1fr); }
  .job .btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 6px; }
  .job::before { inset: 0 -10px; }
}

.jobs-empty { display: grid; gap: 18px; justify-items: start; padding: 44px 0; border-bottom: 1px solid var(--rule); }
.jobs-empty p { max-width: 62ch; color: var(--text-2); }
.jobs-empty strong { color: var(--text); }

.jobs-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; color: var(--muted); max-width: 80ch; }
.jobs-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--sea); }

/* ---------- Role modal (one shared dialog) ---------- */
.role-modal { width: min(1100px, calc(100vw - 32px)); }
.role-modal .modal__close { float: none; margin: 12px 12px -56px auto; background: var(--petrol-900); }
.role-modal .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.role-modal .form-success .mono { white-space: nowrap; }
.role-modal .modal__body { gap: clamp(24px, 3vw, 36px); }
.role-modal .eyebrow { color: var(--fg-2); }
.role-modal__head {
  display: grid; gap: 16px;
  padding-right: 52px; padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.role-modal__head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.8rem); }
.role-modal__chips { --cluster-gap: 8px; }
.role-modal__chips .chip { white-space: normal; }
.role-modal__chips .chip svg { width: 14px; height: 14px; }
.role-modal__share { min-height: 34px; padding: 0 12px; gap: 8px; font-size: 0.8rem; }
.role-modal__share svg { width: 15px; height: 15px; }
.role-modal__share:hover svg { transform: none; }
.role-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.role-modal__info { display: grid; gap: 30px; min-width: 0; }
.role-modal__info .lead { color: var(--fg); }
.role-modal__apply {
  --surface: var(--petrol-900);
  position: sticky; top: 68px;
  display: grid; gap: 22px; min-width: 0;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--petrol-850);
}
.role-modal__apply h3 { font-size: 1.35rem; }
.role-modal__apply form .btn { justify-self: start; }
.role-modal .form-success p { color: var(--fg); }
.role-list { list-style: none; display: grid; gap: 10px; }
.role-list li { position: relative; padding-left: 26px; color: var(--fg-2); }
.role-list li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1px; background: var(--flare); }
@media (max-width: 860px) {
  .role-modal__grid { grid-template-columns: minmax(0, 1fr); }
  .role-modal__apply { position: static; }
}
@media (max-width: 520px) {
  .role-modal .modal__body { padding: 24px 18px; }
  .role-modal__apply { padding: 20px 16px; }
  .role-modal__apply form .btn { justify-self: stretch; }
}

/* ---------- Voices ---------- */
.voices { gap: clamp(28px, 3vw, 48px); }
.voice {
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px; align-content: start;
  max-width: none; padding-top: 26px;
  border-top: 1px solid var(--rule-strong);
}
.voice__where { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.voice .quote__text { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.34; }
.voice .monogram { width: 48px; height: 48px; font-size: 0.9rem; }

/* ---------- CTA: talent community ---------- */
.careers-cta { --focus: 46% 30%; }
/* Narrow screens: the crew photo becomes a header above the copy instead of sitting under it */
@media (max-width: 1279px) {
  .careers-cta { --cta-media-h: clamp(340px, 86vw, 560px); --focus: 24% 30%; padding-top: calc(var(--cta-media-h) - 70px); }
  .careers-cta .cta-band__media { bottom: auto; height: var(--cta-media-h); }
  .careers-cta::before {
    background: linear-gradient(180deg, rgba(5, 15, 21, 0.3) 0, rgba(5, 15, 21, 0.08) 110px, rgba(5, 15, 21, 0.2) calc(var(--cta-media-h) - 170px), var(--petrol-950) var(--cta-media-h));
  }
}
/* Wide screens: the crew photo sits to the right of the copy instead of under it */
@media (min-width: 1280px) {
  .careers-cta { --focus: 0% 30%; }
  .careers-cta .cta-band__media {
    left: 36%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0, #000 34%);
  }
}
.talent-form { gap: 14px; max-width: 720px; }
.talent-form__row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.talent-form__submit { display: grid; gap: 8px; }
.talent-form__spacer { font-family: var(--font-mono); font-size: 0.7rem; line-height: 1.6; }
.talent-form .btn { min-height: 56px; }
.talent-form__note { color: var(--fg-mute); }
@media (max-width: 720px) {
  .talent-form__row { grid-template-columns: minmax(0, 1fr); }
  .talent-form__spacer { display: none; }
  .talent-form .btn { width: 100%; }
}
