/**
 * The capacity band.
 *
 * A photographic ink band: the room photograph is set from an inline style in
 * template-parts/sections/venue.php (a url() written here would resolve
 * against this folder and 404), and everything below layers over it — a scrim
 * that never falls below 90% ink so cream and gold both hold AA, the headline
 * number, and the capacity cards.
 */

.bh-venue {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: 6.5rem;
	background-color: var(--bh-ink);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 40%;
}

/*
 * Two layers: a near-solid wash that keeps the composite dark enough for
 * small gold type, and a vertical fade that lands on flat ink at both edges
 * so the band joins its neighbours without a seam.
 */
.bh-venue::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(102deg, rgba(22, 17, 15, 0.97) 0%, rgba(22, 17, 15, 0.94) 45%, rgba(22, 17, 15, 0.9) 100%),
		linear-gradient(180deg, var(--bh-ink) 0%, rgba(22, 17, 15, 0) 16%, rgba(22, 17, 15, 0) 84%, var(--bh-ink) 100%);
}

/* The headline figure beside the pitch ------------------------------------ */

.bh-venue__top {
	display: grid;
	grid-template-columns: minmax(15rem, 21rem) 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.bh-venue__figure .bh-lotus {
	width: 30px;
	height: 30px;
	margin-bottom: 1.1rem;
}

.bh-venue__count {
	display: flex;
	align-items: flex-start;
	margin: 0;
	font-family: var(--bh-display);
	/*
	 * 0.8 cropped the line box well inside the glyphs. Cormorant sets figures
	 * old-style by default, so the 5 and the 0 hang below the baseline and were
	 * landing on top of the gold label underneath. Lining figures put every
	 * digit on the baseline, and the looser line box leaves the descenders of
	 * any fallback face somewhere to go.
	 */
	line-height: 0.95;
}

.bh-venue__num {
	/* The counter script fills this from zero; reserving three figures keeps
	   the column from reflowing under the number while it counts up. */
	min-width: 3ch;
	font-size: clamp(5rem, 14vw, 10.5rem);
	font-weight: 500;
	letter-spacing: -0.035em;
	color: var(--bh-cream);
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.bh-venue__unit {
	margin: 1.15rem 0 0;
	font-family: var(--bh-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--bh-gold);
}

.bh-venue__seated {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 1.4rem 0 0;
	padding-top: 1.2rem;
	border-top: 1px solid var(--bh-border);
	color: var(--bh-sand);
}

.bh-venue__seated strong {
	font-family: var(--bh-display);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1;
	color: var(--bh-cream);
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.bh-venue__seated span {
	font-size: 0.9rem;
}

.bh-venue__intro .bh-heading {
	margin-bottom: 1.4rem;
}

.bh-venue__lede {
	max-width: 52ch;
	margin: 0 0 1.9rem;
	color: var(--bh-sand);
}

.bh-venue__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
}

/* The hairline border reads as nothing over a photograph. */
.bh-venue .bh-btn--ghost {
	border-color: var(--bh-gold-soft);
	color: var(--bh-cream);
}

.bh-venue .bh-btn--ghost:hover {
	border-color: var(--bh-gold);
	color: var(--bh-gold);
}

.bh-venue__aside {
	max-width: 48ch;
	margin: 1.3rem 0 0;
	font-family: var(--bh-display);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.4;
	color: var(--bh-sand);
}

/* The lotus rule ---------------------------------------------------------- */

.bh-venue__rule {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin: clamp(2.6rem, 5vw, 4rem) 0;
}

.bh-venue__rule::before,
.bh-venue__rule::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--bh-gold-soft), transparent);
}

.bh-venue__rule .bh-lotus {
	width: 26px;
	height: 26px;
}

/* The capacity cards ------------------------------------------------------ */

.bh-venue__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bh-venue__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.1rem;
	padding: 1.8rem 1.6rem;
	border: 1px solid var(--bh-border);
	border-radius: 16px;
	background: rgba(22, 17, 15, 0.66);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: var(--bh-ease);
}

.bh-venue__card:hover {
	border-color: var(--bh-gold-soft);
	transform: translateY(-3px);
}

.bh-venue__name {
	margin: 0;
	font-size: 1.75rem;
	line-height: 1.1;
	color: var(--bh-cream);
}

.bh-venue__stats {
	display: flex;
	gap: 2rem;
	margin: 0;
}

.bh-venue__stat dt {
	margin: 0 0 0.3rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--bh-gold);
}

.bh-venue__stat dd {
	margin: 0;
	font-family: var(--bh-display);
	font-size: 2.1rem;
	font-weight: 500;
	line-height: 1;
	color: var(--bh-cream);
}

.bh-venue__note {
	margin: 0;
	font-family: var(--bh-display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.35;
	color: var(--bh-sand);
}

.bh-venue__from {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
	width: 100%;
	margin: auto 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--bh-border);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bh-sand);
}

.bh-venue__from strong {
	font-family: var(--bh-display);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	color: var(--bh-gold);
}

/* Collapses --------------------------------------------------------------- */

@media (max-width: 72em) {
	.bh-venue__top {
		grid-template-columns: minmax(13rem, 17rem) 1fr;
	}

	.bh-venue__card {
		padding: 1.5rem 1.3rem;
	}

	.bh-venue__stats {
		gap: 1.4rem;
	}
}

@media (max-width: 60em) {
	.bh-venue {
		padding-block: 4.5rem;
	}

	.bh-venue__top,
	.bh-venue__cards {
		grid-template-columns: 1fr;
	}

	.bh-venue__top {
		gap: 2.2rem;
	}

	.bh-venue__seated {
		max-width: 22rem;
	}
}

@media (max-width: 40em) {
	.bh-venue {
		background-position: center;
	}

	.bh-venue__cta .bh-btn {
		flex: 1 1 12rem;
		justify-content: center;
	}
}
