/* Careers listing + job single (Figma 1166:3056 / 1166:3320) */

body.is-careers-page,
body.is-single-job {
	overflow-x: clip;
}

.ir-hero--job .ir-hero__title {
	font-size: 64px;
	letter-spacing: -0.05em;
	line-height: 1;
}

.ir-hero--job .ir-hero__copy {
	max-width: 1100px;
}

/* Open positions
   -------------------------------------------------------------------------- */
.careers-jobs {
	padding-block: 100px;
	padding-inline: var(--gutter);
	background: #faf8f5;
}

.careers-jobs__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 48px;
	text-align: start;
}

.careers-jobs__title,
.careers-why__title,
.careers-heritage__title,
.job-pitch__title {
	margin: 0;
	font-size: 64px;
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 1;
	color: #252525;
}

.careers-jobs__text,
.careers-why__text {
	margin: 0;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: rgb(37 37 37 / 0.7);
}

.careers-why__text p {
	margin: 0;
}

.careers-why__text p + p {
	margin-top: 0.5em;
}

.careers-jobs__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.job-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 32px;
	background: #fff;
	border: 1px solid #efe7dd;
	border-radius: 12px;
}

.job-card__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

.job-card__dept {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	color: #cebbaa;
}

.job-card__title {
	margin: 0;
	width: 100%;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #252525;
}

.job-card__title a {
	color: inherit;
}

.job-card__title a:hover {
	color: #cebbaa;
}

.job-card__line {
	display: block;
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid #efe7dd;
}

.job-card .btn-outline {
	align-self: flex-start;
}

.careers-jobs__empty {
	margin: 0;
	font-size: 22px;
	font-weight: 300;
	color: rgb(37 37 37 / 0.7);
}

/* Why work with us
   -------------------------------------------------------------------------- */
.careers-why {
	padding-block: 120px;
	padding-inline: var(--gutter);
	background: #faf8f5;
	border-block: 1px solid #efe7dd;
}

.careers-why__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 56px;
	text-align: center;
}

.careers-why__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

html[dir="rtl"] .careers-why__grid {
	direction: rtl;
}

html[dir="ltr"] .careers-why,
html[dir="ltr"] .careers-why__grid,
html[dir="ltr"] .careers-benefit,
html[dir="ltr"] .careers-benefit__title,
html[dir="ltr"] .careers-benefit__text {
	direction: ltr;
	text-align: left;
}

.careers-benefit {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 32px;
	background: #fff;
	border: 1px solid #efe7dd;
	border-radius: 16px;
	text-align: start;
}

.careers-benefit__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	padding: 20px;
	border-radius: 50%;
	background-color: #EFE7DD;
	overflow: hidden;
}

.careers-benefit__icon img {
	display: block;
	width: 24px;
	height: 24px;
	max-width: none;
	flex: 0 0 24px;
	object-fit: contain;
	/* Recolor black SVG strokes to brand accent (#cebbaa). */
	filter: brightness(0) saturate(100%) invert(84%) sepia(14%) saturate(523%) hue-rotate(346deg) brightness(93%) contrast(88%);
}

.careers-benefit__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #252525;
}

.careers-benefit__text {
	margin: 0;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: rgb(37 37 37 / 0.8);
}

/* Heritage
   -------------------------------------------------------------------------- */
.careers-heritage {
	padding-block: 100px;
	padding-inline: var(--gutter);
	background: #faf8f5;
}

.careers-heritage__row {
	display: flex;
	align-items: center;
	gap: 80px;
}

.careers-heritage__copy {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	text-align: start;
}

.careers-heritage__label,
.job-pitch__label {
	margin: 0;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: #cebbaa;
}

.job-pitch__label {
	font-weight: 600;
	line-height: 30px;
}

.careers-heritage__text,
.job-pitch__text {
	margin: 0;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: rgb(37 37 37 / 0.8);
}

.careers-heritage__media {
	flex: 0 0 640px;
	width: 640px;
	height: 420px;
	border-radius: 16px;
	overflow: hidden;
	background: #efe7dd;
}

.careers-heritage__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Job meta bar
   -------------------------------------------------------------------------- */
.job-meta {
	padding-block: 24px;
	padding-inline: var(--gutter);
	background: #fff;
	border-bottom: 1px solid #efe7dd;
}

.job-meta__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 48px;
}

.job-meta__item {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
}

.job-meta__value {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #252525;
}

.job-meta__label {
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	color: #adbbbb;
}

.job-meta__rule {
	display: block;
	width: 1px;
	height: 24px;
	background: #efe7dd;
}

/* Job split
   -------------------------------------------------------------------------- */
.job-split {
	padding-block: 80px 100px;
	padding-inline: var(--gutter);
	background: #faf8f5;
}

.job-split__row {
	display: flex;
	align-items: flex-start;
	gap: 80px;
}

.job-split__main {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.job-split__aside {
	flex: 0 0 500px;
	width: 500px;
	position: sticky;
	top: 140px;
}

.job-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.job-block__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #252525;
}

.job-block__line {
	display: block;
	width: 100%;
	height: 0;
	margin: 0;
	border: 0;
	border-top: 1px solid #efe7dd;
}

.job-block__list,
.job-block__list ul,
.job-block__list ol {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.job-block__list p {
	margin: 0;
	width: 100%;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: rgb(37 37 37 / 0.9);
}

.job-block__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: rgb(37 37 37 / 0.9);
}

.job-block__list li::before {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	margin-top: 0.45em;
	border-radius: 50%;
	background: #cebbaa;
}

.job-block__content {
	width: 100%;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.45;
	color: rgb(37 37 37 / 0.9);
}

.job-block__content > *:first-child {
	margin-top: 0;
}

.job-block__content > *:last-child {
	margin-bottom: 0;
}

.job-block__content p,
.job-block__content li {
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.45;
}

.job-block__content h2,
.job-block__content h3 {
	margin: 0 0 12px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 1.25;
	color: #252525;
}

.job-block__content h2 {
	font-size: 26px;
}

.job-block__content h3 {
	font-size: 22px;
}

.job-block__content ul,
.job-block__content ol {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin: 16px 0;
	padding: 0;
	list-style: none;
}

.job-block__content li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.job-block__content li::before {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	margin-top: 0.45em;
	border-radius: 50%;
	background: #cebbaa;
}

.job-block__content img,
.job-block__content figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* Apply form
   -------------------------------------------------------------------------- */
.job-apply {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 40px;
	background: #cebbaa;
	border-radius: 16px;
}

.job-apply__title {
	margin: 0;
	width: 100%;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #fff;
	text-align: start;
}

.job-apply .rma-form__label {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: inherit;
}

.job-apply__form,
.job-apply__plugin {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.job-apply__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.job-apply input[type="text"],
.job-apply input[type="tel"],
.job-apply input[type="email"],
.job-apply textarea,
.job-apply__file,
.job-apply .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
.job-apply .gform_wrapper textarea,
.job-apply .wpcf7 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="file"]),
.job-apply .wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 20px;
	border: 1px solid rgb(255 255 255 / 0.5);
	border-radius: 27px;
	background: transparent;
	color: #fff;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	outline: none;
}

.job-apply input::placeholder,
.job-apply textarea::placeholder {
	color: rgb(255 255 255 / 0.75);
}

.job-apply__file {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 48px;
	cursor: pointer;
}

.job-apply__file-label {
	opacity: 0.75;
}

.job-apply__file input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.job-apply__file.is-filled .job-apply__file-label {
	opacity: 1;
}

.job-apply__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	color: rgb(255 255 255 / 0.8);
}

.job-apply__consent input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #fff;
	border: 1.2px solid rgb(255 255 255 / 0.6);
	border-radius: 4px;
}

.job-apply__submit,
.job-apply .gform_button,
.job-apply input[type="submit"],
.job-apply .wpcf7-submit {
	width: 100%;
	padding: 12px 24px;
	border: 0;
	border-radius: 27px;
	background: #fff;
	color: #252525;
	font-size: 22px;
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 1.2;
	cursor: pointer;
}

.job-apply__submit:hover,
.job-apply .gform_button:hover,
.job-apply input[type="submit"]:hover,
.job-apply .wpcf7-submit:hover {
	opacity: 0.92;
}

.job-apply__status {
	margin: 0;
	width: 100%;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.3;
	color: #fff;
}

.job-apply__status.is-error {
	color: #fff4e8;
}

/* Pitch
   -------------------------------------------------------------------------- */
.job-pitch {
	padding-block: 120px;
	padding-inline: var(--gutter);
	background: #fff;
	border-top: 1px solid #efe7dd;
}

.job-pitch__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 1000px;
	margin-inline: auto;
	margin-bottom: 48px;
	text-align: center;
}

.job-pitch__media {
	width: 100%;
	height: 480px;
	border-radius: 16px;
	overflow: hidden;
	background: #efe7dd;
}

.job-pitch__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.is-single-job .careers-why {
	background: #faf8f5;
}

body.is-careers-page .ir-hero__copy,
.careers-jobs__title,
.careers-jobs__text,
.careers-why__title,
.careers-why__text,
.careers-heritage__title,
.careers-heritage__text,
.careers-heritage__copy,
.job-card,
.job-card__title,
.careers-benefit,
.careers-benefit__title,
.careers-benefit__text {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: break-word;
}

.careers-jobs__grid,
.careers-why__grid,
.careers-heritage__row {
	width: 100%;
	min-width: 0;
}

/* Responsive — listing first; job-single rules kept
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
	.careers-heritage__row {
		gap: 48px;
	}

	.careers-heritage__media {
		flex: 0 1 48%;
		width: auto;
		max-width: 640px;
		min-width: 0;
	}

	.careers-why__grid {
		gap: 24px;
	}

	.job-split__aside {
		flex-basis: 420px;
		width: 420px;
	}

	.job-meta__row {
		gap: 32px;
	}
}

@media (max-width: 1200px) {
	body.is-careers-page .ir-hero {
		min-height: 400px;
		padding-block: 72px;
	}

	body.is-careers-page .ir-hero__title {
		font-size: clamp(44px, 6vw, 64px);
		line-height: 1.05;
	}

	.careers-jobs,
	.careers-heritage {
		padding-block: 80px;
	}

	.careers-why {
		padding-block: 88px;
	}

	.careers-jobs__title,
	.careers-why__title,
	.careers-heritage__title {
		font-size: clamp(40px, 5vw, 52px);
	}

	.careers-jobs__grid,
	.careers-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.careers-why__grid {
		gap: 20px;
	}

	.careers-heritage__row {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}

	.careers-heritage__media {
		flex: none;
		width: 100%;
		max-width: none;
		height: 380px;
	}

	.job-split__row {
		gap: 48px;
	}

	.job-split__aside {
		flex-basis: 360px;
		width: 360px;
	}

	.ir-hero--job .ir-hero__title {
		font-size: clamp(40px, 6vw, 56px);
	}
}

@media (max-width: 1024px) {
	body.is-careers-page .ir-hero {
		min-height: 340px;
		padding-block: 64px;
	}

	body.is-careers-page .ir-hero__text {
		font-size: 18px;
	}

	.careers-jobs,
	.careers-heritage {
		padding-block: 72px;
	}

	.careers-why,
	.job-pitch {
		padding-block: 80px;
	}

	.job-split {
		padding-block: 56px 72px;
	}

	.careers-jobs__title,
	.careers-why__title,
	.careers-heritage__title,
	.job-pitch__title {
		font-size: clamp(36px, 6vw, 48px);
	}

	.careers-jobs__head {
		margin-bottom: 36px;
	}

	.careers-why__head {
		margin-bottom: 40px;
	}

	.careers-heritage__copy {
		gap: 20px;
	}

	.careers-heritage__media {
		height: 320px;
	}

	.job-split__row {
		flex-direction: column;
	}

	.job-split__aside {
		flex: none;
		width: 100%;
		max-width: none;
		position: static;
	}

	.job-pitch__media {
		height: 360px;
	}

	.job-meta__row {
		gap: 20px 28px;
	}
}

@media (max-width: 768px) {
	body.is-careers-page .ir-hero {
		min-height: 280px;
		padding-block: 56px;
	}

	body.is-careers-page .ir-hero__copy {
		gap: 12px;
	}

	body.is-careers-page .ir-hero__title {
		font-size: clamp(32px, 9vw, 40px);
		line-height: 1.1;
		letter-spacing: -0.04em;
	}

	body.is-careers-page .ir-hero__text {
		font-size: 16px;
	}

	.careers-jobs,
	.careers-heritage {
		padding-block: 48px;
	}

	.careers-why,
	.job-pitch {
		padding-block: 56px;
	}

	.careers-jobs__head,
	.careers-why__head {
		margin-bottom: 28px;
		gap: 8px;
	}

	.careers-jobs__text,
	.careers-why__text,
	.careers-heritage__text,
	.careers-heritage__label,
	.job-pitch__text,
	.job-block__list li,
	.job-block__list p,
	.job-block__content,
	.job-block__content p,
	.job-block__content li {
		font-size: 16px;
	}

	.careers-jobs__grid,
	.careers-why__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.job-card,
	.careers-benefit {
		width: 100%;
		padding: 24px;
	}

	.job-card__title,
	.careers-benefit__title,
	.job-block__title,
	.job-apply__title,
	.job-meta__value {
		font-size: 22px;
		line-height: 1.25;
	}

	.careers-benefit__text {
		font-size: 16px;
	}

	.careers-heritage__copy {
		gap: 16px;
	}

	.careers-heritage__media,
	.job-pitch__media {
		height: 220px;
		border-radius: 12px;
	}

	.job-card .btn-outline {
		width: 100%;
		max-width: 100%;
		justify-content: center;
		box-sizing: border-box;
		white-space: normal;
	}

	.job-meta__item {
		white-space: normal;
	}

	.job-meta__rule {
		display: none;
	}

	.job-apply {
		padding: 28px;
	}
}

@media (max-width: 480px) {
	body.is-careers-page .ir-hero {
		min-height: 240px;
		padding-block: 48px;
	}

	body.is-careers-page .ir-hero__title {
		font-size: clamp(28px, 8.5vw, 34px);
	}

	.careers-jobs,
	.careers-why,
	.careers-heritage {
		padding-block: 40px;
	}

	.careers-jobs__title,
	.careers-why__title,
	.careers-heritage__title,
	.job-pitch__title {
		font-size: clamp(28px, 8vw, 36px);
	}

	.ir-hero--job .ir-hero__title {
		font-size: clamp(28px, 8vw, 36px);
	}

	.job-card,
	.careers-benefit {
		padding: 20px;
		gap: 16px;
	}

	.careers-benefit__icon {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
		padding: 16px;
	}

	.careers-heritage__media {
		height: 180px;
	}

	.job-apply input[type="text"],
	.job-apply input[type="tel"],
	.job-apply input[type="email"],
	.job-apply__file,
	.job-apply__submit {
		font-size: 16px;
	}
}
