/* stylelint-disable */

/*
 * Heron Power: Ashby job board theme
 * Based on HERON Brand Guideline V1 (modified 05.03.26)
 *
 * Type:   Satoshi (Regular 400 body, Medium 500 headers, Bold 700 emphasis)
 *         Berkeley Mono for technical labels, always uppercase.
 *         Berkeley Mono is a licensed font and is not on a public CDN, so
 *         JetBrains Mono stands in for visitors who do not have it installed.
 * Color:  White #FAF8EC, Black #2B2B2B, Gold #AE8F58 (used sparingly).
 *         Gold never carries small text (2.9:1 on White). It is used for
 *         rules, markers, focus glow, and hover fills under black text.
 */

/* Satoshi 400/500/700 plus true italics (401/501/701) from Fontshare */
@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,401,500,501,700,701&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  /* Heron brand tokens */
  --heron-white: #FAF8EC;
  --heron-black: #2B2B2B;
  --heron-gold: #AE8F58;
  --heron-warm-grey: #D8D4CA;

  --heron-ink: var(--heron-black);
  --heron-ink-muted: #625E56;          /* 5.2:1 on White, for secondary text */
  --heron-ink-faint: #7A766D;          /* placeholders only */
  --heron-rule: var(--heron-warm-grey); /* decorative hairlines */
  --heron-border: #8C877C;             /* 3.3:1 on White, for input outlines */
  --heron-surface: #F3F0E2;            /* slightly deeper White for wells */
  --heron-field: #FFFEF8;              /* input fill */
  --heron-gold-wash: rgba(174, 143, 88, 0.10);
  --heron-gold-glow: rgba(174, 143, 88, 0.35);
  --heron-error: #B83A14;              /* Orange shade, 5.4:1 on White */

  --heron-font-mono: "Berkeley Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Ashby variables */
  --colorAppBackground: var(--heron-white);

  /*
   * These two can also be set in Ashby admin > Job Boards > Theme.
   * Set them there to the same values so the admin and the CSS agree:
   * Primary (dark) #2B2B2B, Primary (light) #AE8F58.
   */
  --colorPrimary900: #2B2B2B;
  --colorPrimary600: #AE8F58;

  --widthMaxContent: 1024px;
  --widthMaxJobBoard: 720px;
  --widthMaxSubscriptionPreferences: 600px;

  /* The brand is rectilinear: near-square corners everywhere */
  --borderRadiusContainer: 2px;
  --borderRadiusControl: 2px;
  --borderRadiusButton: 2px;

  --fontFamily: "Satoshi", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  accent-color: var(--heron-black);
}

body {
  background: var(--heron-white);
  color: var(--heron-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--heron-gold-glow);
  color: var(--heron-black);
}


/* ==========================================================================
   Job board: list of open roles
   ========================================================================== */

/* The heading of the entire job board. */
.ashby-job-board-heading {
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--heron-ink);
}

/* The count of job postings on the job board. */
.ashby-job-board-heading-count {
  font-family: var(--heron-font-mono);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--heron-ink-muted);
  vertical-align: 0.6em;
  margin-left: 0.25em;
}

/* The heading of a department, which can have many teams under it. */
.ashby-department-heading {
  /* -4px and 1rem match the row geometry below so rules and text line up */
  margin: 3rem 0 0.5rem -4px;
  padding: 1rem 1rem 0;
  border-top: 1px solid var(--heron-black);
  font-family: var(--heron-font-mono);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heron-ink);
}

/* The heading of a single team. */
.ashby-department-heading-level {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

/* The container for the list of job post briefings. */
.ashby-job-posting-brief-list {
  margin-top: 0.5rem;
}

/* The container of the job posting details pane. One row per role. */
.ashby-job-posting-brief {
  margin: 0 0 0 -4px;
  padding: 1.25rem 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--heron-rule);
  border-radius: 0;
  box-shadow: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

a:hover > .ashby-job-posting-brief,
a:focus-visible > .ashby-job-posting-brief {
  background: var(--heron-gold-wash);
  box-shadow: inset 3px 0 0 var(--heron-gold);
}

/* The title of the job posting in the details pane. */
.ashby-job-posting-brief-title {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--heron-ink);
}

/* The container for the details of the job posting (department, location, type). */
.ashby-job-posting-brief-details,
.ashby-job-posting-brief-details p {
  margin-top: 0.375rem;
  font-family: var(--heron-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--heron-ink-muted);
}

.ashby-job-posting-brief-details p {
  margin-top: 0;
}

/* Filters (shown when the board has enough roles to filter) */
.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  font-family: var(--heron-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--heron-ink-muted);
}

.ashby-job-board-filter {
  font-family: var(--fontFamily);
  color: var(--heron-ink);
  background-color: var(--heron-field);
  border: 1px solid var(--heron-border);
  border-radius: var(--borderRadiusControl);
}

.ashby-job-board-filter:focus {
  border-color: var(--heron-black);
  box-shadow: 0 0 0 3px var(--heron-gold-glow);
  outline: none;
}


/* ==========================================================================
   Job posting page
   ========================================================================== */

/* The main header on the job posting page (logo bar). It is sticky, so it
   needs a solid fill or content scrolls visibly underneath the logo. */
.ashby-job-posting-header {
  background: var(--heron-white);
}

/* The button which navigates back to the list of all job postings. */
.ashby-job-board-back-to-all-jobs-button {
  color: var(--heron-ink);
  transition: color 0.15s ease, transform 0.15s ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: var(--heron-gold);
  transform: translateX(-2px);
}

/* The heading of a job post */
.ashby-job-posting-heading {
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--heron-ink);
}

/* The left pane of the job posting, with the job posting details */
.ashby-job-posting-left-pane {
  background: transparent;
}

/* Section labels in the left pane (Location, Employment Type, ...) */
.ashby-job-posting-left-pane h2 {
  font-family: var(--heron-font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--heron-ink-muted);
}

.ashby-job-posting-left-pane p {
  font-weight: 500;
  color: var(--heron-ink);
}

.ashby-job-posting-left-pane > div {
  border-color: var(--heron-rule);
}

/* The heading of a department name inside the left pane. */
.ashby-job-posting-brief-department-heading,
.ashby-job-posting-brief-department-heading-level {
  font-weight: 500;
  color: var(--heron-ink);
}

/* The right pane: tabs, overview, and application form */
.ashby-job-posting-right-pane {
  background: transparent;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-weight: 500;
  color: var(--heron-ink-muted);
  transition: color 0.15s ease;
}

[aria-selected="true"] > .ashby-job-posting-right-pane-overview-tab,
[aria-selected="true"] > .ashby-job-posting-right-pane-application-tab,
[role="tab"]:hover > .ashby-job-posting-right-pane-overview-tab,
[role="tab"]:hover > .ashby-job-posting-right-pane-application-tab {
  color: var(--heron-ink);
}

/* The tabs slider (active-tab underline) */
.ashby-job-posting-right-pane-tab-slider {
  background: var(--heron-gold);
}

/* The container of the job posting description, including the apply button */
.ashby-job-posting-description-container {
  background: transparent;
}

/* The rich text content of the job posting description */
.ashby-job-posting-description {
  color: var(--heron-ink);
  line-height: 1.65;
}

.ashby-job-posting-description h1,
.ashby-job-posting-description h2,
.ashby-job-posting-description h3,
.ashby-job-posting-description h4 {
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--heron-ink);
}

.ashby-job-posting-description h1 { font-size: 1.625rem; }
.ashby-job-posting-description h2 { font-size: 1.375rem; }
.ashby-job-posting-description h3 { font-size: 1.1875rem; }
.ashby-job-posting-description h4 { font-size: 1.0625rem; }

.ashby-job-posting-description strong,
.ashby-job-posting-description b {
  font-weight: 700;
}

.ashby-job-posting-description a {
  color: var(--heron-ink);
  text-decoration: underline;
  text-decoration-color: var(--heron-gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.ashby-job-posting-description a:hover {
  text-decoration-color: var(--heron-black);
}

.ashby-job-posting-description li::marker {
  color: var(--heron-gold);
}

.ashby-job-posting-description hr {
  border: 0;
  border-top: 1px solid var(--heron-rule);
}


/* ==========================================================================
   Buttons
   ========================================================================== */

/* "Apply for this Job" and "Submit Application" */
.ashby-job-posting-description-container button,
.ashby-application-form-submit-button {
  font-family: var(--fontFamily);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: var(--heron-black);
  color: var(--heron-white);
  border: 1px solid var(--heron-black);
  border-radius: var(--borderRadiusButton);
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.ashby-job-posting-description-container button:hover,
.ashby-application-form-submit-button:hover {
  background: var(--heron-gold);
  border-color: var(--heron-gold);
  color: var(--heron-black);
  transform: translateY(-1px);
}

.ashby-job-posting-description-container button:focus-visible,
.ashby-application-form-submit-button:focus-visible {
  outline: 2px solid var(--heron-black);
  outline-offset: 2px;
}

.ashby-application-form-submit-button:disabled,
.ashby-application-form-submit-button[aria-busy="true"] {
  background: var(--heron-ink-muted);
  border-color: var(--heron-ink-muted);
  color: var(--heron-white);
  transform: none;
}


/* ==========================================================================
   Application form
   ========================================================================== */

/* A container for the application form. */
.ashby-application-form-container {
  background: transparent;
}

/* Resume autofill */
.ashby-application-form-autofill-pane {
  background: transparent;
}

.ashby-application-form-autofill-input-root {
  background: var(--heron-surface);
  border: 1px solid var(--heron-rule);
  border-radius: var(--borderRadiusContainer);
}

.ashby-application-form-autofill-input-root[data-state="drag"] {
  border-color: var(--heron-gold);
  background: var(--heron-gold-wash);
}

/* "Upload file" button inside the autofill box */
.ashby-application-form-autofill-input-base-layer button {
  font-family: var(--fontFamily);
  font-weight: 500;
  color: var(--heron-ink);
  background: transparent;
  border: 1px solid var(--heron-black);
  border-radius: var(--borderRadiusButton);
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ashby-application-form-autofill-input-base-layer button:hover {
  background: var(--heron-black);
  color: var(--heron-white);
}

.ashby-application-form-autofill-input-icon {
  color: var(--heron-gold);
}

.ashby-application-form-autofill-input-title {
  font-weight: 500;
  color: var(--heron-ink);
}

.ashby-application-form-autofill-input-description {
  color: var(--heron-ink-muted);
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
  color: var(--heron-error);
}

/* Sections */
.ashby-application-form-section-container + .ashby-application-form-section-container {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--heron-rule);
}

.ashby-application-form-section-header-title {
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--heron-ink);
}

.ashby-application-form-section-header-description {
  color: var(--heron-ink-muted);
}

/* Question title and description */
.ashby-application-form-question-title {
  font-weight: 500;
  color: var(--heron-ink);
}

/* Required-field asterisk: brand Orange (shade) instead of Ashby red */
.ashby-application-form-question-title::after {
  color: var(--heron-error);
}

.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description {
  color: var(--heron-ink-muted);
  font-size: 0.875rem;
}

/* Text-like inputs */
.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-dropdown-select {
  font-family: var(--fontFamily);
  color: var(--heron-ink);
  background-color: var(--heron-field);
  border: 1px solid var(--heron-border);
  border-radius: var(--borderRadiusControl);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ashby-application-form-input-text::placeholder,
.ashby-application-form-input-textarea::placeholder,
.ashby-application-form-input-date::placeholder,
.ashby-application-form-input-autocomplete::placeholder {
  color: var(--heron-ink-faint);
}

.ashby-application-form-input-text:hover,
.ashby-application-form-input-textarea:hover,
.ashby-application-form-input-date:hover,
.ashby-application-form-input-autocomplete:hover,
.ashby-application-form-input-dropdown-select:hover {
  border-color: var(--heron-black);
}

.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-date:focus,
.ashby-application-form-input-autocomplete:focus,
.ashby-application-form-input-dropdown-select:focus {
  border-color: var(--heron-black);
  box-shadow: 0 0 0 3px var(--heron-gold-glow);
  outline: none;
}

.ashby-application-form-input-dropdown-icon {
  color: var(--heron-ink);
}

/* Autocomplete results popup */
.ashby-application-form-input-autocomplete-popup {
  background: var(--heron-field);
  border: 1px solid var(--heron-border);
  border-radius: var(--borderRadiusControl);
  box-shadow: 0 8px 24px rgba(43, 43, 43, 0.12);
}

.ashby-application-form-input-autocomplete-popup-result[aria-selected="true"] {
  background: var(--heron-gold-wash);
  box-shadow: inset 3px 0 0 var(--heron-gold);
}

.ashby-application-form-input-autocomplete-popup-empty,
.ashby-application-form-input-autocomplete-popup-loading {
  color: var(--heron-ink-muted);
}

/* Date picker popup */
.ashby-application-form-input-date-popup {
  background: var(--heron-field);
  border: 1px solid var(--heron-border);
  border-radius: var(--borderRadiusControl);
  box-shadow: 0 8px 24px rgba(43, 43, 43, 0.12);
}

.ashby-application-form-input-date-popup-title {
  font-weight: 500;
}

.ashby-application-form-input-date-popup-header-button {
  color: var(--heron-ink);
}

/* Yes / No */
.ashby-application-form-input-yesno-option {
  font-family: var(--fontFamily);
  font-weight: 500;
  color: var(--heron-ink-muted);
  background: var(--heron-field);
  border: 1px solid var(--heron-border);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ashby-application-form-input-yesno-option[data-option="yes"] {
  border-radius: var(--borderRadiusControl) 0 0 var(--borderRadiusControl);
}

.ashby-application-form-input-yesno-option[data-option="no"] {
  border-radius: 0 var(--borderRadiusControl) var(--borderRadiusControl) 0;
}

.ashby-application-form-input-yesno-option:hover {
  color: var(--heron-ink);
  background: var(--heron-surface);
}

.ashby-application-form-input-yesno-option[aria-pressed="true"] {
  background: var(--heron-black);
  border-color: var(--heron-black);
  color: var(--heron-white);
}

/* Checkbox and radio groups */
.ashby-application-form-input-checkbox-group-option-label,
.ashby-application-form-input-radio-group-option-label {
  color: var(--heron-ink);
}

.ashby-application-form-input-checkbox-group-option[data-checked] .ashby-application-form-input-checkbox-group-option-label,
.ashby-application-form-input-radio-group-option[data-checked] .ashby-application-form-input-radio-group-option-label {
  font-weight: 500;
}

/* File upload */
.ashby-application-form-input-file {
  background: var(--heron-surface);
  border: 1px dashed var(--heron-border);
  border-radius: var(--borderRadiusContainer);
}

.ashby-application-form-input-file-dropzone-instructions {
  color: var(--heron-ink-muted);
}

.ashby-application-form-input-file-dropzone-upload {
  font-family: var(--fontFamily);
  font-weight: 500;
  color: var(--heron-ink);
  background: transparent;
  border: 1px solid var(--heron-black);
  border-radius: var(--borderRadiusButton);
  box-shadow: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.ashby-application-form-input-file-dropzone-upload:hover {
  background: var(--heron-black);
  color: var(--heron-white);
}

.ashby-application-form-input-file-item {
  background: var(--heron-field);
  border: 1px solid var(--heron-rule);
  border-radius: var(--borderRadiusControl);
}

.ashby-application-form-input-file-item-name {
  font-weight: 500;
  color: var(--heron-ink);
}

.ashby-application-form-input-file-item-delete:hover {
  color: var(--heron-error);
}

/* Education history */
.ashby-application-form-input-education-entry {
  border: 1px solid var(--heron-rule);
  border-radius: var(--borderRadiusContainer);
  background: var(--heron-surface);
}

.ashby-application-form-input-education-entry-header {
  font-weight: 500;
}

.ashby-application-form-input-education-add {
  font-weight: 500;
  color: var(--heron-ink);
  text-decoration: underline;
  text-decoration-color: var(--heron-gold);
  text-underline-offset: 3px;
}

/* Submission states */
.ashby-application-form-success-container {
  background: var(--heron-surface);
  border-top: 3px solid var(--heron-gold);
  border-radius: var(--borderRadiusContainer);
  color: var(--heron-ink);
}

.ashby-application-form-failure-container {
  background: var(--heron-surface);
  border-left: 3px solid var(--heron-error);
  border-radius: var(--borderRadiusContainer);
  color: var(--heron-ink);
}

.ashby-application-blocking-disclosure,
.ashby-application-form-blocked-application-container {
  background: var(--heron-surface);
  border: 1px solid var(--heron-rule);
  border-radius: var(--borderRadiusContainer);
  color: var(--heron-ink);
}

/* A container for any surveys specified for this application form. */
.ashby-survey-form-container {
  background: transparent;
}
