/* ==========================================================================
   Synergy Medical Staffing — design system
   Brand: orange flame mark (#ED6600 family) + navy wordmark.
   Strategy: navy carries structure and weight; orange is reserved for action.
   Mobile-first. No framework, no build step.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Brand — sampled from the logo */
  --orange:        #ED6600;
  --orange-light:  #F38200;
  --orange-deep:   #C85200;
  --orange-wash:   #FFF4EC;
  --flame-red:     #C42B24;

  /* Navy scale — the structural color */
  --navy-900: #0E1B2B;
  --navy-800: #14283D;
  --navy-700: #1D3A56;
  --navy-600: #2B5478;
  --navy-100: #E7EDF3;

  /* Neutrals */
  --ink:       #14283D;
  --ink-soft:  #47596B;
  --ink-mute:  #6B7C8C;
  --line:      #DFE5EB;
  --line-soft: #EDF1F5;
  --surface:   #FFFFFF;
  --surface-2: #F7F9FB;
  --surface-3: #EBECED;

  /* Semantic */
  --good:      #12805C;
  --good-wash: #E7F5F0;
  --warn:      #9A6700;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, sans-serif;

  /* Fluid type scale */
  --t-xs:   0.78rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-md:   1.0625rem;
  --t-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
  --t-xl:   clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
  --t-2xl:  clamp(1.75rem, 2vw + 1.2rem, 2.5rem);
  --t-3xl:  clamp(2.125rem, 3.4vw + 1.2rem, 3.5rem);
  --t-4xl:  clamp(2.5rem, 5vw + 1rem, 4.25rem);

  /* Space */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 6rem;

  /* Form */
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-xl: 24px;  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 40, 61, .06),
               0 1px 3px rgba(20, 40, 61, .04);
  --shadow-md: 0 4px 12px rgba(20, 40, 61, .07),
               0 1px 3px rgba(20, 40, 61, .05);
  --shadow-lg: 0 12px 32px rgba(20, 40, 61, .12),
               0 2px 8px rgba(20, 40, 61, .06);

  --wrap: 1200px;
  --wrap-narrow: 760px;
}

/* --- Reset -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-4);
  color: var(--navy-900);
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }

p { margin: 0 0 var(--s-4); text-wrap: pretty; }

a { color: var(--orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25rem; }
li { margin-bottom: var(--s-2); }

/* Visible focus for everyone who tabs. Never remove this. */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: var(--s-4);
  background: var(--navy-900); color: #fff;
  padding: var(--s-3) var(--s-4); z-index: 200;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.skip-link:focus { top: 0; }

/* --- Layout primitives -------------------------------------------------- */

.wrap {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-4);
}
@media (min-width: 768px) { .wrap { padding-inline: var(--s-5); } }

.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--s-7); }
@media (min-width: 768px) { .section { padding-block: var(--s-8); } }

.section-tight { padding-block: var(--s-6); }

.section-alt { background: var(--surface-2); }
.section-navy {
  background: var(--navy-900);
  color: #D6E0EA;
}
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.stack > * + * { margin-top: var(--s-4); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 700px) {
  .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: 699px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* Eyebrow label above headings */
.eyebrow {
  display: block;
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: var(--s-3);
}
.section-navy .eyebrow { color: var(--orange-light); }

.lede {
  font-size: var(--t-lg);
  color: var(--ink-soft);
  max-width: 62ch;
}
.section-navy .lede { color: #AEC0D1; }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  font-family: var(--font);
  font-size: var(--t-base);
  font-weight: 650;
  line-height: 1.2;
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease,
              color .15s ease, transform .1s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 1px 2px rgba(196, 82, 0, .3);
}
.btn-primary:hover { background: var(--orange-deep); color: #fff; }

.btn-ghost {
  background: transparent; color: var(--navy-800);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy-600); color: var(--navy-900); }

.btn-on-navy {
  background: rgba(255,255,255,.08); color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn-on-navy:hover { background: rgba(255,255,255,.16); color: #fff; }

.btn-lg { font-size: var(--t-md); padding: 1rem 1.75rem; }
.btn-sm { font-size: var(--t-sm); padding: 0.5rem 0.9rem; }
.btn-block { width: 100%; }

/* --- Header / nav ------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-bar {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 68px;
}

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
@media (min-width: 768px) { .brand img { height: 46px; } }

.nav { margin-left: auto; }

.nav-list {
  display: none;
  list-style: none; margin: 0; padding: 0;
  align-items: center; gap: var(--s-2);
}
@media (min-width: 980px) { .nav-list { display: flex; } }

.nav-list a {
  display: block;
  padding: var(--s-2) var(--s-3);
  color: var(--navy-800);
  font-size: var(--t-base);
  font-weight: 550;
  border-radius: var(--r-sm);
}
.nav-list a:hover { background: var(--surface-2); text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--orange-deep); }

.header-cta { display: none; align-items: center; gap: var(--s-3); }
@media (min-width: 980px) { .header-cta { display: flex; } }

.header-phone {
  font-weight: 700; color: var(--navy-900);
  font-size: var(--t-base); white-space: nowrap;
}
.header-phone:hover { color: var(--orange-deep); text-decoration: none; }

/* Mobile menu — CSS-only disclosure via checkbox, so it works with JS off */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: flex; margin-left: auto;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid var(--line);
}
@media (min-width: 980px) { .nav-toggle-label { display: none; } }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: ""; display: block; position: relative;
  width: 20px; height: 2px; background: var(--navy-900);
  border-radius: 2px;
}
.nav-toggle-label span::before { position: absolute; top: -6px; }
.nav-toggle-label span::after  { position: absolute; top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: #fff;
  padding: var(--s-3) 0 var(--s-5);
}
.nav-toggle:checked ~ .mobile-nav { display: block; }
@media (min-width: 980px) { .nav-toggle:checked ~ .mobile-nav { display: none; } }

.mobile-nav ul { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a {
  display: block; padding: var(--s-3) 0;
  color: var(--navy-800); font-weight: 550; font-size: var(--t-lg);
}
.mobile-nav .btn { margin-top: var(--s-2); }

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 88% -10%, rgba(237,102,0,.20), transparent 60%),
    radial-gradient(700px 400px at 5% 105%, rgba(43,84,120,.35), transparent 65%),
    var(--navy-900);
  color: #E3EAF1;
  overflow: hidden;
}

.hero-inner {
  display: grid; gap: var(--s-6);
  padding-block: var(--s-7) var(--s-8);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-8);
    padding-block: var(--s-9) var(--s-9);
  }
}

.hero h1 {
  color: #fff;
  font-size: var(--t-4xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-5);
}
.hero h1 .accent {
  color: var(--orange-light);
  /* Keep the gradient purely decorative — text stays selectable + readable */
  background: linear-gradient(100deg, var(--orange-light), #FFB067);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  font-size: var(--t-lg);
  color: #B8C9D9;
  max-width: 48ch;
  margin-bottom: var(--s-6);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero-trust {
  display: flex; align-items: center; gap: var(--s-4);
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-trust img { width: 54px; height: 54px; flex: 0 0 auto; }
.hero-trust p {
  margin: 0; font-size: var(--t-sm); color: #A8BBCC; max-width: 34ch;
}
.hero-trust strong { color: #fff; display: block; }

/* Stat strip */
.stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
@media (min-width: 620px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: var(--s-4);
}
.stat-num {
  display: block;
  font-size: var(--t-xl); font-weight: 750;
  color: #fff; letter-spacing: -0.02em; line-height: 1.1;
}
.stat-label {
  font-size: var(--t-xs); color: #9FB3C6;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 600;
}

/* --- Hero search card --------------------------------------------------- */

.search-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.search-card h2 {
  font-size: var(--t-lg); margin-bottom: var(--s-4); color: var(--navy-900);
}

.field { margin-bottom: var(--s-4); }
.field:last-of-type { margin-bottom: var(--s-5); }

.field label {
  display: block;
  font-size: var(--t-sm); font-weight: 650;
  color: var(--navy-800); margin-bottom: var(--s-2);
}

.input, .select, .textarea {
  width: 100%;
  font-family: var(--font); font-size: var(--t-base);
  color: var(--ink); background: #fff;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(237,102,0,.15);
}
.textarea { min-height: 120px; resize: vertical; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7C8C' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.field-hint { font-size: var(--t-sm); color: var(--ink-mute); margin-top: var(--s-2); }
.field-error {
  font-size: var(--t-sm); color: var(--flame-red);
  font-weight: 600; margin-top: var(--s-2);
}
.input[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--flame-red);
}

.field-row { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .field-row-2 { grid-template-columns: 1fr 1fr; }
  .field-row-3 { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* --- Cards -------------------------------------------------------------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}

.card-link {
  display: block; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card-link:hover {
  text-decoration: none;
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Specialty / value tiles */
.tile {
  display: flex; flex-direction: column; gap: var(--s-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tile:hover {
  text-decoration: none; border-color: var(--orange);
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.tile-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--orange-wash); color: var(--orange-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-2);
}
.tile-icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: var(--t-lg); margin: 0; }
.tile p { margin: 0; font-size: var(--t-base); color: var(--ink-soft); }
.tile-meta {
  margin-top: auto; padding-top: var(--s-3);
  font-size: var(--t-sm); font-weight: 650; color: var(--orange-deep);
}

/* --- Job card ----------------------------------------------------------- */

.job-card {
  display: grid;
  gap: var(--s-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.job-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
@media (min-width: 760px) {
  .job-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--s-5);
  }
}

.job-card-main { min-width: 0; }

.job-card h3 {
  font-size: var(--t-lg); margin: 0 0 var(--s-2);
}
.job-card h3 a { color: var(--navy-900); }
.job-card h3 a:hover { color: var(--orange-deep); text-decoration: none; }

.job-loc {
  font-size: var(--t-base); color: var(--ink-soft);
  margin: 0 0 var(--s-3); font-weight: 550;
}

.job-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  font-size: var(--t-sm); color: var(--ink-mute);
  margin: 0; padding: 0; list-style: none;
}
.job-meta li { margin: 0; display: flex; align-items: center; gap: 0.35rem; }
.job-meta svg { width: 15px; height: 15px; flex: 0 0 auto; opacity: .7; }

.job-card-pay {
  text-align: left;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 760px) {
  .job-card-pay {
    text-align: right; border-top: 0; padding-top: 0;
    border-left: 1px solid var(--line-soft);
    padding-left: var(--s-5);
    min-width: 190px;
  }
}
.pay-amount {
  display: block;
  font-size: var(--t-xl); font-weight: 750;
  color: var(--navy-900); letter-spacing: -0.02em; line-height: 1.1;
}
.pay-label {
  display: block; font-size: var(--t-xs);
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-mute); font-weight: 600; margin-bottom: var(--s-3);
}
.pay-note { font-size: var(--t-xs); color: var(--ink-mute); margin-top: var(--s-2); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--ink-soft);
}
.badge-hot { background: var(--orange-wash); color: var(--orange-deep); }
.badge-new { background: var(--good-wash); color: var(--good); }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-3); }

/* --- Job board layout -------------------------------------------------- */

.board {
  display: grid; gap: var(--s-5);
  align-items: start;
}
@media (min-width: 940px) {
  .board { grid-template-columns: 288px 1fr; gap: var(--s-6); }
}

.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
@media (min-width: 940px) {
  .filters { position: sticky; top: 88px; }
}
.filters h2 {
  font-size: var(--t-base); text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-mute);
  margin-bottom: var(--s-4);
}

.filters-actions { display: flex; gap: var(--s-2); }
.filters-actions .btn { flex: 1; }

/* On mobile the filter panel collapses so results are the first thing seen.
   The desktop override must come AFTER the base rule — equal specificity means
   source order decides, and having it first made the toggle show at all widths. */
.filters-disclosure { display: block; }
.filters-disclosure > summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-3) var(--s-4);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); font-weight: 650;
  margin-bottom: var(--s-4);
}
.filters-disclosure > summary::-webkit-details-marker { display: none; }

@media (min-width: 940px) {
  .filters-disclosure > summary { display: none; }
}

.board-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.result-count { margin: 0; color: var(--ink-soft); font-size: var(--t-base); }
.result-count strong { color: var(--navy-900); font-size: var(--t-lg); }

.sort-form { display: flex; align-items: center; gap: var(--s-2); }
.sort-form label { font-size: var(--t-sm); color: var(--ink-mute); white-space: nowrap; }
.sort-form .select { width: auto; padding-block: 0.45rem; font-size: var(--t-sm); }

.job-list { display: grid; gap: var(--s-4); }

/* Active filter chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--t-sm); font-weight: 600;
  background: var(--navy-100); color: var(--navy-800);
  padding: 0.3rem 0.5rem 0.3rem 0.7rem;
  border-radius: var(--r-pill);
}
.chip a {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(20,40,61,.12); color: var(--navy-800);
  font-size: 12px; line-height: 1; text-decoration: none;
}
.chip a:hover { background: var(--flame-red); color: #fff; text-decoration: none; }

/* Pagination */
.pagination {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
  justify-content: center; margin-top: var(--s-7);
  list-style: none; padding: 0;
}
.pagination li { margin: 0; }
.pagination a, .pagination span {
  display: block; min-width: 42px; text-align: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--navy-800); font-weight: 600; font-size: var(--t-sm);
}
.pagination a:hover { border-color: var(--orange); color: var(--orange-deep); text-decoration: none; }
.pagination [aria-current="page"] {
  background: var(--navy-900); border-color: var(--navy-900); color: #fff;
}
.pagination .ellipsis { border: 0; color: var(--ink-mute); }

.empty-state {
  text-align: center; padding: var(--s-8) var(--s-5);
  background: var(--surface-2); border-radius: var(--r-lg);
  border: 1px dashed var(--line);
}
.empty-state h2 { font-size: var(--t-xl); }
.empty-state p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }

/* --- Job detail --------------------------------------------------------- */

.job-hero {
  background: var(--navy-900);
  color: #D6E0EA;
  padding-block: var(--s-6) var(--s-7);
}
.job-hero h1 { color: #fff; font-size: var(--t-2xl); margin-bottom: var(--s-3); }
.job-hero .job-loc { color: #AEC0D1; font-size: var(--t-lg); }

.breadcrumb {
  list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2);
  padding: 0; margin: 0 0 var(--s-5);
  font-size: var(--t-sm); color: #8FA5B9;
}
.breadcrumb li { margin: 0; display: flex; gap: var(--s-2); align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: .5; }
.breadcrumb a { color: #C4D3E0; }

.job-detail {
  display: grid; gap: var(--s-6);
  align-items: start;
  padding-block: var(--s-7);
}
@media (min-width: 940px) {
  .job-detail { grid-template-columns: 1fr 360px; gap: var(--s-7); }
}

.job-body h2 { font-size: var(--t-xl); margin-top: var(--s-6); }
.job-body h2:first-child { margin-top: 0; }
.job-body ul { padding-left: 1.2rem; }
.job-body :where(p, li) { color: var(--ink-soft); }

/* Pay breakdown panel */
.pay-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-md);
}
@media (min-width: 940px) { .pay-panel { position: sticky; top: 88px; } }

.pay-headline {
  text-align: center; padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-soft); margin-bottom: var(--s-4);
}
.pay-headline .pay-amount { font-size: var(--t-2xl); }

.pay-lines { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.pay-lines li {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0; margin: 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--t-base);
}
.pay-lines li:last-child { border-bottom: 0; }
.pay-lines dt, .pay-lines .k { color: var(--ink-soft); }
.pay-lines .v { font-weight: 650; color: var(--navy-900); text-align: right; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0; margin: 0;
  border-bottom: 1px solid var(--line-soft); font-size: var(--t-base);
}
.facts li:last-child { border-bottom: 0; }
.facts .k { color: var(--ink-soft); }
.facts .v { font-weight: 650; color: var(--navy-900); text-align: right; }

/* --- Apply form --------------------------------------------------------- */

.apply-shell {
  display: grid; gap: var(--s-6); align-items: start;
  padding-block: var(--s-7);
}
@media (min-width: 940px) {
  .apply-shell { grid-template-columns: 1fr 380px; gap: var(--s-7); }
}

.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .form-card { padding: var(--s-6); } }

.form-card fieldset { border: 0; margin: 0 0 var(--s-6); padding: 0; }
.form-card legend {
  font-size: var(--t-base); font-weight: 700; color: var(--navy-900);
  padding: 0; margin-bottom: var(--s-4);
  display: flex; align-items: center; gap: var(--s-3); width: 100%;
}
.form-card legend .step-num {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: 50%; background: var(--navy-900); color: #fff;
  font-size: var(--t-sm); font-weight: 700;
}

.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  text-align: center;
  background: var(--surface-2);
}
.file-drop input[type="file"] { margin-inline: auto; max-width: 100%; }
.file-drop p { margin: 0 0 var(--s-3); color: var(--ink-soft); font-size: var(--t-sm); }

.consent {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: var(--t-sm); color: var(--ink-soft);
  background: var(--surface-2); padding: var(--s-4);
  border-radius: var(--r-md); border: 1px solid var(--line-soft);
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px;
  accent-color: var(--orange);
}
.consent label { cursor: pointer; }

.form-alert {
  padding: var(--s-4); border-radius: var(--r-md);
  margin-bottom: var(--s-5); font-size: var(--t-base);
}
.form-alert-error {
  background: #FDECEA; border: 1px solid #F3C4BF; color: #8C2119;
}
.form-alert-error strong { display: block; margin-bottom: var(--s-2); }
.form-alert-error ul { margin: 0; padding-left: 1.1rem; }

.success-panel {
  text-align: center; padding: var(--s-8) var(--s-5);
  max-width: 620px; margin-inline: auto;
}
.success-icon {
  width: 64px; height: 64px; margin: 0 auto var(--s-5);
  border-radius: 50%; background: var(--good-wash); color: var(--good);
  display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width: 32px; height: 32px; }

/* Sidebar recap of the job being applied to */
.recap { background: var(--surface-2); border: 1px solid var(--line); }
.recap h2 { font-size: var(--t-base); text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-mute); margin-bottom: var(--s-3); }
.recap h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }

/* --- Testimonials ------------------------------------------------------- */

.quote {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.quote blockquote {
  margin: 0 0 var(--s-4); font-size: var(--t-md);
  color: var(--ink); line-height: 1.6;
}
.quote figcaption { font-size: var(--t-sm); font-weight: 650; color: var(--ink-mute); }

/* --- Steps / process ---------------------------------------------------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative; padding-left: 3.25rem; margin-bottom: var(--s-5);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-wash); color: var(--orange-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 750; font-size: var(--t-base);
}
.steps h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.steps p { color: var(--ink-soft); margin: 0; }

/* --- State grid --------------------------------------------------------- */

.state-grid {
  display: grid; gap: var(--s-2);
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  list-style: none; padding: 0; margin: 0;
}
.state-grid li { margin: 0; }
.state-grid a {
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-3) var(--s-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 650; font-size: var(--t-sm);
  color: var(--navy-800);
}
.state-grid a:hover {
  border-color: var(--orange); color: var(--orange-deep);
  background: var(--orange-wash); text-decoration: none;
}

/* --- CTA band ----------------------------------------------------------- */

.cta-band {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(237,102,0,.22), transparent 60%),
    var(--navy-800);
  color: #E3EAF1;
  border-radius: var(--r-xl);
  padding: var(--s-7) var(--s-5);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #B8C9D9; max-width: 52ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900); color: #96AABC;
  padding-block: var(--s-7) var(--s-5);
  font-size: var(--t-base);
}
.footer-grid {
  display: grid; gap: var(--s-6);
  grid-template-columns: 1fr;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer h3 {
  color: #fff; font-size: var(--t-sm); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: var(--s-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s-3); }
.site-footer a { color: #96AABC; }
.site-footer a:hover { color: #fff; }

.footer-brand img {
  height: 44px; width: auto; margin-bottom: var(--s-4);
  background: #fff; padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
}
.footer-brand p { font-size: var(--t-sm); max-width: 34ch; }

.footer-contact { margin-top: var(--s-4); }
.footer-contact a { display: block; color: #fff; font-weight: 650; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5);
  justify-content: space-between; align-items: center;
  padding-top: var(--s-5); font-size: var(--t-sm);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-bottom li { margin: 0; }

/* --- Prose (legal pages, articles) -------------------------------------- */

.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-6); font-size: var(--t-xl); }
.prose h3 { margin-top: var(--s-5); font-size: var(--t-lg); }
.prose :where(p, li) { color: var(--ink-soft); }
.prose a { text-decoration: underline; }

/* --- Utilities ---------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-5 { margin-bottom: var(--s-5); }
.mb-6 { margin-bottom: var(--s-6); }
.mx-auto { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .filters, .hero-actions { display: none; }
  body { color: #000; }
}
