/*
 * Shared presentation for the Concept 33 preview site.
 * Loaded after each page's own styles so the canonical navigation and
 * brand tokens win consistently across every page.
 *
 * Copied into designs/concept33/assets/site.css by website/build.ts.
 */

:root {
	--brand-blue: #263d89;
	--brand-green: #79bf55;
	--brand-aqua: #2cbfd1;
	--brand-ink: #172544;
	--brand-muted: #56637a;
	--brand-line: #dce6ee;
}

nav {
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5%;
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid var(--brand-line);
	z-index: 80;
	backdrop-filter: blur(12px);
}

nav .brand {
	font-size: 26px;
	font-weight: 800;
	color: var(--brand-blue);
	letter-spacing: -1px;
	text-decoration: none;
	padding-top: 0;
}

nav .brand i {
	font-style: normal;
	color: var(--brand-green);
}

nav .navlinks {
	display: flex;
	align-items: center;
	gap: 25px;
	font-size: 13px;
	font-weight: 700;
	color: #46526a;
}

nav .navlinks a {
	text-decoration: none;
	color: inherit;
}

nav .navlinks a:hover {
	color: var(--brand-green);
}

nav .has-menu {
	position: relative;
}

nav .has-menu > a:after {
	content: " ▾";
	opacity: 0.6;
}

nav .menu {
	position: absolute;
	top: calc(100% + 6px);
	left: -10px;
	display: none;
	min-width: 240px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--brand-line);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(38, 61, 137, 0.14);
}

nav .has-menu:hover .menu,
nav .has-menu:focus-within .menu {
	display: block;
}

nav .menu a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	white-space: nowrap;
}

nav .menu a:hover {
	background: rgba(121, 191, 85, 0.12);
	color: var(--brand-blue);
}

nav .button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--brand-green);
	color: #152b23;
	padding: 11px 18px;
	border-radius: 999px;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
}

@media (max-width: 900px) {
	nav .navlinks {
		gap: 14px;
		font-size: 12px;
	}

	nav .navlinks a:not(.button) {
		display: none;
	}
}

/* Shared footer across every page of the site (new.celerum.co.uk format). */
.site-footer {
	background: #1b2b64;
	color: #e2e8f0;
	padding: 70px 4vw 30px;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer-grid {
	max-width: 1280px;
	margin: 0 auto 50px;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.5fr;
	gap: 48px;
}

.site-footer .brand {
	display: inline-block;
	margin-bottom: 16px;
	color: #fff;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -1px;
	text-decoration: none;
}

.site-footer .brand i {
	font-style: normal;
	color: var(--brand-green);
}

.site-footer-tag {
	max-width: 320px;
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: #cbd5e1;
}

.site-footer h4 {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer ul li {
	margin-bottom: 12px;
}

.site-footer ul li a {
	color: #cbd5e1;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-footer ul li a:hover {
	color: var(--brand-green);
}

.site-footer-live p {
	margin: 0 0 16px;
	font-size: 13px;
	color: #cbd5e1;
}

.site-footer-live-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer .btn-green {
	display: block;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--brand-green);
	color: #152b23;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.site-footer .btn-green:hover {
	background: #67a944;
}

.site-footer .cta-btn {
	display: block;
	padding: 11px 18px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 10px;
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.site-footer .cta-btn:hover {
	border-color: #fff;
}

.site-footer-bottom {
	max-width: 1280px;
	margin: 0 auto;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 13px;
	color: #94a3b8;
}

.site-footer-bottom a {
	color: #cbd5e1;
	text-decoration: none;
}

.site-footer-bottom a:hover {
	color: #fff;
}

.site-footer-legal {
	display: flex;
	gap: 20px;
}

@media (max-width: 900px) {
	.site-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 500px) {
	.site-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.site-footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}
