/*
 * main.css — Queen City Magazine design tokens + shared base.
 * Loaded first; header.css and footer.css depend on the custom
 * properties defined here.
 */

:root {
	/* Palette matched to the Charlotte Downtown logo:
	   brand ink #141E28 + Queen City green #21834C, with mint,
	   cream and Charlotte gold for the supporting roles. */
	--qcm-ink: #141e28;
	--qcm-slate: #4a5d57;
	--qcm-powder: #a7d3b8;
	--qcm-cyan: #f4f1e8;
	--qcm-peach: #21834c;
	--qcm-green: #21834c;
	--qcm-gold: #e8b33a;
	--qcm-white: #ffffff;

	--qcm-font: "Archivo", sans-serif;
	--qcm-max: 1280px;
	--qcm-pad: 40px;
	--qcm-rule: 2px solid var(--qcm-ink);
}

body {
	margin: 0;
	background: var(--qcm-white);
	color: var(--qcm-ink);
	font-family: var(--qcm-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--qcm-ink);
	text-decoration: none;
}

a:hover {
	color: var(--qcm-peach);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--qcm-peach);
	outline-offset: 2px;
}

/* Headline treatment: 900 weight, tight tracking. */
h1, h2, h3 {
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1.05;
	margin: 0 0 0.5em;
}

/* Powder-blue highlight for headline words, cloned across line wraps. */
.qcm-highlight {
	background: var(--qcm-powder);
	color: inherit;
	padding: 0 0.08em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Solid ink button, peach on hover. */
.qcm-button {
	display: inline-block;
	padding: 10px 16px;
	background: var(--qcm-ink);
	color: var(--qcm-white);
	font-weight: 700;
	font-size: 13px;
}

.qcm-button:hover {
	background: var(--qcm-peach);
	color: var(--qcm-white);
}

/* Small uppercase kicker used in the mega menu and footer. */
.qcm-mega__kicker {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--qcm-slate);
}

.qcm-main {
	max-width: var(--qcm-max);
	margin: 0 auto;
	padding: 0 var(--qcm-pad);
}

.qcm-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	padding: 10px 16px;
	background: var(--qcm-ink);
	color: var(--qcm-white);
	font-weight: 700;
	z-index: 100;
}

.qcm-skip-link:focus {
	left: 0;
	color: var(--qcm-white);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

@media (max-width: 700px) {
	:root {
		--qcm-pad: 20px;
	}
}



/* ============================================================
 * Shared components (crumb, pills, CTA bands, section links,
 * kickers) — used across archives, singles, and the front page,
 * so they live in the always-loaded sheet.
 * ============================================================ */

.qcm-crumb {
	display: flex;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--qcm-slate);
}

.qcm-crumb a {
	color: var(--qcm-slate);
}

.qcm-pill {
	padding: 7px 12px;
	border: 1.5px solid var(--qcm-ink);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

button.qcm-pill {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	color: var(--qcm-ink);
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}

button.qcm-pill.is-on {
	background: var(--qcm-ink);
	color: var(--qcm-white);
}

/* Client-side filters set [hidden]; make sure it always wins over
 * the display:grid/flex the rows carry. */
[data-qcm-row][hidden],
[data-qcm-group][hidden],
[data-qcm-empty][hidden] {
	display: none !important;
}

.qcm-pill.is-on {
	background: var(--qcm-ink);
	color: var(--qcm-white);
}

.qcm-band {
	margin: 96px 0 0;
	padding: 44px 48px;
	background: var(--qcm-ink);
	color: var(--qcm-white);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.qcm-band__title {
	margin: 0;
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
}

.qcm-band__sub {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--qcm-powder);
}

.qcm-band__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.qcm-band__btn {
	padding: 14px 22px;
	font-weight: 700;
	font-size: 14px;
}

.qcm-band__btn--powder {
	background: var(--qcm-powder);
	color: var(--qcm-ink);
}

.qcm-band__btn--ghost {
	border: 2px solid var(--qcm-white);
	color: var(--qcm-white);
}

.qcm-band__btn--ghost:hover {
	color: var(--qcm-white);
	background: rgba(255, 255, 255, 0.12);
}

.qcm-band__btn--ink {
	background: var(--qcm-ink);
	color: var(--qcm-white);
}

.qcm-band__btn--outline {
	border: var(--qcm-rule);
	color: var(--qcm-ink);
}

.qcm-kicker {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--qcm-slate);
}

.qcm-sect__link {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--qcm-ink);
}

.qcm-sect__link--light {
	color: var(--qcm-white);
	border-bottom-color: var(--qcm-white);
}

/* ============================================================
 * Font enforcement.
 * Hub applies its own typeface via theme-option CSS that loads
 * after (or with higher specificity than) this sheet, so the
 * Archivo tokens are asserted with !important. Icon elements
 * (<i>, elements with icon classes) are deliberately NOT
 * targeted, so Hub's icon fonts keep rendering.
 * ============================================================ */

body,
h1, h2, h3, h4, h5, h6,
p, a, li, dt, dd, small, strong, em,
blockquote, figcaption, label, legend, mark,
th, td, caption,
button, input, select, textarea,
.qcm-header, .qcm-header span,
.qcm-footer, .qcm-footer span,
.qcm-home span, .qcm-dir span, .qcm-listing span,
.qcm-single span, .qcm-archive span, .qcm-stat span,
.qcm-hero span, .qcm-factstack span, .qcm-morein span {
	font-family: var(--qcm-font) !important;
}

body {
	color: var(--qcm-ink) !important;
	background: var(--qcm-white) !important;
}


/* ---- Queen City brand overrides ---- */
.qcm-mast {
	background: var(--qcm-green);
}

.qcm-masthead__title span {
	color: var(--qcm-gold);
}

.qcm-masthead__tag {
	color: var(--qcm-white);
}

.qcm-topbar__cta {
	border-bottom-color: var(--qcm-gold);
}

.qcm-topbar__cta:hover {
	color: var(--qcm-gold);
	border-color: var(--qcm-gold);
}

.qcm-highlight--peach {
	background: var(--qcm-gold);
}
