/* ==========================================================================
   Home hero — gate width on desktop
   The gates widget is forced to 100vw from 901px up, which stretches the
   doorway across the whole monitor. This caps it and keeps it centred.
   ========================================================================== */

@media (min-width: 901px) {
	body.home #sotk-widget,
	body.front-page #sotk-widget {
		width: min(900px, 100vw) !important;
		max-width: min(900px, 100vw) !important;
		margin-left: calc(50% - min(450px, 50vw)) !important;
		margin-right: 0 !important;
	}
}

/* Desktop: shorten the gates so the welcome page isn't so tall.
   The stage is scaled with the frame so the arch keeps its shape. */

@media (min-width: 901px) {
	body.home #sotk-widget,
	body.front-page #sotk-widget {
		min-height: 840px;
	}

	body.home #sotk-widget .stage,
	body.front-page #sotk-widget .stage {
		height: 720px;
		top: 54%;
	}
}

/* Desktop: shrink the doorway itself (arch + gates), not just the section.
   Width and height scale together so the arch keeps its proportions. */

@media (min-width: 901px) {
	body.home #sotk-widget,
	body.front-page #sotk-widget {
		min-height: 780px;
	}

	body.home #sotk-widget .stage,
	body.front-page #sotk-widget .stage {
		width: 82%;
		height: 660px;
		top: 54%;
	}
}
