/* =========================================================================
   Stone Water Digital — main stylesheet
   Sections: 1 tokens · 2 base · 3 layout · 4 buttons · 5 header · 6 hero
   7 sections · 8 services · 9 process · 10 work · 11 quotes · 12 faq
   13 forms · 14 contact · 15 blog · 16 footer · 17 utilities · 18 responsive
   ====================================================================== */

/* 1 — Design tokens ----------------------------------------------------- */
/* Every colour here is sampled from the Stone Water Digital logo:
   the mint square (#ABE1DA), the coral square (#F58C8C), the deep green
   where they overlap (#45675C), and the wordmark navy (#244455).
   --swd-water-deep is the mint's hue darkened to a 5.2:1 contrast ratio so
   it is safe for buttons and links; the pale mint itself never carries text. */
:root {
	--swd-ink:          #142A38;  /* headings — wordmark navy, deepened */
	--swd-navy:         #244455;  /* the wordmark navy exactly */
	--swd-deep:         #10242F;  /* dark grounds: hero, footer, dark bands */
	--swd-slate:        #37505E;  /* body text */
	--swd-stone:        #5E7683;  /* muted text */
	--swd-stone-soft:   #90A3AC;
	--swd-paper:        #FFFFFF;
	--swd-tint:         #F0F7F6;  /* paper, biased toward the mint */
	--swd-line:         #DCE7E7;
	--swd-water:        #58C3B6;  /* brand mint at full strength */
	--swd-water-deep:   #2B786F;  /* interactive: buttons, links (AA on white) */
	--swd-water-light:  #ABE1DA;  /* the mint square as it appears in the logo */
	--swd-sea:          #45675C;  /* the overlap green */
	--swd-coral:        #F16665;  /* second brand colour — punctuation only */
	--swd-coral-soft:   #F58C8C;

	--font-head: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--r-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(11,18,21,.06), 0 4px 12px rgba(11,18,21,.05);
	--shadow-md: 0 2px 4px rgba(11,18,21,.06), 0 12px 32px rgba(11,18,21,.09);
	--shadow-lg: 0 8px 24px rgba(11,18,21,.10), 0 30px 60px rgba(11,18,21,.12);

	--gutter: clamp(20px, 5vw, 40px);
	--section-y: clamp(64px, 8vw, 116px);
	--maxw: 1200px;
}

/* 2 — Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--swd-slate);
	background: var(--swd-paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--swd-ink);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--swd-water-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--swd-ink); }

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

ul, ol { padding-left: 1.2em; }

:focus-visible {
	outline: 3px solid var(--swd-water);
	outline-offset: 3px;
	border-radius: 4px;
}

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

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--swd-ink); color: #fff; padding: 12px 20px;
	border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* 3 — Layout ------------------------------------------------------------ */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container-narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(28px, 4vw, 48px); }
.section-tint { background: var(--swd-tint); }

.section-dark {
	background: var(--swd-deep);
	color: #C7D2D6;
}
.section-dark h2, .section-dark h3, .section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: var(--swd-water-light); }
.section-dark .section-intro { color: #9FB0B6; }

.section-head { margin-bottom: clamp(32px, 4vw, 54px); max-width: 720px; }
.section-head.is-center { margin-inline: auto; text-align: center; }

.eyebrow {
	font-family: var(--font-head);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--swd-water-deep);
	margin: 0 0 .7em;
}
.eyebrow-light { color: var(--swd-water); }

.section-title { margin-bottom: .35em; }
.section-intro { color: var(--swd-stone); font-size: 1.05rem; margin: 0; }

.lead { font-size: 1.15rem; color: var(--swd-slate); }

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 76px);
	align-items: start;
}
.split.is-reversed .split-left { order: 2; }
.split.is-reversed .split-right { order: 1; }
.split-narrow { grid-template-columns: 1.55fr 1fr; }

.center-action { text-align: center; margin-top: clamp(32px, 4vw, 48px); }

/* 4 — Buttons ----------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .96rem;
	line-height: 1;
	padding: 15px 26px;
	border-radius: var(--r-pill);
	border: 1.5px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
	background: var(--swd-water-deep);
	color: #fff;
	box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--swd-ink); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline {
	border-color: rgba(255,255,255,.34);
	color: #fff;
	background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* On light backgrounds the outline button flips to dark-on-light. */
.section:not(.section-dark) .btn-outline,
.empty-state .btn-outline {
	border-color: var(--swd-line);
	color: var(--swd-ink);
}
.section:not(.section-dark) .btn-outline:hover { background: var(--swd-tint); color: var(--swd-ink); }

.btn-ghost {
	background: transparent;
	color: var(--swd-slate);
	border-color: var(--swd-line);
}
.btn-ghost:hover { background: var(--swd-tint); color: var(--swd-ink); }

.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }

.btn-icon { width: 18px; height: 18px; flex: none; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-head);
	font-weight: 600;
	text-decoration: none;
	color: var(--swd-water-deep);
}
.link-arrow .swd-icon { width: 17px; height: 17px; transition: transform .18s ease; }
.link-arrow:hover .swd-icon { transform: translateX(4px); }

.swd-icon { width: 22px; height: 22px; flex: none; }

/* 5 — Header ------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255,255,255,.88);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
	border-bottom-color: var(--swd-line);
	box-shadow: 0 1px 20px rgba(11,18,21,.06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.brand a, .brand-text {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
	color: var(--swd-ink);
}
.brand img, .brand-img { max-height: 40px; width: auto; }
.brand-mark { color: var(--swd-water); display: flex; }
.brand-name strong {
	font-family: var(--font-head);
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list li { position: relative; }
.nav-list a {
	display: block;
	padding: 9px 13px;
	font-size: .95rem;
	font-weight: 500;
	color: var(--swd-slate);
	text-decoration: none;
	border-radius: var(--r-sm);
	transition: background-color .16s ease, color .16s ease;
}
.nav-list a:hover { background: var(--swd-tint); color: var(--swd-ink); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { color: var(--swd-water-deep); font-weight: 600; }

/* Dropdowns */
.nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	padding: 8px;
	list-style: none;
	margin: 6px 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .18s ease;
	z-index: 20;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
	display: none;
	background: transparent;
	border: 1.5px solid var(--swd-line);
	border-radius: var(--r-sm);
	width: 46px; height: 44px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars span {
	display: block;
	width: 20px; height: 2px;
	background: var(--swd-ink);
	border-radius: 2px;
	transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6 — Hero -------------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--swd-deep);
	color: #C9D4D8;
	overflow: hidden;
	padding-block: clamp(72px, 11vw, 148px);
	isolation: isolate;
}
.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: .72;
}
.hero-bg svg { width: 100%; height: 100%; }

.hero-inner { max-width: 820px; }

.hero-title {
	color: #fff;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	margin-bottom: .35em;
	text-wrap: balance;
}
.hero-text {
	font-size: clamp(1.05rem, 1.8vw, 1.28rem);
	color: #A9B8BD;
	max-width: 620px;
	margin-bottom: 2em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 30px;
	list-style: none;
	padding: 0;
	margin: 44px 0 0;
	border-top: 1px solid rgba(255,255,255,.12);
	padding-top: 26px;
}
.hero-strip li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: .92rem;
	color: #9FB0B6;
}
.hero-strip .swd-icon { width: 17px; height: 17px; color: var(--swd-water-light); }

/* Page hero (inner pages) */
.page-hero {
	background: var(--swd-deep);
	color: #A9B8BD;
	padding-block: clamp(56px, 8vw, 104px);
}
.page-hero h1 { color: #fff; text-wrap: balance; }
.page-hero-text { font-size: 1.1rem; color: #9FB0B6; margin-top: .8em; }
.page-hero .post-meta { color: #84969C; }

/* 7 — Services ---------------------------------------------------------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
	gap: 20px;
}

.service-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 30px 28px 26px;
	background: #fff;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-lg);
	text-decoration: none;
	color: inherit;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
	color: inherit;
}

.service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px; height: 50px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--swd-water) 13%, transparent);
	color: var(--swd-water-deep);
	margin-bottom: 6px;
}
.service-icon-lg { width: 62px; height: 62px; border-radius: 18px; margin-bottom: 20px; }
.service-icon-lg .swd-icon { width: 28px; height: 28px; }

.service-title { margin: 0; font-size: 1.22rem; }
.service-text { color: var(--swd-stone); font-size: .98rem; margin: 0; flex: 1; }
.service-more {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-head); font-weight: 600; font-size: .9rem;
	color: var(--swd-water-deep); margin-top: 8px;
}
.service-more .swd-icon { width: 16px; height: 16px; transition: transform .18s ease; }
.service-card:hover .service-more .swd-icon { transform: translateX(4px); }

.service-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.service-jump a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-pill);
	font-size: .9rem;
	font-weight: 500;
	color: var(--swd-slate);
	text-decoration: none;
	background: #fff;
	transition: all .16s ease;
}
.service-jump a:hover { border-color: var(--swd-water); color: var(--swd-water-deep); }
.service-jump .swd-icon { width: 17px; height: 17px; color: var(--swd-water-deep); }

.service-detail { scroll-margin-top: 92px; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tick-list li {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 15px 4px;
	border-bottom: 1px solid var(--swd-line);
	font-size: 1rem;
}
.tick-list li:last-child { border-bottom: 0; }
.tick-list .swd-icon { width: 19px; height: 19px; color: var(--swd-water); margin-top: 3px; }

/* Reasons */
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.reason-grid-4 { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.reason-icon {
	display: inline-flex;
	width: 42px; height: 42px;
	align-items: center; justify-content: center;
	border-radius: 12px;
	background: color-mix(in srgb, var(--swd-water) 13%, transparent);
	color: var(--swd-water-deep);
	margin-bottom: 14px;
}
.reason h3 { font-size: 1.1rem; margin-bottom: .35em; }
.reason p { color: var(--swd-stone); font-size: .97rem; margin: 0; }

/* Stats */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
	background: #fff;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-lg);
	padding: 26px 24px;
}
.stat strong {
	display: block;
	font-family: var(--font-head);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--swd-water-deep);
	margin-bottom: 8px;
}
.stat span { font-size: .92rem; color: var(--swd-stone); }

/* 9 — Process ----------------------------------------------------------- */
.process-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: step;
}
.process-step {
	position: relative;
	padding: 30px 26px;
	border-radius: var(--r-lg);
	background: #fff;
	border: 1px solid var(--swd-line);
}
.section-dark .process-step {
	background: rgba(255,255,255,.045);
	border-color: rgba(255,255,255,.1);
}
.section-dark .process-step p { color: #9FB0B6; }

/* The step numbers are the one place the logo's coral appears in the UI —
   enough to tie the second brand colour in, not enough to fight the mint. */
.process-num {
	font-family: var(--font-head);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--swd-coral);
	display: block;
	margin-bottom: 16px;
}
.section-dark .process-num { color: var(--swd-coral-soft); }
.process-icon {
	display: inline-flex;
	width: 40px; height: 40px;
	align-items: center; justify-content: center;
	border-radius: 11px;
	background: color-mix(in srgb, var(--swd-water) 14%, transparent);
	color: var(--swd-water-deep);
	margin-bottom: 14px;
}
.section-dark .process-icon { color: var(--swd-water-light); }
.process-step h3 { font-size: 1.12rem; margin-bottom: .4em; }
.process-step p { color: var(--swd-stone); font-size: .95rem; margin: 0; }

/* 10 — Work ------------------------------------------------------------- */
.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 26px;
}

.project-card {
	background: #fff;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .22s ease, box-shadow .22s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.section-dark .project-card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); }
.section-dark .project-title a { color: #fff; }
.section-dark .project-excerpt, .section-dark .project-client { color: #9FB0B6; }

.project-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--swd-tint); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-placeholder {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 100%; color: var(--swd-stone-soft);
}
.project-placeholder .swd-icon { width: 40px; height: 40px; }

.project-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-tag {
	font-family: var(--font-head);
	font-size: .74rem; font-weight: 600;
	letter-spacing: .11em; text-transform: uppercase;
	color: var(--swd-water-deep); margin: 0;
}
.section-dark .project-tag { color: var(--swd-water-light); }
.project-title { font-size: 1.22rem; margin: 0; }
.project-title a { color: var(--swd-ink); text-decoration: none; }
.project-title a:hover { color: var(--swd-water-deep); }
.project-client { font-size: .9rem; color: var(--swd-stone); margin: 0; }
.project-excerpt { font-size: .96rem; color: var(--swd-stone); margin: 0; flex: 1; }
.project-result {
	display: flex; align-items: center; gap: 8px;
	font-size: .92rem; font-weight: 600; color: var(--swd-water-deep);
	background: color-mix(in srgb, var(--swd-water) 10%, transparent);
	padding: 10px 13px; border-radius: var(--r-sm); margin: 4px 0 0;
}
.project-result .swd-icon { width: 17px; height: 17px; }
.project-stack {
	display: flex; flex-wrap: wrap; gap: 6px;
	list-style: none; padding: 0; margin: 6px 0 0;
}
.project-stack li {
	font-size: .76rem;
	padding: 4px 10px;
	border-radius: var(--r-pill);
	background: var(--swd-tint);
	color: var(--swd-stone);
}
.section-dark .project-stack li { background: rgba(255,255,255,.08); color: #9FB0B6; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; }
.filter-chip {
	padding: 9px 17px;
	border-radius: var(--r-pill);
	border: 1px solid var(--swd-line);
	font-size: .89rem; font-weight: 500;
	color: var(--swd-slate); text-decoration: none;
	transition: all .16s ease;
}
.filter-chip:hover { border-color: var(--swd-water); color: var(--swd-water-deep); }
.filter-chip.is-active { background: var(--swd-ink); border-color: var(--swd-ink); color: #fff; }

.project-meta-card {
	background: var(--swd-tint);
	border-radius: var(--r-lg);
	padding: 28px 26px;
	position: sticky;
	top: 100px;
}
.project-meta-card h2 { font-size: 1.05rem; margin-bottom: 1em; }
.project-meta-card dl { margin: 0 0 20px; }
.project-meta-card dt {
	font-size: .76rem; text-transform: uppercase; letter-spacing: .1em;
	color: var(--swd-stone); font-weight: 600; margin-top: 14px;
}
.project-meta-card dt:first-child { margin-top: 0; }
.project-meta-card dd { margin: 3px 0 0; font-weight: 500; color: var(--swd-ink); }

/* 11 — Quotes ----------------------------------------------------------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 24px; }
.quote {
	margin: 0;
	background: var(--swd-tint);
	border-radius: var(--r-lg);
	padding: 30px 28px;
	display: flex; flex-direction: column; gap: 20px;
}
.quote blockquote {
	margin: 0;
	font-size: 1.04rem;
	color: var(--swd-slate);
	position: relative;
	padding-top: 26px;
}
.quote blockquote::before {
	content: '“';
	position: absolute; top: -14px; left: -4px;
	font-family: var(--font-head);
	font-size: 4rem; line-height: 1;
	color: var(--swd-water); opacity: .35;
}
.quote figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.quote-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-family: var(--font-head); font-size: .96rem; color: var(--swd-ink); }
.quote figcaption em { font-style: normal; font-size: .87rem; color: var(--swd-stone); }

/* 12 — FAQ -------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
	background: #fff;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-md);
	overflow: hidden;
}
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 24px;
	cursor: pointer;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--swd-ink);
	list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
	position: relative;
	width: 18px; height: 18px; flex: none;
}
.faq-mark::before, .faq-mark::after {
	content: '';
	position: absolute;
	background: var(--swd-water-deep);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.faq-mark::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-mark::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 24px 22px; color: var(--swd-stone); }
.faq-more { text-align: center; margin-top: 26px; color: var(--swd-stone); }

/* 13 — Forms ------------------------------------------------------------ */
.form-wrap { max-width: 720px; }

.swd-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0; display: grid; gap: 7px; }
.field label, .field legend {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: .92rem;
	color: var(--swd-ink);
	padding: 0;
}
.req { color: var(--swd-water-deep); }
.hint { font-size: .84rem; color: var(--swd-stone); }

.swd-form input[type="text"],
.swd-form input[type="email"],
.swd-form input[type="tel"],
.swd-form select,
.swd-form textarea,
.search-field {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--swd-ink);
	padding: 14px 16px;
	border: 1.5px solid var(--swd-line);
	border-radius: var(--r-md);
	background: #fff;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.swd-form textarea { resize: vertical; min-height: 150px; }
.swd-form input:focus, .swd-form select:focus, .swd-form textarea:focus {
	border-color: var(--swd-water);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--swd-water) 16%, transparent);
	outline: none;
}
.swd-form ::placeholder { color: var(--swd-stone-soft); }

.field-check { border: 0; padding: 0; margin: 0; }
.check-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 9px;
	margin-top: 10px;
}
.check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 15px;
	border: 1.5px solid var(--swd-line);
	border-radius: var(--r-md);
	cursor: pointer;
	font-size: .93rem;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--swd-slate);
	transition: all .14s ease;
}
.check:hover { border-color: var(--swd-water); }
.check input { width: 18px; height: 18px; accent-color: var(--swd-water-deep); flex: none; }
.check:has(input:checked) {
	border-color: var(--swd-water);
	background: color-mix(in srgb, var(--swd-water) 8%, transparent);
}

.swd-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-reassure { font-size: .87rem; color: var(--swd-stone); }

.form-note {
	display: flex;
	gap: 14px;
	padding: 20px 22px;
	border-radius: var(--r-md);
	margin-bottom: 26px;
}
.form-note strong { display: block; font-family: var(--font-head); margin-bottom: 3px; }
.form-note p { margin: 0; font-size: .95rem; }
.form-note.is-good {
	background: color-mix(in srgb, var(--swd-water) 12%, transparent);
	color: var(--swd-ink);
}
.form-note.is-good .swd-icon { color: var(--swd-water-deep); }
.form-note.is-bad { background: #FDECEC; color: #8A1F1F; }

.search-form { display: flex; gap: 10px; max-width: 460px; margin-inline: auto; }

/* 14 — Contact ---------------------------------------------------------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.contact-side { display: grid; gap: 18px; position: sticky; top: 100px; }
.contact-card {
	background: var(--swd-deep);
	color: #A9B8BD;
	border-radius: var(--r-lg);
	padding: 30px 28px;
}
.contact-card h2 { color: #fff; font-size: 1.2rem; margin-bottom: 1em; }
.contact-card-quiet { background: var(--swd-tint); color: var(--swd-stone); }
.contact-card-quiet h2 { color: var(--swd-ink); }

.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.contact-methods a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 15px;
	border-radius: var(--r-md);
	text-decoration: none;
	color: #fff;
	background: rgba(255,255,255,.05);
	transition: background-color .16s ease;
}
.contact-methods a:hover { background: rgba(255,255,255,.11); color: #fff; }
.contact-methods .swd-icon { color: var(--swd-water-light); }
.contact-methods strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.contact-methods em { font-style: normal; font-size: .85rem; color: #8E9EA4; }

.contact-where {
	display: flex; gap: 13px;
	margin-top: 22px; padding-top: 22px;
	border-top: 1px solid rgba(255,255,255,.12);
	font-size: .92rem;
}
.contact-where .swd-icon { color: var(--swd-water-light); flex: none; }
.contact-where strong { color: #fff; }

.next-steps { margin: 0; padding-left: 20px; display: grid; gap: 14px; font-size: .95rem; }
.next-steps strong { display: block; font-family: var(--font-head); color: var(--swd-ink); }

/* 15 — Blog / content --------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.post-card {
	background: #fff;
	border: 1px solid var(--swd-line);
	border-radius: var(--r-lg);
	overflow: hidden;
	display: flex; flex-direction: column;
	transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--swd-tint); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-meta { font-size: .84rem; color: var(--swd-stone); margin: 0; }
.post-title { font-size: 1.18rem; margin: 0; }
.post-title a { color: var(--swd-ink); text-decoration: none; }
.post-title a:hover { color: var(--swd-water-deep); }
.post-excerpt { font-size: .96rem; color: var(--swd-stone); margin: 0; flex: 1; }

.feature-image {
	margin: calc(var(--section-y) * -.45) 0 0;
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	position: relative;
	z-index: 2;
}

.entry-content { font-size: 1.06rem; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.6em; font-size: 1.3rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.3em; }
.entry-content li { margin-bottom: .5em; }
.entry-content img { border-radius: var(--r-md); margin-block: 1.6em; }

/* Figures: keep the caption tied to its image, and make it read as a caption
   rather than as another paragraph of body copy. */
.entry-content figure { margin-block: 1.8em; }
.entry-content figure img { margin-block: 0; }
.entry-content figcaption {
	margin-top: .7em;
	font-size: .87rem;
	line-height: 1.5;
	color: var(--swd-stone);
}
.entry-content blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 26px;
	border-left: 3px solid var(--swd-water);
	font-size: 1.14rem;
	color: var(--swd-ink);
}
.entry-content pre {
	background: var(--swd-deep);
	color: #D5E0E3;
	padding: 22px;
	border-radius: var(--r-md);
	overflow-x: auto;
	font-size: .9rem;
}
.entry-content code { font-size: .92em; }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 1.6em; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--swd-line); text-align: left; }
.entry-content th { font-family: var(--font-head); background: var(--swd-tint); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 2.4em 0 0; }
.tag-list a {
	font-size: .84rem; padding: 6px 13px;
	background: var(--swd-tint); border-radius: var(--r-pill);
	color: var(--swd-stone); text-decoration: none;
}
.tag-list a:hover { background: var(--swd-water); color: #fff; }

.post-nav {
	display: flex; justify-content: space-between; gap: 20px;
	margin-top: 2.6em; padding-top: 1.8em;
	border-top: 1px solid var(--swd-line);
	font-family: var(--font-head); font-weight: 600; font-size: .94rem;
}
.post-nav .next { margin-left: auto; text-align: right; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--swd-line); border-radius: var(--r-sm);
	text-decoration: none; color: var(--swd-slate); font-weight: 500;
}
.pagination .page-numbers:hover { border-color: var(--swd-water); color: var(--swd-water-deep); }
.pagination .page-numbers.current { background: var(--swd-ink); border-color: var(--swd-ink); color: #fff; }

.empty-state { text-align: center; padding: 60px 20px; display: grid; gap: 14px; justify-items: center; }
.empty-state .swd-icon { width: 46px; height: 46px; color: var(--swd-stone-soft); }
.empty-state p { color: var(--swd-stone); max-width: 420px; }

.widget { margin-bottom: 34px; }
.widget-title { font-size: 1.05rem; }

/* 16 — CTA band + footer ------------------------------------------------ */
.cta-band {
	background: linear-gradient(135deg, var(--swd-sea), var(--swd-deep) 76%);
	color: #D6E3E6;
	padding-block: clamp(48px, 6vw, 78px);
}
.cta-band-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 520px; color: #B9CACE; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.cta-band .btn-primary { background: #fff; color: var(--swd-ink); }
.cta-band .btn-primary:hover { background: var(--swd-water-light); color: var(--swd-ink); }

.site-footer {
	background: var(--swd-deep);
	color: #8E9EA4;
	padding-block: clamp(48px, 6vw, 76px) 34px;
	font-size: .95rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
	gap: 40px;
}
/* No invert filter here. Flattening a two-colour mark to white destroys it —
   upload a light version under Customize > Stone Water Settings > Footer. */
.footer-logo img { max-height: 42px; width: auto; }
.footer-name strong { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.footer-blurb { margin-top: 14px; max-width: 320px; }

.footer-heading {
	font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
	color: #fff; margin-bottom: 1.2em;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: #8E9EA4; text-decoration: none; }
.footer-links a:hover { color: var(--swd-water-light); }

.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 11px; }
.footer-contact .swd-icon { width: 18px; height: 18px; color: var(--swd-water); margin-top: 3px; flex: none; }
.footer-contact a { color: #C2CFD3; text-decoration: none; }
.footer-contact a:hover { color: var(--swd-water-light); }

.social-list { display: flex; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.social-list a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 50%;
	color: #C2CFD3;
	transition: all .16s ease;
}
.social-list a:hover { background: var(--swd-water); border-color: var(--swd-water); color: #fff; }

.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
	margin-top: 46px; padding-top: 26px;
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .reg { margin-left: 8px; opacity: .7; }

.wa-float {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 90;
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: var(--shadow-md);
	transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .swd-icon { width: 27px; height: 27px; }

/* 17 — Utilities -------------------------------------------------------- */
.custom-logo-link { display: inline-flex; }

/* 18 — Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
	.contact-layout { grid-template-columns: 1fr; }
	.contact-side { position: static; }
	.split-narrow { grid-template-columns: 1fr; }
	.project-meta-card { position: static; }
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }

	.primary-nav {
		position: fixed;
		inset: 76px 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid var(--swd-line);
		box-shadow: var(--shadow-lg);
		padding: 14px var(--gutter) 24px;
		max-height: calc(100dvh - 76px);
		overflow-y: auto;
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: all .2s ease;
	}
	.primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list a { padding: 14px 4px; border-bottom: 1px solid var(--swd-line); border-radius: 0; font-size: 1.02rem; }
	.nav-list .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 0 16px; margin: 0;
	}
	.nav-cta { margin-top: 18px; }
	.nav-cta .btn { flex: 1; }

	.split, .reason-grid { grid-template-columns: 1fr; }
	.split.is-reversed .split-left,
	.split.is-reversed .split-right { order: initial; }

	.hero-strip { gap: 10px 20px; }
	.feature-image { margin-top: 0; border-radius: var(--r-md); }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.field-row { grid-template-columns: 1fr; }
	.stat-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.cta-band-inner { flex-direction: column; align-items: flex-start; }
	.hero-actions .btn, .cta-band-actions .btn { flex: 1 1 auto; }
	.wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
	.service-card { padding: 26px 22px; }
}

@media print {
	.site-header, .site-footer, .cta-band, .wa-float, .nav-toggle { display: none !important; }
	.page-hero, .hero { background: #fff !important; color: #000 !important; }
	.page-hero h1, .hero-title { color: #000 !important; }
}
