.astro-brand-index,
.astro-brand-page {
	color: var(--astro-color-ink);
	background: var(--astro-color-paper);
}

.astro-brand-index__intro {
	position: relative;
	isolation: isolate;
	color: var(--astro-color-paper);
	background:
		linear-gradient(118deg, rgb(0 85 165 / 34%), transparent 46%),
		var(--astro-color-graphite);
}

.astro-brand-index__intro::after {
	position: absolute;
	z-index: -1;
	inset-inline: 0;
	inset-block-end: 0;
	block-size: 1px;
	background: var(--astro-color-action);
	content: "";
}

.astro-brand-index .page-breadcrumbs,
.astro-brand-page .page-breadcrumbs {
	margin-inline: auto;
	color: var(--astro-color-muted-on-dark);
}

.astro-brand-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
	gap: clamp(2rem, 7vw, 8rem);
	align-items: stretch;
	padding-block: clamp(4rem, 9vw, 9rem);
	color: var(--astro-color-paper);
	background: var(--astro-color-graphite);
}

.astro-brand-hero__copy {
	align-self: center;
	padding-inline-start: clamp(1.5rem, 4vw, 5rem);
}

.astro-brand-hero h1 {
	max-inline-size: 12ch;
	margin-block: var(--astro-space-6);
	color: var(--astro-color-paper);
	font-size: clamp(3rem, 2rem + 5vw, 7.5rem);
	letter-spacing: -.06em;
	line-height: .88;
}

.astro-brand-hero__copy > p:not(.astro-kicker) {
	max-inline-size: 52ch;
	color: var(--astro-color-steel);
	font-size: clamp(1.05rem, .95rem + .5vw, 1.45rem);
	line-height: 1.55;
}

.astro-brand-hero__mark,
.astro-brand-hero__media {
	position: relative;
	display: grid;
	place-content: center;
	align-self: center;
	aspect-ratio: 4 / 3;
	inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 0;
	overflow: hidden;
	background: var(--astro-color-depth);
}

.astro-brand-hero__mark strong,
.astro-brand-hero__media strong {
	font-size: clamp(2.5rem, 5vw, 6rem);
	letter-spacing: -.06em;
}

.astro-brand-hero__mark span {
	margin-block-start: var(--astro-space-4);
	color: var(--astro-color-steel);
	font-family: var(--astro-font-mono);
	text-align: center;
}

.astro-brand-hero__media img {
	display: block;
	inline-size: 100%;
	max-inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.astro-brand-hero__wordmark {
	position: absolute;
	inset-inline-start: clamp(1.25rem, 3vw, 3rem);
	inset-block-end: clamp(1.25rem, 3vw, 3rem);
	padding: .35em .5em;
	color: var(--astro-color-paper);
	background: rgb(12 20 25 / 78%);
	font-size: clamp(1.5rem, 3vw, 3.5rem);
	letter-spacing: -.04em;
	line-height: 1;
}

.astro-brand-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--astro-space-4);
	margin-block-start: var(--astro-space-8);
}

.astro-brand-hero__actions a,
.astro-brand-cta {
	display: inline-flex;
	align-items: center;
	min-block-size: 3.25rem;
	padding-inline: var(--astro-space-6);
	color: var(--astro-color-paper);
	text-decoration: none;
}

.astro-brand-cta {
	color: var(--astro-color-ink);
	background: var(--astro-color-action);
	font-weight: 750;
}

.astro-brand-directory {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-block: var(--astro-section-space);
}

.astro-brand-card {
	position: relative;
	min-block-size: 14rem;
	padding: clamp(1.5rem, 4vw, 4rem);
	border-block-end: 1px solid var(--astro-color-line);
}

.astro-brand-card:nth-child(odd) {
	border-inline-end: 1px solid var(--astro-color-line);
}

.astro-brand-card h2 {
	color: var(--astro-color-ink);
	font-size: clamp(2rem, 1.5rem + 2vw, 4rem);
}

.astro-brand-card a {
	color: inherit;
	text-decoration: none;
}

.astro-brand-page .catalog-brand-content,
.astro-brand-page .catalog-editorial-bands {
	color: var(--astro-color-ink);
	background: var(--astro-color-paper);
}

.astro-brand-page :where(.catalog-brand-content, .catalog-editorial-bands) :where(h2, h3) {
	color: var(--astro-color-ink);
}

@media (max-width: 47.99rem) {
	.astro-brand-hero,
	.astro-brand-directory {
		grid-template-columns: minmax(0, 1fr);
	}

	.astro-brand-hero__copy {
		padding: var(--astro-space-8);
	}

	.astro-brand-hero__mark,
	.astro-brand-hero__media {
		min-block-size: 18rem;
	}

	.astro-brand-card:nth-child(odd) {
		border-inline-end: 0;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.astro-brand-card,
	.astro-brand-hero__media {
		animation: astro-brand-reveal 420ms var(--astro-ease-standard) both;
	}

	@keyframes astro-brand-reveal {
		from { opacity: 0; transform: translateY(1rem); }
		to { opacity: 1; transform: translateY(0); }
	}
}
