@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
	.fade-in {
	    opacity: 0;
	    transform: translateY(30px);
	    transition: opacity 0.8s var(--transition-smooth),
	                transform 0.8s var(--transition-smooth);
	}

	.fade-in.visible {
	    opacity: 1;
	    transform: translateY(0);
	}

		.skip-link {
	    position: absolute;
	    left: -9999px;
	    top: auto;
	    width: 1px;
	    height: 1px;
	    overflow: hidden;
	}

	.skip-link:focus {
	    position: fixed;
	    left: 1.5rem;
	    top: 1.5rem;
	    width: auto;
	    height: auto;
	    padding: 0.75rem 1.25rem;
	    background: var(--focus-color);
	    color: var(--white);
	    z-index: 10000;
	    border-radius: 8px;
	    font-weight: 600;
	    box-shadow: var(--shadow-lg);
	}

html {
	scroll-behavior: smooth;
	scroll-snap-type: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-anchor: none;
}

*, *::before, *::after {
	box-sizing: border-box;
}

@media (hover: none) and (pointer: coarse) {
	html { 
		scroll-snap-type: none; 
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
}


body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--white);
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--spd-red);
	text-decoration: none;
	transition: color 0.3s var(--transition-smooth);
}

a:hover {
	color: var(--spd-red-dark);
	text-decoration: underline;
}

a:focus {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
	border-radius: 2px;
	text-decoration: underline;
}

.container {
	width: min(100% - 3rem, var(--max-width));
	margin-inline: auto;
}

.container-text {
	width: min(100% - 3rem, var(--max-width-text));
	margin-inline: auto;
}

.section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5rem 0;
	scroll-snap-align: none;
	position: relative;
	transform: translateZ(0);
}

.section-half {
	min-height: auto;
	padding: 4rem 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
		box-sizing: border-box;
		background: rgba(255, 255, 255, 0.6);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.03); 	transition: background 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth);
}

.site-header.scrolled {
	background: rgba(255, 255, 255, 0.9);
	border-bottom-color: rgba(0,0,0,0.06);
	box-shadow: 0 4px 18px -4px rgba(0,0,0,0.12);
}


.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
		min-height: var(--header-height);
		padding: 0.25rem 0;
	max-width: var(--max-width);
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-primary);
	font-weight: 600;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
	transition: opacity 0.3s var(--transition-smooth);
}

.brand:hover {
	opacity: 1;
	text-decoration: none;
	color: var(--text-primary); }

.brand-logo {
		width: 28px;
	height: 28px;
	border-radius: 8px;
	object-fit: cover;
}

.brand-text {
	font-weight: 600;
	position: relative; }

.brand-text::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -0.15em;
	width: 100%;
	height: 2px;
	background: var(--spd-red);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--transition-smooth);
}

.brand:hover .brand-text::after,
.brand:focus-visible .brand-text::after {
	transform: translateX(-50%) scaleX(1);
}

.site-header .brand:focus,
.site-header .brand:focus-visible {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
	text-decoration: none;
}

.site-nav {
	position: relative;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: none;
	font-size: 1.5rem;
	color: var(--text-primary);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 8px;
	transition: background 0.3s var(--transition-smooth);
}

.nav-toggle:hover {
	background: var(--light-grey);
}

.nav-list {
	list-style: none;
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
}

.nav-list a {
	padding: 0.5rem 0;
	color: var(--text-primary);
	font-size: 0.9375rem;
	font-weight: 400;
	position: relative;
	transition: color 0.3s var(--transition-smooth);
	text-decoration: none; }
.site-main {
	padding: calc(var(--header-height) + 0.5rem) 0 0;
}

.nav-list a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0.15em; 	width: 100%;
	height: 2px;
	background: var(--spd-red);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--transition-smooth);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
	transform: translateX(-50%) scaleX(1);
}

.site-header .nav-list a:hover,
.site-header .nav-list a:focus,
.site-header .nav-list a:focus-visible {
	text-decoration: none;
}

@media (max-width: 768px) {
	.nav-toggle {
		display: inline-block;
	}
	
	.nav-list {
		position: absolute;
		right: 0;
		top: calc(100% + 1rem);
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: saturate(180%) blur(20px);
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		border-radius: 12px;
		padding: 1rem;
		display: none;
		flex-direction: column;
				min-width: min(240px, 92vw);
		max-width: 92vw;
		box-shadow: var(--shadow-lg);
		gap: 0;
		border: 1px solid rgba(0, 0, 0, 0.1);
		z-index: 1001;
	}
	
	.nav-list.open {
		display: flex;
	}
	
	.nav-list a {
		padding: 0.75rem 1rem;
		border-radius: 8px;
		color: var(--text-primary);
		font-weight: 500;
	}
	
	.nav-list a:hover {
		background: var(--light-grey);
		color: var(--text-primary);
	}
	
	.nav-list a::after {
		display: none;
	}
}

.hero {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: linear-gradient(180deg, var(--light-grey) 0%, var(--white) 100%);
	position: relative;
		padding: 6rem 1.5rem 5rem;
	scroll-snap-align: start;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: radial-gradient(circle at 20% 50%, rgba(227, 0, 15, 0.03) 0%, transparent 50%),
	                  radial-gradient(circle at 80% 80%, rgba(227, 0, 15, 0.02) 0%, transparent 50%);
	pointer-events: none;
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 980px;
}

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
	color: var(--text-primary);
}

.hero .subtitle {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	font-weight: 400;
	color: var(--text-secondary);
	margin-bottom: 2.5rem;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

.hero .lead {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--text-secondary);
	max-width: 700px;
	margin: 0 auto 2.5rem;
	line-height: 1.6;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 4rem;
}

.scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-secondary);
	font-size: 0.875rem;
	animation: bounce 2s infinite;
	cursor: pointer;
	transition: opacity 0.3s var(--transition-smooth);
}

.scroll-indicator:hover {
	opacity: 0.7;
}

.scroll-arrow {
	width: 24px;
	height: 24px;
	border-left: 2px solid var(--spd-red);
	border-bottom: 2px solid var(--spd-red);
	transform: rotate(-45deg);
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-10px);
	}
	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem;
	border-radius: 980px;
	font-size: 1rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.3s var(--transition-smooth);
	text-decoration: none;
	white-space: nowrap;
}

.btn-primary {
	background: var(--spd-red);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--spd-red-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(227, 0, 15, 0.3);
}

.btn-outline {
	background: transparent;
	color: var(--spd-red);
	border: 2px solid var(--spd-red);
}

.btn-outline:hover {
	background: var(--spd-red);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(227, 0, 15, 0.2);
}

.btn:focus {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
}

@media (min-resolution: 2dppx) {
	body {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}
}

@media (max-width: 1440px) {
	.container {
		width: min(95% - 1rem, var(--max-width));
	}
	
	.content-section {
		padding: 0 1rem;
	}
}

.keyboard-user *:focus {
	outline: 3px solid var(--focus-color) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
}

p, li {
	line-height: 1.6;
	word-spacing: 0.16em;
	letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.3;
	word-spacing: 0.1em;
}

body {
	font-size: clamp(16px, 1.2vw, 18px);
}

:root {
	--text-primary: #1a1a1a;      	--text-secondary: #4a4a4a;    	--spd-red: #d60000;           	--spd-red-dark: #a00000;      	--header-height: 72px; 	--footer-height: 56px; }

*:focus {
	outline: 3px solid var(--focus-color);
	outline-offset: 2px;
	border-radius: 3px;
}

*:focus-visible {
	outline: 3px solid var(--focus-color);
	outline-offset: 2px;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	position: fixed;
	left: 1.5rem;
	top: 1.5rem;
	width: auto;
	height: auto;
	padding: 1rem 1.5rem;
	background: var(--focus-color);
	color: var(--white);
	z-index: 10000;
	border-radius: 8px;
	font-weight: 600;
	box-shadow: var(--shadow-lg);
	text-decoration: none;
	font-size: 1rem;
}

:root {
	--text-primary: #1d1d1f;      	--text-secondary: #515154;    	--spd-red: #E3000F;
	--spd-red-dark: #B50000;      	--focus-color: #005fcc;       	--header-height: 72px; }

:root {
		--max-width: 1200px;        	--max-width-text: 70ch;     
		--white: #ffffff;
	--light-grey: #f5f5f7;      	--border-light: rgba(0, 0, 0, 0.12);

		--transition-smooth: cubic-bezier(.22,.61,.36,1);
	--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.12);
	--shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.75rem;
	border-radius: 980px;
	font-size: 1rem;
	font-weight: 500;
	border: none;
	cursor: pointer;
	transition: all 0.3s var(--transition-smooth);
	text-decoration: none;
	white-space: nowrap;
	min-height: 44px; 	min-width: 44px;
}

.btn-primary {
	background: var(--spd-red);
	color: var(--white);
	box-shadow: 0 0 0 1px transparent;
}

.btn-primary:hover {
	background: var(--spd-red-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(181, 0, 0, 0.3);
}

.btn-outline {
	background: transparent;
	color: var(--spd-red);
	border: 2px solid var(--spd-red);
}

.btn-outline:hover {
	background: var(--spd-red);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(181, 0, 0, 0.2);
}

.btn:focus,
.btn:focus-visible {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
	border-radius: 980px;
}

.nav-list a {
	padding: 0.4rem 0;
	color: var(--text-primary);
	font-size: 0.9375rem;
	font-weight: 400;
	position: relative;
	transition: color 0.3s var(--transition-smooth);
	min-height: 44px;
	display: flex;
	align-items: center;
}

.committee-placeholder {
	font-size: 0.9rem;
	margin-top: 0.5rem;
	font-style: italic;
	opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--text-primary);
}

h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1.5rem;
}

h3 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 1rem;
}

p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.muted {
	color: var(--text-secondary);
}

.small {
	font-size: 0.875rem;
}

.content-section {
	width: 100%;
	max-width: var(--max-width);
	padding: 0 1.5rem;
}

.content-section h2 {
	text-align: center;
	margin-bottom: 3rem;
		max-width: var(--max-width-text);
	margin-left: auto;
	margin-right: auto;
}

.content-section > h3,
.content-section > h4,
.content-section > h5,
.content-section > h6 {
    text-align: center;
    max-width: var(--max-width-text);
    margin-left: auto;
    margin-right: auto;
}

.content {
	max-width: var(--max-width-text);
	margin: 0 auto;
}

.site-main .content {
	text-align: center;
}

.site-main .content-section > p {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.site-main .content h1,
.site-main .content h2,
.site-main .content h3,
.site-main .content h4,
.site-main .content h5,
.site-main .content h6 {
	text-align: center;
}

@media (min-width: 1024px) {
		.site-main .content p,
	.site-main .content ul,
	.site-main .content ol,
	.site-main .content-section > p {
		text-align: left;
		margin-left: auto;
		margin-right: auto;
		max-width: var(--max-width-text);
	}

		.site-main .content h1,
	.site-main .content h2,
	.site-main .content h3,
	.site-main .content h4,
	.site-main .content h5,
	.site-main .content h6 {
		text-align: center;
	}

		.section {
		min-height: auto;
		padding: 4.5rem 0; 	}
}

.content p {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
}

.split-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.split-content {
	padding-right: 2rem;
}

.split-image {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.split-image img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 968px) {
	.split-layout {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.split-content {
		padding-right: 0;
	}
}

.card-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	padding: 0;
	margin: 0;
	max-width: var(--max-width);
	width: 100%;
	padding: 0 1.5rem;
}

.card {
	background: var(--white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.4s var(--transition-smooth);
	border: 1px solid var(--border-light);
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}

.card img {
	width: 100%;
	aspect-ratio: var(--person-aspect, 3/4);
	object-fit: cover;
	object-position: center top;
	background: var(--light-grey);
}

.card-body {
	padding: 1.5rem;
	text-align: center;
}

.person-name {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-primary);
}

.person-role {
	margin: 0;
	color: var(--text-secondary);
	font-size: 1rem;
}

.card-media-btn {
	display: block;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	width: 100%;
	cursor: pointer;
	border-radius: 16px 16px 0 0;
	min-height: 44px;
	position: relative;
}

.card-media-btn:focus,
.card-media-btn:focus-visible {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
	border-radius: 16px;
	z-index: 1;
}

.card {
	background: var(--white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all 0.4s var(--transition-smooth);
	border: 1px solid var(--border-light);
	position: relative;
}

.card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--focus-color);
}

.download-list {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 600px;
	width: 100%;
}

.download-list li {
	margin-bottom: 1rem;
}

.download-list a {
		display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background: var(--light-grey);
	border-radius: 12px;
	color: var(--text-primary);
	font-weight: 500;
	transition: all 0.3s var(--transition-smooth);
	border: 1px solid transparent;
}

.download-list a abbr[title] {
	text-decoration: none;
	border-bottom: 0;
	white-space: nowrap;
}

.download-list a::before {
	content: '↓';
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--spd-red);
}

.download-list a:hover {
	background: var(--white);
	border-color: var(--border-light);
	box-shadow: var(--shadow-md);
		transform: translateY(-2px);
}

.download-list {
	text-align: center;
}

.cta-section {
	background: linear-gradient(135deg, var(--spd-red) 0%, var(--spd-red-dark) 100%);
	color: var(--white);
	text-align: center;
		padding: 5rem 1.5rem 2rem;
}

.cta-section .content-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 60vh; 	max-width: 980px;
}

.cta-section:last-of-type .content-section {
	min-height: auto;
}

.cta-section h2 {
	color: var(--white);
	margin-bottom: 1rem;
}

.cta-section p {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
	max-width: 700px;
}

.cta-section h2 {
	color: var(--white);
	margin-bottom: 1rem;
}

.cta-section p {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
}

.cta-section .btn-primary {
	background: var(--white);
	color: var(--spd-red);
}

.cta-section .btn-primary:hover {
	background: var(--light-grey);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.site-footer {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
		padding: 2.0625rem 0;
	margin-top: 0;
}

.footer-inner {
	display: flex;
	align-items: center;
	transition: background 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), border-color 0.35s var(--transition-smooth), transform 0.25s var(--transition-smooth);
	will-change: transform, background;
	flex-wrap: wrap;
	gap: 2rem;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.foot-brand {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.875rem;
}

.foot-links {
	list-style: none;
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

.foot-links a {
	color: var(--text-secondary);
	font-size: 0.875rem;
	transition: color 0.3s var(--transition-smooth);
}

.foot-links a:hover {
	color: var(--text-primary);
}

.foot-links a {
	position: relative;
	text-decoration: none;
}
.foot-links a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -0.1em;
	width: 100%;
	height: 2px;
	background: var(--spd-red);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 0.3s var(--transition-smooth);
}
.foot-links a:hover::after,
.foot-links a:focus-visible::after {
	transform: translateX(-50%) scaleX(1);
}

.parallax-container {
	position: relative;
	overflow: hidden;
}

.parallax-bg {
	position: absolute;
	top: -10%;
	left: 0;
	right: 0;
	bottom: -10%;
	background-size: cover;
	background-position: center;
	will-change: transform;
	z-index: -1;
}

.modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 2000;
}

.modal.open { display: flex; }

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(2px);
}

.modal-dialog {
	position: relative;
	background: var(--white);
	color: var(--text-primary);
	border-radius: 16px;
	width: min(90vw, 560px);
	max-height: 80vh;
	overflow: auto;
	box-shadow: var(--shadow-lg);
	padding: 1.25rem 1.25rem 1.5rem;
}

.modal-header { margin-bottom: .75rem; }
.modal-header h3 { margin: 0 0 .25rem; }

.modal-body p { margin: 0 0 .75rem; }

.modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: var(--spd-red);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 1.744rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-md);
	transition: all 0.2s var(--transition-smooth);
}

.modal-close:hover { 
	filter: brightness(0.92);
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(227, 0, 15, 0.35);
}

.modal-close span {
	pointer-events: none;
	display: block;
	margin-top: -2px;
}

@media (max-width: 768px) {
	.modal-dialog {
		width: min(92vw, 560px);
		max-height: 85vh;
	}
}

.focused-section {
	position: relative;
}

.focused-section::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	border: 2px solid var(--focus-color);
	border-radius: 8px;
	pointer-events: none;
	opacity: 0.5;
}

.modal[aria-hidden="false"] {
	display: flex;
}

.modal[aria-hidden="true"] {
	display: none;
}

@media (max-width: 768px) {
	:root {
		--max-width: 100%;
	}

		.container {
		width: 100%;
		margin-inline: 0;
	}

		.content-section {
		padding: 0 1rem;
	}
	
	body {
		font-size: clamp(16px, 4vw, 18px);
	}
	
	.section {
		min-height: auto;
		padding: 4rem 0;
	}
	
	.hero {
		padding: 6rem 1.5rem 4rem;
		min-height: 90vh;
	}

		.cta-section .content-section {
		min-height: 70vh; 	}

		.cta-section:last-of-type .content-section {
		min-height: auto;
	}
	
	.card-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
				padding: 0;
	}
	
	.hero-actions {
		flex-direction: column;
		width: 100%;
	}
	
	.btn {
		width: 100%;
		min-height: 48px;
		padding: 1rem 1.75rem;
				white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	
	.footer-inner {
		flex-direction: column;
		text-align: center;
	}
	
	.foot-links {
		flex-direction: column;
		gap: 1rem;
	}

	.nav-list a {
		min-height: 48px;
		padding: 1rem;
		font-size: 1rem;
	}
	
	.nav-toggle {
		min-height: 48px;
		min-width: 48px;
		padding: 0.75rem;
	}

		.download-list a {
				text-align: left;
				white-space: normal;
		overflow-wrap: break-word;
		word-break: normal;
		hyphens: none;
				max-width: min(92vw, 34ch);
		min-width: min(80vw, 20ch);
				gap: 0.75rem;
		line-height: 1.4;
	}

		.split-layout {
		padding: 0 1rem;
	}
}

.back-to-top {
	position: fixed;
	left: auto;
	right: 1.5rem;
		bottom: calc(env(safe-area-inset-bottom) + 1.25rem);
	z-index: 1500;
		background: color-mix(in srgb, var(--light-grey) 62%, transparent);
	color: var(--text-primary);
	border: 1px solid var(--border-light, rgba(0,0,0,0.12));
	border-radius: 9999px;
	padding: 0.75rem 1.25rem;
	font-weight: 600;
	font-size: 0.95rem;
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.25s var(--transition-smooth), transform 0.25s var(--transition-smooth), visibility 0.25s var(--transition-smooth), background-color 0.2s var(--transition-smooth), box-shadow 0.2s var(--transition-smooth), border-color 0.2s var(--transition-smooth);
}

.back-to-top.show {
	opacity: 1; 	visibility: visible;
	transform: translateY(0);
}


.back-to-top:hover {
		box-shadow: var(--shadow-lg);
}

.back-to-top:focus,
.back-to-top:focus-visible {
		background: var(--light-grey);
}

.back-to-top:hover {
		box-shadow: var(--shadow-lg);
}

.back-to-top:focus,
.back-to-top:focus-visible {
	outline: 3px solid var(--focus-color);
	outline-offset: 3px;
}

@media (max-height: 600px) {
	.back-to-top {
		bottom: calc(env(safe-area-inset-bottom) + 3.5rem);
	}
}

@media (max-width: 768px) {
	.back-to-top {
		left: auto;
		right: 1rem;
		bottom: calc(env(safe-area-inset-bottom) + 4.5rem);
				transform: translateY(10px);
	}

	.back-to-top.show {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	
	html {
		scroll-snap-type: none;
	}
	
	.scroll-indicator {
		animation: none;
	}
}

@media (prefers-contrast: high) {
	:root {
		--text-primary: #000000;
		--text-secondary: #1a1a1a;  		--border-light: #000000;
		--spd-red: #CC0000;  		--spd-red-dark: #990000;
	}
	
	.btn-outline {
		border-width: 3px;
	}
	
	a {
		text-decoration: underline;
		font-weight: 500;  	}
	
	.card {
		border-width: 2px;
		border-color: #000000;
	}

	.nav-list a:hover,
	.btn:hover,
	.card:hover {
		border: 2px solid #000000;
	}
}

@media (prefers-color-scheme: dark) {
	:root {
		--white: #000000;
		--light-grey: #1a1a1a;
		--text-primary: #f5f5f7;
		--text-secondary: #a1a1a6;
		--border-light: #424245;
	}

		.site-header {
		background: rgba(0, 0, 0, 0.5);
		border-bottom-color: rgba(255, 255, 255, 0.08);
	}
	.site-header.scrolled {
		background: rgba(0, 0, 0, 0.9);
		border-bottom-color: rgba(255, 255, 255, 0.12);
		box-shadow: 0 4px 18px -4px rgba(0,0,0,0.6);
	}
	
	.hero {
		background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
	}
	
	.card {
		background: #1a1a1a;
		border-color: #424245;
	}
	
	.download-list a {
		background: #1a1a1a;
		color: var(--text-primary);
	}
	
	.download-list a:hover {
		background: #2a2a2a;
		color: var(--text-primary);
	}
	
	.site-footer {
		background: #1a1a1a;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	
	@media (max-width: 768px) {
		.nav-list {
			background: rgba(26, 26, 26, 0.98);
			border: 1px solid rgba(255, 255, 255, 0.1);
			box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
		}
		
		.nav-list a {
			color: var(--text-primary);
		}
		
		.nav-list a:hover {
			background: #2a2a2a;
			color: var(--text-primary);
		}
		
		.nav-toggle {
			color: var(--text-primary);
		}
		
		.nav-toggle:hover {
			background: #2a2a2a;
		}
	}
}

.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4 {
	margin-top: 0;
}

section[id],
main [id] {
	scroll-margin-top: calc(var(--header-height) + 12px);
}

.site-main .content p,
.site-main .content-section > p {
	margin-bottom: 1.25rem;
}

.site-main section {
	margin: 0;
}

.site-main .section:last-of-type,
.site-main section:last-of-type {
	padding-bottom: 0 !important; }

.site-main .cta-section:last-of-type {
	padding-bottom: 3rem !important;
}

.site-main .section:last-of-type .content-section > *:last-child,
.site-main .section:last-of-type .content > *:last-child,
.site-main .cta-section:last-of-type .content-section > *:last-child,
.site-main .cta-section:last-of-type .content > *:last-child {
	margin-bottom: 0 !important;
}

.site-main h1,
.site-main h2,
.site-main h3 {
	hyphens: auto;
	word-wrap: break-word;
}

@media (max-width: 768px) {
	.site-main {
				padding: calc(var(--header-height) + 0.5rem) 1rem 0;
	}
	
	.site-main h2 {
		font-size: 1.375rem;
	}
	
	.site-main h3 {
		font-size: 1.25rem;
	}
}

@media (max-width: 768px) {
	.site-main .cta-section:last-of-type {
		padding-bottom: 2.5rem !important;
	}
}

@media print {
	.site-header,
	.hero-actions,
	.scroll-indicator,
	.site-footer,
	.nav-toggle {
		display: none;
	}
	
	.section {
		min-height: auto;
		page-break-inside: avoid;
	}
	
	body {
		font-size: 12pt;
		line-height: 1.5;
		color: #000;
		background: #fff;
	}
}

/* Sticky footer: keep footer at the bottom on short pages */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
}

@media print {
	body {
		display: block !important;
		min-height: auto !important;
	}
}
