/* One compact ending: growth in numbers, then the anniversary thank-you. */
.growth-closing {
	position: relative;
	overflow: hidden;
	background: #101210;
}

.growth-panel {
	position: relative;
	min-height: clamp(610px, 76svh, 790px);
	display: flex;
	align-items: center;
	padding-block: clamp(80px, 9vw, 130px) clamp(125px, 12vw, 180px);
	background:
		radial-gradient(circle at 80% 26%, rgba(0, 112, 62, .3), transparent 28%),
		repeating-linear-gradient(28deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 6px),
		#111311;
	color: #fff;
}

.growth-panel::before {
	content: '1  →  8';
	position: absolute;
	right: -.05em;
	top: -.16em;
	font: 700 clamp(15rem, 31vw, 37rem)/.8 var(--display);
	letter-spacing: -.13em;
	color: rgba(255, 255, 255, .025);
	pointer-events: none;
}

.growth-content {
	position: relative;
	z-index: 2;
	width: min(1460px, calc(100% - clamp(38px, 6vw, 112px)));
}

.growth-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 40px;
	margin-bottom: clamp(50px, 6vw, 90px);
}

.growth-heading .eyebrow {
	margin: 0;
	color: var(--yellow);
}

.growth-heading h2 {
	max-width: 830px;
	margin: 0;
	font: 700 clamp(3.1rem, 5.5vw, 6.5rem)/.88 var(--display);
	letter-spacing: -.08em;
	text-align: right;
}

.growth-equation {
	display: grid;
	grid-template-columns: auto minmax(240px, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 2.4vw, 42px);
}

.growth-number {
	position: relative;
	display: grid;
	justify-items: center;
	min-width: 0;
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .8s ease, transform 1s cubic-bezier(.2, .75, .2, 1);
}

.growth-number strong {
	display: block;
	font: 700 clamp(7rem, 13vw, 15rem)/.68 var(--display);
	letter-spacing: -.1em;
	color: var(--yellow);
}

.growth-number small {
	display: block;
	margin-bottom: 14px;
	font: 700 12px 'DM Mono', monospace;
	letter-spacing: .14em;
	color: #fff;
}

.growth-number--eight strong {
	color: #fff;
	-webkit-text-stroke: 3px var(--green);
	paint-order: stroke fill;
}

.growth-number span {
	display: block;
	margin-top: 16px;
	padding: 8px 11px;
	background: #fff;
	font: 700 11px 'DM Mono', monospace;
	letter-spacing: .1em;
	color: #111;
	transform: rotate(-3deg);
}

.growth-number--eight span { background: var(--green); color: #fff; transform: rotate(2deg); }

.growth-route {
	position: relative;
	height: 68px;
}

.growth-route-line {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 7px;
	background: var(--yellow);
	box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
	transform: rotate(-2deg) scaleX(0);
	transform-origin: left;
	transition: transform 1.8s cubic-bezier(.2, .75, .2, 1) .3s;
}

.growth-dots {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.growth-dots i {
	position: relative;
	display: block;
	width: clamp(12px, 1.2vw, 18px);
	height: clamp(12px, 1.2vw, 18px);
	border: 3px solid var(--yellow);
	background: #111;
	transform: rotate(45deg) scale(0);
	transition: transform .65s cubic-bezier(.2, .75, .2, 1);
}

.growth-dots i:nth-child(1) { transition-delay: .55s; }
.growth-dots i:nth-child(2) { transition-delay: .68s; }
.growth-dots i:nth-child(3) { transition-delay: .81s; }
.growth-dots i:nth-child(4) { transition-delay: .94s; }
.growth-dots i:nth-child(5) { transition-delay: 1.07s; }
.growth-dots i:nth-child(6) { transition-delay: 1.2s; }
.growth-dots i:nth-child(7) { transition-delay: 1.33s; }
.growth-dots i:nth-child(8) { transition-delay: 1.46s; }

.growth-arrow {
	display: block;
	font: 700 clamp(3rem, 5vw, 6rem)/1 var(--display);
	color: var(--yellow);
	opacity: 0;
	transform: translateX(-20px);
	transition: opacity .7s ease 1.75s, transform .85s ease 1.75s;
}

.growth-closing.is-in-view .growth-number,
.growth-closing.is-in-view .growth-arrow {
	opacity: 1;
	transform: none;
}

.growth-closing.is-in-view .growth-number--eight { transition-delay: 1.35s; }
.growth-closing.is-in-view .growth-route-line { transform: rotate(-2deg) scaleX(1); }
.growth-closing.is-in-view .growth-dots i { transform: rotate(45deg) scale(1); }

.final-panel {
	position: relative;
	min-height: clamp(650px, 78svh, 850px);
	display: flex;
	align-items: center;
	margin-top: -92px;
	padding: clamp(150px, 14vw, 210px) 0 clamp(90px, 10vw, 145px);
	clip-path: polygon(0 9%, 12% 3%, 25% 8%, 41% 2%, 58% 7%, 74% 1%, 88% 6%, 100% 2%, 100% 100%, 0 100%);
	background:
		radial-gradient(circle at 7% 88%, rgba(0, 0, 0, .42), transparent 36%),
		radial-gradient(circle at 90% 20%, rgba(45, 159, 80, .4), transparent 28%),
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 6px),
		#006c3b;
	color: #fff;
}

.final-panel::before {
	content: '10';
	position: absolute;
	right: -.05em;
	bottom: -.22em;
	font: 700 clamp(20rem, 53vw, 60rem)/.7 var(--display);
	letter-spacing: -.17em;
	color: rgba(255, 210, 27, .13);
	pointer-events: none;
}

.final-crown {
	position: absolute;
	right: 7%;
	top: 17%;
	width: clamp(160px, 17vw, 320px);
	aspect-ratio: 50/31;
	opacity: .1;
	filter: grayscale(1) brightness(3);
	transform: rotate(9deg);
}

.final-crown img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.final-content {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(560px, 1.25fr) minmax(360px, .75fr);
	gap: clamp(55px, 8vw, 135px);
	align-items: center;
}

.final-content h2 {
	max-width: 1100px;
	margin: 22px 0 40px;
	font: 700 clamp(3.7rem, 7vw, 8rem)/.87 var(--display);
	letter-spacing: -.085em;
}

.final-content h2 em {
	font-style: normal;
	color: var(--yellow);
}

.final-story {
	position: relative;
	max-width: 590px;
	padding: clamp(28px, 3vw, 44px);
	background: rgba(0, 51, 29, .66);
	border-left: 4px solid var(--yellow);
	box-shadow: 13px 15px 0 rgba(0, 0, 0, .2);
}

.final-story p { margin: 0 0 18px; font-size: clamp(.96rem, 1.08vw, 1.08rem); line-height: 1.5; }
.final-story p:last-child { margin-bottom: 0; }
.final-story .final-line { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: clamp(1rem, 1.25vw, 1.25rem); }
.final-story .final-line strong { display: inline-block; margin-top: 5px; color: var(--yellow); font: 700 clamp(1.35rem, 2vw, 2rem)/1 var(--display); }

.final-thanks {
	position: absolute;
	right: 2%;
	bottom: 3%;
	padding: .24em .4em .3em;
	background: var(--yellow);
	box-shadow: 8px 9px 0 #111;
	font: 700 clamp(2rem, 4vw, 4.8rem)/.9 var(--display);
	color: #111;
	transform: rotate(-5deg);
}

@media (max-width: 900px) and (min-width: 761px) {
	.growth-equation { grid-template-columns: auto minmax(180px, 1fr) auto; gap: 20px; }
	.growth-number strong { font-size: clamp(6.5rem, 13vw, 10rem); }
	.growth-heading h2 { font-size: clamp(3rem, 6vw, 4.5rem); }
	.final-content { grid-template-columns: 1fr 1fr; gap: 35px; }
	.final-content h2 { font-size: clamp(3.5rem, 7vw, 5.5rem); }
}

@media (max-width: 760px) {
	.growth-panel { min-height: 760px; padding: 76px 20px 155px; }
	.growth-content { width: 100%; }
	.growth-heading { display: block; margin-bottom: 62px; }
	.growth-heading h2 { margin-top: 20px; font-size: clamp(2.8rem, 12vw, 4.2rem); text-align: left; }
	.growth-equation { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
	.growth-number strong { font-size: clamp(8rem, 36vw, 11rem); }
	.growth-number span { margin-top: 10px; }
	.growth-route { width: 64px; height: 180px; }
	.growth-route-line { top: 0; bottom: 0; left: 50%; right: auto; width: 7px; height: auto; transform: rotate(2deg) scaleY(0); transform-origin: top; }
	.growth-closing.is-in-view .growth-route-line { transform: rotate(2deg) scaleY(1); }
	.growth-dots { flex-direction: column; }
	.growth-arrow { transform: rotate(90deg) translateX(-16px); }
	.growth-closing.is-in-view .growth-arrow { transform: rotate(90deg); }
	.final-panel { min-height: 700px; margin-top: -72px; padding: 145px 20px 92px; clip-path: polygon(0 7%, 20% 2%, 39% 8%, 61% 1%, 82% 7%, 100% 3%, 100% 100%, 0 100%); }
	.final-content { display: block; }
	.final-content h2 { font-size: clamp(3rem, 13vw, 4.8rem); }
	.final-story { margin-top: 45px; padding: 27px 20px; }
	.final-thanks { position: relative; display: inline-block; right: auto; bottom: auto; margin: 50px 0 0 8%; font-size: 2.5rem; }
	.final-crown { right: -8%; top: 13%; width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
	.growth-number,
	.growth-arrow { opacity: 1; transform: none; transition: none; }
	.growth-route-line { transform: rotate(-2deg) scaleX(1); transition: none; }
	.growth-dots i { transform: rotate(45deg) scale(1); transition: none; }

	@media (max-width: 760px) {
		.growth-route-line { transform: rotate(2deg) scaleY(1); }
		.growth-arrow { transform: rotate(90deg); }
	}
}

/* Keep the thank-you sticker as its own grid item, clear of the closing copy. */
@media (min-width: 761px) {
	.final-thanks {
		position: relative;
		right: auto;
		bottom: auto;
		grid-column: 1;
		justify-self: start;
		width: max-content;
		margin: clamp(-58px, -4vw, -34px) 0 0 8%;
	}
}
