/* Ascent homepage band, inc/cg-ascent-band.php. Ascent sub-brand tokens,
   deliberately single-theme (the band is always the black/yellow identity). */

.cg-ascent-band {
	--asc-ink: #0b0b0b;
	--asc-gold: #f2d100;
	--asc-text: #ffffff;
	--asc-muted: #d6d6d2;
	--asc-line: rgba(255, 255, 255, .35);

	position: relative;
	overflow: hidden;
	box-sizing: border-box;
	background: var(--asc-ink);
	color: var(--asc-text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Beat the constrained-layout block gap so the band sits flush under the hero. */
.entry-content > .cg-ascent-band.alignfull {
	margin-block: 0;
	max-width: none;
}

.cg-ascent-band__ridge {
	position: absolute;
	right: 0;
	bottom: 0;
	width: min(56vw, 780px);
	height: auto;
	pointer-events: none;
}

.cg-ascent-band__inner {
	position: relative;
	box-sizing: border-box;
	max-width: 1290px;
	margin: 0 auto;
	padding: 88px 20px; /* 20px matches the Stackable column inset below (What we do) */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.cg-ascent-band .cg-ascent-band__eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .2em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--asc-gold);
}

.cg-ascent-band .cg-ascent-band__mark {
	margin: 18px 0 0;
	font-family: Inter, system-ui, sans-serif;
	font-size: clamp(72px, 10vw, 128px);
	line-height: .84;
	font-weight: 900;
	letter-spacing: -.055em;
	text-transform: uppercase;
	color: var(--asc-text);
}

.cg-ascent-band__mark span {
	color: var(--asc-gold);
}

.cg-ascent-band .cg-ascent-band__lede {
	margin: 28px 0 0;
	max-width: 34rem;
	font-size: 20px;
	line-height: 1.5;
	font-weight: 400;
	color: var(--asc-muted);
	text-wrap: pretty;
}

.cg-ascent-band__lede strong {
	font-weight: 600;
	color: var(--asc-text);
}

.cg-ascent-band__actions {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cg-ascent-band .cg-ascent-band__btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 22px;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.cg-ascent-band .cg-ascent-band__btn--primary {
	background: var(--asc-gold);
	color: var(--asc-ink);
	font-weight: 800;
	border: 1px solid var(--asc-gold);
}

.cg-ascent-band .cg-ascent-band__btn--primary:hover {
	background: #ffe233;
	border-color: #ffe233;
	color: var(--asc-ink);
}

.cg-ascent-band .cg-ascent-band__btn--ghost {
	border: 1px solid var(--asc-line);
	color: var(--asc-text);
	font-weight: 600;
}

.cg-ascent-band .cg-ascent-band__btn--ghost:hover {
	border-color: var(--asc-gold);
	color: var(--asc-gold);
}

.cg-ascent-band .cg-ascent-band__btn:focus-visible {
	outline: 3px solid var(--asc-gold);
	outline-offset: 3px;
}

@media (max-width: 760px) {
	.cg-ascent-band__inner {
		padding: 64px 20px 150px;
	}
	/* Height-capped so the flag clears the stacked buttons (150px bottom padding). */
	.cg-ascent-band__ridge {
		width: auto;
		height: 150px;
		max-width: 100%;
	}
	.cg-ascent-band .cg-ascent-band__lede {
		font-size: 18px;
	}
	.cg-ascent-band__actions {
		align-self: stretch;
	}
	.cg-ascent-band .cg-ascent-band__btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cg-ascent-band .cg-ascent-band__btn {
		transition: none;
	}
}
