/* Holographic communication field, visible through the two transparent sections. */
.hologram-field {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.hologram-orbit {
	position: absolute;
	right: -6vw;
	top: 12vh;
	width: min(55vw, 800px);
	stroke: #81dcff;
	stroke-width: 1;
	filter: drop-shadow(0 0 9px #40bfff70);
	opacity: 0.7;
}

.orbit-shell {
	opacity: 0.45;
}

.network-links {
	stroke-dasharray: 6 7;
	opacity: 0.6;
}

.network-nodes {
	fill: #ffe00f;
	stroke: #fff3a3;
	animation: node-breathe 5s ease-in-out infinite;
}

.signal-ring {
	stroke-width: 2;
	transform-origin: 320px 320px;
	animation: signal-orbit 38s linear infinite;
}

.hologram-grid {
	position: absolute;
	bottom: -23vh;
	left: 25%;
	width: 100%;
	height: 55vh;
	background-image:
		linear-gradient(#74d5ff30 1px, transparent 1px),
		linear-gradient(90deg, #74d5ff30 1px, transparent 1px);
	background-size: 58px 58px;
	transform: perspective(550px) rotateX(62deg);
	mask-image: radial-gradient(ellipse, #0009, transparent 67%);
}

.hologram-scan {
	position: absolute;
	right: 0;
	top: 18%;
	width: 48%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #a5e9ff80, transparent);
	box-shadow: 0 0 22px 3px #56c9ff25;
	animation: field-scan 14s ease-in-out infinite;
}

/* Keep the title above the graphic and soften detail behind the reading column. */
.hero-inner {
	position: relative;
	z-index: 1;
}

@keyframes signal-orbit {
	to { transform: rotate(360deg); }
}

@keyframes node-breathe {
	0%, 100% { opacity: 0.6; }
	50% { opacity: 1; }
}

@keyframes field-scan {
	0%, 100% { transform: translateY(0); opacity: 0; }
	20%, 80% { opacity: 0.7; }
	90% { transform: translateY(56vh); opacity: 0; }
}

@media (max-width: 700px) {
	.hologram-orbit {
		width: 90vw;
		right: -40vw;
		top: 28vh;
		opacity: 0.4;
	}

	.hologram-scan { width: 65%; }
}

@media (prefers-reduced-motion: reduce) {
	.hologram-field * { animation: none; }
	.hologram-scan { display: none; }
}
/* Edge-cropped technical texture for the white content sections.
   Each motif keeps its own proportions and sits below the readable content. */
main > section.wrap,
.light > .wrap {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

main > section.wrap::before,
.light > .wrap::before {
	content: '';
	position: absolute;
	z-index: -1;
	width: 560px;
	height: 560px;
	top: 65px;
	right: -315px;
	border: 1px solid #006db614;
	border-radius: 50%;
	background:
		radial-gradient(circle, transparent 42%, #006db60b 42.2%, transparent 42.5%),
		radial-gradient(circle, transparent 58%, #006db610 58.2%, transparent 58.5%),
		repeating-conic-gradient(from 12deg, #006db617 0deg 0.25deg, transparent 0.25deg 15deg);
	mask-image: radial-gradient(circle, transparent 32%, #000 33%, #000 70%, transparent 71%);
	pointer-events: none;
}

main > section.wrap::after,
.light > .wrap::after {
	content: '';
	position: absolute;
	z-index: -1;
	left: -130px;
	bottom: 35px;
	width: 410px;
	height: 240px;
	background: url('assets/circuit-texture.svg') left bottom / 410px 240px no-repeat;
	pointer-events: none;
}

/* Alternate the crop so the page does not repeat an identical centered motif. */
#committee::before,
#transportation::before {
	right: auto;
	left: -360px;
	top: -160px;
}

#committee::after,
#transportation::after {
	left: auto;
	right: -155px;
	bottom: 60px;
	transform: rotate(180deg);
}

@media (max-width: 700px) {
	main > section.wrap::before,
	.light > .wrap::before {
		opacity: 0.65;
	}

	main > section.wrap::after,
	.light > .wrap::after {
		opacity: 0.65;
	}
}

/* C variation: distinguish the frozen navigation from the scrolling content. */
header {
	background: #fffffffa;
	border-top: 3px solid #006db6;
	border-bottom: 1px solid #006db635;
	box-shadow: 0 5px 22px #003b6420;
}

header::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #ffe00f 0 16%, #006db6 16% 100%);
	pointer-events: none;
}

header .brand {
	position: relative;
	padding-left: 18px;
	border-left: 4px solid #006db6;
	color: #005d9c;
}

header .brand::before {
	content: '';
	position: absolute;
	left: -4px;
	bottom: 0;
	width: 4px;
	height: 13px;
	background: #ffe00f;
}

header nav a {
	transition: color 160ms ease;
}

header nav a:hover,
header nav a:focus-visible {
	color: #006db6;
	text-decoration-color: #006db6;
}
