/* Sprinkler City v3 — original design system (not Mr. Sprinkler) */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
:root {
	/* Very light radius — slight soften only */
	--sc-radius: 6px;
	--sc-radius-sm: 4px;
	--sc-radius-lg: 8px;
}

/* Light radius on UI (not sharp 0, not heavy 24+) */
.btn,
.btn-primary,
.btn-accent,
.btn-ghost,
.menu-toggle,
.brand-mark,
.card,
.post-card,
.svc-card,
.faq-item,
.cta-band,
.hero-stats div,
.sc-form input,
.sc-form textarea,
.sc-form select,
.chip,
.hero-kicker {
	border-radius: 6px !important;
}
.card,
.post-card,
.svc-card,
.cta-band {
	border-radius: 8px !important;
}
.menu-toggle,
.brand-mark,
.sc-form input,
.sc-form textarea,
.sc-form select,
.mobile-app-bar a.mab-call {
	border-radius: 4px !important;
}
.chip,
.hero-kicker {
	border-radius: 6px !important;
}
body {
	margin: 0;
	font-family: 'Outfit', system-ui, sans-serif;
	color: var(--sc-ink, #111);
	background: #fff;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	min-width: 320px;
}
.site-main {
	background: #fff;
}
body.sc-font-dm { font-family: 'DM Sans', system-ui, sans-serif; }
body.sc-font-fraunces { font-family: 'DM Sans', system-ui, sans-serif; }
body.sc-font-fraunces h1, body.sc-font-fraunces h2, body.sc-font-fraunces h3,
body.sc-font-fraunces .display {
	font-family: 'Fraunces', Georgia, serif;
	font-weight: 700;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sc-primary); text-decoration: none; }
a:hover { color: var(--sc-accent); }
button, .btn { font-family: inherit; cursor: pointer; }

.wrap {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

/* Optional light patterns stay on white */
body.sc-pattern-dots .site-main {
	background-color: #fff;
	background-image: radial-gradient(color-mix(in srgb, var(--sc-primary) 18%, transparent) 0.55px, transparent 0.55px);
	background-size: 18px 18px;
}
body.sc-pattern-grid .site-main {
	background-color: #fff;
	background-image:
		linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
	background-size: 32px 32px;
}
body.sc-pattern-none .site-main,
body.sc-pattern-waves .site-main {
	background: #fff;
}
body.sc-pattern-waves .hero {
	position: relative;
}

/* ---- Header: floating pill nav (not MSR sticky cream bar) ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: .75rem 0;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--sc-primary) 12%, transparent);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.brand {
	display: flex;
	align-items: center;
	gap: .65rem;
	color: var(--sc-ink);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: -.02em;
	text-decoration: none;
	min-width: 0;
}
.brand:hover { color: var(--sc-ink); }
.brand-logo {
	display: block !important;
	max-height: 48px;
	width: auto !important;
	height: auto !important;
	max-width: min(240px, 55vw);
	object-fit: contain;
	flex-shrink: 0;
}
.brand-logo--footer {
	max-height: 56px;
	max-width: 260px;
	/* Keep logos readable on dark footer */
	background: rgba(255,255,255,.92);
	padding: .4rem .55rem;
	border-radius: 6px;
}
.brand-name {
	line-height: 1.2;
}
.brand--footer {
	color: #fff;
	margin-bottom: .25rem;
}
.brand--footer:hover { color: #fff; }
.brand--footer .brand-name {
	color: #fff;
	font-size: 1.1rem;
}
.brand-mark {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--sc-radius-sm, 14px);
	background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent));
	display: grid;
	place-items: center;
	color: #fff;
	font-size: .85rem;
	font-weight: 800;
	flex-shrink: 0;
}
.nav-primary {
	display: none;
	gap: 1.25rem;
	align-items: center;
}
.nav-primary a {
	color: var(--sc-ink);
	font-weight: 600;
	font-size: .92rem;
	opacity: .85;
}
.nav-primary a:hover { opacity: 1; color: var(--sc-primary); }
.header-cta {
	display: flex;
	align-items: center;
	gap: .5rem;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	padding: .75rem 1.25rem;
	border-radius: var(--sc-radius, 22px);
	font-weight: 700;
	font-size: .9rem;
	border: 0;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary {
	background: var(--sc-primary);
	color: #fff !important;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--sc-primary) 35%, transparent);
}
.btn-primary:hover { background: color-mix(in srgb, var(--sc-primary) 90%, #000); color: #fff !important; }
.btn-accent {
	background: var(--sc-accent);
	color: #111 !important;
	font-weight: 800;
}
.btn-ghost {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255,255,255,.55);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.phone-chip {
	display: none;
	font-weight: 700;
	color: var(--sc-primary);
	font-size: .95rem;
}

@media (min-width: 900px) {
	.nav-primary { display: flex; }
	.phone-chip { display: inline-flex; }
	.menu-toggle { display: none !important; }
}

.menu-toggle {
	border: 0;
	background: var(--sc-primary);
	color: #fff;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--sc-radius-sm, 14px);
	font-size: 1.2rem;
}
.mobile-drawer {
	display: none;
	padding: 1rem;
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer a {
	display: block;
	padding: .75rem 0;
	font-weight: 600;
	color: var(--sc-ink);
	border-bottom: 1px solid #eee;
}

/* ---- Hero: full-bleed, no heavy rounding ---- */
.hero {
	color: #fff;
	padding: 4.5rem 0 4rem;
	position: relative;
	overflow: hidden;
	border-radius: 0 !important;
	margin: 0;
	/* Reserve space so LCP photo + text don't shift layout */
	min-height: 20rem;
	background-color: #14532d;
	background-size: cover;
	background-position: center;
}
.page-hero {
	border-radius: 0 !important;
	overflow: hidden;
	min-height: 12rem;
	background-color: #14532d;
	background-size: cover;
	background-position: center;
}
.hero::after {
	content: '';
	position: absolute;
	inset: auto -10% -40% 40%;
	height: 80%;
	background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%);
	pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 40rem; }
.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .75rem;
	border-radius: 999px;
	background: rgba(255,255,255,.16);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -.03em;
	font-weight: 800;
}
.hero p {
	margin: 0 0 1.5rem;
	font-size: 1.1rem;
	opacity: .92;
	max-width: 34rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .75rem;
	margin-top: 2.25rem;
	max-width: 28rem;
}
.hero-stats div {
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--sc-radius, 22px);
	padding: .75rem;
	text-align: center;
}
.hero-stats strong { display: block; font-size: 1.25rem; }
.hero-stats span { font-size: .72rem; opacity: .85; text-transform: uppercase; letter-spacing: .04em; }

/* ---- Sections ---- */
.section { padding: 3.5rem 0; }
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.75rem;
}
.section-head h2 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing: -.02em;
	line-height: 1.15;
}
.section-head p { margin: .35rem 0 0; color: var(--sc-muted); max-width: 32rem; }
.eyebrow {
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sc-primary);
	margin: 0 0 .4rem;
}

/* Service cards — asymmetric bento */
.bento {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 720px) {
	.bento { grid-template-columns: repeat(6, 1fr); }
	.bento .card:nth-child(1) { grid-column: span 3; }
	.bento .card:nth-child(2) { grid-column: span 3; }
	.bento .card:nth-child(3),
	.bento .card:nth-child(4),
	.bento .card:nth-child(5),
	.bento .card:nth-child(6) { grid-column: span 2; }
}
.card {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--sc-primary) 10%, #e5e5e5);
	border-radius: var(--sc-radius-lg, 28px);
	padding: 1.35rem 1.4rem;
	box-shadow: 0 10px 30px rgba(0,0,0,.04);
	transition: transform .15s, border-color .15s;
}
.card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--sc-accent) 50%, #ddd);
}
.card-icon {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: color-mix(in srgb, var(--sc-primary) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--sc-primary) 25%, #ddd);
	margin-bottom: .85rem;
	font-size: .75rem;
	font-weight: 800;
	color: var(--sc-primary);
}
.card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--sc-muted); font-size: .95rem; }

/* Area chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
	padding: .45rem .9rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--sc-primary) 18%, #ddd);
	font-weight: 600;
	font-size: .88rem;
	color: var(--sc-ink);
}

/* FAQ accordion */
.faq-list { display: grid; gap: .65rem; max-width: 48rem; }
.faq-item {
	background: #fff;
	border-radius: var(--sc-radius, 22px);
	border: 1px solid #e8e8e8;
	overflow: hidden;
}
.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 1rem 1.15rem;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--sc-primary); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-a {
	padding: 0 1.15rem 1.1rem;
	color: var(--sc-muted);
	margin: 0;
}

/* Blog */
.posts-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	.posts-grid { grid-template-columns: repeat(3, 1fr); }
}
.post-card {
	background: #fff;
	border-radius: var(--sc-radius-lg, 28px);
	overflow: hidden;
	border: 1px solid #ececec;
	display: flex;
	flex-direction: column;
}
.post-card .thumb {
	aspect-ratio: 16/10;
	background: linear-gradient(135deg, var(--sc-primary), var(--sc-accent));
}
.post-card .body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card time { font-size: .78rem; color: var(--sc-muted); font-weight: 600; }
.post-card h3 { margin: .35rem 0 .5rem; font-size: 1.05rem; line-height: 1.3; }
.post-card h3 a { color: var(--sc-ink); }
.post-card p { margin: 0 0 1rem; color: var(--sc-muted); font-size: .9rem; flex: 1; }

/* Content pages */
.page-hero {
	padding: 3rem 0 2rem;
	background: var(--sc-hero-gradient);
	color: #fff;
}
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { margin: .6rem 0 0; opacity: .9; max-width: 36rem; }
.prose {
	padding: 2.5rem 0 3rem;
	max-width: 44rem;
}
.prose h2 { margin-top: 1.75rem; }
.prose p, .prose li { color: #333; }

/* Contact strip */
.cta-band {
	margin: 2rem 0 0;
	padding: 2rem;
	border-radius: var(--sc-radius-lg, 28px);
	background: var(--sc-primary);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.cta-band h2 { margin: 0; font-size: 1.5rem; color: #fff; }
.cta-band p { margin: .35rem 0 0; opacity: .9; }

/* Footer */
.site-footer {
	background: var(--sc-bar);
	color: rgba(255,255,255,.85);
	padding: 2.75rem 0 6.5rem;
	margin-top: 2rem;
}
.footer-grid {
	display: grid;
	gap: 1.75rem;
}
@media (min-width: 760px) {
	.footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h3.footer-heading,
.site-footer h4 {
	margin: 0 0 .75rem;
	color: #fff;
	font-size: .8rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--sc-accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .35rem 0; }
.footer-bottom {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .85rem;
	opacity: .7;
}

/* ---- Mobile app bar: 4 tabs, preset colors ---- */
.mobile-app-bar {
	display: none;
}
@media (max-width: 767px) {
	.mobile-app-bar {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 1001;
		background: var(--sc-bar);
		padding-bottom: env(safe-area-inset-bottom, 0);
		box-shadow: 0 -10px 30px rgba(0,0,0,.25);
		border-top: 3px solid var(--sc-bar-hi);
	}
	.mobile-app-bar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: .15rem;
		min-height: 58px;
		padding: .4rem .2rem;
		color: rgba(255,255,255,.75);
		font-size: .68rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .04em;
	}
	.mobile-app-bar a svg { width: 22px; height: 22px; }
	.mobile-app-bar a.is-active { color: var(--sc-accent); }
	.mobile-app-bar a.mab-call {
		background: var(--sc-bar-hi);
		color: #fff;
		margin: .35rem .15rem;
		border-radius: var(--sc-radius-sm, 14px);
		min-height: 48px;
	}
	body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}

/* Single post */
.article {
	padding: 2.5rem 0 3rem;
	max-width: 42rem;
	margin: 0 auto;
}
.article h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); margin: 0 0 1rem; }
.article .meta { color: var(--sc-muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* ---- Service cards with images ---- */
.svc-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.svc-grid--home {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 960px) {
	.svc-grid--home {
		grid-template-columns: repeat(3, 1fr);
	}
}
/* Full services page: stacked detail cards with large images */
.svc-grid:not(.svc-grid--home) {
	grid-template-columns: 1fr;
	gap: 2rem;
}
.svc-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: var(--sc-radius-lg, 8px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.svc-card--link {
	color: inherit;
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.svc-card--link:hover {
	border-color: color-mix(in srgb, var(--sc-primary) 35%, #ddd);
	box-shadow: 0 8px 24px rgba(0,0,0,.06);
	transform: translateY(-2px);
	color: inherit;
}
.svc-card__img {
	aspect-ratio: 16 / 10;
	background: #e8eee9;
	overflow: hidden;
}
.svc-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.svc-grid:not(.svc-grid--home) .svc-card {
	display: grid;
	grid-template-columns: 1fr;
}
@media (min-width: 800px) {
	.svc-grid:not(.svc-grid--home) .svc-card {
		grid-template-columns: minmax(240px, 38%) 1fr;
		align-items: stretch;
	}
	.svc-grid:not(.svc-grid--home) .svc-card__img {
		aspect-ratio: auto;
		min-height: 100%;
		height: 100%;
	}
}
.svc-card__body {
	padding: 1.15rem 1.2rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: .35rem;
}
.svc-card__body h2,
.svc-card__body h3 {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
	color: var(--sc-ink, #111);
}
.svc-card__blurb {
	margin: 0;
	color: var(--sc-muted, #555);
	font-size: .95rem;
	font-weight: 600;
}
.svc-card__body > p {
	margin: 0;
	color: var(--sc-muted, #555);
	font-size: .95rem;
}
.svc-card__more {
	margin-top: .5rem;
	font-size: .88rem;
	font-weight: 700;
	color: var(--sc-primary);
}
.svc-card__detail {
	margin-top: .75rem;
	padding-top: .75rem;
	border-top: 1px solid #efefef;
}
.svc-card__detail h2 {
	font-size: 1.15rem;
	margin-top: 1.25rem;
}
.svc-card__detail h2:first-child {
	margin-top: 0;
}
.svc-card__detail p,
.svc-card__detail li {
	font-size: .95rem;
	line-height: 1.6;
	color: #333;
}
.svc-card__detail ul,
.svc-card__detail ol {
	margin: .5rem 0 1rem;
	padding-left: 1.2rem;
}
.home-prose {
	max-width: 48rem;
	margin: 0 auto;
	padding: 0 0 1rem;
}
.home-prose h2 {
	margin: 1.5rem 0 .6rem;
	font-size: 1.35rem;
}
.home-prose p {
	color: #333;
	margin: 0 0 1rem;
}

/* Form */
.sc-form {
	display: grid;
	gap: .85rem;
	max-width: 32rem;
}
.sc-form label { font-weight: 600; font-size: .9rem; display: grid; gap: .35rem; }
.sc-form input, .sc-form textarea, .sc-form select {
	padding: .8rem 1rem;
	border-radius: var(--sc-radius-sm, 14px);
	border: 1px solid #d4d4d4;
	font: inherit;
	background: #fff;
}
.sc-form input:focus, .sc-form textarea:focus {
	outline: 2px solid color-mix(in srgb, var(--sc-accent) 60%, transparent);
	border-color: var(--sc-primary);
}
