/* ============================================================
   Redbird Recruiting â€” styles.css
   ============================================================ */

:root {
  --red:        #B2221A;
  --red-dark:   #8A1813;
  --red-bright: #E53935;
  --gold:       #F4A261;
  --charcoal:   #1C1C1E;
  --ink:        #2b2b2b;
  --muted:      #6c6c6c;
  --bg:         #ffffff;
  --bg-alt:     #faf6f1;
  --bg-dark:    #0F0F10;
  --border:     #ece6df;
  --radius:     10px;
  --maxw:       1160px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 10px 30px rgba(0,0,0,.08);
  --serif:      Georgia, "Times New Roman", serif;
  --sans:       "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* â”€â”€ Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.3px; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: #3a3a3a; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* â”€â”€ Navigation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 80px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--charcoal); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--red); text-decoration: none; }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
}
.nav-cta:hover { background: var(--red-dark); }
.menu-toggle {
  display: none; background: none; border: 0;
  font-size: 24px; cursor: pointer; color: var(--charcoal);
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--border); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--border); }
  .nav-cta { margin: 14px 24px; text-align: center; }
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff9f2 0%, #f7ece0 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(178,34,26,.28), rgba(244,162,97,0) 65%);
  filter: blur(10px); z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
  padding: 80px 0 96px;
}
.hero .eyebrow {
  display: inline-block; text-transform: uppercase;
  letter-spacing: 3px; font-size: .78rem;
  font-weight: 600; color: var(--red); margin-bottom: 16px;
}
.hero h1 span { color: var(--red-bright); }
.hero p.lead { font-size: 1.15rem; color: #444; max-width: 52ch; }
.hero-ctas { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.hero-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 28px;
}
.hero-card h3 { margin-bottom: 8px; }
.hero-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.hero-card li {
  padding: 10px 0; border-top: 1px solid var(--border);
  display: flex; gap: 12px; align-items: start;
}
.hero-card li:first-child { border-top: 0; }
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 13px; flex: 0 0 22px;
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; gap: 36px; }
}

/* â”€â”€ Sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section { padding: 80px 0; }
.section-alt  { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #eee; }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: #cfcfcf; }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: .75rem;
  font-weight: 600; color: var(--red); display: inline-block; margin-bottom: 12px;
}
.section-head p { color: var(--muted); }

/* â”€â”€ Grid â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* â”€â”€ Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(178,34,26,.10); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p  { color: #4a4a4a; margin-bottom: 0; }

/* â”€â”€ Stats band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 40px; background: #fff;
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.stat strong { font-family: var(--serif); font-size: 2.2rem; color: var(--red); display: block; }
.stat span   { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* â”€â”€ Process steps â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.steps {
  counter-reset: step;
  display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); color: var(--red);
  font-size: 1.8rem; font-weight: 700; display: block; margin-bottom: 8px;
}
.step h3 { margin-bottom: 6px; }

/* â”€â”€ Testimonials â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.quote {
  background: #fff; border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.quote p    { font-family: var(--serif); font-size: 1.1rem; color: #333; font-style: italic; }
.quote .who { font-size: .92rem; color: var(--muted); font-style: normal; }

/* â”€â”€ CTA band â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cta-band {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 60%, var(--red-dark) 100%);
  color: #fff; border-radius: 18px; padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p  { color: #ffe8e2; max-width: 62ch; margin: 0 auto 20px; }

/* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }

.field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: #fff; color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(178,34,26,.35); border-color: var(--red);
}
.field textarea { min-height: 140px; resize: vertical; }

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.footer {
  background: var(--bg-dark); color: #d9d9d9;
  padding: 60px 0 24px; margin-top: 40px;
}
.footer a { color: #d9d9d9; }
.footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  color: #fff; font-family: var(--sans); font-size: .95rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.footer ul   { list-style: none; padding: 0; margin: 0; }
.footer li   { margin-bottom: 8px; }
.footer .brand-line { max-width: 36ch; color: #c4c4c4; }
.footer-bottom {
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid #2a2a2a;
  display: flex; justify-content: space-between;
  color: #a8a8a8; font-size: .9rem; flex-wrap: wrap; gap: 10px;
}

/* â”€â”€ Page header (inner pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.page-header {
  background: var(--charcoal); color: #fff; padding: 80px 0 64px;
  background-image:
    radial-gradient(circle at 85% 0%, rgba(229,57,53,.40), transparent 45%),
    radial-gradient(circle at 10% 110%, rgba(244,162,97,.18), transparent 45%);
}
.page-header h1     { color: #fff; }
.page-header .eyebrow {
  color: var(--gold); letter-spacing: 3px; font-size: .78rem;
  font-weight: 600; text-transform: uppercase;
}
.page-header p { color: #d6d6d6; max-width: 60ch; }

/* â”€â”€ Utility â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.text-center { text-align: center; }
.mt-0  { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }
.tag {
  display: inline-block; background: rgba(178,34,26,.10); color: var(--red);
  padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600;
}

ul.checks { list-style: none; padding: 0; }
ul.checks li { padding: 8px 0 8px 30px; position: relative; }
ul.checks li::before {
  content: "\2713";
  position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1; font-weight: 700;
}

/* â”€â”€ Jobs page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Sidebar + list wrapper */
.js-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 820px) { .js-wrap { grid-template-columns: 1fr; } }

/* Mobile filter toggle */
.js-filter-toggle {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  margin-bottom: 12px;
}
.js-filter-chev {
  transition: transform .2s ease;
  color: var(--red);
}
.js-filter-toggle[aria-expanded="true"] .js-filter-chev {
  transform: rotate(180deg);
}
@media (max-width: 820px) {
  .js-filter-toggle { display: flex; }
  .js-side          { display: none; }
  .js-side.open     { display: block; }
}

/* Sidebar panel */
.js-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  position: sticky;
  top: 92px;
  box-shadow: var(--shadow-sm);
}
.js-side h4 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 10px;
  font-weight: 700;
}
.js-side h4:first-of-type { margin-top: 14px; }

/* Sidebar search input */
.js-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 4px;
}
.js-search:focus {
  outline: 2px solid rgba(178,34,26,.35);
  border-color: var(--red);
}

/* Checkbox labels */
.js-side label.chk {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: .92rem;
  cursor: pointer;
  color: var(--ink);
  user-select: none;
}
.js-side label.chk input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--red);
  cursor: pointer; margin: 0;
}
.js-side label.chk:hover { color: var(--red-dark); }

/* Clear button */
.js-clear {
  margin-top: 18px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.js-clear:hover { border-color: var(--red); color: var(--red); }

/* Jobs count line */
.jobs-count {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 16px;
  padding-left: 4px;
}

/* Job list */
.js-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual job card */
.js-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.js-item:hover {
  border-color: rgba(178,34,26,.35);
  box-shadow: var(--shadow);
}
.js-item h3 { margin: 0 0 6px; font-size: 1.1rem; }

/* Metadata row (location Â· type Â· comp) */
.js-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0 0 10px;
  font-size: .9rem;
  color: var(--muted);
}
.js-meta span + span::before {
  content: "\00B7";
  margin-right: 16px;
}

/* Pill badges */
.js-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.js-pills span {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(178,34,26,.08);
  color: var(--red-dark);
  border: 1px solid rgba(178,34,26,.18);
}

/* No results state */
.no-jobs {
  display: none;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.no-jobs.visible { display: block; }
.no-jobs h3 { margin-bottom: 8px; }
.no-jobs p  { color: var(--muted); margin-bottom: 18px; }

@media (max-width: 620px) {
  .js-item { grid-template-columns: 1fr; }
  .js-item .btn { width: 100%; text-align: center; }
}

/* â”€â”€ Formspree form states â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Success banner */
.form-success {
  background: #f0faf3;
  border: 1px solid #a8d9b5;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.form-success-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a8a3b;
  color: #fff;
  font-size: 14px;
  flex: 0 0 28px;
  margin-top: 2px;
}
.form-success strong {
  display: block;
  color: #1a5c27;
  margin-bottom: 4px;
}
.form-success p {
  color: #2a6035;
  margin: 0;
  font-size: .95rem;
}

/* Top-level error banner */
.form-error-banner {
  background: #fff4f4;
  border: 1px solid #f5b8b8;
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--red-dark);
  font-size: .92rem;
  margin-bottom: 20px;
}

/* Field-level error messages */
.field-error {
  display: block;
  color: var(--red);
  font-size: .82rem;
  margin-top: 4px;
  min-height: 1em;
}

/* Invalid field highlight (set by Formspree via aria-invalid) */
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  outline: 2px solid rgba(178,34,26,.2);
}

/* Disable submit button while submitting */
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* â”€â”€ Job detail page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.breadcrumb-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: .9rem;
}
.breadcrumb-bar a {
  color: var(--muted);
  font-weight: 500;
}
.breadcrumb-bar a:hover { color: var(--red); text-decoration: none; }

.job-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .job-detail-wrap { grid-template-columns: 1fr; }
}

.job-detail-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
  margin-bottom: 36px;
}
.job-detail-location {
  color: var(--muted);
  font-size: .95rem;
  margin: 0 0 20px;
}
.job-detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.job-detail-meta-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.meta-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.job-detail-body h2 {
  font-size: 1.2rem;
  margin: 32px 0 10px;
}
.job-detail-body h2:first-child { margin-top: 0; }
.job-detail-body p { color: #3a3a3a; }
.job-detail-body ul.checks li { color: #3a3a3a; }

.job-detail-confidential {
  background: rgba(178,34,26,.05);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin-top: 36px;
  font-size: .9rem;
  color: #444;
}
.job-detail-confidential strong { color: var(--red-dark); }

/* Apply sidebar */
.job-apply-sidebar {
  position: sticky;
  top: 92px;
}
.job-apply-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.job-apply-card h3 { margin-bottom: 6px; }
.job-apply-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.job-apply-card .field { margin-bottom: 14px; }
.job-apply-card .field textarea { min-height: 100px; }

.apply-disclaimer {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* ── Referral page ────────────────────────────────────────── */
.referral-section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ── Referral bonus card ──────────────────────────────────── */
.referral-bonus-card {
  padding: 0;
  overflow: hidden;
}
.referral-bonus-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.referral-bonus-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 0 4px;
}
.referral-bonus-total {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--charcoal);
  margin: 0;
  line-height: 1;
}
.referral-installment {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.referral-installment-item {
  flex: 1;
  padding: 16px 20px;
}
.referral-installment-item:first-child {
  border-right: 1px solid var(--border);
}
.referral-installment-item:last-child {
  border-left: 1px solid var(--border);
}
.installment-amount {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--charcoal);
  display: block;
  margin-bottom: 4px;
}
.installment-timing {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}
.referral-installment-divider {
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}
.referral-bonus-note {
  font-size: .85rem;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  padding: 14px 24px;
  background: var(--bg-alt);
}
.referral-bonus-note strong {
  color: var(--charcoal);
}
