@charset "UTF-8";
/* =============================================================================
   Salsoft Technologies — Careers page
   -----------------------------------------------------------------------------
   No framework, no build step, no CDN. Plain CSS with custom properties.

   Contents
     1.  Fonts
     2.  Design tokens
     3.  Base & reset
     4.  Utilities
     5.  Buttons
     6.  Preview banner
     7.  Header & navigation
     8.  Hero
     9.  Section shell
     10. Why-join cards
     11. Culture band
     12. Filters
     13. Job cards, tags & skeletons
     14. Empty / error states
     15. Hiring process
     16. Apply section & form
     17. Footer
     18. Job detail dialog
     19. Responsive
     20. Motion & print preferences

   Colour notes: #E54100 is the Salsoft brand orange and is used for large display
   accents, rules and icons. Interactive surfaces use the darker --brand-600 so
   white label text clears WCAG AA (5.3:1); on dark grounds we use --brand-bright
   (6.1:1 on --ink).
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Fonts */
/* Gilroy is the typeface used across salsoft.net. Files are served locally, not
   hotlinked; on salsoft.net they already exist at /assets/webfonts/. */
@font-face {
  font-family: 'Gilroy';
  src: url('../webfonts/gilroy-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../webfonts/gilroy-medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../webfonts/gilroy-semibold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../webfonts/gilroy-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../webfonts/gilroy-extrabold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* -------------------------------------------------------- 2. Design tokens */
:root {
  /* Brand */
  --brand:        #E54100;
  --brand-600:    #C63700;
  --brand-700:    #A62E00;
  --brand-bright: #FF5A1F;
  --brand-tint:   #FFF1EA;
  --brand-tint-2: #FFE3D6;

  /* Ink */
  --ink:      #111315;
  --ink-900:  #1A1D1F;
  --ink-800:  #24282A;
  --ink-700:  #363939;
  --ink-500:  #5E6366;
  --ink-400:  #7E8386;
  --on-dark:      #FFFFFF;
  --on-dark-mute: #A9AFB2;

  /* Surfaces */
  --surface:    #FFFFFF;
  --surface-2:  #F8F6F3;
  --surface-3:  #F1EDE8;
  --line:       #E3DFDA;
  --line-strong:#CFC9C1;

  /* Feedback */
  --danger:      #B3261E;
  --danger-tint: #FDECEA;
  --success:     #1B6B3A;
  --success-tint:#E8F5ED;

  /* Type */
  --font: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Space & shape */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius:    14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(17, 19, 21, .06), 0 2px 8px rgba(17, 19, 21, .05);
  --shadow-md: 0 2px 6px rgba(17, 19, 21, .07), 0 12px 28px rgba(17, 19, 21, .08);
  --shadow-lg: 0 8px 20px rgba(17, 19, 21, .10), 0 32px 64px rgba(17, 19, 21, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 72px;
}

/* --------------------------------------------------------- 3. Base & reset */
*, *::before, *::after { box-sizing: border-box; }

/* Component display rules (.c-btn, .c-file…) would otherwise beat the UA
   [hidden] rule, so state toggling in JS must win explicitly. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body.c-page {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.c-hero :focus-visible,
.c-culture :focus-visible,
.c-apply__intro :focus-visible,
.c-footer :focus-visible,
.c-preview :focus-visible {
  outline-color: var(--on-dark);
}

/* ----------------------------------------------------------- 4. Utilities */
.c-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.c-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.c-skip-link {
  position: absolute;
  top: -100%;
  left: 12px;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.c-skip-link:focus { top: 0; }

.c-eyebrow {
  margin: 0 0 .75rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.c-eyebrow--onDark { color: var(--brand-bright); }

/* The orange full stop used across Salsoft headings. */
.c-dot { color: var(--brand); }
.c-culture .c-dot, .c-hero .c-dot, .c-apply .c-dot { color: var(--brand-bright); }

.c-link {
  color: var(--brand-700);
  text-underline-offset: .18em;
  text-decoration-thickness: 1.5px;
}
.c-link:hover { color: var(--brand-600); }
.c-link--onDark { color: var(--brand-bright); }
.c-link--onDark:hover { color: #FF7A47; }

.c-req { color: var(--brand-600); }

.c-note {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--line-strong);
  font-size: .9375rem;
  color: var(--ink-500);
  max-width: 68ch;
}

/* ------------------------------------------------------------- 5. Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8125rem 1.375rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.c-btn:active { transform: translateY(1px); }
.c-btn[disabled], .c-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.c-btn--primary { background: var(--brand-600); color: #fff; }
.c-btn--primary:hover { background: var(--brand-700); }

.c-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.c-btn--ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.c-hero .c-btn--ghost, .c-apply__intro .c-btn--ghost { color: var(--on-dark); }
.c-hero .c-btn--ghost:hover, .c-apply__intro .c-btn--ghost:hover {
  background: var(--on-dark); color: var(--ink); border-color: var(--on-dark);
}

.c-btn--quiet {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.c-btn--quiet:hover { border-color: var(--ink); background: var(--surface-2); }

.c-btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.c-btn--sm { padding: .5625rem 1rem; font-size: .8438rem; }

.c-btn__icon { width: 1em; height: 1em; flex: none; }
.c-btn--submit { min-width: 13rem; }

.c-spinner {
  width: 1.05em; height: 1.05em; flex: none;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: c-spin .7s linear infinite;
}
@keyframes c-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------ 6. Preview banner */
.c-preview {
  position: relative;
  z-index: 60;
  background: var(--ink-900);
  color: var(--on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.c-preview__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: .625rem var(--gutter);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
}
.c-preview__dot {
  width: .5rem; height: .5rem; flex: none;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, .22);
}
.c-preview__text { margin: 0; color: var(--on-dark-mute); }
.c-preview__text strong { color: var(--on-dark); }
.c-preview__close {
  margin-left: auto;
  background: none; border: 0;
  color: var(--on-dark-mute);
  font-size: 1.5rem; line-height: 1;
  padding: 0 .25rem;
  cursor: pointer;
}
.c-preview__close:hover { color: var(--on-dark); }

/* ------------------------------------------------ 7. Header & navigation */
.c-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.c-header[data-elevated="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 16px rgba(17, 19, 21, .06);
}

.c-header__inner {
  max-width: 1200px;
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-header__logo { display: inline-flex; flex: none; }
.c-header__logo-img { width: 136px; height: auto; }

.c-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.c-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.c-nav__link {
  position: relative;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-700);
  padding-block: .25rem;
}
.c-nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.c-nav__link:hover { color: var(--ink); }
.c-nav__link:hover::after, .c-nav__link.is-current::after { transform: scaleX(1); }
.c-nav__link.is-current { color: var(--ink); }

.c-burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.c-burger__bar {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.c-burger[aria-expanded="true"] .c-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.c-burger[aria-expanded="true"] .c-burger__bar:nth-child(2) { opacity: 0; }
.c-burger[aria-expanded="true"] .c-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- 8. Hero */
.c-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 10vw, 8rem);
  /* The angled lower edge echoes the "paperfold" motif on salsoft.net. */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
}

.c-hero__grid {
  position: absolute; inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 78% 10%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 10%, #000 20%, transparent 72%);
}
.c-hero__glow {
  position: absolute;
  z-index: -1;
  top: -22%; right: -12%;
  width: min(48rem, 78vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(229, 65, 0, .5), rgba(229, 65, 0, 0) 62%);
  filter: blur(8px);
}

.c-hero__inner {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.c-hero__title {
  font-size: clamp(2.75rem, 8vw, 5.75rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--on-dark);
  margin-bottom: 1.5rem;
}

.c-hero__lede {
  max-width: 54ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--on-dark-mute);
}

.c-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 2.25rem;
}

.c-hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .625rem;
  margin-top: 3rem;
}
.c-hero__pillars li {
  padding: .4375rem .875rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--on-dark);
  background: rgba(255, 255, 255, .04);
}

.c-hero__credential {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 52ch;
  font-size: .875rem;
  color: var(--on-dark-mute);
}

/* ------------------------------------------------------- 9. Section shell */
.c-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.c-section--light { background: var(--surface); }
.c-section--muted { background: var(--surface-2); }

.c-section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.c-section__title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  margin-bottom: 1rem;
}
.c-section__lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ink-500);
  line-height: 1.7;
}

/* -------------------------------------------------- 10. Why-join cards */
.c-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.c-card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.c-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.c-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-700);
}
.c-card__icon svg { width: 1.375rem; height: 1.375rem; }
.c-card__title { font-size: 1.0625rem; margin-bottom: .625rem; }
@media (min-width: 721px) {
  /* Keep body copy on a shared baseline when one title wraps and another does not. */
  .c-card__title { min-height: 2.2em; }
}
.c-card__body { font-size: .9375rem; color: var(--ink-500); line-height: 1.65; }

/* -------------------------------------------------------- 11. Culture band */
.c-culture {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(3.5rem, 8vw, 6rem);
}
.c-culture__head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.c-culture__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--on-dark);
  margin-bottom: 1rem;
}
.c-culture__lede { color: var(--on-dark-mute); font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.7; }

.c-culture__figure { margin: 0; }
.c-culture__figure img { width: 100%; }
.c-culture__caption {
  max-width: 1200px;
  margin-inline: auto;
  padding: 1rem var(--gutter) clamp(3rem, 6vw, 4.5rem);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

/* ------------------------------------------------------------ 12. Filters */
.c-filters {
  display: grid;
  grid-template-columns: minmax(16rem, 2fr) repeat(3, minmax(9rem, 1fr)) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.c-filters__clear { align-self: end; }

.c-searchbox { position: relative; display: flex; align-items: center; }
.c-searchbox__icon {
  position: absolute;
  left: .875rem;
  width: 1.125rem; height: 1.125rem;
  color: var(--ink-400);
  pointer-events: none;
}
.c-searchbox .c-searchbox__input { padding-left: 2.625rem; }
.c-searchbox__input::-webkit-search-cancel-button { cursor: pointer; }

.c-results {
  margin: 1.5rem 0 1.25rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-500);
}
.c-results:empty { margin: 0; }

/* ------------------------------------- 13. Job cards, tags & skeletons */
.c-jobs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1.25rem;
}

.c-job { display: flex; }
.c-job__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1.625rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.c-job__inner:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.c-job__department {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .625rem;
}
.c-job__title { font-size: 1.1875rem; margin-bottom: .625rem; }
.c-job__titleBtn {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
/* Stretched hit area: the whole card opens the job, buttons stay on top. */
.c-job__titleBtn::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.c-job__titleBtn:hover { color: var(--brand-700); }
.c-job__titleBtn:focus-visible { outline-offset: 4px; }

.c-job__summary {
  font-size: .9375rem;
  color: var(--ink-500);
  line-height: 1.6;
  margin-bottom: 1.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-job__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
}
/* Always give the date its own line so footers align across a row of cards. */
.c-job__posted { flex: 1 0 100%; font-size: .8125rem; color: var(--ink-400); }
.c-job__actions { position: relative; z-index: 1; display: flex; gap: .5rem; }

.c-tags { display: flex; flex-wrap: wrap; gap: .4375rem; margin-bottom: 1.125rem; }
.c-tag {
  padding: .3125rem .625rem;
  background: var(--surface-3);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-700);
}
.c-dialog .c-tags { margin-bottom: 0; }

/* Skeletons */
.c-job--skeleton .c-job__inner { pointer-events: none; }
.c-job--skeleton .c-job__inner:hover { transform: none; box-shadow: none; border-color: var(--line); }
.c-skel {
  display: block;
  height: .875rem;
  margin-bottom: .75rem;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 37%, var(--surface-3) 63%);
  background-size: 400% 100%;
  animation: c-shimmer 1.5s ease-in-out infinite;
}
.c-skel--xs { width: 35%; height: .625rem; }
.c-skel--lg { width: 72%; height: 1.375rem; margin-bottom: 1.125rem; }
.c-skel--short { width: 55%; }
.c-skel--pill { width: 4.5rem; height: 1.5rem; border-radius: 6px; margin-bottom: 0; }
.c-skel-row { display: flex; gap: .4375rem; margin-top: 1.125rem; }
@keyframes c-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ------------------------------------------------ 14. Empty / error states */
.c-state--panel {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.c-state__icon {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink-500);
}
.c-state__icon--warn { background: var(--danger-tint); color: var(--danger); }
.c-state__icon svg { width: 1.5rem; height: 1.5rem; }
.c-state__title { font-size: 1.375rem; margin-bottom: .75rem; }
.c-state__body {
  max-width: 48ch;
  margin-inline: auto;
  color: var(--ink-500);
  font-size: .9688rem;
  line-height: 1.7;
}
.c-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* ---------------------------------------------------- 15. Hiring process */
.c-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}
.c-step { position: relative; padding-top: 1.75rem; border-top: 2px solid var(--line); }
.c-step::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 2.5rem; height: 2px;
  background: var(--brand);
}
.c-step__num {
  display: block;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand-700);
  margin-bottom: .625rem;
}
.c-step__title { font-size: 1.0625rem; margin-bottom: .5rem; }
.c-step__body { font-size: .9375rem; color: var(--ink-500); line-height: 1.65; }

/* ------------------------------------------------ 16. Apply section & form */
.c-apply {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  scroll-margin-top: var(--header-h);
}
.c-apply__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.c-apply__intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.c-apply__title {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  color: var(--on-dark);
  margin-bottom: 1rem;
}
.c-apply__lede { color: var(--on-dark-mute); line-height: 1.7; }
.c-apply__facts {
  margin-top: 2rem;
  display: grid;
  gap: .625rem;
  font-size: .875rem;
  color: var(--on-dark-mute);
}
.c-apply__facts strong { color: var(--on-dark); font-weight: 600; }

.c-apply__panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--ink-700);
}

/* Step indicator */
.c-progress {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.c-progress__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-400);
  flex: 1;
  min-width: 0;
}
.c-progress__item + .c-progress__item::before {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.c-progress__dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--ink-400);
}
.c-progress__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-progress__item.is-active { color: var(--ink); }
.c-progress__item.is-active .c-progress__dot {
  border-color: var(--brand-600);
  background: var(--brand-600);
  color: #fff;
}
.c-progress__item.is-done .c-progress__dot {
  border-color: var(--brand-600);
  color: var(--brand-700);
  background: var(--brand-tint);
}
.c-progress__item.is-done + .c-progress__item::before { background: var(--brand-tint-2); }

/* Step panels */
.c-step-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0; /* let fieldset shrink inside grid */
}
.c-step-panel__legend {
  padding: 0;
  margin-bottom: .25rem;
  grid-column: 1 / -1;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.c-step-panel__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: flex-end;
  margin-top: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.c-step-panel__actions .c-btn--ghost { margin-right: auto; }

/* Fields */
.c-field { display: flex; flex-direction: column; gap: .4375rem; min-width: 0; }
.c-field--full { grid-column: 1 / -1; }

.c-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink);
}

.c-input, .c-select {
  width: 100%;
  padding: .75rem .875rem;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.c-input::placeholder { color: var(--ink-400); }
.c-input:hover, .c-select:hover { border-color: var(--ink-400); }
.c-input:focus, .c-select:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(198, 55, 0, .16);
}
.c-input[aria-invalid="true"], .c-select[aria-invalid="true"] { border-color: var(--danger); }
.c-input[aria-invalid="true"]:focus, .c-select[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .16);
}
.c-textarea { resize: vertical; min-height: 8.5rem; line-height: 1.6; }

.c-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235E6366' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  background-size: .75rem;
}

.c-hint { font-size: .8125rem; color: var(--ink-500); line-height: 1.5; }
.c-error {
  display: flex;
  align-items: flex-start;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--danger);
  line-height: 1.5;
}
.c-error::before { content: '!'; flex: none; display: grid; place-items: center;
  width: 1rem; height: 1rem; border-radius: 50%; background: var(--danger); color: #fff;
  font-size: .6875rem; line-height: 1; margin-top: .125rem; }

/* Radios */
.c-radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; }
.c-radio {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9375rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.c-radio:hover { border-color: var(--ink-400); }
.c-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-radio__box {
  flex: none;
  width: 1.125rem; height: 1.125rem;
  margin-top: .1875rem;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.c-radio input:checked ~ .c-radio__box {
  border-color: var(--brand-600);
  box-shadow: inset 0 0 0 4px var(--brand-600);
}
.c-radio:has(input:checked) { border-color: var(--brand-600); background: var(--brand-tint); }
.c-radio:has(input:focus-visible) { outline: 3px solid var(--brand-600); outline-offset: 2px; }
.c-radio:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.c-radio__text { display: flex; flex-direction: column; gap: .125rem; }
.c-radio__title { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.c-radio__hint { font-size: .8125rem; color: var(--ink-500); }

/* Selected job chip */
.c-selected-job__chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .875rem 1rem;
  background: var(--brand-tint);
  border: 1.5px solid var(--brand-tint-2);
  border-radius: var(--radius-sm);
}
.c-selected-job__text { display: flex; flex-direction: column; min-width: 0; }
.c-selected-job__title { font-size: .9375rem; color: var(--ink); }
.c-selected-job__meta { font-size: .8125rem; color: var(--ink-500); }
.c-selected-job__clear {
  margin-left: auto;
  flex: none;
  background: none;
  border: 0;
  padding: .25rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.c-selected-job__clear:hover { color: var(--brand-600); }

/* Checkbox */
.c-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--ink-500);
}
.c-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-check__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.25rem; height: 1.25rem;
  margin-top: .125rem;
  border: 2px solid var(--line-strong);
  border-radius: 5px;
  color: transparent;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.c-check__box svg { width: .8125rem; height: .8125rem; }
.c-check input:checked ~ .c-check__box {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}
.c-check:has(input:focus-visible) .c-check__box { outline: 3px solid var(--brand-600); outline-offset: 2px; }
.c-check:has(input[aria-invalid="true"]) .c-check__box { border-color: var(--danger); }

/* Dropzone */
.c-dropzone { position: relative; }
.c-dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.c-dropzone__input:focus-visible ~ .c-dropzone__label {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
}
.c-dropzone__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  padding: 2rem 1.25rem;
  text-align: center;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.c-dropzone__label:hover { border-color: var(--brand-600); background: var(--brand-tint); }
.c-dropzone[data-state="dragging"] .c-dropzone__label {
  border-color: var(--brand-600);
  background: var(--brand-tint);
}
.c-dropzone[data-state="invalid"] .c-dropzone__label { border-color: var(--danger); background: var(--danger-tint); }
.c-dropzone[data-state="filled"] .c-dropzone__label { display: none; }
.c-dropzone[data-state="filled"] .c-dropzone__input { pointer-events: none; }
.c-dropzone__icon { color: var(--ink-400); }
.c-dropzone__icon svg { width: 1.75rem; height: 1.75rem; }
.c-dropzone__primary { font-size: .9375rem; color: var(--ink); }
.c-dropzone__primary strong { color: var(--brand-700); text-decoration: underline; text-underline-offset: .18em; }
.c-dropzone__secondary { font-size: .8125rem; color: var(--ink-500); }

.c-file {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
}
.c-file__icon { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-radius: 8px; background: var(--brand-tint); color: var(--brand-700); }
.c-file__icon svg { width: 1.125rem; height: 1.125rem; }
.c-file__text { display: flex; flex-direction: column; min-width: 0; }
.c-file__name { font-size: .875rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-file__size { font-size: .8125rem; color: var(--ink-500); }
.c-file__remove {
  margin-left: auto; flex: none;
  background: none; border: 0; padding: .25rem;
  font-size: .8125rem; font-weight: 700; color: var(--danger);
  text-decoration: underline; text-underline-offset: .18em;
  cursor: pointer;
}

/* Honeypot — visually and semantically removed, but still in the DOM for bots. */
.c-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Upload progress */
.c-upload { grid-column: 1 / -1; }
.c-upload__bar {
  height: .5rem;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.c-upload__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--brand-600);
  transition: width .25s var(--ease);
}
.c-upload__label { margin-top: .5rem; font-size: .8125rem; font-weight: 600; color: var(--ink-500); }

/* Alerts & result panels */
.c-alert {
  padding: 1rem 1.125rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.c-alert--error { background: var(--danger-tint); border: 1px solid rgba(179, 38, 30, .28); }
.c-alert__title { font-weight: 700; color: var(--danger); font-size: .9375rem; margin-bottom: .25rem; }
.c-alert__body { font-size: .875rem; color: var(--ink-700); line-height: 1.6; }

.c-result { text-align: center; padding: 1rem 0 .5rem; }
.c-result__icon {
  display: grid;
  place-items: center;
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--success-tint);
  color: var(--success);
}
.c-result__icon svg { width: 1.625rem; height: 1.625rem; }
.c-result__title { font-size: 1.5rem; margin-bottom: .75rem; }
.c-result__body { max-width: 46ch; margin-inline: auto; color: var(--ink-500); line-height: 1.7; }
.c-result__meta {
  display: inline-block;
  margin-top: 1rem;
  padding: .5rem .875rem;
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--ink-700);
}
.c-result__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }

/* -------------------------------------------------------------- 17. Footer */
.c-footer {
  background: #0B0C0D;
  color: var(--on-dark-mute);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .9375rem;
}
.c-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.c-footer__logo img { width: 148px; }

.c-social { display: flex; gap: .625rem; }
.c-social a {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: var(--on-dark-mute);
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.c-social a:hover { color: #fff; border-color: var(--brand); background: var(--brand-600); }
.c-social svg { width: 1.125rem; height: 1.125rem; }

.c-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  padding-block: 2.5rem;
}
.c-footer__heading {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.c-footer__col li + li { margin-top: .5rem; }
.c-footer__col a {
  font-size: .9063rem;
  text-decoration: none;
  color: var(--on-dark-mute);
  transition: color .16s var(--ease);
}
.c-footer__col a:hover { color: #fff; }

.c-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8438rem;
}
.c-footer__contact a { color: var(--brand-bright); text-underline-offset: .18em; }

/* ------------------------------------------------- 18. Job detail dialog */
.c-dialog {
  width: min(56rem, calc(100vw - 2rem));
  max-height: min(88vh, 56rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink-700);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.c-dialog::backdrop { background: rgba(10, 11, 12, .62); backdrop-filter: blur(3px); }
.c-dialog[open] { animation: c-dialog-in .24s var(--ease); }
@keyframes c-dialog-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }

.c-dialog__inner { display: flex; flex-direction: column; max-height: min(88vh, 56rem); }

.c-dialog__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
}
.c-dialog__headings { min-width: 0; }
.c-dialog__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .5rem;
}
.c-dialog__title { font-size: clamp(1.375rem, 3vw, 1.875rem); margin-bottom: .875rem; }
.c-dialog__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  margin-left: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.c-dialog__close:hover { background: var(--ink); color: #fff; }
.c-dialog__close svg { width: 1.125rem; height: 1.125rem; }

.c-dialog__body {
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.c-jd + .c-jd { margin-top: 2rem; }
.c-jd__title {
  font-size: 1.0625rem;
  margin-bottom: .875rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}
.c-jd__body p { margin-bottom: .875rem; line-height: 1.7; color: var(--ink-700); }
.c-jd__body p:last-child { margin-bottom: 0; }
.c-jd__body ul { display: grid; gap: .625rem; }
.c-jd__body li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.65;
  color: var(--ink-700);
}
.c-jd__body li::before {
  content: '';
  position: absolute;
  left: .25rem; top: .6875rem;
  width: .375rem; height: .375rem;
  border-radius: 50%;
  background: var(--brand);
}
.c-jd__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.c-jd__fact {
  padding: .875rem 1rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}
.c-jd__factLabel {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: .1875rem;
}
.c-jd__factValue { font-size: .9375rem; font-weight: 600; color: var(--ink); }

.c-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.c-dialog__meta { font-size: .8125rem; color: var(--ink-500); }
.c-dialog__actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-left: auto; }

/* --------------------------------------------------------- 19. Responsive */
@media (max-width: 1080px) {
  .c-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-filters__search { grid-column: 1 / -1; }
  .c-apply__container { grid-template-columns: minmax(0, 1fr); }
  .c-apply__intro { position: static; }
}

@media (max-width: 900px) {
  .c-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .28s var(--ease), visibility .28s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .c-nav.is-open { transform: translateY(0); visibility: visible; }
  .c-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .c-nav__list li + li { border-top: 1px solid var(--line); }
  .c-nav__link { display: block; padding-block: .9375rem; font-size: 1.0625rem; }
  .c-nav__link::after { display: none; }
  .c-nav__link.is-current { color: var(--brand-700); }
  .c-nav__cta { margin-top: 1.25rem; justify-content: center; }
  .c-burger { display: flex; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .c-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%); }
  .c-hero__actions .c-btn { flex: 1 1 auto; }
  .c-filters { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
  .c-filters__clear { justify-self: start; }
  .c-jobs { grid-template-columns: minmax(0, 1fr); }
  .c-step-panel { grid-template-columns: minmax(0, 1fr); }
  .c-step-panel__actions { flex-direction: column-reverse; }
  .c-step-panel__actions .c-btn { width: 100%; margin-right: 0; }
  .c-progress__label { display: none; }
  .c-progress__item { flex: 0 0 auto; }
  .c-progress__item + .c-progress__item::before { flex: 1 0 1.5rem; min-width: 1.5rem; }
  .c-progress { justify-content: flex-start; }
  .c-job__foot { flex-direction: column; align-items: stretch; }
  .c-job__actions { justify-content: stretch; }
  .c-job__actions .c-btn { flex: 1; }
  .c-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .c-dialog__inner { max-height: 100dvh; }
  .c-dialog__actions { width: 100%; margin-left: 0; }
  .c-dialog__actions .c-btn { flex: 1; }
  .c-footer__bottom { flex-direction: column; align-items: flex-start; }
  .c-preview__inner { align-items: flex-start; }
}

/* ------------------------------------------- 20. Motion & print preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .c-card:hover, .c-job__inner:hover { transform: none; }
}

@media print {
  .c-header, .c-preview, .c-hero__actions, .c-filters, .c-apply, .c-footer, .c-dialog { display: none !important; }
  body.c-page { color: #000; background: #fff; }
  .c-job__inner { break-inside: avoid; border: 1px solid #999; }
}
