/**
 * Homepage 01: Hero (design A + gate-3 hero room).
 *
 * The design drew its own nav; the global sticky header now covers that band.
 * The section is pulled up under the header by home.css, gets the header
 * height as top padding, and the copy offset is computed against
 * --gs-header-h so the copy lands where it sat in the design:
 *   desktop: copy top 288px from the section top (96px nav + 192px), 930px tall
 *   phone:   copy top 152px from the section top (12px + 64px bar + 76px)
 */

.gs-home .gh-01.hA {
	background: #121418;
}

.gs-home .gh-01 .w {
	position: relative;
	z-index: 1;
}

.gs-home .gh-01 .copy {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.gs-home .gh-01 .s01-h1 {
	color: var(--text-high-em);
}

.gs-home .gh-01 .proof {
	display: flex;
	align-items: center;
	color: var(--text-med-em);
}

.gs-home .gh-01 .proof b {
	color: var(--text-high-em);
}

.gs-home .gh-01 .proof > span:first-child {
	display: inline-flex;
	align-items: center;
}

.gs-home .gh-01 .proof .stars {
	gap: 2px;
}

.gs-home .gh-01 .s01-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.gs-home .gh-01 .s01-g0 { stop-color: var(--stat-cream); }
.gs-home .gh-01 .s01-g1 { stop-color: var(--brand-peach); }
.gs-home .gh-01 .s01-g2 { stop-color: var(--brand-tan); }
.gs-home .gh-01 .s01-g4 { stop-color: #926530; }
.gs-home .gh-01 .s01-g3 { stop-color: var(--text-brand-main); }

.gs-home .gh-01 .gh-01-video {
	display: block;
	max-width: none;
	object-fit: cover;
	background: #121418;
}

/* ---------- Desktop (1024px up) ---------- */

@media (min-width: 1024px) {
	.gs-home .gh-01.hA {
		height: 930px;
		padding-top: var(--gs-header-h, 91px);
	}

	/* 1440 x 810 in the design, anchored bottom right; scales down below 1440 */
	.gs-home .gh-01 .gh-01-video {
		position: absolute;
		right: 0;
		bottom: 0;
		width: min(1440px, 100%);
		height: auto;
		aspect-ratio: 16 / 9;
		-webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 46%);
		mask-image: linear-gradient(90deg, transparent 18%, #000 46%);
	}

	.gs-home .gh-01 .copy {
		width: 560px;
		max-width: 100%;
		margin-top: calc(288px - var(--gs-header-h, 91px));
	}

	.gs-home .gh-01 .s01-h1 {
		margin-top: 18px;
		font-size: 72px;
		width: max-content;
		white-space: nowrap;
	}

	.gs-home .gh-01 .s01-q {
		display: inline-block;
		margin-top: 12px;
	}

	.gs-home .gh-01 .copy .lead {
		margin-top: 24px;
		max-width: 500px;
		font-size: 18px;
		line-height: 28px;
		text-wrap: pretty;
	}

	.gs-home .gh-01 .act {
		width: 420px;
		max-width: 100%;
		margin-top: 64px;
	}

	.gs-home .gh-01 .act .gs-url {
		max-width: none;
	}

	.gs-home .gh-01 .proof {
		margin-top: 20px;
		font-size: 15px;
		line-height: 22px;
	}

	.gs-home .gh-01 .proof > span:first-child {
		gap: 10px;
	}
}

/* ---------- Phone (below 1024px) ---------- */

@media (max-width: 1023px) {
	.gs-home .gh-01.hA {
		display: flex;
		flex-direction: column;
		padding-top: var(--gs-header-h, 82px);
	}

	.gs-home .gh-01.hA .w {
		order: 1;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.gs-home .gh-01 .gh-01-video {
		order: 2;
		position: relative;
		width: 100%;
		height: clamp(240px, 66vw, 360px);
		margin-top: 6px;
		object-position: 100% 100%;
		-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 88px);
		mask-image: linear-gradient(180deg, transparent 0, #000 88px);
	}

	.gs-home .gh-01 .copy {
		width: 100%;
		max-width: 640px;
		margin: calc(152px - var(--gs-header-h, 82px)) auto 0;
		padding: 0 24px;
	}

	.gs-home .gh-01 .s01-h1 {
		margin-top: 14px;
		font-size: clamp(36px, 10vw, 46px);
		line-height: 1.08;
		width: auto;
		white-space: normal;
	}

	.gs-home .gh-01 .s01-q {
		display: inline-block;
		margin-top: 10px;
	}

	.gs-home .gh-01 .copy .lead {
		margin-top: 14px;
		max-width: none;
		font-size: 16px;
		line-height: 26px;
		text-wrap: pretty;
	}

	.gs-home .gh-01 .act {
		width: 100%;
		margin-top: 56px;
	}

	/* URL capture in the closing-CTA shape: 18px box, full-width pill below */
	.gs-home .gh-01 .act .gs-url {
		max-width: none;
		flex-wrap: wrap;
		gap: 6px 0;
		padding: 6px;
		border-radius: 18px;
		background: var(--card-bg);
		border: 1px solid var(--outline-low-em);
		box-shadow: var(--elevation-e1);
	}

	.gs-home .gh-01 .act .gs-url:focus-within {
		border-color: var(--brand-tan);
		box-shadow: 0 0 0 1px var(--brand-tan);
	}

	.gs-home .gh-01 .act .gs-url .gs-url__icon {
		margin: 0 12px 0 14px;
		color: var(--text-low-em);
	}

	.gs-home .gh-01 .act .gs-url .gs-url__input {
		flex: 1 1 0;
		height: 52px;
		min-height: 52px;
		font-size: 16px;
	}

	.gs-home .gh-01 .act .gs-url .gs-btn {
		flex: 0 0 100%;
		width: 100%;
		height: 52px;
		padding: 0 24px;
		border-radius: 26px;
		font-size: 16px;
		font-weight: 600;
		line-height: 20px;
	}

	.gs-home .gh-01 .proof {
		margin-top: 12px;
		padding-left: 4px;
		font-size: 14px;
		line-height: 20px;
	}

	.gs-home .gh-01 .proof > span:first-child {
		gap: 8px;
	}

	.gs-home .gh-01 .proof .stars svg {
		width: 14px;
		height: 14px;
	}
}
