/**
 * Student discount landing page.
 */

.wn-student-discount-page .styler-page-hero,
.wn-student-discount-page .page-hero,
.wn-student-discount-page .styler-page-content > .container > .row > .col-12 > .styler-page-title {
	display: none;
}

.wn-student-discount-page #wrapper,
.wn-student-discount-page .page-wrapper,
.wn-student-discount-page .site-content {
	overflow-x: clip;
}

.wn-student-discount {
	--wn-sd-ink: var(--wn-brand-ink, #332e2b);
	--wn-sd-accent: var(--wn-brand-accent, #ea4c24);
	--wn-sd-paper: #f3efe8;
	--wn-sd-white: #fffdf9;
	color: var(--wn-sd-ink);
	background: var(--wn-sd-paper);
}

/* ----- Hero ----- */

.wn-student-discount__hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	min-height: min(88vh, 720px);
	background: #1c1816;
	color: #fffdf9;
	isolation: isolate;
}

.wn-student-discount__hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.wn-student-discount__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 40%;
	transform: scale(1.04);
	animation: wn-sd-ken 14s ease-out both;
}

.wn-student-discount__hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 16, 14, 0.55) 0%, rgba(20, 16, 14, 0.72) 55%, rgba(20, 16, 14, 0.88) 100%),
		linear-gradient(90deg, rgba(20, 16, 14, 0.55) 0%, transparent 60%);
}

.wn-student-discount__hero-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	width: min(640px, 100%);
	padding: clamp(4.5rem, 12vh, 7rem) 1.25rem 2.75rem;
	text-align: left;
}

.wn-student-discount__brand {
	margin: 0 0 0.85rem;
	font-family: "Jost", sans-serif;
	font-size: clamp(1.15rem, 2.4vw, 1.55rem);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
	animation: wn-sd-rise 0.7s ease both;
}

.wn-student-discount__title {
	margin: 0 0 0.9rem;
	max-width: 12ch;
	font-family: "Jost", sans-serif;
	font-size: clamp(2.75rem, 9vw, 4.75rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
	color: #fff;
	text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
	animation: wn-sd-rise 0.75s ease 0.08s both;
}

.wn-student-discount__lede {
	margin: 0 0 1.6rem;
	max-width: 28ch;
	font-family: "Jost", sans-serif;
	font-size: clamp(1.08rem, 2.2vw, 1.3rem);
	line-height: 1.4;
	color: rgba(255, 253, 249, 0.9);
	animation: wn-sd-rise 0.75s ease 0.16s both;
}

.wn-student-discount__hero-cta-wrap {
	margin: 0;
	animation: wn-sd-rise 0.8s ease 0.22s both;
}

/* ----- Verify / Connect ----- */

.wn-student-discount__verify {
	padding: clamp(2.5rem, 5vw, 4rem) 1.25rem;
	background:
		radial-gradient(80% 60% at 50% 0%, rgba(234, 76, 36, 0.12), transparent 60%),
		var(--wn-sd-white);
}

.wn-student-discount__verify-inner {
	width: min(720px, 100%);
	margin: 0 auto;
	text-align: center;
}

.wn-student-discount__verify-title {
	margin: 0 0 0.5rem;
	font-family: "Jost", sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.wn-student-discount__verify-lede {
	margin: 0 auto 1.5rem;
	max-width: 36ch;
	font-family: "Jost", sans-serif;
	font-size: 1.05rem;
	line-height: 1.45;
	color: rgba(51, 46, 43, 0.78);
}

.wn-student-discount__connect {
	margin: 0 auto;
	width: 100%;
	min-height: 220px;
}

.wn-student-discount__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	min-height: 220px;
	padding: 1.75rem 1.5rem;
	border: 1px solid rgba(51, 46, 43, 0.12);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(243, 239, 232, 0.9)),
		repeating-linear-gradient(
			-12deg,
			transparent,
			transparent 10px,
			rgba(51, 46, 43, 0.02) 10px,
			rgba(51, 46, 43, 0.02) 11px
		);
}

.wn-student-discount__placeholder-eyebrow {
	margin: 0;
	font-family: "Jost", sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wn-sd-accent);
}

.wn-student-discount__placeholder-title {
	margin: 0;
	font-family: "Jost", sans-serif;
	font-size: clamp(1.35rem, 3vw, 1.7rem);
	font-weight: 700;
	line-height: 1.2;
}

.wn-student-discount__placeholder-text {
	margin: 0.35rem 0 0;
	font-family: "Jost", sans-serif;
	font-size: 1rem;
	line-height: 1.45;
	color: rgba(51, 46, 43, 0.75);
}

/* ----- Details ----- */

.wn-student-discount__details {
	padding: 0 1.25rem 4.5rem;
	background: var(--wn-sd-paper);
}

.wn-student-discount__details-inner {
	width: min(920px, 100%);
	margin: 0 auto;
	padding-top: 0.5rem;
}

.wn-student-discount__details-title {
	margin: 0 0 1rem;
	font-family: "Jost", sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wn-student-discount__terms {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wn-student-discount__terms li {
	position: relative;
	margin: 0;
	padding: 0.75rem 0 0.75rem 1.35rem;
	font-family: "Jost", sans-serif;
	font-size: 1.08rem;
	line-height: 1.4;
	border-bottom: 1px solid rgba(51, 46, 43, 0.12);
}

.wn-student-discount__terms li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.15rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--wn-sd-accent);
}

.wn-student-discount__details-kicker {
	margin: 1.75rem 0 0.85rem;
	font-family: "Jost", sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
}

.wn-student-discount__cta-wrap {
	margin: 0;
}

.wn-student-discount__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.15rem;
	padding: 0.9rem 1.75rem;
	font-family: "Jost", sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	color: #fff;
	background: var(--wn-sd-accent);
	border: 2px solid var(--wn-sd-accent);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wn-student-discount__cta--hero {
	color: var(--wn-sd-ink);
	background: #fff;
	border-color: #fff;
}

.wn-student-discount__cta:hover,
.wn-student-discount__cta:focus-visible {
	color: #fff;
	background: transparent;
	border-color: var(--wn-sd-accent);
	transform: translateY(-2px);
}

.wn-student-discount__cta--hero:hover,
.wn-student-discount__cta--hero:focus-visible {
	color: #fff;
	background: var(--wn-sd-accent);
	border-color: var(--wn-sd-accent);
}

@keyframes wn-sd-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes wn-sd-ken {
	from {
		transform: scale(1.08);
	}
	to {
		transform: scale(1.02);
	}
}

/* ----- Desktop ----- */

@media (min-width: 900px) {
	.wn-student-discount__hero {
		grid-template-columns: minmax(420px, 0.95fr) minmax(480px, 1.15fr);
		min-height: min(92vh, 860px);
	}

	.wn-student-discount__hero-media {
		position: relative;
		grid-column: 2;
		grid-row: 1;
	}

	.wn-student-discount__hero-media::after {
		background:
			linear-gradient(90deg, #1c1816 0%, rgba(28, 24, 22, 0.15) 28%, transparent 55%),
			linear-gradient(180deg, transparent 60%, rgba(28, 24, 22, 0.25) 100%);
	}

	.wn-student-discount__hero-img {
		object-position: 60% 35%;
	}

	.wn-student-discount__hero-copy {
		grid-column: 1;
		grid-row: 1;
		justify-content: center;
		width: 100%;
		max-width: none;
		padding: 4rem clamp(2.5rem, 5vw, 5rem) 4rem clamp(2.5rem, 6vw, 6rem);
		background: #1c1816;
	}

	.wn-student-discount__title {
		max-width: 11ch;
		font-size: clamp(3.6rem, 5.4vw, 5.4rem);
	}

	.wn-student-discount__lede {
		max-width: 26ch;
		font-size: 1.28rem;
	}

	.wn-student-discount__verify {
		padding: 4.5rem clamp(2rem, 5vw, 4rem) 3.5rem;
	}

	.wn-student-discount__verify-inner {
		width: min(880px, 100%);
	}

	.wn-student-discount__verify-title {
		font-size: 2.35rem;
	}

	.wn-student-discount__connect {
		min-height: 280px;
	}

	.wn-student-discount__details {
		padding: 1rem clamp(2rem, 5vw, 4rem) 5.5rem;
	}

	.wn-student-discount__details-inner {
		display: grid;
		grid-template-columns: 1.35fr 0.9fr;
		gap: 3rem 4rem;
		align-items: end;
		width: min(1040px, 100%);
		padding-top: 1rem;
		border-top: 1px solid rgba(51, 46, 43, 0.12);
	}

	.wn-student-discount__details-kicker {
		margin: 0 0 1rem;
		font-size: 1.15rem;
	}

	.wn-student-discount__details-action {
		padding-bottom: 0.35rem;
	}

	.wn-student-discount__cta {
		min-width: 14rem;
	}
}

@media (min-width: 1200px) {
	.wn-student-discount__hero-copy {
		padding-left: clamp(4rem, 8vw, 7rem);
	}

	.wn-student-discount__brand {
		font-size: 1.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wn-student-discount__brand,
	.wn-student-discount__title,
	.wn-student-discount__lede,
	.wn-student-discount__hero-cta-wrap,
	.wn-student-discount__hero-img {
		animation: none;
	}

	.wn-student-discount__hero-img {
		transform: none;
	}

	.wn-student-discount__cta {
		transition: none;
	}

	.wn-student-discount__cta:hover,
	.wn-student-discount__cta:focus-visible {
		transform: none;
	}
}
