/* Hero color variants. Default is A (rust). Switch with ?variant=a|b|c|d|e. */

:root,
html[data-hero-variant="a"] {
	--hero-name: "Current rust";
	--hero-accent: #ad5039;
	--hero-divider: #ad5039;
	--hero-btn-fill: rgba(18, 14, 10, 0.78);
	--hero-btn-about-text: #d6b994;
	--hero-btn-about-border: #d6b994;
	--hero-btn-contact-text: #e0c9aa;
	--hero-btn-contact-border: #e0c9aa;
	--hero-outline: transparent;
}

html[data-hero-variant="b"] {
	--hero-name: "Antique gold";
	--hero-accent: #d0a85c;
	--hero-divider: #d0a85c;
	--hero-btn-fill: rgba(18, 14, 10, 0.78);
	--hero-btn-about-text: #d0a85c;
	--hero-btn-about-border: #d0a85c;
	--hero-btn-contact-text: #e0c9aa;
	--hero-btn-contact-border: #d0a85c;
	--hero-outline: transparent;
}

html[data-hero-variant="c"] {
	--hero-name: "Warm ivory";
	--hero-accent: #e0c9aa;
	--hero-divider: #e0c9aa;
	--hero-btn-fill: rgba(18, 14, 10, 0.78);
	--hero-btn-about-text: #e0c9aa;
	--hero-btn-about-border: #e0c9aa;
	--hero-btn-contact-text: #e0c9aa;
	--hero-btn-contact-border: #e0c9aa;
	--hero-outline: transparent;
}

html[data-hero-variant="d"] {
	--hero-name: "Burgundy + gold";
	--hero-accent: #c45b6a;
	--hero-divider: #d6b994;
	--hero-btn-fill: #5a1824;
	--hero-btn-about-text: #e0c9aa;
	--hero-btn-about-border: #d6b994;
	--hero-btn-contact-text: #e0c9aa;
	--hero-btn-contact-border: #d6b994;
	--hero-outline: #d6b994;
}

html[data-hero-variant="e"] {
	--hero-name: "Muted teal";
	--hero-accent: #6aa8a0;
	--hero-divider: #6aa8a0;
	--hero-btn-fill: rgba(10, 18, 18, 0.82);
	--hero-btn-about-text: #6aa8a0;
	--hero-btn-about-border: #6aa8a0;
	--hero-btn-contact-text: #d6e8e4;
	--hero-btn-contact-border: #6aa8a0;
	--hero-outline: transparent;
}

/* ---- Accents: LORENZO, tagline, logo MUSIC ---- */
#home .hero-copy .site-title .highlight,
#home .hero-copy .title.highlight,
#top-nav .navbar-brand .highlight {
	color: var(--hero-accent) !important;
}

/* Title underline + the hairline above the tagline (border-bottom on .underline) */
#home .hero-copy .underline,
#home .hero-copy .underline-highlight {
	border-bottom-color: var(--hero-divider) !important;
}

/* Tagline already uses .highlight; keep divider color in sync if a variant
   splits accent (burgundy) from gold trim. */
#home .hero-copy .title.highlight {
	color: var(--hero-accent) !important;
}

/* Burgundy name gets a gold outline so it holds on the dark lid. */
html[data-hero-variant="d"] #home .hero-copy .site-title .highlight {
	text-shadow:
		-1px -1px 0 var(--hero-outline),
		 1px -1px 0 var(--hero-outline),
		-1px  1px 0 var(--hero-outline),
		 1px  1px 0 var(--hero-outline),
		 0 0 18px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
	html[data-hero-variant="d"] #home .hero-copy .site-title .highlight {
		text-shadow:
			-2px -2px 0 var(--hero-outline),
			 2px -2px 0 var(--hero-outline),
			-2px  2px 0 var(--hero-outline),
			 2px  2px 0 var(--hero-outline),
			 0 0 22px rgba(0, 0, 0, 0.4);
	}
}

/* ---- CTAs ---- */
#home .hero-copy .btn {
	background-color: var(--hero-btn-fill) !important;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

#home .hero-copy .btn.highlight-b,
#home .hero-copy .btn.background-lite-b,
#home .hero-copy .btn.border-highlight-b {
	color: var(--hero-btn-about-text) !important;
	border-color: var(--hero-btn-about-border) !important;
}

#home .hero-copy .btn.highlight-c,
#home .hero-copy .btn.background-lite-c,
#home .hero-copy .btn.border-highlight-c {
	color: var(--hero-btn-contact-text) !important;
	border-color: var(--hero-btn-contact-border) !important;
}

/* ---- Nav: active item (Home) and hover ---- */
#top-nav .navbar-nav a.active,
#top-nav .navbar-nav a:hover,
#top-nav .navbar-nav a:focus {
	color: var(--hero-accent) !important;
}
