/*
Theme Name: McIntosh Marketing 2026
Theme URI: https://www.mcintoshmarketing.com
Description: Modern, mobile-first rebuild of the McIntosh Marketing site. Same content, same lead forms, refreshed for 2026.
Version: 1.2.0
Author: McIntosh Marketing
Requires at least: 5.0
Requires PHP: 7.0
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
	--navy-900: #0b1f38;
	--navy-800: #10294a;
	--navy-700: #16345d;
	--navy-600: #1e4275;
	--blue-500: #2f7fe0;
	--blue-400: #4d9bf5;
	--blue-100: #e3eefb;
	--orange-500: #f7941d;
	--orange-600: #e0810d;
	--ink: #1c2733;
	--ink-soft: #46586b;
	--line: #e1e8f0;
	--paper: #ffffff;
	--paper-soft: #f4f8fc;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow-card: 0 10px 30px rgba(11, 31, 56, 0.10);
	--shadow-pop: 0 18px 45px rgba(11, 31, 56, 0.22);
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1140px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--blue-500); }
a:hover { color: var(--navy-600); }
h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	color: var(--navy-800);
	margin: 0 0 0.6em;
	font-weight: 800;
	letter-spacing: -0.01em;
}
p { margin: 0 0 1.2em; }
.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: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	z-index: 999;
	background: var(--orange-500);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	text-decoration: none;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-block;
	background: var(--orange-500);
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	box-shadow: 0 6px 18px rgba(247, 148, 29, 0.35);
}
.btn:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(247, 148, 29, 0.45); }
.btn-ghost {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, 0.55);
	box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(150%) blur(10px);
	-webkit-backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 74px;
}
.site-logo {
	display: flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	line-height: 1;
	flex-shrink: 0;
	color: var(--navy-800); /* single-color logo: mark + text inherit this */
}
.site-logo svg.logo-mark { width: 37px; height: 40px; display: block; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
	font-size: 26px;
	font-weight: 900;
	font-style: italic;
	letter-spacing: -0.02em;
}
.logo-sub {
	font-size: 10.5px;
	font-weight: 700;
	/* letter-spaced so MARKETING spans the same width as McIntosh above it;
	   negative right margin cancels the spacing after the final letter */
	letter-spacing: 0.61em;
	margin-right: -0.61em;
	text-transform: uppercase;
	margin-top: 2px;
}
/* dark-background variant (footer, hero) */
.site-logo.logo-on-dark { color: #fff; }

.site-nav { margin-left: auto; }
.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.site-nav li { position: relative; }
.site-nav a {
	display: block;
	padding: 10px 11px;
	color: var(--navy-800);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: var(--radius-sm);
	white-space: nowrap;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { background: var(--blue-100); color: var(--navy-700); }
/* dropdowns */
.site-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	min-width: 240px;
	padding: 8px;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-pop);
	border: 1px solid var(--line);
}
.site-nav li:hover > ul,
.site-nav li:focus-within > ul { display: flex; }

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 11px 16px; font-size: 0.9rem; }
.site-nav .mobile-cta { display: none; }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
	display: block;
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 3px;
	background: var(--navy-800);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; top: -8px; }
.nav-toggle .bars::after { position: absolute; top: 8px; }
.nav-open .nav-toggle .bars { transform: rotate(45deg); }
.nav-open .nav-toggle .bars::before { transform: rotate(-90deg); top: 0; }
.nav-open .nav-toggle .bars::after { opacity: 0; }

/* ==========================================================================
   Hero (homepage)
   ========================================================================== */
.hero {
	background:
		radial-gradient(1000px 500px at 85% -10%, rgba(47, 127, 224, 0.45), transparent 60%),
		radial-gradient(800px 420px at -10% 110%, rgba(247, 148, 29, 0.18), transparent 55%),
		linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
	color: #dbe7f5;
	padding: 64px 0 72px;
	overflow: hidden;
}
.hero .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
	gap: 48px;
	align-items: start;
}
.hero-kicker {
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange-500);
	background: rgba(247, 148, 29, 0.12);
	border: 1px solid rgba(247, 148, 29, 0.35);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 22px;
}
.hero h1 {
	color: #fff;
	font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.7rem);
	margin-bottom: 20px;
}
.hero p.lead { font-size: 1.1rem; max-width: 56ch; }
.hero-quote {
	margin: 26px 0 0;
	padding: 18px 22px;
	border-left: 4px solid var(--orange-500);
	background: rgba(255, 255, 255, 0.06);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-size: 1.15rem;
	font-weight: 700;
	font-style: italic;
	color: #fff;
}
.hero-phone { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-phone .or { color: rgba(219, 231, 245, 0.7); font-weight: 600; }

/* ==========================================================================
   Lead form card
   ========================================================================== */
.lead-card {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-pop);
	padding: 30px 28px;
	color: var(--ink);
}
.lead-card h2 {
	font-size: 1.35rem;
	margin-bottom: 6px;
}
.lead-card .lead-sub {
	color: var(--ink-soft);
	font-size: 0.97rem;
	margin-bottom: 18px;
}
.lead-form label {
	display: block;
	font-weight: 700;
	font-size: 0.86rem;
	color: var(--navy-800);
	margin: 14px 0 5px;
}
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
	width: 100%;
	padding: 12px 14px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--ink);
	background: var(--paper-soft);
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form input:focus {
	outline: none;
	border-color: var(--blue-500);
	box-shadow: 0 0 0 3px rgba(47, 127, 224, 0.18);
	background: #fff;
}
.lead-form .btn {
	width: 100%;
	margin-top: 20px;
	font-size: 1.05rem;
}
.lead-card .lead-phone {
	text-align: center;
	margin: 16px 0 0;
	font-size: 0.95rem;
	color: var(--ink-soft);
}
.lead-card .lead-phone a {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--navy-700);
	text-decoration: none;
}
.lead-card .lead-phone a:hover { color: var(--blue-500); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 64px 0; }
.section-alt { background: var(--paper-soft); }
.section-title {
	font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem);
	text-align: center;
	max-width: 26ch;
	margin: 0 auto 14px;
}
.section-sub {
	text-align: center;
	color: var(--ink-soft);
	max-width: 62ch;
	margin: 0 auto 44px;
	font-size: 1.05rem;
}

/* services checklist */
.check-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 12px;
}
.check-grid li {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 13px 16px;
	font-weight: 600;
	color: var(--navy-800);
	font-size: 0.97rem;
}
.check-grid li::before {
	content: "";
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--orange-500);
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5l-4.3-4.3 1.7-1.7 2.6 2.6 5.8-5.8 1.7 1.7-7.5 7.5z"/></svg>') center/contain no-repeat;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.5l-4.3-4.3 1.7-1.7 2.6 2.6 5.8-5.8 1.7 1.7-7.5 7.5z"/></svg>') center/contain no-repeat;
}

/* why-it-matters stats */
.fact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}
.fact {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-card);
}
.fact .fact-number {
	font-size: 2.6rem;
	font-weight: 900;
	color: var(--blue-500);
	line-height: 1;
	margin-bottom: 12px;
}
.fact p { margin: 0; color: var(--ink-soft); }

/* service cards (the old "fourparts") */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}
.service-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 26px;
	box-shadow: var(--shadow-card);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.service-card .icon {
	width: 52px;
	height: 52px;
	border-radius: 13px;
	background: linear-gradient(140deg, var(--blue-500), var(--navy-600));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.service-card .icon svg { width: 28px; height: 28px; fill: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card h3 strong { color: var(--blue-500); }
.service-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* CTA band */
.cta-band {
	background:
		radial-gradient(800px 400px at 15% 120%, rgba(247, 148, 29, 0.25), transparent 55%),
		linear-gradient(140deg, var(--navy-800), var(--navy-600));
	color: #dbe7f5;
	text-align: center;
	padding: 70px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); max-width: 30ch; margin: 0 auto 16px; }
.cta-band p { max-width: 70ch; margin: 0 auto 30px; }
.cta-band .phone-big {
	display: inline-block;
	font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
	font-weight: 900;
	color: #fff;
	text-decoration: none;
	margin-bottom: 22px;
}
.cta-band .phone-big:hover { color: var(--orange-500); }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero {
	background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
	color: #fff;
	padding: 46px 0;
}
.page-hero h1 {
	color: #fff;
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
	margin: 0;
}
.page-hero .crumb { color: rgba(219, 231, 245, 0.75); font-size: 0.9rem; margin: 0 0 8px; }

.content-area { padding: 56px 0 72px; }
.content-area .wrap.has-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

/* entry typography (content comes from the WP editor) */
.entry { font-size: 1.03rem; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-size: 1.6rem; margin-top: 1.6em; }
.entry h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--navy-700); }
.entry h4 { font-size: 1.12rem; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry li { margin-bottom: 0.45em; }
.entry blockquote {
	margin: 1.6em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--orange-500);
	background: var(--paper-soft);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--navy-800);
}
.entry img { border-radius: var(--radius-sm); }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry th { background: var(--paper-soft); }
.entry .alignleft { float: left; margin: 0 22px 14px 0; }
.entry .alignright { float: right; margin: 0 0 14px 22px; }
.entry .aligncenter { display: block; margin: 0 auto 1.2em; }

/* sidebar */
.sidebar > * + * { margin-top: 28px; }
.widget {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}
.widget-title { font-size: 1.05rem; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--paper-soft); }
.widget li:last-child { border-bottom: 0; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--blue-100);
	transition: background 0.15s ease, transform 0.15s ease;
}
.social-links a:hover { background: var(--blue-500); transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: var(--navy-700); }
.social-links a:hover svg { fill: #fff; }

/* ==========================================================================
   Blog / archives
   ========================================================================== */
.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow-card);
	margin-bottom: 28px;
}
.post-card h2 { font-size: 1.45rem; margin-bottom: 6px; }
.post-card h2 a { color: var(--navy-800); text-decoration: none; }
.post-card h2 a:hover { color: var(--blue-500); }
.post-meta { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 16px; }
.post-card .thumb-alignleft { float: left; margin: 0 22px 12px 0; border-radius: var(--radius-sm); }
.post-card::after { content: ""; display: table; clear: both; }
.pagination { display: flex; gap: 12px; justify-content: space-between; margin-top: 36px; }
.pagination a {
	background: var(--blue-100);
	color: var(--navy-700);
	padding: 10px 20px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}
.pagination a:hover { background: var(--blue-500); color: #fff; }

/* testimonials */
.testimonial {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 5px solid var(--orange-500);
	border-radius: var(--radius);
	padding: 28px 30px;
	box-shadow: var(--shadow-card);
	margin-bottom: 24px;
	font-style: italic;
	color: var(--ink-soft);
	font-size: 1.05rem;
}
.testimonial .who {
	display: block;
	margin-top: 14px;
	font-style: normal;
	font-weight: 700;
	color: var(--navy-800);
}
.testimonial .who::before { content: "— "; color: var(--orange-500); }

/* search form */
.search-form { display: flex; gap: 10px; }
.search-form input[type="search"],
.search-form input[type="text"] {
	flex: 1;
	padding: 11px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 1rem;
	font-family: inherit;
}
.search-form .btn { padding: 11px 20px; }

/* 404 */
.error-404 { text-align: center; padding: 40px 0; }
.error-404 .code { font-size: 6rem; font-weight: 900; color: var(--blue-100); line-height: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--navy-900);
	color: #9db3cc;
	padding: 60px 0 0;
	font-size: 0.94rem;
}
.footer-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 36px;
	padding-bottom: 44px;
}
.footer-cols h3 {
	color: #fff;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 16px;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { color: #9db3cc; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-call strong { display: block; color: #fff; font-size: 1.3rem; margin-top: 4px; }
.footer-call a { color: var(--orange-500); font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.footer-call a:hover { color: #fff; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 22px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}
.footer-bottom .site-logo .logo-name { font-size: 20px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; }
.footer-bottom a { color: #9db3cc; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1160px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-pop);
		padding: 12px 20px 20px;
		max-height: calc(100vh - 74px);
		overflow-y: auto;
	}
	.nav-open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav a { padding: 13px 10px; font-size: 1.05rem; border-bottom: 1px solid var(--paper-soft); border-radius: 0; }
	.site-nav ul ul {
		display: block;
		position: static;
		box-shadow: none;
		border: 0;
		padding: 0 0 0 18px;
		min-width: 0;
	}
	.site-nav .mobile-cta { display: block; margin-top: 14px; }
	.site-nav .mobile-cta .btn { display: block; text-align: center; }
}

@media (max-width: 980px) {
	.hero .wrap { grid-template-columns: 1fr; gap: 36px; }
	.content-area .wrap.has-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.section { padding: 46px 0; }
	.hero { padding: 44px 0 52px; }
	.lead-card { padding: 24px 20px; }
	.footer-bottom { justify-content: center; text-align: center; }
}

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