/*
Theme Name: Concrete Internet Marketing
Theme URI: https://www.concreteinternetmarketing.com
Author: Jeremy Redlinger
Author URI: https://www.concreteinternetmarketing.com
Description: Custom theme for concreteinternetmarketing.com. No page builders. Warm, local, fast.
Version: 0.2.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: cim
*/

/* =========================================================
   TOKENS — from the "warm & local" redesign mockup
   ========================================================= */
:root {
	--bg: #ECE9E3;            /* light cement */
	/* Fine concrete grain over a soft trowel-finish gradient. */
	--concrete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .3 0 0 0 0 .27 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.55), transparent 55%), radial-gradient(ellipse at 90% 40%, rgba(120,110,95,.06), transparent 60%);
	/* Stamped slate: rough stone relief + fine veins as a transparent overlay (shadows dark, highlights light), so it works over any section color. */
	/* The texture SVGs are drawn into bitmaps by main.js (off the main thread, cached between pages);
	   --slate / --slate-dark start empty so the browser never paints the costly SVG filters itself. */
	--slate: none;
	--slate-dark: none;
	--slate-src: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='5' seed='7' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='5' lighting-color='rgb%28255,255,255%29' result='lit'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='lit' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -.75 0 0 0 .63' result='shade'/%3E%3CfeColorMatrix in='lit' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .75 0 0 0 -.65' result='shine'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0028' numOctaves='6' seed='19' stitchTiles='stitch' result='v'/%3E%3CfeComponentTransfer in='v' result='band'%3E%3CfeFuncR type='discrete' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3CfeFuncG type='discrete' tableValues='0'/%3E%3CfeFuncB type='discrete' tableValues='0'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3CfeGaussianBlur in='band' stdDeviation='.7' result='bandSoft'/%3E%3CfeColorMatrix in='bandSoft' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  .0425 0 0 0 0' result='crack'/%3E%3CfeColorMatrix in='bandSoft' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .0375 0 0 0 0' result='crackLight0'/%3E%3CfeOffset in='crackLight0' dx='1.5' dy='1.5' result='crackLight'/%3E%3CfeMerge%3E%3CfeMergeNode in='shade'/%3E%3CfeMergeNode in='shine'/%3E%3CfeMergeNode in='crackLight'/%3E%3CfeMergeNode in='crack'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23s%29'/%3E%3C/svg%3E");
	--slate-dark-src: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='1200'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='5' seed='7' stitchTiles='stitch' result='n'/%3E%3CfeDiffuseLighting in='n' surfaceScale='5' lighting-color='rgb%28255,255,255%29' result='lit'%3E%3CfeDistantLight azimuth='225' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='lit' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -.75 0 0 0 .63' result='shade'/%3E%3CfeColorMatrix in='lit' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .75 0 0 0 -.65' result='shine'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0028' numOctaves='6' seed='19' stitchTiles='stitch' result='v'/%3E%3CfeComponentTransfer in='v' result='band'%3E%3CfeFuncR type='discrete' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3CfeFuncG type='discrete' tableValues='0'/%3E%3CfeFuncB type='discrete' tableValues='0'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3CfeGaussianBlur in='band' stdDeviation='.7' result='bandSoft'/%3E%3CfeColorMatrix in='bandSoft' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  .025 0 0 0 0' result='crack'/%3E%3CfeColorMatrix in='bandSoft' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  .02 0 0 0 0' result='crackLight0'/%3E%3CfeOffset in='crackLight0' dx='1.5' dy='1.5' result='crackLight'/%3E%3CfeMerge%3E%3CfeMergeNode in='shade'/%3E%3CfeMergeNode in='shine'/%3E%3CfeMergeNode in='crackLight'/%3E%3CfeMergeNode in='crack'/%3E%3C/feMerge%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23s%29'/%3E%3C/svg%3E");
	--white: #ffffff;
	--sand: #D3CEC4;          /* deeper cement for panels: a clear step down from the page */
	--sand-2: #C4BEB2;
	--line: #DCD7CE;
	--line-2: #CBC5BA;
	--ink: #2B2622;
	--ink-2: #3A332D;
	--ink-3: #4E463F;
	--on-dark: #D6CCBF;
	--on-dark-2: #B3A799;
	--muted: #5A514A;
	--muted-2: #554C45;
	--green: #7DC242;
	--green-deep: #3B6B1E;
	--green-darker: #2A4F14;
	--green-tint: #EAF3DC;
	--green-forest: #2E5418;  /* deep green for large panels (the closing form section) */
	--green-on-dark: #A8D97A;
	--black-ish: #1F1B18;
	--font-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--font-body: 'Figtree', system-ui, sans-serif;
	--r-sm: 14px;
	--r: 24px;
	--r-md: 28px;
	--r-lg: 40px;
	--wrap: 1240px;
	--gutter: 24px;
	--section: clamp(72px, 9vw, 112px);
	--shadow: 0 12px 32px rgba(43, 38, 34, 0.12);
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background-color: var(--bg); background-image: var(--slate), var(--concrete); background-size: cover, auto; background-attachment: fixed, scroll; color: var(--ink); font: 18px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; }
h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green-darker); }
img, svg, video { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand); border-radius: var(--r-lg); }
.section--dark { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); }
.section--dark-top { background: var(--ink); color: var(--bg); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 48px; }
.center { text-align: center; align-items: center; }

/* Type */
.display { font-size: clamp(44px, 5.8vw, 74px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 4vw, 52px); }
.h2--sm { font-size: clamp(30px, 3.4vw, 42px); }
.h3 { font-size: 23px; }
.lede { font-size: 20px; color: var(--muted); max-width: 560px; }
.section--dark .lede, .section--dark-top .lede { color: var(--on-dark); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.kicker { color: var(--green-deep); font-weight: 700; font-size: 16px; }
.pill { display: inline-flex; align-self: flex-start; background: var(--green-tint); color: #2F5A17; font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.section-head > :first-child { flex: 1 1 520px; }
.section-head > p { flex: 1 1 360px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.section-head.section-head--center > * { flex: none; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; line-height: 1.2; border: 0; cursor: pointer; text-align: center; }
.btn--green { background: var(--green); color: var(--black-ish); }
.btn--green:hover { background: #8fcd58; color: var(--black-ish); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--ink-2); color: var(--bg); }
.btn--light { background: var(--sand); color: var(--ink); }
.btn--light:hover { background: var(--sand-2); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 11px 22px; font-size: 16px; font-weight: 600; }
.btn--block { width: 100%; }
.link-under { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 5px; padding: 12px 6px; }
.link-under:hover { color: var(--green-deep); }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: relative; z-index: 50; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font: 700 19px/1.1 var(--font-display); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.brand__logo img { max-height: 48px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 4px 26px; font-size: 16px; font-weight: 500; }
.site-nav__list > li { position: relative; }
.site-nav__list a, .site-nav__toggle { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.site-nav__list a:hover { color: var(--green-deep); }
.site-nav__list .is-current > a { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.site-nav__toggle { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; }
.site-nav__toggle svg { transition: transform .2s; }
.site-nav__sub { list-style: none; position: absolute; left: -20px; top: 100%; min-width: 300px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; display: none; flex-direction: column; }
.site-nav__sub a { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 14px; border-radius: var(--r-sm); line-height: 1.3; }
.site-nav__sub a:hover { background: var(--sand); color: var(--ink); }
.site-nav__sub a small { color: var(--muted-2); font-size: 14px; font-weight: 400; }
.has-sub:hover > .site-nav__sub, .has-sub:focus-within > .site-nav__sub, .has-sub.is-open > .site-nav__sub { display: flex; }
.has-sub.is-open > .site-nav__toggle svg { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.site-header__phone { color: var(--ink); font-weight: 600; font-size: 16px; white-space: nowrap; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sand); align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 1080px) {
	.site-header__phone { display: none; }
	.site-nav__list { gap: 4px 18px; }
}
@media (max-width: 960px) {
	.menu-btn { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 12px; right: 12px; top: 100%; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; flex-direction: column; align-items: stretch; }
	.site-header.nav-open .site-nav { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; }
	.site-nav__list > li > a, .site-nav__toggle { width: 100%; justify-content: space-between; padding: 8px 10px; }
	.site-nav__sub { position: static; display: none; box-shadow: none; padding: 0 0 8px 8px; min-width: 0; }
	.has-sub:hover > .site-nav__sub, .has-sub:focus-within > .site-nav__sub { display: none; }
	.has-sub.is-open > .site-nav__sub { display: flex; }
	.site-header__actions .btn { display: none; }
	.site-nav .btn { display: inline-flex; }
}
@media (min-width: 961px) { .site-nav .btn--mobile { display: none; } }

/* Breadcrumbs */
.crumbs { font-size: 15px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--green-deep); }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 40px 0 96px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__media { flex: 1 1 440px; min-width: 0; position: relative; padding-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 8px; font-size: 16px; color: var(--muted); }
.hero__trust strong { color: var(--ink); }
.page-hero { padding: 24px 0 72px; }
.page-hero .crumbs { margin-bottom: 32px; }

div.photo { position: relative; border-radius: var(--r-md); overflow: hidden; background-color: var(--sand-2); background-image: radial-gradient(rgba(43,38,34,.10) 1.2px, transparent 1.2px); background-size: 14px 14px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 20px; min-height: 280px; }
div.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.photo--portrait { aspect-ratio: 4 / 4.6; min-height: 0; max-width: 480px; }
.photo--tall { aspect-ratio: 4 / 4.4; min-height: 0; }
.photo--wide { aspect-ratio: 5 / 4; min-height: 0; }
.photo__label { position: relative; background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); }
.float-card { position: absolute; left: -24px; bottom: 0; background: var(--white); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 340px; font-size: 15px; line-height: 1.35; }
.float-card span { color: var(--muted); }
@media (max-width: 600px) { .float-card { position: relative; left: 0; margin-top: -32px; margin-left: 12px; margin-right: 12px; } .hero__media { padding-bottom: 0; } }

.icon-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-dot--lg { width: 52px; height: 52px; }
.icon-dot--green { background: var(--green); color: var(--ink); }
.icon-dot--sm { width: 26px; height: 26px; background: var(--green); color: var(--black-ish); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.chips__label { font-weight: 600; margin-right: 8px; }
.chip { background: var(--bg); border-radius: 999px; padding: 8px 16px; font-size: 16px; color: var(--ink); }
a.chip:hover { background: var(--white); }
.chips--sand .chip { background: var(--sand); }

/* =========================================================
   CARDS & GRIDS
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.card--sand { background: var(--sand); border-color: transparent; }
.card--bg { background: var(--bg); border-color: transparent; }
.card--green { background: var(--green); border-color: transparent; color: var(--black-ish); }
.card--dark { background: var(--ink-2); border-color: transparent; color: var(--bg); }
.card.card--dark p { color: var(--on-dark); }
.card p { color: var(--muted); font-size: 16px; }
.card.card--green p { color: var(--black-ish); }
.card h3 { font-size: 23px; }
.card__quote { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink) !important; }
a.card { transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
a.card--green:hover { color: var(--black-ish); }
.card__more { color: var(--green-deep); font-weight: 700; font-size: 16px; padding-top: 6px; margin-top: auto; }
.card--green .card__more { color: var(--black-ish); }

/* Split: media + copy */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split__copy { display: flex; flex-direction: column; gap: 20px; }
.split__copy p { font-size: 19px; color: var(--muted); }
.signature { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 6px; }
.signature strong { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--green-deep); }
.signature span { font-size: 15px; color: var(--muted-2); }

/* Check list */
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon-dot--sm { margin-top: 2px; }
.checks--compact { gap: 8px; font-size: 16px; }

/* Stats */
.stat { font-family: var(--font-display); font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -0.03em; color: var(--green-deep); }
.card--green .stat { color: var(--black-ish); }

/* Steps / timeline */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; counter-reset: step; }
.steps li { background: var(--sand); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps li:last-child { background: var(--green); color: var(--black-ish); }
.steps li p { color: var(--muted); font-size: 16px; }
.steps li:last-child p { color: var(--black-ish); }
.steps__tag { align-self: flex-start; background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; color: var(--green-deep); }

/* Tables */
.table-box { background: var(--ink-2); border-radius: var(--r); padding: 12px 28px 20px; overflow-x: auto; }
.table-box table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: 16px; }
.table-box th { text-align: left; padding: 14px 0; color: var(--on-dark-2); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--ink-3); }
.table-box td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ink-3); }
.table-box tr:last-child td { border-bottom: 0; }
.table-box .num { text-align: right; font-weight: 700; color: var(--green-on-dark); padding-right: 0; }
.table-box th.num { color: var(--on-dark-2); }
.table-box caption { caption-side: bottom; text-align: left; padding-top: 14px; font-size: 13px; color: var(--on-dark-2); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 17px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 15px; color: var(--muted-2); font-weight: 600; }
.compare thead th:last-child { background: var(--ink); color: var(--bg); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.compare td:last-child { background: var(--white); font-weight: 600; }
.compare td:first-child { color: var(--muted); }
.compare-box { overflow-x: auto; }
.compare-box table { min-width: 520px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--sand); border-radius: 20px; padding: 0 28px; }
.faq summary { font-weight: 700; font-size: 19px; cursor: pointer; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 500; line-height: 1; color: var(--green-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { color: var(--muted); padding: 0 0 22px; font-size: 17px; }
.faq details > div > * + * { margin-top: .8em; }
.section--sand .faq details { background: var(--bg); }

/* =========================================================
   CTA + FORMS
   ========================================================= */
.cta { padding: 0 var(--gutter) 96px; }
.cta__box { max-width: var(--wrap); margin: 0 auto; background-color: var(--green-forest); border-radius: var(--r-lg); padding: 72px clamp(24px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; color: var(--bg); }
.cta__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.cta__copy h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.035em; }
.cta__copy p { font-size: 19px; max-width: 480px; }
.cta__form { flex: 1 1 420px; min-width: 0; background: var(--bg); border-radius: var(--r-md); padding: 32px; }
.cta__alt { font-size: 16px; font-weight: 600; }
.cta__alt a { color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .cta__form label, .jet-form-builder__label-text { font-weight: 600; font-size: 15px; color: var(--ink); }
.field input, .field select, .field textarea,
.cta__form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .cta__form select, .cta__form textarea,
.jet-form-builder input:not([type=checkbox]):not([type=radio]):not([type=submit]), .jet-form-builder select, .jet-form-builder textarea {
	width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white); font-size: 17px; padding: 10px 16px;
}
.cta__form textarea, .jet-form-builder textarea { min-height: 120px; }
.jet-form-builder-row { margin-bottom: 16px; }
.jet-form-builder__submit, .cta__form [type=submit], .jet-form-builder button[type=submit] {
	width: 100%; min-height: 56px; border-radius: 999px; background: var(--ink); color: var(--bg); border: 0; font-weight: 700; font-size: 17px; cursor: pointer; padding: 14px 24px;
}
.jet-form-builder__submit:hover { background: var(--ink-2); }
.jet-form-builder-messages-wrap { margin-top: 12px; font-weight: 600; }
.form-fallback { display: flex; flex-direction: column; gap: 16px; }
.form-fallback p { color: var(--muted); }

/* =========================================================
   PROSE (legal pages, blog posts, editor content)
   ========================================================= */
.prose { font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 1.8em; }
.prose h3 { font-size: 24px; margin-top: 1.6em; }
.prose h4 { font-size: 20px; margin-top: 1.4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r); }
.prose blockquote { border-radius: var(--r); background: var(--sand); padding: 24px 28px; font-size: 20px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose code { background: var(--sand); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose .wp-block-image, .prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: 15px; color: var(--muted-2); margin-top: 8px; }

/* =========================================================
   BLOG
   ========================================================= */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.post-card__img { aspect-ratio: 16 / 9; background: var(--sand-2); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-size: 14px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.post-card__meta .cat { color: var(--green-deep); font-weight: 700; }
.post-card h2, .post-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.post-card p { color: var(--muted); font-size: 16px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding-top: 48px; }
.pagination .page-numbers { min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--sand); color: var(--ink); font-weight: 600; padding: 0 16px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); }
.pagination a.page-numbers:hover { background: var(--sand-2); }
.article-head { display: flex; flex-direction: column; gap: 20px; padding-bottom: 32px; }
.article-head h1 { font-size: clamp(36px, 4.6vw, 58px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted-2); font-size: 16px; }
.article-hero { border-radius: var(--r-md); overflow: hidden; margin-bottom: 48px; }
.article-hero img { display: block; width: 100%; height: auto; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body--builder { max-width: none; }
.author-box { display: flex; gap: 20px; align-items: center; background: var(--sand); border-radius: var(--r); padding: 28px; margin-top: 56px; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type=search] { flex: 1; min-height: 50px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); padding: 0 20px; font-size: 17px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 16px; margin-top: 0; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--green); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.site-footer__brand { flex: 2 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; overflow-wrap: anywhere; }
.grecaptcha-badge { visibility: hidden; }
.site-footer__brand .name { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--bg); }
.site-footer__brand .phone { color: var(--green); font-weight: 700; }
.site-footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col strong { color: var(--bg); }
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid #443C35; font-size: 14px; color: var(--on-dark-2); }
.site-footer__bottom a { color: var(--on-dark-2); }
.site-footer__legal { display: flex; gap: 20px; }

/* Misc */
.notice-404 { text-align: center; padding: 96px 0; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.notice-404 .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 16vw, 200px); line-height: .9; color: var(--green); letter-spacing: -0.05em; }
.pricing-card .price { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--ink); }
.pricing-card .price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list a { color: var(--ink); font-weight: 600; }
.tool-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 4vw, 40px); }

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

/* Logo badge (header) and light-on-dark footer logo. */
.brand__badge { width: 48px; height: 48px; border-radius: 50%; display: block; flex-shrink: 0; }
.site-footer__logo { height: 56px; width: auto; display: block; }
/* Cement-colored surfaces that sit on the textured page share the grain. */
.card--bg, .faq details, .chip { background-image: var(--concrete); }
/* JetFormBuilder consent text carries inline white (styled for the old dark site): make it readable here. */
.cta__form .jet-form-builder label.for-checkbox p, .cta__form .jet-form-builder label.for-checkbox a,
.co-form-card .jet-form-builder label.for-checkbox p, .co-form-card .jet-form-builder label.for-checkbox a { color: var(--muted) !important; font-family: var(--font-body) !important; font-size: 13px !important; line-height: 1.45; }
.cta__form .jet-form-builder label.for-checkbox a, .co-form-card .jet-form-builder label.for-checkbox a { text-decoration: underline; }

/* Stamped-slate overlay on every section background (each keeps its own color). */
.section--sand, .section--dark, .section--dark-top, .cta__box,
section[style*="background:var(--sand)"], section[style*="background:var(--ink)"], div.section[style*="background:var(--bg)"] {
	background-image: var(--slate) !important;
	background-size: cover !important;
	background-attachment: fixed !important;
}
/* Softer veins on dark sections. */
.section--dark, .section--dark-top, section[style*="background:var(--ink)"] { background-image: var(--slate-dark) !important; }
/* Phones and tablets don't support (or repaint slowly with) fixed backgrounds: let it scroll there. */
@media (hover: none), (max-width: 960px) {
	body { background-attachment: scroll, scroll; background-size: 900px 900px, auto; }
	.section--sand, .section--dark, .section--dark-top, .cta__box,
	section[style*="background:var(--sand)"], section[style*="background:var(--ink)"], div.section[style*="background:var(--bg)"] { background-attachment: scroll !important; background-size: 900px 900px !important; }
}

/* =========================================================
   SERVICES TICKER (cim/marquee)
   ========================================================= */
.marquee { display: flex; align-items: center; overflow: hidden; padding: 22px 0; }
.marquee--dark { background-color: var(--ink); color: var(--bg); background-image: var(--slate-dark); background-size: cover; background-attachment: fixed; }
.marquee--sand { background-color: var(--sand); background-image: var(--slate); background-size: cover; background-attachment: fixed; }
.marquee--green { background-color: var(--green); color: var(--black-ish); }
.marquee__label { flex-shrink: 0; padding: 0 20px 0 var(--gutter); font-weight: 700; font-size: 16px; white-space: nowrap; }
.marquee--dark .marquee__label { color: var(--on-dark); }
.marquee__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee__track { display: flex; width: max-content; animation: cim-marquee var(--marquee-speed, 40s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { list-style: none; display: flex; margin: 0; padding: 0; }
.marquee__list li { display: flex; align-items: center; }
.marquee__list li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin: 0 34px; flex-shrink: 0; }
.marquee--green .marquee__list li::after { background: var(--ink); }
.marquee__list a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.02em; white-space: nowrap; }
.marquee--dark .marquee__list a svg, .marquee--sand .marquee__list a svg { color: var(--green-deep); }
.marquee--dark .marquee__list a svg { color: var(--green); }
.marquee--dark .marquee__list a:hover { color: var(--green); }
.marquee--sand .marquee__list a:hover, .marquee--green .marquee__list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
@keyframes cim-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee__label { display: none; } }
@media (hover: none), (max-width: 960px) { .marquee--dark, .marquee--sand { background-attachment: scroll; background-size: 900px 900px; } }
@media (prefers-reduced-motion: reduce) {
	.marquee__track { animation: none; }
	.marquee__track > .marquee__list[aria-hidden] { display: none; }
	.marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* Closing section: the discovery-call calendar instead of a form. */
.cta__copy { flex: 1 1 340px; }
.cta .cta__cal { flex: 1.5 1 520px; min-width: 0; color: var(--bg); background: #222222; border: 0; }
.cta .cta__cal .co-booking__head { border-bottom-color: #333333; }
.cta .cta__cal .co-booking__head p { color: #B8B4AE; }
.cta__cal .co-booking__head h3 { font-size: 24px; }
.cta .cta__cal iframe { display: block; width: 100%; min-height: 0; height: 600px; border: 0; overflow: hidden; background: #222222; }

/* =========================================================
   MEGA MENU (Services, Resources)
   ========================================================= */
.site-header__bar { position: relative; }
.site-nav__list > li.has-mega { position: static; }
/* The panel starts right under the button (its transparent top padding bridges the gap), and waits a moment before closing so a mouse path that strays doesn't snap it shut. */
.mega { display: block; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility 0s linear .35s; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 24px); padding-top: 24px; z-index: 60; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.has-mega:hover > .site-nav__toggle svg, .has-mega.is-open > .site-nav__toggle svg { transform: rotate(180deg); }
.mega__inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; background: var(--white); border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(43, 38, 34, .18), 0 2px 6px rgba(43, 38, 34, .06); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
.mega__links { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-content: start; }
.mega__links--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-nav .mega__link { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: var(--r-sm); color: var(--ink); min-height: 0; line-height: 1.35; }
.site-nav .mega__link:hover, .site-nav .mega__link:focus-visible { background: var(--sand); color: var(--ink); }
.site-nav .mega__link.is-current { background: var(--green-tint); }
.mega__link .icon-dot { width: 42px; height: 42px; }
.mega__link strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.mega__link small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; font-weight: 400; }
.mega__aside { border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--sand); }
.mega__aside--dark { background-color: var(--ink); background-image: var(--slate-dark); background-size: cover; color: var(--bg); }
.mega__aside h3 { font-size: 22px; }
.mega__aside p { color: var(--on-dark); font-size: 15px; line-height: 1.5; }
.mega__aside .btn { margin-top: 4px; }
.site-nav .mega__more { min-height: 0; margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; color: var(--green-deep); }
.site-nav .mega__aside--dark .mega__more { color: var(--green); }
.mega__eyebrow { font-family: var(--font-body); font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.mega__posts { list-style: none; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.site-nav .mega__posts a { display: flex; gap: 12px; align-items: flex-start; min-height: 0; color: var(--ink); line-height: 1.3; }
.site-nav .mega__posts a:hover strong { color: var(--green-deep); }
.mega__thumb { flex-shrink: 0; width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--sand-2); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega__posts strong { display: block; font-size: 14px; font-weight: 600; }
.mega__posts small { display: block; color: var(--muted-2); font-size: 13px; margin-top: 2px; }

/* Who we work with: the "Concrete contractors only" card sits on the left (desktop only). */
.mega__inner--aside-left { grid-template-columns: 320px minmax(0, 1fr); }
.mega__inner--aside-left > .mega__aside { order: -1; }
@media (max-width: 1080px) {
	.mega__inner { grid-template-columns: minmax(0, 1fr) 260px; }
	.mega__inner--aside-left { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (max-width: 960px) {
	.site-nav__list > li.has-mega { position: relative; }
	.mega { position: static; padding: 0 0 8px; display: none; visibility: visible; opacity: 1; transform: none; transition: none; }
	.has-mega:hover > .mega, .has-mega:focus-within > .mega { display: none; }
	.has-mega.is-open > .mega { display: block; }
	.has-mega:hover > .site-nav__toggle svg { transform: none; }
	.has-mega.is-open > .site-nav__toggle svg { transform: rotate(180deg); }
	.mega__inner, .mega__inner--aside-left { box-shadow: none; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; border-radius: 0; }
	.mega__inner--aside-left > .mega__aside { order: 0; }
	.mega__links--2col { grid-template-columns: minmax(0, 1fr); }
	.site-nav .mega__link { padding: 10px; }
	.mega__link .icon-dot { width: 36px; height: 36px; }
	.mega__aside:not(.mega__aside--dark) { display: none; }
	.mega__aside--dark { padding: 20px; }
}

/* =========================================================
   FOOTER (redesign)
   ========================================================= */
.site-footer { background-color: var(--ink); background-image: var(--slate-dark); background-size: cover; background-attachment: fixed; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: 24px; color: var(--on-dark); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px 40px; padding-top: 80px; padding-bottom: 56px; }
.site-footer__brand { gap: 18px; align-items: flex-start; }
.site-footer__home { display: inline-block; }
.site-footer__logo { height: 52px; }
.site-footer__tagline { font-size: 16px; line-height: 1.55; color: var(--on-dark); max-width: 340px; }
.site-footer__brand .btn { color: var(--black-ish); }
.site-footer__brand .btn:hover { color: var(--black-ish); }
.site-footer__social { list-style: none; display: flex; gap: 10px; padding-top: 6px; }
.site-footer__social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--bg); transition: background .15s, color .15s, border-color .15s; }
.site-footer__social a:hover { background: var(--green); border-color: var(--green); color: var(--black-ish); }
.site-footer__col { gap: 16px; }
.site-footer__col strong { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.site-footer__col ul { gap: 11px; }
.site-footer__col a { font-size: 15px; color: var(--on-dark); }
.site-footer__col a:hover { color: var(--bg); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 28px; align-items: center; }
.site-footer__bottom a:hover { color: var(--bg); }

@media (max-width: 1000px) {
	.site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 56px; gap: 36px 24px; }
	.site-footer__col:last-child { grid-column: 1 / -1; }
	.site-footer__col:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (hover: none), (max-width: 960px) { .site-footer { background-attachment: scroll; background-size: 900px 900px; } }
/* Per-card source line under a statistic. */
.card__more:has(.card__source) { margin-top: auto; padding-top: 10px; font-weight: 500; }
.card__source { display: block; font-size: 13px; font-weight: 500; color: var(--muted-2); }
.card__source a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 3px; }
.card__source a:hover { color: var(--green-deep); text-decoration-color: var(--green); }
.card--green .card__source, .card--green .card__source a { color: var(--black-ish); }
