/*
Theme Name: Sparkman Media Group
Theme URI: https://sparkmanmedia.org
Author: Sparkman Media Group
Description: One-page parent-company site for Sparkman Media Group, linking to Well + Worthy Digital Marketing and Rifle Approach Marketing. Edit links and contact details under Appearance › Customize › Sparkman Settings.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sparkman-media-group
*/

:root {
	--smg-teal: #035269;
	--smg-teal-dark: #023a4a;
	--smg-cream: #faf9f6;
	--smg-cream-dark: #f0eee9;
	--smg-rule: #e4e1da;
	--smg-ink: #1f2426;
	--smg-muted: #444c4f;
	--ww-blush: #f6eceb;
	--ww-rose: #8e5557;
	--ww-rose-text: #6e4547;
	--ww-body: #4a3f40;
	--ww-chip: #d9bdbd;
	--ra-black: #1c1d1e;
	--ra-gold: #f0b323;
	--ra-body: #d8d5cf;
	--ra-label: #c9c6c0;
	--ra-chip: #4a4a48;
	--smg-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--smg-serif: "Playfair Display", Georgia, serif;
	--smg-wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--smg-cream);
	color: var(--smg-ink);
	font-family: var(--smg-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--smg-teal); }
a:hover, a:focus { color: var(--smg-teal-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--smg-teal); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 12px 20px;
	background: #fff;
	border-radius: 8px;
}

.smg-site { min-height: 100vh; display: flex; flex-direction: column; }
.smg-wrap { width: 100%; max-width: var(--smg-wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header */
.smg-header .smg-wrap {
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.smg-logo img { height: 64px; width: auto; }
.smg-header-link {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Eyebrows */
.smg-eyebrow {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--smg-teal);
}

/* Hero */
.smg-hero {
	padding-top: 88px;
	padding-bottom: 96px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 40px 64px;
}
.smg-hero-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.smg-hero-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.smg-hero h1 {
	margin: 0;
	font-weight: 800;
	font-size: clamp(2.6rem, 6vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
}
.smg-accent {
	font-family: var(--smg-serif);
	font-style: italic;
	font-weight: 500;
	color: var(--smg-teal);
	letter-spacing: 0;
}
.smg-hero-side p { margin: 0; font-size: 1.2rem; line-height: 1.6; color: var(--smg-muted); }

/* Brands */
.smg-brands { padding-bottom: 112px; display: flex; flex-direction: column; gap: 32px; }
.smg-section-head { display: flex; align-items: center; gap: 20px; }
.smg-section-head h2 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--smg-muted);
	white-space: nowrap;
}
.smg-section-head span { height: 1px; background: var(--smg-rule); flex-grow: 1; }

.smg-cards { display: flex; flex-wrap: wrap; gap: 32px; }
.smg-card {
	flex: 1 1 420px;
	min-width: 0;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(31, 36, 38, 0.06), 0 16px 40px rgba(31, 36, 38, 0.08);
}
.smg-card-logo {
	background: #fff;
	height: 220px;
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.smg-card-logo img { max-width: 84%; max-height: 100%; width: auto; }
.smg-card-body { padding: 40px; display: flex; flex-direction: column; gap: 20px; flex-grow: 1; }
.smg-card-label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.5; text-transform: uppercase; }
.smg-card h3 { margin: 0; font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.smg-card-text { margin: 0; font-size: 1.08rem; line-height: 1.65; flex-grow: 1; }
.smg-button {
	align-self: flex-start;
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	transition: transform 0.15s ease, filter 0.15s ease;
}
.smg-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.smg-button svg { transition: transform 0.15s ease; }
.smg-button:hover svg { transform: translateX(3px); }

.smg-card--ww .smg-card-body { background: var(--ww-blush); }
.smg-card--ww .smg-card-label { color: var(--ww-rose-text); }
.smg-card--ww h3 { color: var(--smg-ink); }
.smg-card--ww .smg-card-text { color: var(--ww-body); }
.smg-card--ww .smg-button, .smg-card--ww .smg-button:hover { background: var(--ww-rose); color: #fff; }

.smg-card--ra .smg-card-body { background: var(--ra-black); }
.smg-card--ra .smg-card-label { color: var(--ra-label); }
.smg-card--ra h3 { color: #fff; }
.smg-card--ra .smg-card-text { color: var(--ra-body); }
.smg-card--ra .smg-button, .smg-card--ra .smg-button:hover { background: var(--ra-gold); color: var(--ra-black); }

/* Generic pages (e.g. Privacy Policy) */
.smg-page { padding-top: 64px; padding-bottom: 96px; flex-grow: 1; }
.smg-page article { max-width: 760px; }
.smg-page h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.1; margin: 0 0 32px; letter-spacing: -0.01em; }
.smg-page h2 { font-size: 1.6rem; font-weight: 800; margin: 40px 0 12px; }
.smg-page h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 8px; }
.smg-page p, .smg-page li { font-size: 1.08rem; line-height: 1.7; color: var(--smg-muted); }

/* Footer */
.smg-footer { background: var(--smg-cream-dark); margin-top: auto; }
.smg-footer .smg-wrap {
	padding-top: 40px;
	padding-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
	line-height: 1.6;
	color: var(--smg-muted);
}
.smg-footer-legal { flex: 1 1 420px; min-width: 0; margin: 0; }
.smg-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 640px) {
	.smg-logo img { height: 48px; }
	.smg-hero { padding-top: 56px; padding-bottom: 64px; }
	.smg-card-logo { height: 170px; padding: 24px; }
	.smg-card-body { padding: 28px; }
	.smg-card h3 { font-size: 1.65rem; }
	.smg-brands { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
	.smg-button, .smg-button svg { transition: none; }
	.smg-button:hover, .smg-button:hover svg { transform: none; }
}
