.what-i-do {
	--wid-pin-top: calc(var(--bymajid-nav-height) + 18px);
	--wid-stage-height: calc(100svh - var(--wid-pin-top));
	--wid-stage-padding: clamp(22px, 4.5svh, 42px);
}

.wid-story {
	position: relative;
}

.wid-pin {
	position: relative;
	isolation: isolate;
}

.wid-pin::before {
	--ambient-light-peak: var(--wid-ambient, 1);
	position: absolute;
	z-index: -1;
	inset: 0 0 auto;
	height: var(--wid-stage-height);
	background:
		radial-gradient(ellipse 36% 58% at 48% 55%, rgba(240, 120, 72, .105), transparent 88%),
		radial-gradient(ellipse 64% 46% at 70% 76%, rgba(127, 65, 45, .065), transparent 88%);
	opacity: var(--wid-ambient, 1);
	pointer-events: none;
	content: "";
}

.wid-intro-screen,
.wid-scenes {
	width: min(1280px, calc(100% - 2 * var(--bymajid-gutter)));
	margin-inline: auto;
}

.wid-intro-screen {
	display: flex;
	min-height: var(--wid-stage-height);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: var(--wid-stage-padding);
	overflow-wrap: anywhere;
	text-align: center;
}

.wid-intro-screen h2 {
	margin: 0;
	font-size: clamp(52px, 7.6vw, 96px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1;
	text-wrap: balance;
}

.wid-intro-screen > p:not(.section-pill) {
	max-width: 49ch;
	margin: 20px auto 0;
	color: var(--bymajid-secondary);
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.6;
}

.wid-scenes {
	display: grid;
	gap: clamp(52px, 10svh, 104px);
	padding-block: var(--wid-stage-padding) clamp(52px, 10svh, 104px);
}

.wid-scene {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(20px, 2.65vw, 40px);
}

.wid-scene-copy {
	grid-column: 1;
	overflow-wrap: anywhere;
}

.wid-scene-copy .wid-scene-label {
	margin: 0 0 13px;
	color: var(--bymajid-accent);
}

.wid-scene-copy h3 {
	max-width: 19ch;
	margin: 0;
	font-size: clamp(35px, 3.65vw, 56px);
	font-weight: 500;
	letter-spacing: -.04em;
	line-height: 1.02;
	text-wrap: balance;
}

.wid-scene-copy > p:last-child {
	max-width: 44ch;
	margin: 18px 0 0;
	color: var(--bymajid-secondary);
	font-size: clamp(14px, 1.18vw, 16px);
	line-height: 1.65;
}

.wid-scene-visual {
	position: relative;
	isolation: isolate;
	grid-column: 3;
	display: grid;
	width: 100%;
	aspect-ratio: 1.28;
	margin: 0;
	place-items: center;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--bymajid-ink) 9%, transparent);
	border-radius: var(--bymajid-radius-card);
	background: radial-gradient(ellipse at 50% 38%, var(--bymajid-raised), var(--bymajid-surface) 73%, var(--bymajid-canvas));
}

.wid-scene-visual::after {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 62% 65% at 52% 56%, rgba(240, 120, 72, .3), transparent 88%);
	mix-blend-mode: screen;
	opacity: .45;
	pointer-events: none;
	content: "";
}

.wid-scene-visual img,
.wid-scene-visual svg {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: contain;
}

.wid-meter {
	display: none;
}

#main-content > #widWrapper.has-controlled-story {
	scroll-snap-align: none;
}

.wid-story.is-controlled {
	height: calc(var(--wid-stage-height) + var(--wid-travel, 0px));
}

.wid-story.is-controlled .wid-pin {
	position: sticky;
	top: var(--wid-pin-top);
	height: var(--wid-stage-height);
}

.wid-story.is-controlled .wid-intro-screen,
.wid-story.is-controlled .wid-scenes,
.wid-story.is-controlled .wid-scene {
	position: absolute;
	inset: 0;
}

.wid-story.is-controlled .wid-scenes {
	display: block;
	padding: 0;
}

.wid-story.is-controlled .wid-scene {
	padding-block: var(--wid-stage-padding);
}

.wid-story.is-controlled .wid-scene-visual {
	max-height: calc(var(--wid-stage-height) - 2 * var(--wid-stage-padding));
}

.wid-story.is-controlled .wid-meter {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 1px;
	height: clamp(76px, 14svh, 108px);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.wid-story.is-controlled :is(.wid-intro-screen, .wid-scene, .wid-meter) {
	visibility: hidden;
	pointer-events: none;
}

.wid-story.is-controlled :is(.wid-intro-screen, .wid-scene, .wid-meter).is-painted {
	visibility: visible;
}

.wid-story.is-controlled :is(.wid-intro-screen, .wid-scene).is-current {
	pointer-events: auto;
}

.wid-story.is-controlled :is(.wid-intro-screen, .wid-scene-copy) {
	opacity: var(--wid-copy-opacity, 0);
	transform: translateY(var(--wid-copy-shift, 0px));
}

.wid-story.is-controlled .wid-scene-visual {
	opacity: var(--wid-art-opacity, 0);
}

.wid-story.is-controlled .wid-meter {
	opacity: var(--wid-meter-opacity, 0);
}

.wid-meter-track {
	position: relative;
	display: block;
	width: 1px;
	height: 100%;
	color: var(--bymajid-accent);
	background: color-mix(in srgb, var(--bymajid-secondary) 60%, var(--bymajid-canvas));
}

.wid-meter-track::before {
	position: absolute;
	inset: 0 auto auto 0;
	width: 1px;
	height: var(--wid-progress, 0%);
	background: currentColor;
	content: "";
}

.wid-meter-track i,
.wid-meter-track b {
	position: absolute;
	left: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.wid-meter-track i {
	width: 5px;
	height: 5px;
	background: color-mix(in srgb, var(--bymajid-secondary) 76%, var(--bymajid-canvas));
}

.wid-meter-track i:nth-child(1) { top: 0; }
.wid-meter-track i:nth-child(2) { top: 50%; }
.wid-meter-track i:nth-child(3) { top: 100%; }

.wid-meter-track b {
	top: var(--wid-progress, 0%);
	width: 9px;
	height: 9px;
	border: 1px solid currentColor;
	background: var(--bymajid-canvas);
}

@keyframes wid-accent-breathe {
	0%, 100% { color: var(--bymajid-accent); }
	50% { color: var(--bymajid-accent-hover); }
}

@media (prefers-reduced-motion: no-preference) {
	.wid-pin:has(> .wid-intro-screen:not(.is-out-of-view))::before,
	.wid-story:not(.is-controlled) .wid-scene:not(.is-out-of-view) .wid-scene-visual::after,
	.wid-scene.is-current:not(.is-out-of-view) .wid-scene-visual::after {
		animation: ambient-light-breathe 12s ease-in-out -2s infinite;
	}

	.wid-story:not(.is-controlled) .wid-scene:not(.is-out-of-view) .wid-scene-label,
	.wid-scene.is-current:not(.is-out-of-view) .wid-scene-label,
	.wid-meter.is-painted:not(.is-out-of-view) .wid-meter-track {
		animation: wid-accent-breathe 12s ease-in-out -2s infinite;
	}
}

@media (max-width: 800px) {
	.wid-intro-screen h2 {
		font-size: clamp(47px, 12vw, 74px);
	}

	.wid-scene {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.wid-scene-visual {
		grid-column: 1;
	}
}
