/* ===========================================================================
   footer-minimal-rule — one hairline, one row
   ---------------------------------------------------------------------------
   Scope: .vbs-footer-minimal-rule
   Depends on: css/tokens.css, css/base.css
   Contains no literal colour, font, size, radius, shadow or duration.

   Structure: a single rule closes the page, then three zones sit on one
   optical line — wordmark hard left, nav dead centre, copyright hard right.
   The centre is a true centre: the grid is 1fr / auto / 1fr so the nav is
   measured against the page, not against whichever side text is longer.
   Below 64rem the same three zones stack and centre, in reading order.
   ========================================================================= */

.vbs-footer-minimal-rule__rule { margin: 0; }

.vbs-footer-minimal-rule__row {
	margin-block-start: clamp(1.5rem, 3vw, 2.25rem);
	display: grid;
	justify-items: center;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}

@media (min-width: 64rem) {
	.vbs-footer-minimal-rule__row {
		grid-template-columns: 1fr auto 1fr;
		gap: clamp(1.5rem, 3vw, 2.5rem);
		text-align: start;
	}
	.vbs-footer-minimal-rule__brand { justify-self: start; }
	.vbs-footer-minimal-rule__legal { justify-self: end; text-align: end; }
}

/* --- wordmark ------------------------------------------------------------- */
.vbs-footer-minimal-rule__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	min-width: 0;
	color: var(--vb-color-ink);
	transition: color var(--vb-dur-base) var(--vb-ease-out-soft);
}
.vbs-footer-minimal-rule__brand:hover { color: var(--vb-color-accent); }

.vbs-footer-minimal-rule__mark {
	inline-size: 1.5rem;
	block-size: 1.5rem;
	flex: none;
}

.vbs-footer-minimal-rule__name {
	font-family: var(--vb-font-display);
	font-size: var(--vb-fs-h3);
	line-height: var(--vb-lh-h3);
	letter-spacing: var(--vb-ls-h3);
	font-weight: var(--vb-weight-heading);
	text-transform: var(--vb-case-display);
}

/* --- centre nav -----------------------------------------------------------
   Wraps rather than overflows: a longer link set on a narrow desktop breaks
   to a second centred line instead of pushing the copyright off the grid. */
.vbs-footer-minimal-rule__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.5rem clamp(1.25rem, 2.5vw, 2rem);
}

.vbs-footer-minimal-rule__link {
	display: inline-block;
	font-size: var(--vb-fs-small);
	line-height: var(--vb-lh-small);
	color: var(--vb-color-ink-soft);
	padding-block-end: 0.15em;
	border-block-end: var(--vb-border-hair) solid transparent;
	transition: color var(--vb-dur-base) var(--vb-ease-out-soft),
	            border-color var(--vb-dur-base) var(--vb-ease-out-soft);
}
.vbs-footer-minimal-rule__link:hover {
	color: var(--vb-color-ink);
	border-block-end-color: currentColor;
}

/* --- copyright ------------------------------------------------------------ */
.vbs-footer-minimal-rule__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 0.75rem;
	margin: 0;
}

/* Separator drawn, not typed — a glyph would be read aloud and would inherit
   whatever the brand's punctuation looks like. */
.vbs-footer-minimal-rule__dot {
	inline-size: 0.25rem;
	block-size: 0.25rem;
	border-radius: var(--vb-radius-pill);
	background-color: var(--vb-color-rule);
	flex: none;
}
