/* Fort Energy — careers pages. Loaded after residentials.css: reuses its hero, section, tier-card,
   worked-example and CTA-band styles; this file only adds what those pages don't have. */

/* role cards (tier cards from the residential page) */
.cr-roles .tier-card { display: flex; flex-direction: column; }
.cr-roles .tier-specs { margin-top: auto; }
.cr-role-name a { color: inherit; text-decoration: none; }
.cr-role-name a:hover { color: var(--teal); }
.tier-card.performance .cr-role-name a:hover { color: var(--teal-lt); }
.cr-role-name { line-height: 1.15; }
.cr-role-sum { line-height: 1.6; margin-bottom: 24px; }
.cr-none { font-size: var(--fs-text); color: var(--ink-mid); }
.cr-none a { color: var(--teal); }

/* job page hero: role specification panel on the dark side */
.cr-job-hero { min-height: 640px; }
.cr-spec { position: relative; z-index: 1; width: 100%; max-width: 420px; border: 1px solid rgba(10,107,82,0.45); background: rgba(10,107,82,0.08); padding: 32px; }
.cr-spec-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 18px; }
.cr-spec-pay { font-family: var(--mono); font-size: clamp(38px, 4vw, 52px); font-weight: 500; color: var(--white); line-height: 1; margin-bottom: 10px; }
.cr-spec-full { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 24px; }
.cr-spec-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.cr-spec-rows span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.cr-spec-rows b { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--teal-lt); text-align: right; }

/* advert body */
.cr-advert-wrap { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; padding: 80px 56px; background: var(--paper); align-items: start; }
.cr-advert-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.cr-side-pay { font-family: var(--mono); font-size: 15px; color: var(--ink); line-height: 1.6; }
.cr-side-small { font-family: var(--mono); font-size: 14px; color: var(--ink-low); }
.cr-side-small a { color: var(--teal); }
.cr-advert { max-width: 760px; font-size: var(--fs-text); line-height: 1.75; color: var(--ink-mid); }
.cr-advert h2 { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.1; color: var(--ink); margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.cr-advert h2:first-child { margin-top: 0; }
.cr-advert h3 { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin: 28px 0 10px; }
.cr-advert p { margin-bottom: 16px; }
.cr-advert strong { color: var(--ink); }
.cr-advert ul { list-style: none; margin: 0 0 20px; background: var(--white); border: 1px solid var(--rule); }
.cr-advert li { position: relative; padding: 12px 16px 12px 36px; border-bottom: 1px solid var(--rule); }
.cr-advert li:last-child { border-bottom: 0; }
.cr-advert li::before { content: ''; position: absolute; left: 16px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* application form (same look as the contact form) */
.cr-apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; padding: 80px 56px; background: var(--white); border-top: 1px solid var(--rule); scroll-margin-top: 64px; align-items: start; }
.cr-apply-lead { font-size: var(--fs-text); color: var(--ink-mid); line-height: 1.7; margin: 20px 0 28px; max-width: 420px; }
.cr-apply-contact div { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); align-items: baseline; flex-wrap: wrap; }
.cr-apply-contact div:last-child { border-bottom: 1px solid var(--rule); }
.cr-apply-contact span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-low); width: 70px; }
.cr-apply-contact a { font-weight: 600; color: var(--teal); text-decoration: none; overflow-wrap: anywhere; }
.cr-apply-form { background: var(--paper); border: 1px solid var(--rule); padding: 40px; min-width: 0; }
.cr-form { display: flex; flex-direction: column; gap: 16px; }
.cr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cr-field > span { font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; color: var(--ink-mid); text-transform: uppercase; }
.cr-field input, .cr-field textarea {
  background: var(--white); border: 1px solid var(--rule); padding: 12px 14px; font-family: var(--sans); font-size: 16px; color: var(--ink);
  outline: none; transition: border-color 0.2s; width: 100%; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.cr-field textarea { resize: vertical; line-height: 1.6; }
.cr-field input:focus, .cr-field textarea:focus { border-color: var(--teal); }
.cr-drop { position: relative; border: 1.5px dashed var(--rule); padding: 20px; text-align: center; background: var(--white); transition: border-color 0.2s, background 0.2s; }
.cr-drop:hover, .cr-drop:focus-within { border-color: var(--teal); background: var(--teal-bg); }
.cr-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.cr-drop-label { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; color: var(--ink-low); text-transform: uppercase; overflow-wrap: anywhere; }
.cr-drop-sub { font-size: 15px; color: var(--ink-low); margin-top: 4px; }
.cr-has .cr-drop { border-style: solid; border-color: var(--teal); background: var(--teal-bg); }
.cr-has .cr-drop-label { color: var(--teal); }
.cr-bad input, .cr-bad textarea, .cr-bad .cr-drop { border-color: #B3261E; }
.cr-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--ink-mid); }
.cr-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }
.cr-check a { color: var(--teal); }
.cr-check.cr-bad span { color: #B3261E; }
.cr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cr-err { background: #FCEEEE; color: #8C1D18; border-left: 3px solid #B3261E; padding: 12px 14px; font-size: 15px; }
.cr-submit {
  width: 100%; padding: 18px; background: var(--teal); color: var(--white); font-family: var(--sans); font-weight: 600; font-size: var(--fs-btn);
  letter-spacing: 0.05em; border: none; cursor: pointer; transition: background 0.2s;
}
.cr-submit:hover { background: var(--teal-lt); }
.cr-submit:disabled { background: var(--rule); cursor: wait; }
.cr-small { font-family: var(--mono); font-size: 12px; color: var(--ink-low); line-height: 1.6; }
.cr-small a { color: var(--ink-low); }
.cr-done { text-align: center; padding: 48px 32px; background: var(--white); border: 1px solid var(--rule); font-size: var(--fs-text); color: var(--ink-mid); line-height: 1.7; }
.cr-done-icon { width: 56px; height: 56px; background: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.cr-done-title { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.cr-done a { color: var(--teal); }
[hidden], .cr-form[hidden], .cr-done[hidden], .cr-err[hidden] { display: none !important; }
.grecaptcha-badge { visibility: hidden; }

@media (max-width: 1024px) {
  .cr-job-hero { min-height: 0; }
  .cr-advert-wrap { grid-template-columns: 1fr; gap: 32px; padding: 60px 32px; }
  .cr-advert-side { position: static; }
  .cr-apply { grid-template-columns: 1fr; gap: 40px; padding: 60px 32px; }
}
@media (max-width: 640px) {
  .cr-advert-wrap, .cr-apply { padding: 48px 20px; }
  .cr-apply-form { padding: 24px 16px; }
  .cr-row { grid-template-columns: 1fr; }
  .cr-spec { padding: 24px 20px; }
}
.cr-diagram { position: relative; z-index: 1; width: 100%; max-width: 440px; height: auto; }
