/* =====================================================================
   TAG Splash — main stylesheet
   Design tokens come from CSS variables set in <head> by inc/brand.php
   from ACF Brand Settings. Each site's own touches live in
   Appearance › Customize › Additional CSS.
   ===================================================================== */

/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; line-height: 1.2; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--body-color);
	background: var(--body-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading-color); font-weight: 500; line-height: 1; margin: 0; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --- Entrance animations (same timing as the page builder these sites came from) --- */
.anim { animation-duration: 1.25s; animation-fill-mode: both; }
.anim--fadeIn { animation-name: tagFadeIn; }
.anim--zoomIn { animation-name: tagZoomIn; }
.anim--fadeInDown { animation-name: tagFadeInDown; }
.anim--slideInDown { animation-name: tagSlideInDown; }
@keyframes tagFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tagZoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes tagFadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes tagSlideInDown { from { visibility: visible; transform: translate3d(0, -100%, 0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.anim { animation: none !important; }
}

/* =====================================================================
   Home — one screen
   ===================================================================== */
.splash {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
}
.splash__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.splash__logo-img { width: auto; max-width: 100%; }
.splash__heading { margin-top: 1.25rem; }
.splash__button {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: inline-block;
	padding: 12px 24px;
	line-height: 1;
	text-decoration: none;
	background: var(--brand-primary);
	color: var(--brand-on-primary);
	transition: background .3s, color .3s;
}
.splash__button:hover,
.splash__button:focus-visible { background: var(--brand-primary-hover); }

/* =====================================================================
   Text pages (Privacy Policy)
   ===================================================================== */
.page-head__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 2rem 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.page-head__logo { display: block; }
.page-head__logo-img { width: 200px; }
.page-head__title { font-size: 2rem; }
.page__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}
.page__content p { margin: 0 0 1.4rem; }
.page__content ul, .page__content ol { margin: 0 0 1.4rem 1.25rem; padding: 0; }
.page__content li { margin: 0 0 .5rem; }
.page__content b, .page__content strong { font-weight: 700; }

/* =====================================================================
   Form page
   ===================================================================== */
.form-page {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 1rem;
}
.form-page__inner {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.form-page__heading { text-align: center; margin: 1.5rem 0; }
.form-page__form { width: 100%; }
.form-page__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	padding: 12px 24px;
	color: inherit;
}
.form-page .gform_validation_container,
.form-page .gform_required_legend { display: none !important; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
	background: var(--footer-bg);
	color: var(--footer-color);
	text-align: center;
}
.site-footer__inner { padding: 4rem 1rem; }
.site-footer p { margin: 0; }
.site-footer__copy { font-size: .8rem; }
.site-footer__links { margin-top: 1.5rem !important; font-weight: 700; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 767px) {
	.page-head__inner { padding: 1.5rem 1rem; }
	.page-head__title { font-size: 1.5rem; }
}
