/* Hero v1.2.3 — isolated desktop and mobile compositions. */
.hero {
	position: relative;
	min-height: clamp(650px, 100svh, 900px);
	overflow: hidden;
	isolation: isolate;
	background-color: #006c3b;
	background-image:
		linear-gradient(110deg, rgba(0, 55, 31, .66), rgba(0, 106, 59, .5) 47%, rgba(0, 45, 26, .76)),
		url("../../images/hero/hero-celebration-desktop.jpg");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: #fff;
}

/* Remove the obsolete right-hand veil inherited from main.css. */
.hero::before {
	content: none !important;
	display: none !important;
}

.hero::after {
	z-index: 0;
	pointer-events: none;
}

.hero-grain {
	position: absolute;
	z-index: 0;
	inset: 0;
	opacity: .2;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.hero .hero-inner {
	position: relative;
	z-index: 2;
	width: min(1480px, calc(100% - clamp(40px, 5vw, 96px)));
	min-height: inherit;
	padding: 104px 0 0;
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(310px, .85fr);
	column-gap: clamp(20px, 2vw, 38px);
}

.hero .hero-visual {
	position: relative;
	min-width: 0;
	min-height: calc(clamp(650px, 100svh, 900px) - 104px);
}

.hero .hero-ten {
	position: absolute;
	z-index: 1;
	left: 16%;
	top: 1%;
	width: 78%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: .025em;
	font: 700 clamp(23rem, 38vw, 39rem)/.76 var(--display);
	letter-spacing: 0;
	white-space: nowrap;
	text-align: center;
	color: var(--yellow);
	text-shadow: 5px 6px 0 rgba(0, 0, 0, .07);
	pointer-events: none;
	opacity: 0;
	clip-path: inset(0 100% 0 0);
	transform: translateY(18px) scale(.985);
	transform-origin: center;
	animation: hero-ten-reveal 1.55s cubic-bezier(.18, .75, .18, 1) .12s forwards;
}

.hero .hero-mascot {
	position: absolute;
	z-index: 3;
	left: -7%;
	bottom: -8%;
	width: clamp(500px, 45vw, 730px);
	margin: 0;
	filter: drop-shadow(17px 20px 18px rgba(0, 0, 0, .38));
	pointer-events: none;
	opacity: 0;
	transform: translateY(50px);
	animation: hero-rise 1.45s cubic-bezier(.18, .75, .18, 1) .42s forwards;
}

.hero .hero-mascot picture,
.hero .hero-mascot img {
	display: block;
	width: 100%;
	height: auto;
}

.hero .hero-label {
	position: absolute;
	z-index: 5;
	left: 52%;
	top: 43%;
	white-space: nowrap;
	padding: .08em .2em .15em;
	background: #0a0a09;
	box-shadow: 12px 10px 0 rgba(0, 0, 0, .18);
	font: 700 clamp(2.9rem, 4.7vw, 5.1rem)/.72 var(--display);
	letter-spacing: -.09em;
	color: #fff;
	opacity: 0;
	transform: translateX(-28px) rotate(-4deg) skewX(-5deg);
	animation: hero-label-in 1.05s cubic-bezier(.18, .75, .18, 1) .9s forwards;
}

.hero .hero-scribble {
	position: absolute;
	z-index: 6;
	left: 8%;
	bottom: 8%;
	padding: .35em .48em .42em;
	background: var(--yellow);
	box-shadow: 8px 8px 0 rgba(0, 0, 0, .16);
	font: 700 clamp(1rem, 1.45vw, 1.45rem)/.94 var(--display);
	text-align: center;
	color: #111;
	opacity: 0;
	transform: rotate(-3deg);
	animation: hero-sticker-in .85s ease 1.28s forwards;
}

.hero .hero-copy {
	position: relative;
	z-index: 8;
	align-self: center;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	width: 100%;
	max-width: none;
	padding: clamp(28px, 3vw, 46px) clamp(20px, 2.5vw, 36px);
	background: #004a2b;
	border-left: 2px solid var(--yellow);
	box-shadow: 16px 18px 0 rgba(0, 0, 0, .12);
	opacity: 0;
	transform: translateY(20px);
	animation: hero-copy-in 1.05s ease 1.12s forwards;
}

.hero .hero-copy h1 {
	max-width: 100%;
	margin: 0;
	font: 700 clamp(2.1rem, 2.75vw, 3.15rem)/.91 var(--display);
	letter-spacing: -.07em;
	color: #fff !important;
	-webkit-text-stroke: 1px #002f1c;
	paint-order: stroke fill;
	text-shadow: 0 3px 0 #002f1c, 0 8px 18px rgba(0, 0, 0, .28);
}

.hero .hero-copy h1 em {
	display: block;
	margin-top: .12em;
	font-style: normal;
	color: var(--yellow) !important;
	-webkit-text-stroke: 1px #002f1c;
}

.hero .hero-copy p {
	max-width: 350px;
	margin: 22px 0 0;
	font-size: clamp(.95rem, 1.05vw, 1.08rem);
	font-weight: 650;
	line-height: 1.38;
	color: #fff !important;
	text-shadow: 0 2px 0 #002f1c;
}

.hero .scroll-cue {
	position: absolute;
	z-index: 10;
	left: 0;
	bottom: 24px;
	color: #fff;
	text-decoration: none;
	font: 500 11px 'DM Mono', monospace;
	text-transform: uppercase;
	letter-spacing: .08em;
}

@keyframes hero-ten-reveal {
	to { opacity: 1; clip-path: inset(0); transform: none; }
}

@keyframes hero-rise {
	to { opacity: 1; transform: none; }
}

@keyframes hero-label-in {
	to { opacity: 1; transform: rotate(-4deg) skewX(-5deg); }
}

@keyframes hero-copy-in {
	to { opacity: 1; transform: none; }
}

@keyframes hero-sticker-in {
	to { opacity: 1; }
}

@media (max-width: 1100px) and (min-width: 761px) {
	.hero .hero-inner {
		grid-template-columns: minmax(0, 1.75fr) minmax(280px, .9fr);
	}

	.hero .hero-ten {
		left: 13%;
		width: 84%;
		font-size: 40vw;
	}

	.hero .hero-mascot {
		left: -10%;
		width: 49vw;
	}

	.hero .hero-label {
		left: 48%;
		top: 42%;
		font-size: 4.8vw;
	}

	.hero .hero-copy h1 {
		font-size: clamp(1.9rem, 3vw, 2.6rem);
	}
}

/* Mobile is a separate poster, not a scaled desktop layout. */
@media (max-width: 760px) {
	.hero {
		min-height: max(780px, 100svh);
		max-height: none;
		background-image:
			linear-gradient(180deg, rgba(0, 52, 30, .58), rgba(0, 73, 41, .48) 52%, rgba(0, 39, 23, .9)),
			url("../../images/hero/hero-celebration-mobile.jpg");
		background-position: center top;
	}

	.hero .hero-inner {
		width: calc(100% - 28px);
		min-height: inherit;
		padding: 82px 0 0;
		display: block;
	}

	.hero .hero-visual {
		position: absolute;
		inset: 82px 0 auto;
		height: 490px;
		min-height: 0;
	}

	.hero .hero-ten {
		left: 2%;
		top: 18px;
		width: 96%;
		font-size: 86vw;
		line-height: .76;
		text-align: center;
	}

	.hero .hero-label {
		left: auto;
		right: 1%;
		top: 158px;
		max-width: 63vw;
		font-size: clamp(2.5rem, 11.5vw, 3.55rem);
		transform: translateX(-18px) rotate(-3deg) skewX(-4deg);
	}

	.hero .hero-mascot {
		left: 50%;
		top: 210px;
		bottom: auto;
		width: min(122vw, 520px);
		transform: translate(-50%, 44px);
		animation-name: hero-rise-mobile;
	}

	.hero .hero-scribble {
		left: auto;
		right: 1%;
		top: 72px;
		bottom: auto;
		font-size: clamp(.78rem, 3.7vw, 1rem);
	}

	.hero .hero-copy {
		position: absolute;
		z-index: 12;
		left: 0;
		right: 0;
		top: auto;
		bottom: 38px;
		width: auto;
		min-height: 170px;
		padding: 21px 16px 20px;
		background: #003f25 !important;
		border: 0;
		border-top: 3px solid var(--yellow);
		box-shadow: 0 -16px 30px rgba(0, 30, 17, .22);
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		animation: none !important;
	}

	.hero .hero-copy h1 {
		display: block;
		max-width: 350px;
		font-size: clamp(1.85rem, 8vw, 2.5rem);
		line-height: .91;
		color: #fff !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.hero .hero-copy h1 em {
		color: var(--yellow) !important;
	}

	.hero .hero-copy p {
		display: block;
		max-width: 315px;
		margin-top: 12px;
		font-size: .88rem;
		line-height: 1.35;
		color: #fff !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.hero .scroll-cue {
		left: 16px;
		bottom: 11px;
	}
}

@keyframes hero-rise-mobile {
	to { opacity: 1; transform: translateX(-50%); }
}

@media (max-width: 390px) {
	.hero { min-height: 760px; }
	.hero .hero-visual { height: 465px; }
	.hero .hero-ten { top: 20px; font-size: 88vw; }
	.hero .hero-label { top: 145px; font-size: 11vw; }
	.hero .hero-mascot { top: 196px; width: 124vw; }
	.hero .hero-scribble { top: 66px; font-size: .76rem; }
	.hero .hero-copy { min-height: 166px; padding: 19px 13px 18px; }
	.hero .hero-copy h1 { font-size: clamp(1.72rem, 7.8vw, 2rem); }
	.hero .hero-copy p { font-size: .82rem; }
}

@media (max-height: 680px) and (min-width: 761px) {
	.hero { min-height: 590px; }
	.hero .hero-inner { padding-top: 92px; }
	.hero .hero-visual { min-height: 498px; }
	.hero .hero-ten { top: 0; font-size: min(36vw, 34rem); }
	.hero .hero-mascot { bottom: -14%; width: min(41vw, 570px); }
	.hero .hero-label { top: 39%; font-size: min(4.2vw, 4rem); }
	.hero .hero-copy { padding-block: 24px; }
	.hero .hero-copy h1 { font-size: min(2.55vw, 2.55rem); }
}

@media (prefers-reduced-motion: reduce) {
	.hero .hero-ten,
	.hero .hero-mascot,
	.hero .hero-label,
	.hero .hero-copy,
	.hero .hero-scribble {
		animation: none;
		opacity: 1;
		clip-path: none;
	}

	.hero .hero-ten,
	.hero .hero-mascot,
	.hero .hero-copy { transform: none; }
	.hero .hero-label { transform: rotate(-4deg) skewX(-5deg); }
	.hero .hero-scribble { transform: rotate(-3deg); }

	@media (max-width: 760px) {
		.hero .hero-mascot { transform: translateX(-50%); }
		.hero .hero-label { transform: rotate(-3deg) skewX(-4deg); }
	}
}
