/* =========================================================
   Trace0 Advisory — sections-b: Process, Commercials, CTA, Footer
   ========================================================= */

/* ---------------------------------------------------------
   04 / PROCESS
   --------------------------------------------------------- */

.t0-proc__track {
	position: relative;
	display: flex;
	gap: 36px;
	margin-top: 12px;
}

.t0-proc__line {
	position: absolute;
	top: 88px;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(var(--t0-blue-rgb), 0.55) 6%, rgba(var(--t0-blue-rgb), 0.55) 94%, transparent 100%);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1.6s var(--t0-ease) 0.25s;
}

.t0-proc__track[data-reveal].is-visible .t0-proc__line {
	transform: scaleX(1);
}

.t0-proc__step {
	flex: 1;
	min-width: 0;
	position: relative;
}

.t0-proc__num {
	display: block;
	font-family: var(--t0-display);
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1;
	height: 56px;
	color: var(--t0-gold);
	letter-spacing: 0.03em;
}

.t0-proc__node-row {
	position: relative;
	height: 24px;
	display: flex;
	align-items: center;
	margin: 20px 0 22px;
}

.t0-proc__node {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	border: 1px solid var(--t0-blue);
	background: var(--t0-bg);
	position: relative;
	z-index: 2;
}

.t0-proc__node::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--t0-blue);
	animation: t0-pulse 2.4s infinite;
}

.t0-proc__title {
	font-family: var(--t0-display);
	font-size: 16px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--t0-text);
	margin: 0 0 12px;
}

.t0-proc__desc {
	color: var(--t0-text-3);
	font-size: 14px;
	line-height: 1.75;
	margin: 0;
	max-width: 260px;
}

@media (max-width: 1024px) {
	.t0-proc__track { gap: 24px; }
	.t0-proc__desc { max-width: none; }
}

@media (max-width: 900px) {
	.t0-proc__track {
		flex-direction: column;
		gap: 0;
		margin-top: 20px;
	}

	.t0-proc__line { display: none; }

	.t0-proc__step {
		padding: 0 0 42px 30px;
		border-left: 1px solid var(--t0-line);
	}

	.t0-proc__step:last-child { padding-bottom: 0; }

	.t0-proc__num {
		height: auto;
		font-size: 26px;
		margin-bottom: 6px;
	}

	.t0-proc__node-row {
		position: absolute;
		left: -6px;
		top: 4px;
		margin: 0;
		height: auto;
	}
}

/* ---------------------------------------------------------
   05 / COMMERCIALS
   --------------------------------------------------------- */

.t0-comm__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.t0-comm__card {
	display: flex;
	flex-direction: column;
}

.t0-comm__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}

.t0-comm__title {
	font-family: var(--t0-display);
	font-size: 20px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--t0-text);
	margin: 0;
}

.t0-comm__badge {
	flex-shrink: 0;
	font-family: var(--t0-display);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--t0-gold);
	border: 1px solid rgba(207, 174, 110, 0.4);
	padding: 6px 12px;
	white-space: nowrap;
	transition: border-color 0.3s var(--t0-ease), color 0.3s var(--t0-ease);
}

.t0-comm__card:hover .t0-comm__badge {
	border-color: rgba(207, 174, 110, 0.75);
	color: var(--t0-gold-2);
}

.t0-comm__desc {
	color: var(--t0-text-3);
	font-size: 14px;
	line-height: 1.75;
	margin: 0;
}

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

/* ---------------------------------------------------------
   06 / FINAL CTA
   --------------------------------------------------------- */

.t0-cta {
	position: relative;
	overflow: hidden;
	text-align: center;
}

.t0-cta__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.t0-cta__glow {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 900px;
	height: 900px;
	max-width: 140vw;
	max-height: 140vw;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, var(--t0-glow), transparent 65%);
	filter: blur(10px);
	animation: t0-cta-drift 14s ease-in-out infinite alternate;
}

.t0-cta__grid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(var(--t0-stroke) 1px, transparent 1.4px);
	background-size: 14px 14px;
	-webkit-mask-image: radial-gradient(ellipse at center, black, transparent 72%);
	mask-image: radial-gradient(ellipse at center, black, transparent 72%);
}

.t0-cta__scan {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--t0-blue-rgb), 0.85), transparent);
	animation: t0-cta-scan 6s linear infinite;
}

/* Halftone-dot wave ring ("onda") — rendered by main.js on this canvas */
.t0-cta__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	filter: blur(0.4px) drop-shadow(0 0 18px var(--t0-glow));
}

@keyframes t0-cta-drift {
	from { transform: translate(-55%, -48%) scale(1); }
	to { transform: translate(-45%, -52%) scale(1.18); }
}

@keyframes t0-cta-scan {
	0% { top: 0%; opacity: 0; }
	8% { opacity: 1; }
	92% { opacity: 1; }
	100% { top: 100%; opacity: 0; }
}

.t0-cta__inner {
	position: relative;
	z-index: 2;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
}

.t0-cta__kicker {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
}

.t0-cta__statement {
	font-family: var(--t0-display);
	font-size: clamp(34px, 6vw, 64px);
	line-height: 1.18;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0 0 28px;
}

.t0-cta__statement em {
	font-style: normal;
	color: var(--t0-blue);
	text-shadow: 0 0 46px rgba(var(--t0-blue-rgb), 0.4);
}

.t0-cta__dim {
	color: rgba(255, 255, 255, 0.55);
}

.t0-cta__lead {
	color: var(--t0-text-2);
	max-width: 560px;
	margin: 0 auto 48px;
}

.t0-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.t0-cta__email {
	font-family: 'Courier New', Consolas, Menlo, monospace;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--t0-text-2);
	border: 1px solid var(--t0-line);
	padding: 16px 24px;
	background: var(--t0-overlay-4);
	transition: border-color 0.35s var(--t0-ease), color 0.35s var(--t0-ease), transform 0.35s var(--t0-ease);
}

.t0-cta__email:hover {
	border-color: var(--t0-blue);
	color: var(--t0-blue-2);
	transform: translateY(-2px);
}

@media (max-width: 640px) {
	.t0-cta__actions { flex-direction: column; align-items: stretch; }
	.t0-cta__email,
	.t0-cta__actions .t0-btn { justify-content: center; text-align: center; }
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.t0-footer {
	position: relative;
	background: var(--t0-panel);
	border-top: 1px solid var(--t0-line-soft);
}

.t0-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 60px;
	padding: 90px 24px 70px;
}

.t0-footer__brand {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 20px;
}

.t0-footer__brand-name {
	font-family: var(--t0-display);
	font-size: 20px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--t0-text);
}

.t0-footer__brand-sub {
	font-family: var(--t0-display);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--t0-muted);
}

.t0-footer__desc {
	color: var(--t0-text-3);
	max-width: 360px;
	font-size: 14px;
	line-height: 1.75;
	margin: 0 0 24px;
}

.t0-footer__status {
	display: flex;
	align-items: center;
	font-family: var(--t0-display);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--t0-text-2);
	margin: 0;
}

.t0-footer__heading {
	font-family: var(--t0-display);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--t0-gold);
	margin: 0 0 22px;
}

.t0-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.t0-footer__links a {
	font-size: 14px;
	color: var(--t0-text-3);
	display: inline-flex;
	align-items: center;
	transition: color 0.3s var(--t0-ease), transform 0.3s var(--t0-ease);
}

.t0-footer__links a:hover {
	color: var(--t0-blue-2);
	transform: translateX(4px);
}

.t0-footer__bottom {
	border-top: 1px solid var(--t0-line-soft);
}

.t0-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px;
	font-family: var(--t0-body);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--t0-muted);
}

.t0-footer__copy { margin: 0; }

.t0-footer__bottom-right {
	display: flex;
	align-items: center;
	gap: 24px;
}

.t0-footer__top-link {
	color: var(--t0-muted);
	transition: color 0.3s var(--t0-ease), transform 0.3s var(--t0-ease);
	display: inline-block;
}

.t0-footer__top-link:hover {
	color: var(--t0-blue);
	transform: translateY(-2px);
}

@media (max-width: 900px) {
	.t0-footer__top {
		grid-template-columns: 1fr 1fr;
		row-gap: 50px;
	}

	.t0-footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.t0-footer__top {
		grid-template-columns: 1fr;
		padding: 70px 24px 50px;
		gap: 44px;
	}

	.t0-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.t0-proc__line {
		transition: none;
		transform: scaleX(1);
	}

	.t0-proc__node::after { animation: none; }

	.t0-cta__glow,
	.t0-cta__scan { animation: none; }
}
