/* Base & reset */
* {
	box-sizing: border-box;
}

/* Skip link - visible on focus for keyboard users */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 1rem 1.5rem;
	background-color: #111111;
	color: #f9f9f9;
	text-decoration: none;
	font-weight: 500;
}

.skip-link:focus {
	left: 0;
	outline: 3px solid #636363;
	outline-offset: 2px;
}

/* Visually hidden - for screen readers only (e.g. section context) */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: #f9f9f9;
	color: #111111;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1.05rem;
	line-height: 1.55;
	padding: min(6.5rem, 8vw);
}

main {
	max-width: 1280px;
	margin: 0 auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: Cardo, serif;
	font-weight: 400;
	line-height: 1.2;
	color: #111111;
}

h1 {
	font-size: clamp(1.39rem, 1.39rem + ((1vw - 0.2rem) * 0.767), 1.85rem);
	text-align: center;
	margin-top: 0;
}

p {
	margin: 0 0 1.2rem;
	text-align: center;
}

/* Links - visible focus for keyboard navigation */
a {
	color: #111111;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a:focus-visible {
	outline: 3px solid #636363;
	outline-offset: 2px;
	text-decoration: none;
}

/* Images */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

.hero-image {
	width: 100%;
	border-radius: min(1.5rem, 2vw);
	margin: 0 auto 1.5rem;
}

.content {
	max-width: 565px;
	margin: 0 auto 1.5rem;
}

/* PayPal button - focus visible for form submit */
.paypal-donations {
	text-align: center;
	margin: 1.5rem 0;
}

.paypal-donations img {
	display: inline;
	cursor: pointer;
}

.paypal-donations input:focus-visible {
	outline: 3px solid #636363;
	outline-offset: 2px;
}

.qr-code {
	max-width: min(400px, 100%);
	width: 100%;
	height: auto;
	margin: 1.5rem auto;
}

/* Responsive */
@media (max-width: 600px) {
	body {
		padding: min(2.5rem, 6vw);
	}
}
