/* Homepage splash: choose Costuming or Embroidery.
   Colors follow the active theme variables (see vars.css). */

.splash {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2.5rem 0 3.5rem;
}

.splash h1.splash-title {
	margin: 0 0 1rem;
	text-align: center;
	font-family: 'Montserrat', 'Inter', sans-serif;
	font-weight: 800;
	font-size: clamp(1.75rem, 4vw, 2.6rem);
	line-height: 1.15;
	color: var(--nc-text);
}

.splash p.splash-lede {
	margin: 0 0 2.5rem;
	text-align: center;
	font-size: 1.1rem;
	color: var(--nc-text-secondary);
}

.splash-choices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.75rem;
}

.splash-choice {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 22rem;
	padding: 2.5rem;
	border-radius: 14px;
	background: linear-gradient(rgb(160 82 45 / 0.4), rgb(160 82 45 / 0.4)), url(/img/homepage/reb-sean-cropped-650.webp), var(--nc-primary);
	color: #fff;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.splash-choice--embroidery {
	background:  linear-gradient(rgb(44 62 80 / 0.6), rgb(44 62 80 / 0.6)), url(/img/homepage/sugar-skull-preview.webp) right center / auto 120% no-repeat, var(--nc-topbar-bg, #2c3e50);


}

/* Stitched-border accent */
.splash-choice::before {
	content: '';
	position: absolute;
	inset: 12px;
	border: 2px dashed rgba(255, 255, 255, .4);
	border-radius: 9px;
	pointer-events: none;
}

.splash-choice:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.splash-choice:focus-visible {
	outline: 3px solid var(--nc-border-focus, #2563eb);
	outline-offset: 4px;
}

.splash .splash-choice h2.splash-name {
	margin: 0;
	font-family: 'Montserrat', 'Inter', sans-serif;
	font-weight: 900;
	font-size: clamp(2rem, 5vw, 3.1rem);
	line-height: 1.05;
	color: #fff;
	-webkit-text-stroke: 2px #000;
	paint-order: stroke fill;
	text-shadow: var(--nc-text-shadow);
}

.splash .splash-choice p.splash-desc {
	margin: 1.25rem 0 0;
	max-width: 26rem;
	font-size: 1.05rem;
	line-height: 1.5;
	color: #fff;
	-webkit-text-stroke: 2px #000;
	paint-order: stroke fill;
	text-shadow: var(--nc-text-shadow);
}

.splash-go {
	align-self: flex-start;
	margin-top: 2rem;
	padding: .8rem 1.6rem;
	border-radius: 999px;
	background: #fff;
	color: var(--nc-primary);
	font-weight: 700;
	font-size: 1rem;
	/*
	-webkit-text-stroke: 2px #000;
	paint-order: stroke fill;
	*/
}

.splash-choice--embroidery .splash-go {
	color: var(--nc-topbar-bg, #2c3e50);
}

/* Reserve two lines so both headings line up side by side */
@media (min-width: 721px) {
	.splash .splash-choice p.splash-desc { min-height: 3em; }
}

@media (max-width: 720px) {
	.splash { padding: 1.5rem 0 2.5rem; }
	.splash-choices { grid-template-columns: 1fr; gap: 1.25rem; }
	.splash-choice { min-height: 16rem; padding: 2rem 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
	.splash-choice { transition: none; }
	.splash-choice:hover { transform: none; }
}
