/**
 * Homepage 11: Closing CTA (design E + gate-3 padding/height/art offset).
 * Desktop: 160px top padding, 1120px tall, art 1440 x 810 from 310px down
 * (grows with the viewport above 1440px so it never leaves side gaps).
 * Phone: art follows the copy, full bleed, faded in at the top.
 */

.gs-home .gh-11.s11e {
	position: relative;
	background: var(--page-bg);
	overflow: hidden;
}

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

.gs-home .gh-11 .s11e-in {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.gs-home .gh-11 .s11e-eb .gs-eyebrow::before {
	content: "";
	width: 48px;
	height: 1px;
	background: var(--brand-primary-main);
}

.gs-home .gh-11 .s11e-h {
	color: var(--text-high-em);
	letter-spacing: -.005em;
}

.gs-home .gh-11 .s11e-nw {
	white-space: nowrap;
}

.gs-home .gh-11 .s11e-art {
	margin: 0;
}

.gs-home .gh-11 .s11e-art img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

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

@media (min-width: 1024px) {
	.gs-home .gh-11.s11e {
		height: max(1120px, calc(310px + 56.25vw));
		padding-top: 160px;
	}

	.gs-home .gh-11 .s11e-art {
		position: absolute;
		top: 310px;
		bottom: 0;
		left: 50%;
		width: max(1440px, 100%);
		transform: translateX(-50%);
	}

	.gs-home .gh-11 .s11e-art img {
		object-position: 50% 0;
	}

	.gs-home .gh-11 .s11e-h {
		margin-top: 20px;
		font-size: 56px;
		line-height: 1.08;
	}

	.gs-home .gh-11 .s11e-line {
		max-width: 560px;
		margin-top: 20px;
		text-wrap: balance;
	}

	.gs-home .gh-11 .s11e-act {
		width: 480px;
		max-width: 100%;
		margin-top: 40px;
	}

	.gs-home .gh-11 .s11e-act .gs-url {
		max-width: none;
		background: var(--card-bg);
		border-color: var(--outline-med-em);
	}

	.gs-home .gh-11 .s11e-alt {
		margin-top: 20px;
	}
}

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

@media (max-width: 1023px) {
	.gs-home .gh-11.s11e {
		padding: 112px 0 0;
	}

	.gs-home .gh-11 .w {
		width: 100%;
		max-width: 560px;
		margin: 0 auto;
		padding: 0 24px;
	}

	.gs-home .gh-11 .s11e-eb .gs-eyebrow::before,
	.gs-home .gh-11 .s11e-eb .gs-eyebrow::after {
		width: 40px;
	}

	.gs-home .gh-11 .s11e-h {
		margin-top: 16px;
		font-size: 30px;
		line-height: 1.1;
		text-wrap: balance;
	}

	.gs-home .gh-11 .s11e-line {
		max-width: 440px;
		margin-top: 16px;
		font-size: 18px;
		line-height: 28px;
		text-wrap: pretty;
	}

	.gs-home .gh-11 .s11e-act {
		width: 100%;
		max-width: 440px;
		margin-top: 32px;
	}

	/* 18px box with the full-width pill below */
	.gs-home .gh-11 .s11e-act .gs-url {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 0;
		max-width: none;
		padding: 6px;
		background: var(--card-bg);
		border: 1px solid var(--outline-med-em);
		border-radius: 18px;
		box-shadow: var(--elevation-e2);
		transition: box-shadow .2s ease, border-color .2s ease;
	}

	.gs-home .gh-11 .s11e-act .gs-url:focus-within {
		border-color: var(--brand-primary-main);
		box-shadow: 0 0 0 1px var(--focus-ring), var(--elevation-e2);
	}

	.gs-home .gh-11 .s11e-act .gs-url:focus-within .gs-url__icon {
		color: var(--text-brand-em);
	}

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

	.gs-home .gh-11 .s11e-act .gs-url .gs-url__input {
		flex: 1 1 0;
		min-width: 0;
		height: 52px;
		font-size: 16px;
		line-height: 24px;
		text-align: left;
	}

	.gs-home .gh-11 .s11e-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-11 .s11e-alt {
		margin-top: 12px;
	}

	.gs-home .gh-11 .s11e-alt .lnk {
		min-height: 44px;
		padding: 0 8px;
	}

	.gs-home .gh-11 .s11e-art {
		position: relative;
		z-index: 0;
		width: 100%;
		aspect-ratio: 16 / 9;
		min-height: 360px;
		max-height: 560px;
		margin: -96px 0 0;
		overflow: hidden;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
		mask-image: linear-gradient(to bottom, transparent 0, #000 72px);
	}

	.gs-home .gh-11 .s11e-art img {
		object-position: 62.5% 100%;
	}
}
