/*
 * Isembard Ashby CSS, corrected 11 November 2026.
 * Uses Ashby's documented :root variables and named classes only.
 * No framework import, ID selectors, structural selectors or clamp().
 * Confirm font licensing before publishing.
 */

@font-face {
  font-family: "Isembard Sans";
  src: url("https://isembard.com/assets/brand/fonts/isembard-sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Isembard Mono";
  src: url("https://isembard.com/assets/brand/fonts/isembard-mono-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* These five variables are explicitly listed in Ashby's official example. */
:root {
  --fontFamily: "Isembard Sans", system-ui, sans-serif;
  --widthMaxContent: 1024px;
  --widthMaxJobBoard: 1024px;
  --borderRadiusControl: 6px;
  --borderRadiusButton: 6px;
}

/* Plain values avoid the uploader's rejection of clamp() in font-size. */
.ashby-job-board-heading,
.ashby-job-posting-heading {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ashby-job-board-heading-count {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
}

.ashby-department-heading {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.ashby-job-posting-brief-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.ashby-job-posting-brief-details {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
}

.ashby-job-posting-description {
  max-width: 608px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.ashby-job-board-filter,
.ashby-application-form-input-text,
.ashby-application-form-input-textarea {
  font-size: 16px;
}

.ashby-application-form-question-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
}

/* Use only the exposed button hooks. Keep vendor colours, focus and states. */
.ashby-application-form-submit-button,
.ashby-application-form-input-file-dropzone-upload {
  font-family: "Isembard Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: normal;
  text-transform: uppercase;
  min-height: 44px;
}

@media (max-width: 600px) {
  .ashby-job-board-heading,
  .ashby-job-posting-heading {
    font-size: 28px;
  }
}

