/*
 * Lattice Energy — header and footer (Astra header/footer builder).
 * Loads on every front-end view. Covers what Astra's free builder settings
 * cannot express: sticky glass header that hides on scroll, scroll-progress
 * bar, nav underline, animated hamburger, numbered mobile menu, footer
 * layout/glow, hover effects, back-to-top and the page-change veil.
 */

:root {
	--lt-c-ink: #261732;
	--lt-c-nav: #655b6e;
	--lt-c-purple: #41197c;
	--lt-c-red: #db1218;
	--lt-c-red-soft: #f08a90;
	--lt-c-line: #e6e0eb;
	--lt-c-muted: #756c7d;
	--lt-c-muted-2: #776c81;
	--lt-c-purple-3: #684d8d;
	--lt-ease: cubic-bezier(.2, .7, .2, 1);
	--lt-ease-out: cubic-bezier(.16, 1, .3, 1);
	--lt-header-top: var(--wp-admin--admin-bar--height, 0px);
	--lt-shine: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
	--lt-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 5 7 7-7 7'/%3E%3C/svg%3E");
	--lt-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5h3.5l1.8 4.6-2.3 1.4a11 11 0 0 0 6.5 6.5l1.4-2.3 4.6 1.8V19a1.6 1.6 0 0 1-1.7 1.6C10.4 20.1 3.9 13.6 3.4 5.2A1.6 1.6 0 0 1 5 3.5z'/%3E%3C/svg%3E");
	--lt-icon-up-purple: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341197c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E");
	--lt-icon-up-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E");
}

html { scroll-padding-top: calc(var(--lt-header-top) + 96px); }
html.lt-menu-open { overflow: hidden; }

/* ---------- Header shell ---------- */

#masthead.site-header {
	position: sticky;
	top: var(--lt-header-top);
	z-index: 999;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: transform .45s var(--lt-ease-out), box-shadow .3s, background-color .3s;
}
@media (max-width: 600px) {
	#masthead.site-header { top: 0; }
}
#masthead.site-header.lt-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(38, 23, 50, .08); }
#masthead.site-header.lt-hidden { transform: translateY(-100%); }
html.lt-menu-open #masthead.site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

/* scroll progress (stays visible while the header is hidden) */
body::before {
	content: "";
	position: fixed;
	left: 0;
	right: 0;
	top: var(--lt-header-top);
	height: 3px;
	background: linear-gradient(90deg, #41197c, #db1218);
	transform: scaleX(var(--lt-progress, 0));
	transform-origin: left;
	pointer-events: none;
	z-index: 1000;
}
@media (max-width: 600px) {
	body::before { top: 0; }
}

#masthead .main-header-bar,
#masthead .ast-primary-header-bar { background: transparent; }
#masthead .ast-primary-header-bar { border-bottom: 1px solid rgba(229, 231, 235, .76); }

#masthead .ast-site-identity { padding: 0; }
#masthead .site-logo-img img.custom-logo { width: 206px; max-width: 206px; height: auto; }
#masthead .custom-logo-link { display: block; line-height: 0; }

/* ---------- Desktop bar ---------- */

#ast-desktop-header .site-primary-header-wrap {
	max-width: none;
	min-height: 82px;
	padding-left: max(5vw, 24px);
	padding-right: max(5vw, 24px);
}
#ast-desktop-header .ast-builder-grid-row { min-height: 82px; column-gap: 24px; }
#ast-desktop-header .site-header-primary-section-right { gap: clamp(14px, 1.9vw, 30px); }
#ast-desktop-header .site-header-primary-section-right > .ast-builder-layout-element,
#ast-desktop-header .site-header-primary-section-right > .ast-builder-menu { margin: 0; padding: 0; }

#ast-desktop-header .main-header-menu { gap: clamp(14px, 1.9vw, 30px); align-items: center; }
#ast-desktop-header .main-header-menu > .menu-item { height: auto; line-height: normal; }
#ast-desktop-header .main-header-menu > .menu-item > .menu-link {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	height: auto;
	padding: 8px 0;
	font-family: "Inter", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.65;
	color: var(--lt-c-nav);
	background-image: linear-gradient(#db1218, #db1218);
	background-repeat: no-repeat;
	background-size: 0 2px;
	background-position: right 0 bottom 2px;
	transition: color .2s, background-size .35s var(--lt-ease);
}
#ast-desktop-header .main-header-menu > .menu-item > .menu-link:hover,
#ast-desktop-header .main-header-menu > .menu-item > .menu-link:focus-visible,
#ast-desktop-header .main-header-menu > .current-menu-item > .menu-link,
#ast-desktop-header .main-header-menu > .current_page_parent > .menu-link {
	color: var(--lt-c-purple);
	background-size: 100% 2px;
	background-position: left 0 bottom 2px;
}

/* Contact Us pill (Astra header button 1) */
#masthead .ast-header-button-1 .ast-builder-button-wrap { line-height: 1; }
#masthead .ast-header-button-1 .ast-custom-button-link { display: inline-flex; text-decoration: none; }
#masthead .ast-header-button-1 .ast-custom-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--lt-c-red);
	color: #fff;
	font-family: "Inter", Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 5px 16px rgba(219, 18, 24, .18);
	transition: background-color .22s, box-shadow .22s, transform .22s;
}
#masthead .ast-header-button-1 .ast-custom-button::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: var(--lt-icon-arrow) center / contain no-repeat;
	mask: var(--lt-icon-arrow) center / contain no-repeat;
	transition: transform .25s;
}
#masthead .ast-header-button-1 .ast-custom-button-link:is(:hover, :focus-visible) .ast-custom-button,
body.page-id-181 #masthead .ast-header-button-1 .ast-custom-button {
	background: var(--lt-c-purple);
	color: #fff;
	box-shadow: 0 8px 22px rgba(65, 25, 124, .28);
	transform: translateY(-1px);
}
#masthead .ast-header-button-1 .ast-custom-button-link:is(:hover, :focus-visible) .ast-custom-button::after { transform: translateX(3px); }

@media (max-width: 1180px) {
	#ast-desktop-header .main-header-menu { gap: 16px; }
	#ast-desktop-header .main-header-menu > .menu-item > .menu-link { font-size: 13.5px; }
	#ast-desktop-header .site-logo-img img.custom-logo { width: 180px; max-width: 180px; }
}

/* ---------- Tablet / mobile bar (Astra header breakpoint: 960px) ---------- */

#ast-mobile-header .ast-primary-header-bar { padding-left: 5%; padding-right: 5%; }
#ast-mobile-header .ast-builder-grid-row { min-height: 70px; }
#ast-mobile-header .site-logo-img img.custom-logo { width: 156px; max-width: 156px; }
#ast-mobile-header .site-header-primary-section-right { gap: 10px; }
#ast-mobile-header .site-header-primary-section-right > .ast-builder-layout-element { margin: 0; padding: 0; }
@media (max-width: 760px) {
	#ast-mobile-header .ast-header-button-1 { display: none; }
}

/* hamburger: three bars that turn into a cross */
#masthead .menu-toggle.main-header-menu-toggle {
	width: 46px;
	height: 46px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--lt-c-ink);
	cursor: pointer;
}
#masthead .menu-toggle.main-header-menu-toggle .ahfb-svg-iconset { display: none !important; }
#masthead .menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon {
	position: relative;
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--lt-c-ink);
	transition: background-color .2s;
}
#masthead .menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon::before,
#masthead .menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--lt-c-ink);
	transition: transform .35s var(--lt-ease);
}
#masthead .menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon::before { top: -8px; }
#masthead .menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon::after { top: 8px; }
#masthead .menu-toggle.main-header-menu-toggle.toggled .mobile-menu-toggle-icon { background-color: transparent; }
#masthead .menu-toggle.main-header-menu-toggle.toggled .mobile-menu-toggle-icon::before { transform: translateY(8px) rotate(45deg); }
#masthead .menu-toggle.main-header-menu-toggle.toggled .mobile-menu-toggle-icon::after { transform: translateY(-8px) rotate(-45deg); }

/* dropdown panel */
#masthead .ast-mobile-header-content {
	background: #fff;
	border-top: 1px solid var(--lt-c-line);
	padding: 12px 6% 30px;
	min-height: calc(100svh - 71px - var(--lt-header-top));
	max-height: calc(100svh - 71px - var(--lt-header-top));
	overflow-y: auto;
	overscroll-behavior: contain;
	box-shadow: none;
}
@media (max-width: 600px) {
	#masthead .ast-mobile-header-content { min-height: calc(100svh - 71px); max-height: calc(100svh - 71px); }
}
#masthead .ast-mobile-header-content > .ast-builder-layout-element,
#masthead .ast-mobile-header-content .main-header-bar-navigation,
#masthead .ast-mobile-header-content .site-navigation { width: 100%; margin: 0; padding: 0; }
#masthead #ast-hf-mobile-menu { counter-reset: lt-menu; background: transparent; border: 0; }
#masthead #ast-hf-mobile-menu > .menu-item { border: 0; }
#masthead #ast-hf-mobile-menu > .menu-item > .menu-link {
	display: flex;
	align-items: center;
	padding: 17px 2px;
	border: 0;
	border-bottom: 1px solid var(--lt-c-line);
	background: transparent;
	font-family: "DM Sans", "Inter", sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--lt-c-ink);
	counter-increment: lt-menu;
}
#masthead #ast-hf-mobile-menu > .menu-item > .menu-link::before {
	content: counter(lt-menu, decimal-leading-zero);
	flex: none;
	margin-right: 14px;
	font-family: "Inter", Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .12em;
	color: var(--lt-c-muted-2);
}
#masthead #ast-hf-mobile-menu > .menu-item > .menu-link::after {
	content: "";
	flex: none;
	margin-left: auto;
	width: 18px;
	height: 18px;
	background-color: var(--lt-c-purple);
	-webkit-mask: var(--lt-icon-arrow) center / contain no-repeat;
	mask: var(--lt-icon-arrow) center / contain no-repeat;
}
#masthead #ast-hf-mobile-menu > .current-menu-item > .menu-link,
#masthead #ast-hf-mobile-menu > .current_page_parent > .menu-link,
#masthead #ast-hf-mobile-menu > .menu-item > .menu-link:hover { color: var(--lt-c-purple); }

#masthead .ast-header-html-1,
#masthead .ast-header-html-1 .ast-header-html,
#masthead .ast-header-html-1 .ast-builder-html-element { width: 100%; text-align: left; }
#masthead .ast-header-html-1 .ast-builder-html-element > p { margin: 0; }
#masthead .lt-menu-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	margin-top: 22px;
	padding: 0 20px;
	border-radius: 999px;
	background-color: var(--lt-c-red);
	background-image: var(--lt-shine);
	background-size: 250% 100%;
	background-position: 100% 0;
	background-repeat: no-repeat;
	box-shadow: 0 5px 16px rgba(219, 18, 24, .18);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .06em;
	text-decoration: none;
	transition: background-color .22s, background-position .7s var(--lt-ease), box-shadow .22s;
}
#masthead .lt-menu-cta::after {
	content: "";
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: var(--lt-icon-arrow) center / contain no-repeat;
	mask: var(--lt-icon-arrow) center / contain no-repeat;
}
#masthead .lt-menu-cta:is(:hover, :focus-visible) { background-color: var(--lt-c-purple); background-position: 0 0; color: #fff; box-shadow: 0 8px 22px rgba(65, 25, 124, .28); }
#masthead .lt-menu-meta { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; font-size: 14px; line-height: 1.65; color: var(--lt-c-muted); }
#masthead .lt-menu-meta a { color: var(--lt-c-muted); text-decoration: none; }
#masthead .lt-menu-meta a:hover { color: var(--lt-c-purple); }
#masthead .lt-menu-meta-label { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--lt-c-purple-3); }

@keyframes lt-menu-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: none; } }
html.lt-menu-open #ast-hf-mobile-menu > .menu-item,
html.lt-menu-open #masthead .lt-menu-cta,
html.lt-menu-open #masthead .lt-menu-meta { animation: lt-menu-in .5s var(--lt-ease) both; }
html.lt-menu-open #ast-hf-mobile-menu > .menu-item:nth-child(2) { animation-delay: .08s; }
html.lt-menu-open #ast-hf-mobile-menu > .menu-item:nth-child(3) { animation-delay: .16s; }
html.lt-menu-open #ast-hf-mobile-menu > .menu-item:nth-child(4) { animation-delay: .24s; }
html.lt-menu-open #ast-hf-mobile-menu > .menu-item:nth-child(5) { animation-delay: .32s; }
html.lt-menu-open #ast-hf-mobile-menu > .menu-item:nth-child(n+6),
html.lt-menu-open #masthead .lt-menu-cta,
html.lt-menu-open #masthead .lt-menu-meta { animation-delay: .4s; }

/* ---------- Footer ---------- */

#colophon.site-footer {
	background-color: var(--lt-c-ink);
	background-image: radial-gradient(circle 350px at calc(100% - 100px) 50px, rgba(110, 88, 161, .28), transparent 60%);
	color: #fff;
	padding: 0 max(5vw, 24px) 18px;
	font-family: "Inter", Arial, sans-serif;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.65;
}
#colophon .ast-builder-grid-row-container {
	width: 100%;
	max-width: 1240px;
	min-height: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	background: transparent;
	border: 0;
}
#colophon .ast-builder-grid-row-container-inner { padding: 0; background: transparent; }
#colophon .ast-builder-grid-row { padding: 0; margin: 0; max-width: none; }
#colophon .site-footer-section { display: block; min-width: 0; margin: 0; }
#colophon .widget,
#colophon .footer-widget-area { margin: 0; padding: 0; }
#colophon a { text-decoration: none; }

/* call-to-action band */
#colophon .site-above-footer-wrap { padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
#colophon .lt-footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
#colophon .lt-footer-cta-titles { display: flex; flex-direction: column; }
#colophon .lt-footer-cta-title,
#colophon .lt-footer-cta-accent {
	margin: 0;
	font-family: "DM Sans", "Inter", sans-serif;
	font-weight: 500;
	font-size: clamp(30px, 3.4vw, 46px);
	line-height: 1.08;
	letter-spacing: -.05em;
	text-wrap: balance;
}
#colophon .lt-footer-cta-title { color: #fff; }
#colophon .lt-footer-cta-accent { color: var(--lt-c-red-soft); }
#colophon .lt-footer-cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
#colophon .lt-btn {
	min-height: 46px;
	padding: 0 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1;
	white-space: nowrap;
	background-image: var(--lt-shine);
	background-size: 250% 100%;
	background-position: 100% 0;
	background-repeat: no-repeat;
	transition: transform .22s, background-color .22s, background-position .7s var(--lt-ease), color .22s, border-color .22s, box-shadow .22s;
}
#colophon .lt-btn:hover { transform: translateY(-2px); background-position: 0 0; }
#colophon .lt-btn::before,
#colophon .lt-btn::after {
	flex: none;
	width: 15px;
	height: 15px;
	background-color: currentColor;
	transition: transform .3s var(--lt-ease);
}
#colophon .lt-btn-primary { background-color: var(--lt-c-red); color: #fff; box-shadow: 0 5px 16px rgba(219, 18, 24, .18); }
#colophon .lt-btn-primary:is(:hover, :focus-visible) { background-color: var(--lt-c-purple); color: #fff; box-shadow: 0 8px 22px rgba(65, 25, 124, .28); }
#colophon .lt-btn-primary::after { content: ""; -webkit-mask: var(--lt-icon-arrow) center / contain no-repeat; mask: var(--lt-icon-arrow) center / contain no-repeat; }
#colophon .lt-btn-primary:hover::after { transform: translateX(4px); }
#colophon .lt-btn-ghost { background-color: transparent; border-color: rgba(255, 255, 255, .48); color: #fff; }
#colophon .lt-btn-ghost:is(:hover, :focus-visible) { background-color: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
#colophon .lt-btn-ghost::before { content: ""; -webkit-mask: var(--lt-icon-phone) center / contain no-repeat; mask: var(--lt-icon-phone) center / contain no-repeat; }

/* main columns */
#colophon .site-primary-footer-wrap { padding: 56px 0 47px; }
#colophon .site-primary-footer-wrap .ast-builder-grid-row {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
	column-gap: 4%;
	row-gap: 34px;
	align-items: start;
}

#colophon .lt-footer-about { display: flex; flex-direction: column; align-items: flex-start; }
#colophon .lt-footer-about > * { margin: 0; }
#colophon .lt-footer-logo {
	display: inline-flex;
	margin: 0;
	padding: 6px 12px;
	border-radius: 10px;
	background: #fff;
	transition: transform .3s var(--lt-ease), box-shadow .3s;
}
#colophon .lt-footer-logo:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
#colophon .lt-footer-logo a { display: block; line-height: 0; }
#colophon .lt-footer-logo img { width: 180px !important; max-width: 100%; height: auto; }
#colophon .lt-footer-about .lt-footer-tagline {
	margin: 20px 0 13px;
	font-family: "DM Sans", "Inter", sans-serif;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.45;
	color: #fff;
}
#colophon .lt-footer-about .lt-footer-meta { margin: 0; font-size: 12px; font-weight: 300; letter-spacing: .13em; color: #a79ead; }

#colophon .widget-title {
	margin: 0 0 17px;
	padding: 0;
	font-family: "Inter", Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.65;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--lt-c-red-soft);
}
#colophon .widget_nav_menu ul.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
#colophon .widget_nav_menu ul.menu li { margin: 0; padding: 0; border: 0; line-height: 1.65; }
#colophon .widget_nav_menu ul.menu li::before { display: none; }
#colophon .widget_nav_menu .menu-link,
#colophon .lt-footer-link {
	display: inline-block;
	padding: 0;
	font-size: 14px;
	font-weight: 300;
	color: rgba(255, 255, 255, .68);
	overflow-wrap: anywhere;
	transition: color .2s, transform .25s var(--lt-ease);
}
#colophon .widget_nav_menu .menu-link:is(:hover, :focus-visible),
#colophon .lt-footer-link:is(:hover, :focus-visible) { color: var(--lt-c-red-soft); transform: translateX(3px); }

#colophon .ast-footer-html-2 .ast-builder-html-element { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
#colophon .ast-footer-html-2 .ast-builder-html-element > p { display: contents; }
#colophon .ast-footer-html-2 .widget-title { margin-bottom: 7px; }
#colophon .lt-footer-address { margin: 0; font-size: 13px; font-style: normal; line-height: 1.6; color: rgba(255, 255, 255, .68); }

/* bottom bar */
#colophon .site-below-footer-wrap { padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
#colophon .ast-footer-copyright,
#colophon .site-below-footer-wrap .ast-builder-layout-element { width: 100%; margin: 0; padding: 0; color: rgba(255, 255, 255, .55); font-size: 13px; }
#colophon .ast-footer-copyright p { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
#colophon .lt-to-top {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	transition: color .2s;
}
#colophon .lt-to-top::after {
	content: "";
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff var(--lt-icon-up-purple) center / 16px 16px no-repeat;
	transition: background-color .25s, transform .3s var(--lt-ease);
}
#colophon .lt-to-top:is(:hover, :focus-visible) { color: #fff; }
#colophon .lt-to-top:is(:hover, :focus-visible)::after { background-color: var(--lt-c-purple); background-image: var(--lt-icon-up-white); transform: translateY(-3px); }

@media (max-width: 1080px) {
	#colophon .site-primary-footer-wrap .ast-builder-grid-row { grid-template-columns: 1fr 1fr 1fr 1.7fr; gap: 34px; }
	#colophon .site-footer-primary-section-1 { grid-column: 1 / -1; }
	#colophon .lt-footer-about { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
	#colophon .lt-footer-about .lt-footer-tagline { margin: 0; }
}
@media (max-width: 960px) {
	#colophon .lt-footer-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
	#colophon.site-footer { padding: 0 6% 17px; }
	#colophon .site-above-footer-wrap { padding: 46px 0; }
	#colophon .lt-footer-cta-title,
	#colophon .lt-footer-cta-accent { font-size: clamp(30px, 8.4vw, 38px); }
	#colophon .site-primary-footer-wrap { padding: 46px 0 40px; }
	#colophon .site-primary-footer-wrap .ast-builder-grid-row { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
	#colophon .lt-footer-about { flex-direction: column; align-items: flex-start; gap: 0; }
	#colophon .lt-footer-about .lt-footer-tagline { margin: 20px 0 8px; }
	#colophon .site-footer-primary-section-5 { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
	#colophon .ast-footer-copyright p { flex-direction: column-reverse; text-align: center; gap: 16px; }
}

/* ---------- Page-change veil ---------- */

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 100001;
	background: var(--lt-c-ink);
	transform: scaleY(0);
	transform-origin: bottom;
	pointer-events: none;
}
html.lt-veil-leave body::after { transform: scaleY(1); transform-origin: top; transition: transform .42s var(--lt-ease-out); }
html.lt-veil-enter body::after { animation: lt-veil-in .6s var(--lt-ease-out) both; }
@keyframes lt-veil-in { from { transform: scaleY(1); } to { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
	#masthead.site-header,
	#masthead *,
	#colophon * { transition: none !important; animation: none !important; }
	body::after { display: none; }
}
