:root {
	--vt-green: hsl(142, 50%, 30%);
	--link: hsl(30, 40%, 30%);
	--link-hover: hsl(30, 40%, 45%);
	--bg: hsl(210, 40%, 98%);
	--text-primary: hsl(222, 47%, 11%);
	--text-secondary: hsl(215, 20%, 40%);
	--text-footer: hsl(215, 16%, 47%);
	--text-heading: hsl(222, 47%, 5%);
	--border-footer: hsl(215, 20%, 90%);
	--surface: hsl(0, 0%, 100%);
	--shadow: hsla(0, 0%, 0%, 0.08);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	margin: 0;
}

body {
	font-family: 'Urbanist', sans-serif;
	line-height: 1.6;
	font-size: 1.25rem;
	background-color: var(--bg);
	color: var(--text-primary);
}

main {
	flex: 1 0 auto;
}

header {
	padding: 2rem 1rem 2rem 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	font-weight: 700;
	color: var(--text-heading);
}

h1 {
	font-size: 3rem;
	color: white;
}

h2 {
	font-size: 2rem;
}

p {
	margin-bottom: 0.5rem;
	font-weight: 400;
	color: var(--text-secondary);
}

a {
	color: var(--link);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--link-hover);
	text-decoration: underline;
}

ul,
ol {
	margin-bottom: 1rem;
	padding-left: 1.25rem;
}

img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

footer {
	margin-top: 2rem;
	padding: 1rem;
	text-align: center;
	font-size: 1rem;
	color: var(--text-footer);
	border-top: 1px solid var(--border-footer);
}

.container {
	max-width: 60rem;
	margin: 0 auto;
	background: var(--surface);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.text-center {
	text-align: center;
}

.teaser {
	font-size: 2rem;
	font-weight: 500;
	color: var(--vt-green);
	letter-spacing: 0.02em;
	font-style: italic;
}

.center-img-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem 1rem 1rem 1rem;
}

.hero {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	margin-bottom: 2rem;
	overflow: visible;
    top: -1.25rem
}

.hero img {
	border-radius: 0%;
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	max-height: 80vh;
	filter: brightness(0.95) contrast(1.05);
}

.hero > h1 {
    position: absolute;
    height: auto;
    color: white;
    top: 50%; 
    z-index: 2;
    font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
    background-color: hsl(142 50%  30% / 0.8);
    padding-left: clamp(1rem, 2vw, 2rem);
    line-height: 1;
    font-weight: 500;
}

@media (max-width: 400px) {
    .hero > h1 {
        top: 35%;
        background-color: hsl(142 50%  30% / 0.5);
    }
}

.hero > h1 > span {
    position: relative;
    top: clamp(10px, 2vw, 16px);
}

/* Symmetrical side fade overlay */
.hero::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	pointer-events: none;
	background-image: 
    linear-gradient(hsl(0 0% 0% / .2) 0 0),
    linear-gradient(
		to right,
		hsla(210, 40%, 98%, 0.3) 0%,
		transparent calc((100vw - 60rem) / 2),
		transparent calc(100% - (100vw - 60rem) / 2),
		hsla(210, 40%, 98%, 0.3) 100%
	);
}

.footer-link {
	padding: 0.5rem;

	p {
		margin-bottom: 0;
	}
}

.photo-credit {
	font-size: 0.85rem;
	color: var(--link);
	height: 1rem;
}
