/* stylelint-disable */
/*
 * Valkryn x Ashby Job Board Theme (dark, matches valkryn-v2.webflow.io)
 * v2: rebuilt on Ashby's own neutral scale so every surface flips to dark,
 * including the ones with no .ashby-* hook (overview body, intro text,
 * filters, upload buttons, cookie pill, footer).
 * v3: job cards render (and highlight on hover) on all four sides. Ashby
 * was zeroing border-top on every card at desktop widths.
 *
 * Tokens (from the Webflow site):
 *   ink #000, ink-2 #0C0C0C, white #FFF, bone #D9D5CF, white-dark #E6E3DE,
 *   muted #A09B95, hairline #2E2E2E (white 14% on ink-2), radius 4px, Archivo.
 *
 * Install: Ashby Admin > Job Board > Theme > Custom CSS.
 * Also in Job Board Options (native settings, these override CSS):
 *   1. Brand Color        = #FFFFFF  (links, buttons, active tab)
 *   2. Brand Color (Dark) = #E6E3DE  (hover)
 *   3. Upload a WHITE logo/wordmark. The current one is dark and vanishes
 *      on black, and CSS can't reach it (no .ashby-* hook on the logo).
 *
 * Ashby allowlist: :root variables, .ashby-* classes, @rules only.
 * No clamp(), no :not()/:nth-*, no id or bare element selectors.
 * Stateful controls (filters, yes/no, tabs) are themed through variables
 * only, so their selected/active states keep working.
 */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&display=swap');

/* ---------- Theme variables ---------- */
:root {
  /* Layout + type */
  --colorAppBackground: #000000;
  --widthMaxJobBoard: 1080px;
  --borderRadiusContainer: 4px;
  --borderRadiusControl: 4px;
  --borderRadiusButton: 4px;
  --fontFamily: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Primary600/900 come from Brand Color / Brand Color (Dark) in the
     native settings (written inline on <html>), so they're not set here.
     These are the derived tints Ashby doesn't expose as settings. */
  --colorPrimary500A: rgba(255, 255, 255, 0.12);
  --colorPrimaryShadow: rgba(0, 0, 0, 0.5);
  --colorShadowPrimaryLight: rgba(255, 255, 255, 0.10);
  --colorShadowPrimaryXLight: rgba(255, 255, 255, 0.05);

  /* Neutral scale, inverted for dark.
     000 = panels/inputs, 100-200 = raised/hover, 300-400 = borders,
     500 = placeholder, 600 = secondary text, 700-800 = body text. */
  --colorNeutral000: #0C0C0C;
  --colorNeutral100: #121212;
  --colorNeutral200: #1A1A1A;
  --colorNeutral300: #2E2E2E;
  --colorNeutral400: #3D3D3D;
  --colorNeutral500: #6E6A66;
  --colorNeutral600: #A09B95;
  --colorNeutral700: #BDB9B3;
  --colorNeutral800: #D9D5CF;

  /* Alpha variants were black-on-light; flip to white-on-dark */
  --colorNeutral000A: rgba(12, 12, 12, 0);
  --colorNeutral100A: rgba(255, 255, 255, 0.03);
  --colorNeutral200A: rgba(255, 255, 255, 0.06);
  --colorNeutral300A: rgba(255, 255, 255, 0.10);
  --colorNeutral400A: rgba(255, 255, 255, 0.16);
  --colorNeutral500A: rgba(255, 255, 255, 0.24);
  --colorNeutral600A: rgba(255, 255, 255, 0.40);
  --colorNeutral700A: rgba(255, 255, 255, 0.62);
  --colorNeutral800A: rgba(255, 255, 255, 0.80);
  --colorNeutral100Transparent: rgba(18, 18, 18, 0);
  --colorNeutral600Transparent: rgba(160, 155, 149, 0.25);
  --colorNeutralShadow: rgba(0, 0, 0, 0.6);

  /* Status colors: pastel backgrounds become dark tints, dark text becomes light */
  --colorNegative200: #2A1414;
  --colorNegative600: #E5484D;
  --colorNegative800: #F2A7A7;
  --colorNegative900: #F8C9C9;
  --colorPositive200: #0F2416;
  --colorPositive600: #3DD68C;
  --colorPositive800: #9BE5B4;
  --colorWarning600: #F4CA64;
  --colorWarning800: #F4CA64;
  --colorWarning900: #F9E2A8;
  --colorInfo100: #0A1220;
  --colorInfo200: #0D1828;
  --colorInfo300: #102033;
  --colorInfo400: #13283F;
  --colorInfo500: #18324E;
  --colorInfo1100: #7CC0FF;
  --colorInfo1200: #CFE6FF;
}

/* ---------- Job board listing ---------- */
.ashby-job-board-heading {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.ashby-job-board-heading-count {
  font-weight: 500;
  color: #6E6A66;
}

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  color: #A09B95;
  font-weight: 500;
}

.ashby-department-heading {
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Job cards. At desktop widths Ashby sets border-top: 0 on every card
   (its :first-child rule, and each card is the first child of its own
   link), and that rule outranks a single class. Scoping to the list and
   doubling the class lifts specificity so all four sides render and the
   hover highlight covers the whole box. Ashby also stacks cards with no
   gap; margin-top keeps full borders from doubling into a 2px seam. */
.ashby-job-posting-brief-list .ashby-job-posting-brief.ashby-job-posting-brief {
  background-color: #0C0C0C;
  border: 1px solid #2E2E2E;
  border-radius: 4px;
  box-shadow: none;
  margin-top: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ashby-job-posting-brief-list .ashby-job-posting-brief.ashby-job-posting-brief:hover {
  background-color: #121212;
  border-color: rgba(255, 255, 255, 0.4);
}

.ashby-job-posting-brief-title {
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ashby-job-posting-brief-details {
  color: #A09B95;
}

/* ---------- Job posting page ---------- */
.ashby-job-board-back-to-all-jobs-button {
  color: #A09B95;
  font-weight: 500;
}

/* Tight line-height leaves no room for descenders, so the margin
   is what keeps the title off the panel border below it. */
.ashby-job-posting-heading {
  font-weight: 700;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

/* Left pane sits flat on the page */
.ashby-job-posting-left-pane {
  background-color: transparent;
  box-shadow: none;
}

/* Right pane: ink-2 panel with the site's hairline border.
   White text so the overview reads as bright as the application form
   (the inactive tab and form descriptions keep their own grey). */
.ashby-job-posting-right-pane {
  background-color: #0C0C0C;
  color: #FFFFFF;
  border: 1px solid #2E2E2E;
  border-radius: 4px;
  box-shadow: none;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-weight: 500;
  font-size: 15px;
}

.ashby-job-posting-right-pane-tab-slider {
  background-color: #FFFFFF;
}

/* ---------- Application form ---------- */
.ashby-application-form-question-title {
  color: #FFFFFF;
  font-weight: 600;
}

.ashby-application-form-section-header-title {
  color: #FFFFFF;
  font-weight: 600;
}

.ashby-application-form-section-header-description,
.ashby-application-form-question-description,
.ashby-application-form-autofill-input-description,
.ashby-application-form-texting-consent-description {
  color: #A09B95;
}

.ashby-application-form-autofill-input-title {
  color: #FFFFFF;
}

/* Inputs: ink fill so they sit below the ink-2 panel */
.ashby-application-form-input-text {
  font-size: 16px;
  background-color: #000000;
  color: #FFFFFF;
  border-color: #2E2E2E;
}

.ashby-application-form-input-text:focus {
  border-color: #FFFFFF;
}

/* Upload boxes: one ink well with a 1px dashed hairline, no inner strip.
   Border brightened via a scoped variable (not border-color) so Ashby's
   drag-over highlight still works. */
.ashby-application-form-input-file {
  --colorNeutral300: #4A4A4A;
  background-color: #000000;
  border-width: 1px;
}

.ashby-application-form-input-file-dropzone {
  background-color: transparent;
}

.ashby-application-form-input-file-dropzone-instructions {
  color: #A09B95;
}

/* Matches the site's .button: white fill, ink text, 48px tall.
   Ashby renders it edge to edge at the bottom of the panel; the margin
   pulls it inside the form's 16px gutter so it doesn't sit on the border.
   width:auto is the fallback if calc() is ever stripped (compact button). */
.ashby-application-form-submit-button {
  width: auto;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  min-height: 48px;
  font-size: 14px;
  font-weight: 500;
}

.ashby-application-form-submit-button:hover {
  background-color: #E6E3DE;
  border-color: #E6E3DE;
}

.ashby-application-form-success-container,
.ashby-application-form-failure-container {
  background-color: #0C0C0C;
  color: #D9D5CF;
  border: 1px solid #2E2E2E;
  border-radius: 4px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .ashby-job-posting-heading {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .ashby-job-board-heading {
    font-size: 32px;
  }
}
