/*
 * Valthos hosted careers theme
 *
 * Upload this file in Ashby:
 * Admin > Job Boards > Theme (Job Board) > Custom CSS
 *
 * The stable `ashby-*` hooks cover the core experience. Generated-class
 * selectors are narrowly scoped to Ashby's surrounding layout primitives.
 */

@font-face {
	font-family: "Valthos Diatype";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("https://valthos.com/_next/static/media/ValthosDiatype_Regular-s.p.296b3by-x5_c6.woff2") format("woff2");
}

@font-face {
	font-family: "Valthos Diatype";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("https://valthos.com/_next/static/media/ValthosDiatype_Medium-s.p.3e7djvt16y__j.woff2") format("woff2");
}

@font-face {
	font-family: "Valthos Diatype";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("https://valthos.com/_next/static/media/ValthosDiatype_Bold-s.p.36y-v-d_x7ndp.woff2") format("woff2");
}

@font-face {
	font-family: "Valthos Diatype Semi-Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("https://valthos.com/_next/static/media/ValthosDiatypeSemi_Mono_Regular-s.p.3321x3179j9xe.woff2") format("woff2");
}

:root {
	--valthos-chalk: #f5f5f5;
	--valthos-carbon: #0b0b0a;
	--valthos-pewter: #77776d;
	--valthos-dusk: #99a8ff;
	--valthos-dusk-focus: #4442d1;
	--valthos-gray-1: #1b1b18;
	--valthos-gray-2: #282825;
	--valthos-gray-3: #43433d;
	--valthos-gray-4: #56564f;
	--valthos-gray-6: #a7a79f;
	--valthos-gray-7: #d5d5d2;
	--valthos-gray-8: #e7e7e4;
	--valthos-gray-9: #fafaf9;
	--valthos-surface: #ffffff;

	--colorAppBackground: var(--valthos-chalk);
	--colorNeutral000: var(--valthos-surface);
	--colorNeutral100: var(--valthos-gray-9);
	--colorNeutral200: var(--valthos-gray-8);
	--colorNeutral300: var(--valthos-gray-7);
	--colorNeutral400: var(--valthos-gray-6);
	--colorNeutral500: var(--valthos-pewter);
	--colorNeutral600: var(--valthos-gray-4);
	--colorNeutral700: var(--valthos-gray-3);
	--colorNeutral800: var(--valthos-gray-1);
	--colorNeutral900: var(--valthos-carbon);
	--colorPrimary000: var(--valthos-gray-9);
	--colorPrimary600: var(--valthos-carbon) !important;
	--colorPrimary900: var(--valthos-gray-2) !important;
	--colorSecondary900: #5b61ff;
	--colorPrimaryShadow: rgb(11 11 10 / 10%);
	--colorNeutralShadow: rgb(11 11 10 / 8%);
	--borderRadiusContainer: 4px;
	--borderRadiusControl: 4px;
	--borderRadiusButton: 4px;
	--fontFamily: "Valthos Diatype", "Helvetica Neue", Arial, sans-serif;
	--fontWeightLightBold: 400;
	--fontWeightMediumBold: 500;
	--fontWeightHeavyBold: 700;
	--widthMaxContent: 1240px;
	--widthMaxJobBoard: 1040px;
	--transitionDuration: 180ms;
	--transitionDurationSlow: 280ms;
	--transitionFunction: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
	background: var(--valthos-chalk);
	color: var(--valthos-carbon);
}

body {
	min-height: 100vh;
	background-color: var(--valthos-chalk);
	color: var(--valthos-carbon);
	font-family: var(--fontFamily);
	font-feature-settings: "zero", "calt", "case";
	letter-spacing: 0;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-feature-settings: inherit;
}

::selection {
	background: var(--valthos-dusk);
	color: var(--valthos-carbon);
}

/* Navigation */

[class*="_navRoot_"],
.ashby-job-posting-header {
	border-bottom: 1px solid var(--valthos-gray-7);
	background: rgb(245 245 245 / 94%);
	backdrop-filter: blur(14px);
}

[class*="_navRoot_"] [class*="_navContainer_"],
.ashby-job-posting-header [class*="_navContainer_"] {
	height: 64px;
	max-width: var(--widthMaxContent);
	padding: 14px 24px;
	border: 0;
}

[class*="_navRoot_"] [class*="_navLogoWordmarkImage_"],
.ashby-job-posting-header [class*="_navLogoWordmarkImage_"] {
	max-height: 24px;
}

.ashby-job-posting-header .ashby-job-board-back-to-all-jobs-button {
	width: 36px;
	height: 36px;
	padding: 9px !important;
	border: 1px solid var(--valthos-gray-7);
	border-radius: 4px !important;
	background: var(--valthos-surface) !important;
	color: var(--valthos-carbon) !important;
}

.ashby-job-posting-header .ashby-job-board-back-to-all-jobs-button:hover {
	border-color: var(--valthos-carbon);
	background: var(--valthos-gray-9) !important;
}

/* Board heading and filters */

[class*="_titles_"] {
	max-width: none;
	margin: 0 24px;
}

.ashby-job-board-heading {
	margin-top: 44px !important;
	color: var(--valthos-carbon) !important;
	font-size: 40px !important;
	font-weight: 500 !important;
	line-height: 1.05 !important;
	letter-spacing: 0;
}

.ashby-job-board-heading-count {
	margin-left: 8px;
	color: var(--valthos-gray-4);
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px;
	font-weight: 400;
	line-height: 16px;
	vertical-align: top;
}

[class*="_titles_"] + [class*="_content_"] {
	padding: 0 24px 72px;
}

[class*="_filtersContainer_"] {
	margin: 16px 0 48px;
	border-bottom: 1px solid var(--valthos-gray-7);
}

[class*="_filtersWindow_"] {
	padding: 0 0 16px;
}

[class*="_filtersWindow_"] [class*="_filters_"] {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
	color: var(--valthos-gray-4) !important;
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

[class*="_filterContainer_"] {
	min-width: 0;
}

.ashby-job-board-filter {
	height: 42px;
	padding: 0 36px 0 12px !important;
	border: 1px solid var(--valthos-gray-7) !important;
	border-radius: 4px !important;
	background: transparent !important;
	color: var(--valthos-gray-3) !important;
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace !important;
	font-size: 11px !important;
	line-height: 16px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ashby-job-board-filter:hover {
	border-color: var(--valthos-gray-6) !important;
}

.ashby-job-board-filter:focus-visible {
	border-color: var(--valthos-carbon) !important;
	outline: 2px solid var(--valthos-dusk-focus) !important;
	outline-offset: 2px;
}

[class*="_filterIconContainer_"] {
	color: var(--valthos-pewter);
}

[class*="_filtersOpen_"] {
	position: relative;
	width: 100%;
	min-height: 44px;
	padding: 12px 44px 12px 16px;
	border: 1px solid var(--valthos-gray-7);
	border-radius: 4px;
	background: transparent;
	color: var(--valthos-gray-3);
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.03em;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: uppercase;
}

[class*="_filtersOpen_"]::after {
	position: absolute;
	top: 50%;
	right: 16px;
	color: var(--valthos-pewter);
	content: "\2193";
	font-size: 14px;
	line-height: 1;
	transform: translateY(-50%);
}

/* Departments and jobs */

.ashby-department-heading {
	margin: 48px 0 12px !important;
	padding: 0 !important;
	border: 0;
}

.ashby-department-heading:first-child {
	margin-top: 0 !important;
}

.ashby-department-heading-level {
	color: var(--valthos-gray-4) !important;
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ashby-job-posting-brief-list {
	display: grid;
	gap: 0;
	border-bottom: 1px solid var(--valthos-gray-7);
}

.ashby-job-posting-brief-list > a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ashby-job-posting-brief {
	position: relative;
	display: grid;
	gap: 8px;
	min-height: 112px;
	margin: 0 !important;
	padding: 25px 64px 25px 20px !important;
	border: 0 !important;
	border-top: 1px solid var(--valthos-gray-7) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transition:
		background-color 180ms ease,
		box-shadow 180ms ease;
}

.ashby-job-posting-brief::after {
	position: absolute;
	top: 25px;
	right: 22px;
	color: var(--valthos-pewter);
	content: "\2197";
	font-size: 20px;
	line-height: 1;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.ashby-job-posting-brief:hover {
	background: var(--valthos-gray-9) !important;
	box-shadow: inset 3px 0 0 var(--valthos-dusk) !important;
}

.ashby-job-posting-brief:hover::after {
	color: var(--valthos-carbon);
	transform: translate(4px, -4px);
}

.ashby-job-posting-brief-title {
	margin: 0;
	color: var(--valthos-carbon) !important;
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
	letter-spacing: 0;
}

.ashby-job-posting-brief-details,
.ashby-job-posting-brief-details p {
	margin: 0;
	color: var(--valthos-gray-4) !important;
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px !important;
	line-height: 16px !important;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Role detail */

.ashby-job-posting-heading {
	max-width: 960px;
	margin-top: 64px !important;
	margin-bottom: 40px !important;
	color: var(--valthos-carbon) !important;
	font-size: 56px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0;
}

[class*="_content_"][class*="_details_"] {
	display: grid !important;
	grid-template-columns: 260px minmax(0, 1fr) !important;
	gap: 64px !important;
	align-items: start;
}

.ashby-job-posting-left-pane {
	position: sticky;
	top: 96px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--valthos-gray-7) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ashby-job-posting-left-pane > div {
	padding: 14px 0 !important;
	border-color: var(--valthos-gray-7) !important;
}

.ashby-job-posting-left-pane h2 {
	margin-bottom: 5px !important;
	color: var(--valthos-gray-4) !important;
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 14px !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ashby-job-posting-left-pane p {
	margin: 0;
	color: var(--valthos-carbon);
	font-size: 13px;
	line-height: 18px;
}

.ashby-job-posting-right-pane {
	min-width: 0;
}

.ashby-job-posting-right-pane [role="tablist"] {
	margin: 0;
	border-bottom: 1px solid var(--valthos-gray-7);
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ashby-job-posting-right-pane [role="tab"] {
	padding: 13px 16px;
	color: var(--valthos-gray-4);
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ashby-job-posting-right-pane [role="tab"][aria-selected="true"] {
	color: var(--valthos-carbon);
}

.ashby-job-posting-right-pane-tab-slider {
	height: 2px !important;
	background: var(--valthos-dusk) !important;
}

.ashby-application-form-container,
.ashby-application-form-autofill-pane {
	border: 1px solid var(--valthos-gray-7) !important;
	border-radius: 4px !important;
	background: var(--valthos-surface) !important;
	box-shadow: none !important;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"] {
	margin: 0 !important;
	padding: 36px 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--valthos-gray-7) !important;
	border-bottom: 1px solid var(--valthos-gray-7) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child {
	color: var(--valthos-gray-3);
	font-size: 16px;
	line-height: 1.7;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	h1 {
	margin: 0 0 24px;
	color: var(--valthos-carbon);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	h2 {
	margin: 40px 0 12px;
	padding-top: 14px;
	border-top: 1px solid var(--valthos-gray-7);
	color: var(--valthos-carbon);
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	p {
	margin: 0 0 16px;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	ul,
.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	ol {
	margin: 12px 0 24px;
	padding-left: 22px;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	li {
	margin: 0 0 9px;
	padding-left: 4px;
}

.ashby-job-posting-right-pane
	> [role="tabpanel"][class*="_description_"]
	> div:first-child
	li::marker {
	color: var(--valthos-dusk);
}

/* Buttons and application form */

.ashby-application-form-submit-button {
	min-height: 44px;
	margin-top: 24px;
	border-radius: 4px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
}

.ashby-application-form-submit-button:not([disabled]) {
	border: 1px solid var(--valthos-carbon) !important;
	background: var(--valthos-carbon) !important;
	box-shadow: none !important;
	color: var(--valthos-surface) !important;
}

.ashby-application-form-submit-button:not([disabled]):hover {
	border-color: var(--valthos-gray-2) !important;
	background: var(--valthos-gray-2) !important;
	box-shadow: inset 0 -3px 0 var(--valthos-dusk) !important;
}

.ashby-application-form-submit-button[disabled] {
	border-color: var(--valthos-gray-7) !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--valthos-gray-6) !important;
	cursor: not-allowed;
}

.ashby-application-form-autofill-pane button,
.ashby-application-form-field-entry button {
	min-height: 40px;
	border: 1px solid var(--valthos-gray-7) !important;
	border-radius: 4px !important;
	background: var(--valthos-surface) !important;
	box-shadow: none !important;
	color: var(--valthos-carbon) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: 0 !important;
}

.ashby-application-form-autofill-pane button:not([disabled]):hover,
.ashby-application-form-field-entry button:not([disabled]):hover {
	border-color: var(--valthos-carbon) !important;
	background: var(--valthos-gray-9) !important;
	color: var(--valthos-carbon) !important;
}

.ashby-application-form-autofill-pane button:not([disabled]):hover svg,
.ashby-application-form-autofill-pane button:not([disabled]):hover svg path,
.ashby-application-form-field-entry button:not([disabled]):hover svg,
.ashby-application-form-field-entry button:not([disabled]):hover svg path {
	fill: currentColor !important;
}

.ashby-application-form-autofill-pane button[disabled],
.ashby-application-form-field-entry button[disabled] {
	border-color: var(--valthos-gray-7) !important;
	background: transparent !important;
	color: var(--valthos-gray-6) !important;
	cursor: not-allowed;
}

.ashby-application-form-field-entry button[class*="_active_"] {
	border-color: var(--valthos-dusk) !important;
	background: var(--valthos-dusk) !important;
	box-shadow: inset 0 0 0 1px rgb(11 11 10 / 18%) !important;
	color: var(--valthos-carbon) !important;
}

.ashby-application-form-autofill-pane {
	margin: 0 0 12px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.ashby-application-form-autofill-input-root {
	border-color: var(--valthos-gray-7) !important;
	border-radius: 4px !important;
	background: var(--valthos-gray-9) !important;
}

.ashby-application-form-autofill-input-title {
	color: var(--valthos-carbon) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
}

.ashby-application-form-autofill-input-description {
	color: var(--valthos-gray-4) !important;
	font-size: 13px !important;
	line-height: 18px !important;
}

.ashby-application-form-container {
	margin: 0 !important;
	padding: 28px 28px 4px !important;
}

.ashby-application-form-section-container {
	padding: 0 !important;
}

.ashby-application-form-field-entry {
	margin-bottom: 24px !important;
}

.ashby-application-form-question-title {
	margin-bottom: 8px !important;
	color: var(--valthos-gray-3) !important;
	font-family: "Valthos Diatype Semi-Mono", ui-monospace, monospace;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 16px !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.ashby-application-form-field-entry input:not([type="file"]):not([type="radio"]):not([type="checkbox"]),
.ashby-application-form-field-entry textarea,
.ashby-application-form-field-entry select {
	width: 100%;
	border: 1px solid var(--valthos-gray-7) !important;
	border-radius: 4px !important;
	background: var(--valthos-gray-9) !important;
	box-shadow: none !important;
	color: var(--valthos-carbon) !important;
	font-size: 15px !important;
}

.ashby-application-form-field-entry input:not([type="file"]):not([type="radio"]):not([type="checkbox"]) {
	min-height: 44px;
	padding: 10px 12px !important;
}

.ashby-application-form-field-entry textarea {
	min-height: 128px;
	padding: 12px !important;
	line-height: 1.5;
	resize: vertical;
}

.ashby-application-form-field-entry input::placeholder,
.ashby-application-form-field-entry textarea::placeholder {
	color: var(--valthos-gray-4);
}

.ashby-application-form-field-entry
	input:not([type="file"]):not([type="radio"]):not([type="checkbox"]):focus,
.ashby-application-form-field-entry textarea:focus,
.ashby-application-form-field-entry select:focus {
	border-color: var(--valthos-dusk) !important;
	outline: 2px solid var(--valthos-dusk) !important;
	outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--valthos-dusk-focus) !important;
	outline-offset: 3px;
}

/* Footer */

footer {
	max-width: var(--widthMaxContent);
	margin: 0 auto;
	padding: 28px 24px 40px;
	border-top: 1px solid var(--valthos-gray-7);
	color: var(--valthos-gray-4);
}

footer a {
	color: var(--valthos-gray-4);
	font-size: 11px;
}

footer a:hover {
	color: var(--valthos-carbon);
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
	[class*="_filtersWindow_"] [class*="_filters_"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	[class*="_content_"][class*="_details_"] {
		grid-template-columns: 220px minmax(0, 1fr) !important;
		gap: 32px !important;
	}
}

@media only screen and (max-width: 767px) {
	[class*="_navRoot_"] [class*="_navContainer_"],
	.ashby-job-posting-header [class*="_navContainer_"] {
		height: 64px;
		padding: 13px 16px;
	}

	[class*="_navRoot_"] [class*="_navLogoWordmarkImage_"],
	.ashby-job-posting-header [class*="_navLogoWordmarkImage_"] {
		max-height: 20px;
	}

	[class*="_titles_"] {
		margin: 0 16px;
	}

	.ashby-job-board-heading {
		margin-top: 36px !important;
		font-size: 32px !important;
	}

	[class*="_titles_"] + [class*="_content_"] {
		padding: 0 16px 56px;
	}

	[class*="_filtersContainer_"] {
		margin: 14px 0 36px;
		border: 0;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	[class*="_filtersContainer_"] > div {
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	[class*="_filtersWindow_"] {
		padding: 16px;
		background: var(--valthos-chalk);
	}

	[class*="_filtersWindow_"] [class*="_filters_"] {
		grid-template-columns: 1fr;
	}

	.ashby-department-heading {
		margin-top: 40px !important;
	}

	.ashby-job-posting-brief {
		min-height: 100px;
		padding: 20px 48px 20px 12px !important;
	}

	.ashby-job-posting-brief::after {
		top: 20px;
		right: 16px;
	}

	.ashby-job-posting-brief-title {
		font-size: 20px !important;
	}

	.ashby-job-posting-heading {
		margin-top: 40px !important;
		margin-bottom: 24px !important;
		font-size: 38px !important;
		line-height: 1.04 !important;
	}

	[class*="_content_"][class*="_details_"] {
		margin-bottom: 0;
		display: block !important;
	}

	.ashby-job-posting-left-pane {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0 20px;
		margin-bottom: 28px !important;
	}

	.ashby-job-posting-right-pane [role="tablist"] {
		border-top: 1px solid var(--valthos-gray-7);
	}

	.ashby-job-posting-right-pane
		> [role="tabpanel"][class*="_description_"] {
		padding: 24px 0 !important;
	}

	.ashby-job-posting-right-pane
		> [role="tabpanel"][class*="_description_"]
		> div:first-child {
		font-size: 14px;
		line-height: 1.6;
	}

	.ashby-job-posting-right-pane
		> [role="tabpanel"][class*="_description_"]
		> div:first-child
		h1 {
		font-size: 26px;
	}

	.ashby-application-form-container {
		padding: 22px 18px 2px !important;
	}

	footer {
		padding: 24px 16px 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
