/* ==========================================================================
   01 — WHY
   PINNED SCROLL STORY
   ========================================================================== */

.why-scroll {
	position: relative;

	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

.why-scroll-track {
	height: 300vh;
}


/* --------------------------------------------------------------------------
   WHY — MAIN FRAME
   -------------------------------------------------------------------------- */

.why-frame-copy {
	grid-column: 2;
	grid-row: 1;

	align-self: center;

	width: 100%;
	min-width: 0;
}

.why-stage {
	background: var(--color-bg);
}


/* --------------------------------------------------------------------------
   WHY — MAIN TYPOGRAPHY
   -------------------------------------------------------------------------- */

#why-frame-title {
	margin: 0;
	padding-bottom: 12px;

	width: 100%;
	max-width: 1400px;

	font-family: var(--font-primary);
	font-size: clamp(72px, 9.5vw, 180px);
	font-weight: 800;

	line-height: 0.85;
	letter-spacing: -0.045em;

	color: var(--color-text);
}

#why-frame-title .line {
	display: block;

	width: max-content;

	white-space: nowrap;
}



/* --------------------------------------------------------------------------
   WHY — LINE COLOURS

   Line 1 + 2 are ALWAYS dark.
   Only line 3 is allowed to become orange.
-------------------------------------------------------------------------- */

#why-line-1,
#why-line-2,
#why-line-3 {
	position: relative;
	z-index: 3;

	color: var(--color-text);
}

#why-line-3 .accent {
	color: var(--color-accent);
}

.accent {
	color: var(--color-accent);
}
.line {
	display: block;

	width: max-content;

	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   WHY — PHILOSOPHY LINE
   -------------------------------------------------------------------------- */

.why-philosophy {
    width: min(1000px, calc(100% - (var(--page-padding) * 2)));
    margin: 0;
	font-family: var(--font-condensed);
    font-size: clamp(20px, 1.7vw, 38px);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-text);
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
	padding: 0px 9px 32px;
}

/* --------------------------------------------------------------------------
   WHY — FRAME STATUS
   -------------------------------------------------------------------------- */

.why-frame-status {
	grid-column: 3;
	grid-row: 1;

	align-self: end;
	justify-self: center;

	padding-bottom: 4vh;

	font-size: 11px;
	font-weight: 700;

	letter-spacing: 0.08em;
}


@media (max-width: 900px) {
	.why-stage {
		display: flex;
		flex-direction: column;
		padding-top: 110px;
		padding-bottom: 50px;
	}

	.why-stage .chapter-marker {
		margin-bottom: auto;
	}

	.why-frame-copy {
		margin-top: auto;
		margin-bottom: auto;
	}

	#why-frame-title {
		font-size: clamp(
			70px,
			calc(10vw + 10px),
			100px
		);
	}

	#why-line-3 {
    letter-spacing: -0.01em;
    
	}

	.why-frame-status {
		align-self: flex-end;

		padding-bottom: 0;
		margin-right: 48px;
	}
}

@media (max-width: 600px) {
	.why-stage {
		padding-top: 90px;
	}

	#why-frame-title {
		font-size: clamp(
			40px,
			calc(10vw + 10px),
			68px
		);
	}

	#why-line-3 {
    letter-spacing: -0.01em;
    
	}

	.hero-intro {
		margin: 0;
		padding: 0;
	}

	.hero-intro p {
		font-size: 14px;
	}

	.why-stage::after {
		display: none;
	}

}