/**
 * Backlab Rebuild Brand Hero Styles
 */

.bl-rb-brand-hero {
	position: relative;
	background-color: var(--bl-bg-deep);
	border-bottom: 1px solid var(--bl-border);
}

.bl-rb-brand-hero__container {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
	min-height: clamp(34rem, 72svh, 50rem);
}

.bl-rb-brand-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	z-index: 2;
}

.bl-rb-brand-hero__telemetry {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   IDENTITY LAB STAGE & CANVAS
   ========================================================================== */

.bl-rb-brand-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.bl-rb-brand-hero__stage {
	position: relative;
	width: 100%;
	max-width: 32rem;
	aspect-ratio: 1 / 1;
	background: radial-gradient(circle at 60% 40%, rgba(61, 191, 176, 0.06) 0%, transparent 65%), var(--bl-surface-1);
	border: 1px solid var(--bl-border);
	border-radius: var(--bl-radius-md);
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
	padding: 1.5rem;
}

.bl-rb-brand-hero__calibration-grid {
	position: absolute;
	inset: 0;
	background-image: 
		linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 2rem 2rem;
	pointer-events: none;
}

.bl-rb-bh-canvas {
	position: relative;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto 1fr auto auto;
	gap: 1rem;
	z-index: 2;
}

/* Ruler */
.bl-rb-bh-ruler {
	grid-column: 1 / -1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.65rem;
	color: var(--bl-text-muted);
}

.bl-rb-bh-ruler__mid {
	color: var(--bl-color-brand-light);
	letter-spacing: 0.1em;
}

/* Symbol in construction */
.bl-rb-bh-symbol {
	position: relative;
	grid-column: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--bl-border);
	border-radius: var(--bl-radius-sm);
	padding: 1rem;
}

.bl-rb-bh-symbol__svg {
	width: 100%;
	max-width: 7.5rem;
	height: auto;
}

.bl-rb-bh-symbol__tag {
	margin-top: 0.5rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.62rem;
	color: var(--bl-color-brand);
	letter-spacing: 0.08em;
}

/* Typographic discipline block */
.bl-rb-bh-type-block {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid var(--bl-border);
	border-radius: var(--bl-radius-sm);
	padding: 1rem;
}

.bl-rb-bh-type-row {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.bl-rb-bh-bar {
	height: 6px;
	border-radius: 2px;
	display: block;
}

.bl-rb-bh-bar--brand {
	width: 85%;
	height: 9px;
	background: var(--bl-color-brand);
}

.bl-rb-bh-bar--white {
	width: 60%;
	height: 9px;
	background: rgba(255, 255, 255, 0.7);
}

.bl-rb-bh-bar--muted {
	width: 100%;
	background: rgba(255, 255, 255, 0.2);
}

.bl-rb-bh-bar--short {
	width: 45%;
}

.bl-rb-bh-type-metrics {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.6rem;
	color: var(--bl-text-muted);
}

/* Swatches palette */
.bl-rb-bh-swatches {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
}

.bl-rb-bh-swatch {
	padding: 0.5rem;
	border-radius: var(--bl-radius-sm);
	border: 1px solid var(--bl-border);
	display: flex;
	align-items: flex-end;
	min-height: 2.8rem;
}

.bl-rb-bh-swatch span {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.58rem;
	font-weight: 600;
}

.bl-rb-bh-swatch--brand {
	background-color: var(--bl-color-brand);
	color: var(--bl-bg-deep);
}

.bl-rb-bh-swatch--deep {
	background-color: var(--bl-bg-deep);
	color: var(--bl-text-muted);
}

.bl-rb-bh-swatch--surface {
	background-color: var(--bl-surface-1);
	color: var(--bl-text-secondary);
}

.bl-rb-bh-swatch--text {
	background-color: var(--bl-text-primary);
	color: var(--bl-bg-deep);
}

/* Reticle / Calibration confirmation */
.bl-rb-bh-reticle {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.45rem 0.75rem;
	background: rgba(61, 191, 176, 0.05);
	border: 1px solid rgba(61, 191, 176, 0.2);
	border-radius: var(--bl-radius-sm);
}

.bl-rb-bh-reticle__mark {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--bl-color-brand);
	box-shadow: 0 0 6px var(--bl-color-brand);
}

.bl-rb-bh-reticle__label {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.68rem;
	font-weight: 600;
	color: var(--bl-color-brand-light);
	letter-spacing: 0.08em;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1023px) {
	.bl-rb-brand-hero__container {
		grid-template-columns: 1fr;
		gap: 3rem;
		padding-block: 2rem 1rem;
		min-height: auto;
	}

	.bl-rb-brand-hero__visual {
		max-width: 30rem;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.bl-rb-brand-hero {
		padding-block-start: clamp(2.5rem, 8vw, 4rem);
	}

	.bl-rb-brand-hero__stage {
		padding: 1rem;
	}

	.bl-rb-bh-swatches {
		grid-template-columns: repeat(2, 1fr);
	}

	.bl-rb-brand-hero__telemetry {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}
}
