/* Custom styles for the child theme. */

/* ---------- Front page: a single centred message (templates/front-page.html) ----------
   Fonts come from Twenty Twenty-Five (Manrope); colours use its presets:
   base = white, contrast = near-black #111111 (18.9:1). */

.sk-canvas {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh; /* mobile: ignore the collapsing browser toolbar */
	margin: 0;
	padding: clamp(2rem, 8vh, 5rem) clamp(1.5rem, 6vw, 3rem);
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base);
}

.sk-canvas > .wp-block-post-content {
	width: 100%;
	max-width: 36em;
	margin: 0;
	font-size: clamp(1.125rem, 1.03rem + 0.4vw, 1.3125rem); /* ~18px phone, ~21px desktop */
	line-height: 1.75;
}

.sk-canvas p {
	margin: 0;
}

/* Small, understated wordmark above the message */
.sk-canvas .sk-wordmark {
	margin-bottom: 1.75em;
	font-size: 0.8125em;
	font-weight: 650;
	letter-spacing: 0.14em;
	line-height: 1;
}

/* Links: always underlined, with a clear keyboard focus ring */
.sk-canvas a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
	transition: text-decoration-thickness 150ms ease;
}

.sk-canvas a:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.14em;
}

.sk-canvas a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
	border-radius: 2px;
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.sk-canvas a {
		transition: none;
	}
}
