/**
 * Logo (Myco_UI_Logo): the mark and the outlined "myco.site" wordmark, both a
 * <use> of the page's symbols. Proportions follow the approved lockup — word
 * height .721 × mark, nudged .061 down so the baselines meet, gap .345. A
 * context sizes the logo with --myco-logo-h and recolours the mark with
 * --myco-logo-mk; the word takes the brand's text colour. Also linked by the
 * myco.site under-construction page (mu-plugin), hence the fallbacks.
 */

.myco-brand {
	--myco-logo-h: 28px;
	gap: calc( var( --myco-logo-h ) * .345 );
}

.myco-brand__mark,
.myco-brand__m,
.myco-brand__name {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.myco-brand__mark {
	color: var( --myco-logo-mk, var( --myco-accent, #5BD6AE ) );
}

.myco-logo-mark {
	display: block;
	height: var( --myco-logo-h );
	width: auto;
	aspect-ratio: 192.4 / 170;
}

.myco-logo-word {
	display: block;
	height: calc( var( --myco-logo-h ) * .721 );
	width: auto;
	aspect-ratio: 4450 / 898;
	transform: translateY( calc( var( --myco-logo-h ) * .061 ) );
}

/* brand-anim.js plays on an overlay; the real logo waits underneath. */
.myco-brand.is-anim > * {
	visibility: hidden;
}

/* Opening (Myco_UI_Logo::intro_script): the cover until the animation's own is up. */
html.myco-cover body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 2147482999;
	background: var( --myco-intro-bg, var( --myco-surface-dark, #0E1413 ) );
}
