/**
 * Josvi What I Do
 * Scoped to .jm-what only.
 * Ivory editorial field after the dark Listen block.
 */

.jm-what {
	--jm-what-gap: clamp(24px, 3.2vw, 56px);
	--jm-what-cols: minmax(0, 1fr) minmax(0, 1fr);
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: -28px 0 0;
	overflow-x: clip;
	overflow-y: visible;
	position: relative;
	z-index: 3;
	background-color: #f4f0e8;
	color: #141311;
	font-family: Inter, "Inter Tight", sans-serif;
	scroll-margin-top: 120px;
	box-shadow:
		0 -40px 64px -40px rgba(184, 155, 106, 0.22),
		0 36px 58px -34px rgba(184, 155, 106, 0.2),
		inset 0 1px 0 rgba(236, 220, 188, 0.32),
		inset 0 -1px 0 rgba(236, 220, 188, 0.26);
}

body.admin-bar .jm-what#what-i-do {
	scroll-margin-top: 156px;
}

.jm-what *,
.jm-what *::before,
.jm-what *::after {
	box-sizing: border-box;
}

.jm-what__fade {
	position: absolute;
	left: 0;
	right: 0;
	top: -52px;
	height: 52px;
	pointer-events: none;
	background-image: radial-gradient(
		ellipse 90% 120% at 50% 100%,
		rgba(184, 155, 106, 0.14) 0%,
		rgba(184, 155, 106, 0.04) 46%,
		rgba(184, 155, 106, 0) 74%
	);
}

.jm-what__inner,
.jm-what__why-inner {
	width: 100%;
	max-width: 1560px;
	margin-inline: auto;
	padding-inline: clamp(24px, 5vw, 80px);
}

.jm-what__inner {
	padding-block: 28px 0;
}

.jm-what__open,
.jm-what__service {
	display: grid;
	grid-template-columns: var(--jm-what-cols);
	column-gap: var(--jm-what-gap);
	align-items: center;
}

.jm-what__open {
	row-gap: 28px;
}

.jm-what__open-copy {
	min-width: 0;
	grid-column: 2;
	grid-row: 1;
}

.jm-what__portrait {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	width: 100%;
	min-width: 0;
}

.jm-what__portrait img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	object-fit: contain;
	box-shadow:
		0 8px 20px -14px rgba(20, 19, 17, 0.22),
		0 1px 3px -1px rgba(184, 155, 106, 0.12);
}

.jm-what__eyebrow,
.jm-what__why-eyebrow {
	margin: 0 0 18px;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(20, 19, 17, 0.55);
}

.jm-what__headline {
	margin: 0;
	max-width: 13em;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(26px, 2.6vw, 42px);
	line-height: 1.16;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	color: #141311;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.jm-what__lead {
	margin: 18px 0 0;
	max-width: 36em;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.05vw, 17px);
	line-height: 1.6;
	letter-spacing: 0.02em;
	color: rgba(20, 19, 17, 0.72);
}

.jm-what__services {
	margin-top: clamp(48px, 5.5vw, 80px);
}

.jm-what__service {
	position: relative;
	margin: 0;
	padding: clamp(22px, 2.4vw, 32px) 0;
	border-top: 1px solid rgba(20, 19, 17, 0.12);
	background: transparent;
}

.jm-what__service-main {
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	min-width: 0;
}

.jm-what__index {
	display: block;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.18em;
	color: rgba(20, 19, 17, 0.42);
}

.jm-what__service-head {
	min-width: 0;
}

.jm-what__service-title {
	margin: 0;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(20px, 1.7vw, 28px);
	line-height: 1.18;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #141311;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.jm-what__disciplines {
	margin: 10px 0 0;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(11px, 0.72vw, 12px);
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(20, 19, 17, 0.52);
}

.jm-what__service-rule {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1px;
	height: 60px;
	margin: 0;
	background: rgba(20, 19, 17, 0.16);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.jm-what__service-copy {
	margin: 0;
	max-width: 38em;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(14px, 0.95vw, 16px);
	line-height: 1.6;
	letter-spacing: 0.01em;
	color: rgba(20, 19, 17, 0.72);
}

.jm-what__how {
	display: grid;
	grid-template-columns: var(--jm-what-cols);
	column-gap: var(--jm-what-gap);
	row-gap: 20px;
	margin-top: clamp(48px, 5.5vw, 80px);
	padding-top: clamp(32px, 3.5vw, 48px);
	padding-bottom: clamp(48px, 5vw, 72px);
	border-top: 1px solid rgba(20, 19, 17, 0.12);
	align-items: start;
}

.jm-what__how-title {
	margin: 0;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(22px, 1.9vw, 30px);
	line-height: 1.18;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #141311;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.jm-what__how-copy p {
	margin: 0 0 0.9em;
	max-width: 40em;
	font-size: clamp(14px, 0.95vw, 16px);
	line-height: 1.6;
	color: rgba(20, 19, 17, 0.72);
}

.jm-what__how-copy p:last-child {
	margin-bottom: 0;
}

.jm-what__axiom {
	display: grid;
	gap: 6px;
	margin-top: 18px !important;
}

.jm-what__axiom span {
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(12px, 0.8vw, 13px);
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #141311;
}

.jm-what__axiom-or {
	color: rgba(20, 19, 17, 0.38) !important;
	letter-spacing: 0.22em !important;
}

.jm-what__why {
	background-color: #eee6d9;
	border-top: 1px solid rgba(20, 19, 17, 0.08);
	padding-block: clamp(40px, 4.5vw, 64px) clamp(56px, 6vw, 88px);
}

.jm-what__why-inner {
	display: grid;
	grid-template-columns: var(--jm-what-cols);
	column-gap: var(--jm-what-gap);
	align-items: start;
}

.jm-what__why-col {
	min-width: 0;
}

.jm-what__why-col--right {
	padding-top: calc(1.4em + 18px);
}

.jm-what__why-eyebrow {
	margin: 0 0 18px;
}

.jm-what__why-headline {
	margin: 0 0 clamp(28px, 3.2vw, 44px);
	max-width: 16em;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(28px, 2.8vw, 42px);
	line-height: 1.12;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #141311;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.jm-what__why-still {
	margin: 0 0 clamp(28px, 3.2vw, 44px);
	width: 100%;
}

.jm-what__why-still-window {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 1;
	background: #e4d9c8;
}

.jm-what__why-still-img {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: auto;
	aspect-ratio: 2500 / 1667;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.jm-what__callouts {
	display: grid;
	grid-template-columns: 1fr;
	row-gap: 0;
}

.jm-what__callout {
	margin: 0;
	min-width: 0;
	padding: clamp(22px, 2.4vw, 32px) 0;
	border-top: 1px solid rgba(20, 19, 17, 0.12);
}

.jm-what__callout-label {
	display: grid;
	grid-template-columns: 2.25em minmax(0, 1fr);
	column-gap: 10px;
	align-items: start;
	margin: 0;
}

.jm-what__callout-label .jm-what__index {
	padding-top: 4px;
}

.jm-what__callout-title {
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: clamp(15px, 1.05vw, 18px);
	line-height: 1.3;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #141311;
}

.jm-what__callout-copy,
.jm-what__callout-support {
	margin: 12px 0 0 2.25em;
	padding-left: 10px;
	max-width: 36em;
	font-size: clamp(14px, 0.92vw, 15px);
	line-height: 1.6;
	color: rgba(20, 19, 17, 0.7);
}

.jm-what__callout-support {
	margin-top: 10px;
}

.jm-what [data-jm-reveal] {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.jm-what [data-jm-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.jm-what [data-jm-reveal],
	.jm-what [data-jm-reveal].is-in {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.jm-what__why-still-img {
		transform: none !important;
		will-change: auto;
	}
}

@media (max-width: 1100px) {
	.jm-what__headline {
		font-size: clamp(24px, 3vw, 34px);
	}

	.jm-what__why-headline {
		font-size: clamp(26px, 3.2vw, 36px);
	}
}

@media (max-width: 980px) {
	.jm-what__open,
	.jm-what__how,
	.jm-what__service {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.jm-what__open-copy,
	.jm-what__portrait {
		grid-column: auto;
		grid-row: auto;
	}

	.jm-what__portrait {
		max-width: 36rem;
	}

	.jm-what__service-rule {
		display: none;
	}
}

@media (max-width: 767px) {
	.jm-what {
		margin-top: -16px;
	}

	.jm-what__inner,
	.jm-what__why-inner {
		padding-inline: 24px;
	}

	.jm-what__eyebrow,
	.jm-what__why-eyebrow {
		font-size: 14px;
		letter-spacing: 0.22em;
		margin-bottom: 14px;
	}

	.jm-what__headline {
		font-size: clamp(22px, 6.4vw, 28px);
		letter-spacing: 0.04em;
		max-width: none;
	}

	.jm-what__lead {
		margin-top: 14px;
		font-size: 15px;
	}

	.jm-what__portrait {
		max-width: none;
	}

	.jm-what__service {
		padding: 22px 0;
	}

	.jm-what__service-title,
	.jm-what__how-title {
		font-size: clamp(18px, 5.4vw, 22px);
		letter-spacing: 0.05em;
	}

	.jm-what__why-headline {
		font-size: clamp(24px, 7vw, 30px);
		letter-spacing: 0.06em;
	}

	.jm-what__why-col--right {
		padding-top: 0;
	}

	.jm-what__why-inner {
		display: flex;
		flex-direction: column;
	}

	.jm-what__why-col--left,
	.jm-what__why-col--right {
		display: contents;
	}

	.jm-what__why-eyebrow {
		order: 1;
	}

	.jm-what__why-headline {
		order: 2;
	}

	.jm-what__why-still {
		order: 3;
		width: 100%;
		margin-bottom: 24px;
	}

	.jm-what__why-col--left .jm-what__callouts {
		order: 4;
	}

	.jm-what__why-col--right .jm-what__callouts {
		order: 5;
	}

	.jm-what__callouts {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-auto-flow: row;
	}

	.jm-what__callout-copy,
	.jm-what__callout-support {
		margin-left: 0;
		padding-left: 0;
	}

	.jm-what__services,
	.jm-what__how {
		margin-top: 44px;
	}

	.jm-what__why {
		padding-block: 40px 72px;
	}
}

@media (max-width: 767px) and (max-height: 500px) and (orientation: landscape) {
	.jm-what__headline {
		font-size: 20px;
	}
}
