/* ==========================================================================
   02 — HOW
   ========================================================================== */


/* ==========================================================================
   HOW — STAGE
   ========================================================================== */

.how-stage {
	position: relative;

	width: 100%;
	height: 100%;

	background: var(--color-text);
	color: var(--color-bg);

	overflow: hidden;
}

.how-canvas {
	position: absolute;
	inset: 0;

	width: 100%;
	height: 100%;

	z-index: 1;

	display: block;

	touch-action: none;
}


.chapter-how .chapter-marker,
.how-content {
	position: relative;
	z-index: 2;

	pointer-events: none;
}

/* ==========================================================================
   HOW — CHAPTER MARKER
   ========================================================================== */

.chapter-how .chapter-marker {
	grid-column: 1;
	grid-row: 1;

	align-self: center;
}


/* ==========================================================================
   HOW — CONTENT
   ========================================================================== */

.how-content {
	grid-column: 2;
	grid-row: 1;

	display: flex;
	align-items: center;
	justify-content: flex-end;
}


.how-content-inner {
	position: absolute;
	left: 0;
	bottom: 28px;
	margin: 0;

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

	text-align: left;
}


/* ==========================================================================
   HOW — HEADING
   ========================================================================== */

.how-eyebrow {
	margin: 0;

	font-family: var(--font-primary);
	font-size: 1.25rem;
	font-weight: 700;

	line-height: 1.15;

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

.connection-how {
	width: 1px;
	height: 32px;

	margin: 8px 4px;
}


/* ==========================================================================
   HOW — SUPPORTING COPY
   ========================================================================== */

.how-copy {
	width: 100%;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
}


.how-copy p {
	margin: 0;
}


/* ==========================================================================
   TABLET & MOBILE
   ========================================================================== */

@media (max-width: 900px) {

	.how-content {
		grid-column: 1 / -1;

		position: relative;

		width: 100%;
		height: 100%;

		padding: 0;
	}

	.how-content-inner {
		width: 250px;
	}

	.how-eyebrow {
		font-size: 18px;
	}

	.how-copy {
		font-size: 12.5px;
	}

}

@media (max-width: 600px) {

	.how-content-inner {
		bottom: 0;
	}
}