/* ═══════════════════════════════════════════════════════════════
   SCIENTIS — design system
   System UI sans throughout (matches the client wireframe stack).
   Brand navy #1F4E79 dominant, sky tints, green reserved for
   "no-cost / approved" moments only.
   ═══════════════════════════════════════════════════════════════ */

:root {
	/* Color */
	--ink: #10233a;
	--navy: #1f4e79;
	--navy-deep: #173c5e;
	--blue: #2e75b6;
	--blue-soft: #5b93c9;
	--sky: #ebf3fb;
	--sky-2: #f4f8fd;
	--sky-border: #cfdff0;
	--paper: #ffffff;
	--mist: #f7f9fc;
	--line: #e3e9f1;
	--slate: #46586c;
	--slate-light: #7a8aa0;
	--green-ink: #1e6b35;
	--green-bg: #ecf7ef;
	--green-border: #a8d8b5;
	--red-soft: #b4552f;
	--amber: #e8a33d;

	/* Type — same stack as the client wireframe */
	--font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	/* Rhythm */
	--radius: 10px;
	--radius-lg: 16px;
	--container: 1140px;
	--header-h: 72px;
	--shadow-sm: 0 1px 2px rgba(16, 35, 58, 0.06);
	--shadow-md: 0 6px 24px -8px rgba(16, 35, 58, 0.14);
	--shadow-lg: 0 24px 60px -20px rgba(16, 35, 58, 0.28);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset-ish ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-text);
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.18; color: var(--ink); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, figure, blockquote { margin: 0; padding: 0; }
button { font-family: inherit; }

::selection { background: var(--navy); color: #fff; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link {
	position: absolute; top: -48px; left: 16px; z-index: 200;
	background: var(--navy); color: #fff; padding: 10px 18px;
	border-radius: 0 0 8px 8px; transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 780px; }
.container-mid { max-width: 960px; }

.icon { width: 1.35em; height: 1.35em; flex-shrink: 0; }

/* ── Buttons ── */
.btn {
	display: inline-flex; align-items: center; gap: 0.5em;
	font-family: var(--font-text); font-weight: 600; font-size: 15px;
	line-height: 1; padding: 14px 24px; border-radius: 8px;
	border: 1.5px solid transparent; cursor: pointer;
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, color 0.18s, border-color 0.18s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--sky-border); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--sky-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ═══ Header ═══ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16, 35, 58, 0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 26px; list-style: none; }
.nav-list a { font-size: 14.5px; font-weight: 500; color: var(--slate); position: relative; padding-block: 6px; }
.nav-list a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
	height: 2px; background: var(--blue); transition: right 0.25s var(--ease);
}
.nav-list a:hover { color: var(--navy); }
/* Active underline — never for in-page anchor links (WP marks them all
   current-menu-item on the front page). */
.nav-list a:hover::after, .nav-list .current-menu-item > a:not([href*="#"])::after { right: 0; }
.nav-cta { padding: 11px 20px; font-size: 14px; }
.header-return { font-size: 14.5px; font-weight: 500; color: var(--slate); }
.header-return:hover { color: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-box { display: block; width: 24px; }
.nav-toggle-box span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle-box span + span { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ═══ Hero ═══ */
.hero { position: relative; overflow: hidden; padding: 96px 0 150px; }
.hero-backdrop {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(52% 68% at 82% 8%, rgba(46, 117, 182, 0.13) 0%, transparent 100%),
		radial-gradient(46% 60% at 12% 88%, rgba(31, 78, 121, 0.09) 0%, transparent 100%),
		linear-gradient(180deg, var(--sky-2) 0%, #fff 90%);
}
.hero-backdrop::after {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(31, 78, 121, 0.11) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: radial-gradient(65% 60% at 50% 30%, black 0%, transparent 100%);
	-webkit-mask-image: radial-gradient(65% 60% at 50% 30%, black 0%, transparent 100%);
}
.hero-inner { text-align: center; max-width: 900px; }

.eyebrow-pill {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--blue); background: #fff; border: 1px solid var(--sky-border);
	border-radius: 999px; padding: 7px 16px; margin: 0 0 26px;
	box-shadow: var(--shadow-sm);
}
.hero-headline {
	font-size: clamp(2.1rem, 4.6vw, 3.45rem);
	font-weight: 700;
	margin-bottom: 22px;
	letter-spacing: -0.018em;
}
.hero-subhead { font-size: clamp(1.02rem, 1.6vw, 1.19rem); color: var(--slate); max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══ Proof bar — overlaps hero bottom ═══ */
.proof { margin-top: -76px; position: relative; z-index: 2; }
.proof-bar {
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg); overflow: hidden;
}
.proof-item { display: flex; flex-direction: column-reverse; text-align: center; padding: 26px 12px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-number { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; color: var(--navy); margin: 0; }
.proof-label { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--slate-light); margin-top: 4px; }

/* ═══ Sections ═══ */
.section { padding: 92px 0; }
.section-tint { background: var(--mist); border-block: 1px solid var(--line); }
.section + .section-tint, .section-tint + .section { border-top: 0; }

.section-header { max-width: 720px; margin-bottom: 48px; }
.section-header-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-kicker {
	display: flex; align-items: center; gap: 12px;
	font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--blue); margin: 0 0 14px;
}
.section-kicker span { font-family: var(--font-display); font-weight: 600; color: var(--slate-light); }
.section-kicker::after { content: ""; width: 44px; height: 1px; background: var(--sky-border); }
.section-title { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 700; margin-bottom: 14px; }
.section-sub { font-size: 1.06rem; color: var(--slate); margin: 0; }

/* ═══ Card grids ═══ */
.card-grid { display: grid; gap: 18px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 28px 26px;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sky-border); }
.feature-icon {
	display: inline-grid; place-items: center;
	width: 46px; height: 46px; border-radius: 11px;
	background: var(--sky); color: var(--navy);
	border: 1px solid var(--sky-border);
	margin-bottom: 18px;
}
.feature-icon .icon { width: 23px; height: 23px; }
.feature-title { font-size: 1.11rem; font-weight: 600; margin-bottom: 9px; }
.feature-body { font-size: 14.5px; color: var(--slate); margin: 0; }

/* ═══ Steps ═══ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: step; }
.step {
	position: relative; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); padding: 26px 22px;
}
.step::after {
	content: ""; position: absolute; top: 44px; left: calc(100% + 1px); width: 18px;
	border-top: 2px dashed var(--sky-border);
}
.step:last-child::after { display: none; }
.step-num {
	display: grid; place-items: center; width: 38px; height: 38px;
	border-radius: 50%; background: var(--navy); color: #fff;
	font-family: var(--font-display); font-size: 17px; font-weight: 600;
	margin-bottom: 16px; box-shadow: 0 0 0 5px var(--sky);
}
.step-title { font-size: 1.06rem; font-weight: 600; margin-bottom: 8px; }
.step-body { font-size: 14px; color: var(--slate); margin: 0; }

/* ═══ Pricing ═══ */
.pricing-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; align-items: stretch; }
.pricing-col {
	position: relative; background: var(--mist); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 26px 24px;
}
.pricing-col.is-featured {
	background: #fff; border: 2px solid var(--blue);
	box-shadow: var(--shadow-md);
}
.pricing-flag {
	position: absolute; top: -12px; left: 22px;
	background: var(--navy); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: 0.08em; text-transform: uppercase;
	padding: 4px 12px; border-radius: 999px;
}
.pricing-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-light); margin: 0 0 4px; }
.is-featured .pricing-label { color: var(--blue); }
.pricing-name { font-size: 1.16rem; font-weight: 600; margin-bottom: 16px; }
.pricing-rows { list-style: none; display: grid; gap: 10px; }
.pricing-rows li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.pricing-mark .icon { width: 17px; height: 17px; margin-top: 2px; }
.pricing-rows .is-pro .pricing-mark { color: var(--green-ink); }
.pricing-rows .is-con .pricing-mark { color: var(--red-soft); }
.pricing-rows .is-con { color: var(--slate-light); }

.pricing-philosophy {
	display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
	background: var(--mist); border: 1px solid var(--line);
	border-radius: var(--radius-lg); padding: 36px;
	margin-bottom: 26px;
}
.pp-title { font-size: 1.09rem; font-weight: 600; margin-bottom: 20px; }
.pp-item { display: flex; gap: 16px; margin-bottom: 20px; }
.pp-item:last-child { margin-bottom: 0; }
.pp-icon {
	display: inline-grid; place-items: center; flex-shrink: 0;
	width: 42px; height: 42px; border-radius: 10px;
	background: #fff; color: var(--navy); border: 1px solid var(--sky-border);
}
.pp-icon .icon { width: 21px; height: 21px; }
.pp-item-title { font-family: var(--font-text); font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.pp-item-body { font-size: 14px; color: var(--slate); margin: 0; }
.pricing-cta { text-align: center; }

/* ═══ Industries ═══ */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; max-width: 860px; }
.chip {
	font-size: 14.5px; font-weight: 500; color: var(--slate);
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	padding: 10px 20px;
	transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--navy); transform: translateY(-1px); }

/* ═══ Testimonials ═══ */
.testimonial-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 30px 28px;
}
/* Attributions align across cards regardless of quote length. */
.testimonial-card figcaption { margin-top: auto; padding-top: 4px; }
.testi-stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 16px; }
.icon-star { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testi-quote { font-family: var(--font-display); font-size: 1.13rem; font-weight: 400; font-style: italic; line-height: 1.55; margin-bottom: 18px; }
.testi-name { display: block; font-weight: 600; font-size: 14.5px; }
.testi-company { display: block; font-size: 13.5px; color: var(--slate-light); }

/* ═══ About / team ═══ */
.about-narrative { max-width: 780px; font-size: 1.13rem; line-height: 1.8; color: var(--slate); margin-bottom: 44px; }
.about-narrative p:first-child { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; color: var(--ink); line-height: 1.6; }

.team-grid { display: grid; gap: 18px; margin-bottom: 26px; }
.team-card {
	display: grid; grid-template-columns: 210px 1fr; gap: 30px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 26px; align-items: start;
}
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.4; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-empty {
	display: grid; place-items: center; background: var(--sky);
	border: 1px solid var(--sky-border);
}
.team-photo-empty span { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--blue-soft); }
.team-name { font-size: 1.35rem; font-weight: 600; margin-bottom: 2px; }
.team-role { font-size: 13.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.team-bio { font-size: 15px; color: var(--slate); }
.cred-pills { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin-top: 14px; }
.cred-pills li {
	font-size: 12.5px; font-weight: 500; color: var(--slate);
	background: var(--mist); border: 1px solid var(--line);
	border-radius: 6px; padding: 4px 10px;
}
.team-note {
	background: var(--sky-2); border: 1px solid var(--sky-border);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius); padding: 22px 26px; max-width: 860px;
}
.team-note-title { font-family: var(--font-text); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.team-note-body { font-size: 14.5px; color: var(--slate); margin: 0; }

/* ═══ FAQ ═══ */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item.is-open { border-color: var(--sky-border); box-shadow: var(--shadow-sm); }
.faq-item.is-featured { background: var(--sky-2); border-color: var(--sky-border); }
.faq-heading { margin: 0; font-family: var(--font-text); }
.faq-question {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	font-size: 16px; font-weight: 600; color: var(--ink);
	padding: 19px 22px; line-height: 1.4;
}
.faq-question:hover { color: var(--navy); }
.faq-chevron { color: var(--slate-light); transition: transform 0.3s var(--ease); }
.is-open .faq-chevron { transform: rotate(180deg); color: var(--blue); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.38s var(--ease); }
.faq-answer { padding: 0 22px 22px; font-size: 15px; color: var(--slate); max-width: 62ch; }

/* ═══ Insights ═══ */
.insights-hero { padding: 84px 0 56px; background: linear-gradient(180deg, var(--sky-2) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.insights-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 14px; max-width: 720px; }
.insights-sub { font-size: 1.08rem; color: var(--slate); max-width: 620px; margin: 0; }
.insights-body { padding-top: 48px; }

.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.cat-pill {
	font-size: 13.5px; font-weight: 500; color: var(--slate);
	background: var(--mist); border: 1px solid var(--line); border-radius: 999px;
	padding: 7px 16px; transition: all 0.18s;
}
.cat-pill:hover { border-color: var(--blue); color: var(--navy); }
.cat-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.featured-post {
	border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; background: #fff; margin-bottom: 44px;
	transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.featured-post:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.featured-post-link { display: grid; grid-template-columns: 1.1fr 1fr; color: inherit; }
.featured-post-media { min-height: 300px; background: linear-gradient(135deg, var(--sky) 0%, var(--sky-border) 100%); }
.featured-post-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-body { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.featured-post-title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; }
.featured-post-excerpt { font-size: 15.5px; color: var(--slate); margin: 0; }
.featured-post-body .btn { margin-top: auto; }

.insights-more-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-light); margin: 0 0 18px; }

.post-card {
	position: relative; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden;
	transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-link { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; color: inherit; height: 100%; }
.post-card-media { align-self: stretch; margin: -24px -24px 6px; aspect-ratio: 16/9; background: var(--sky); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-tag {
	display: inline-block; font-size: 11.5px; font-weight: 600;
	letter-spacing: 0.05em; text-transform: uppercase;
	color: var(--blue); background: var(--sky); border: 1px solid var(--sky-border);
	border-radius: 999px; padding: 3px 10px;
}
a.post-tag:hover { background: var(--sky-border); }
.post-card-title { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.post-card:hover .post-card-title { color: var(--navy); }
.post-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--slate-light); margin: 0; }
.post-card-more { font-size: 14px; font-weight: 600; color: var(--blue); margin-top: auto; }

.newsletter-card { background: var(--sky-2); border-color: var(--sky-border); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.newsletter-title { font-size: 1.08rem; font-weight: 600; }
.newsletter-body { font-size: 13.5px; color: var(--slate); margin: 0; }

.insights-empty { color: var(--slate); }

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 8px; align-items: center; justify-content: center; }
.pagination .page-numbers {
	min-width: 40px; text-align: center; padding: 9px 14px;
	border: 1px solid var(--line); border-radius: 8px;
	font-size: 14px; font-weight: 500; color: var(--slate);
}
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--navy); }

/* ═══ Single article ═══ */
.article-hero { padding: 76px 0 40px; background: linear-gradient(180deg, var(--sky-2) 0%, #fff 100%); }
.article-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin: 14px 0 16px; }
.article-standfirst { font-family: var(--font-display); font-size: 1.22rem; font-weight: 400; color: var(--slate); line-height: 1.6; }
.article-media { border-radius: var(--radius-lg); overflow: hidden; margin: 26px 0 10px; box-shadow: var(--shadow-md); }
.article-hero-plain { padding-top: 60px; margin-bottom: 26px; }

.article-body { padding: 34px 0 10px; font-size: 17.5px; line-height: 1.78; color: #2c3e52; }
.article-body h2 { font-size: 1.6rem; margin: 1.7em 0 0.65em; }
.article-body h3 { font-size: 1.25rem; margin: 1.5em 0 0.6em; }
.article-body p { margin-bottom: 1.25em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.25em; }
.article-body li { margin-bottom: 0.45em; }
.article-body blockquote {
	border-left: 3px solid var(--blue); background: var(--sky-2);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 18px 24px; margin: 1.5em 0;
	font-family: var(--font-display); font-style: italic; font-size: 1.1em;
}
.article-body img { border-radius: var(--radius); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-footer { padding: 26px 0 60px; }

/* ═══ Closing CTA ═══ */
.section-cta { padding-bottom: 100px; }
.cta-block {
	position: relative; overflow: hidden; text-align: center;
	background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 130%);
	border-radius: var(--radius-lg); padding: 72px 40px;
	box-shadow: var(--shadow-lg);
}
.cta-glow {
	position: absolute; inset: 0;
	background:
		radial-gradient(42% 70% at 78% 10%, rgba(255, 255, 255, 0.12) 0%, transparent 100%),
		radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: auto, 24px 24px;
}
.cta-headline { position: relative; color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 14px; }
.cta-sub { position: relative; color: rgba(255, 255, 255, 0.82); font-size: 1.06rem; max-width: 560px; margin: 0 auto 30px; }
.cta-block .btn { position: relative; }

/* ═══ Assessment page ═══ */
.assess-page { padding: 72px 0 100px; background: linear-gradient(180deg, var(--sky-2) 0%, #fff 240px); min-height: 70vh; }
.assess-header { max-width: 680px; margin-bottom: 44px; }
.assess-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: 12px; }
.assess-sub { font-size: 1.1rem; color: var(--slate); margin: 0; }

.assess-layout { display: grid; grid-template-columns: 1fr 0.92fr; gap: 28px; align-items: start; }
.assess-benefits { padding-right: 12px; }
.assess-benefits-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; }
.assess-benefits-sub { font-size: 15px; color: var(--slate); margin-bottom: 26px; }
.assess-list { list-style: none; display: grid; gap: 20px; margin-bottom: 30px; }
.assess-item { display: flex; gap: 14px; }
.assess-check {
	display: inline-grid; place-items: center; flex-shrink: 0;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green-ink);
	margin-top: 2px;
}
.assess-check .icon { width: 15px; height: 15px; }
.assess-item-title { font-family: var(--font-text); font-size: 15.5px; font-weight: 600; margin-bottom: 2px; }
.assess-item-sub { font-size: 13.5px; color: var(--slate-light); margin: 0; }
/* Social proof under the benefits list. */
.assess-stats {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 12px; margin: 30px 0 22px;
	padding: 20px 0; border-block: 1px solid var(--line);
}
.assess-stat { display: flex; flex-direction: column-reverse; text-align: center; }
.assess-stat-number { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin: 0; }
.assess-stat-label { font-size: 12px; color: var(--slate-light); margin-top: 2px; }

.assess-quote {
	background: #fff; border: 1px solid var(--line);
	border-left: 3px solid var(--blue);
	border-radius: var(--radius); padding: 22px 24px;
}
.assess-quote blockquote {
	font-size: 14.5px; font-style: italic; line-height: 1.65;
	color: var(--slate); margin: 0 0 14px;
}
.assess-quote figcaption { display: flex; flex-direction: column; }

.no-cost-box {
	background: var(--green-bg); border: 1px solid var(--green-border);
	border-radius: var(--radius); padding: 18px 22px;
}
.no-cost-title { font-family: var(--font-text); font-size: 15px; font-weight: 700; color: var(--green-ink); margin-bottom: 5px; }
.no-cost-body { font-size: 14px; color: var(--slate); margin: 0; }

.assess-form-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg); padding: 34px;
	position: sticky; top: calc(var(--header-h) + 24px);
}
.assess-form-title { font-size: 1.22rem; font-weight: 600; margin-bottom: 20px; }
.assess-form-pending { font-size: 15px; color: var(--slate); background: var(--sky-2); border: 1px dashed var(--sky-border); border-radius: var(--radius); padding: 18px; }
.assess-privacy { font-size: 12.5px; color: var(--slate-light); text-align: center; margin: 14px 0 0; }

/* ── Formidable form styling override ── */
.assess-form-card .frm_forms label,
.assess-form-card .frm_forms .frm_primary_label {
	font-size: 13.5px; font-weight: 600; color: var(--slate); margin-bottom: 5px;
}
.assess-form-card .frm_forms input[type="text"],
.assess-form-card .frm_forms input[type="email"],
.assess-form-card .frm_forms input[type="tel"],
.assess-form-card .frm_forms select,
.assess-form-card .frm_forms textarea {
	width: 100%; font-family: var(--font-text); font-size: 15px; color: var(--ink);
	background: #fff; border: 1px solid var(--sky-border); border-radius: 8px;
	padding: 11px 14px; transition: border-color 0.18s, box-shadow 0.18s;
}
.assess-form-card .frm_forms input:focus,
.assess-form-card .frm_forms select:focus,
.assess-form-card .frm_forms textarea:focus {
	outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.16);
}
.assess-form-card .frm_forms .frm_submit button {
	width: 100%; background: var(--navy); color: #fff; border: 0; border-radius: 8px;
	font-family: var(--font-text); font-size: 15.5px; font-weight: 600;
	padding: 15px 24px; cursor: pointer; transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
}
.assess-form-card .frm_forms .frm_submit button:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.assess-form-card .frm_forms .frm_error { color: var(--red-soft); font-size: 12.5px; }
.assess-form-card .frm_forms .frm_form_field { margin-bottom: 14px; }

/* ═══ Footer ═══ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-about p { font-size: 14.5px; max-width: 340px; }
.footer-contact { list-style: none; margin-top: 16px; display: grid; gap: 5px; font-size: 14px; }
.footer-contact a { color: rgba(255, 255, 255, 0.72); }
.footer-contact a:hover { color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col-title { font-family: var(--font-text); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 4px; }
.footer-col a { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.footer-col a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.footer-credit a { color: rgba(255, 255, 255, 0.6); }
.footer-credit a:hover { color: #fff; }
.is-minimal-header .site-footer { padding-top: 34px; }

/* ═══ Home 2 (imagery variant) ═══ */
.hero-img { display: flex; align-items: center; min-height: clamp(560px, 76vh, 780px); padding: 120px 0 170px; }
.hero-img-media { position: absolute; inset: 0; z-index: -2; }
.hero-img-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(13, 30, 49, 0.94) 0%, rgba(16, 40, 66, 0.82) 45%, rgba(23, 60, 94, 0.55) 100%),
		linear-gradient(0deg, rgba(13, 30, 49, 0.35), transparent 40%);
}
.hero-img-inner { text-align: left; max-width: var(--container); width: 100%; }
.hero-img .hero-headline { color: #fff; max-width: 780px; }
.hero-img .hero-subhead { color: rgba(255, 255, 255, 0.82); margin-left: 0; max-width: 600px; }
.hero-img .hero-actions { justify-content: flex-start; }
.eyebrow-light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); color: #fff; box-shadow: none; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

.process-split { display: grid; grid-template-columns: 0.72fr 1fr; gap: 28px; align-items: stretch; }
.process-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.steps-grid-2 { grid-template-columns: 1fr 1fr; }
.steps-grid-2 .step::after { display: none; }


/* Proof bar adapts to the number of stats supplied. */
.proof-bar[data-count="4"] { grid-template-columns: repeat(4, 1fr); }
.proof-bar[data-count="3"] { grid-template-columns: repeat(3, 1fr); }

/* Pricing philosophy when it leads the section (v7 ordering). */
.pricing-philosophy.is-lead { grid-template-columns: 1fr; margin-bottom: 26px; }
.pricing-philosophy.is-lead .pp-items { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.pricing-philosophy.is-lead .pp-item { margin-bottom: 0; }

/* Industries as descriptive entries rather than chips. */
.industry-list-title {
	font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--slate-light); margin: 0 0 18px;
}
.industry-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 40px; }
.industry-entry { padding: 20px 0; border-top: 1px solid var(--line); }
.industry-entry-title { font-size: 1.06rem; font-weight: 600; margin-bottom: 6px; }
.industry-entry-body { font-size: 14.5px; color: var(--slate); margin: 0; }
.industry-footnote {
	margin-top: 26px; padding: 16px 20px; font-size: 14.5px; color: var(--slate);
	background: #fff; border: 1px solid var(--sky-border); border-left: 3px solid var(--blue);
	border-radius: var(--radius); max-width: 780px;
}

/* Testimonials: company label above the quote (v7 supplies real clients). */
.testi-company-label {
	font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--blue); margin: 0 0 12px;
}
.card-grid-3 .testi-quote { font-size: 1rem; }

/* FAQ left-aligned with the other sections. */
.container.faq-wide { max-width: var(--container); }
.faq-wide .faq-list { max-width: 900px; }
.faq-wide .faq-answer { max-width: 76ch; }

.cta-block.has-media { background: var(--navy-deep); }
.cta-media { position: absolute; inset: 0; opacity: 0.26; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-block.has-media .cta-glow {
	background:
		linear-gradient(115deg, rgba(23, 60, 94, 0.85) 0%, rgba(31, 78, 121, 0.55) 60%, rgba(46, 117, 182, 0.35) 100%),
		radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: auto, 24px 24px;
}

@media (max-width: 1020px) {
	.process-split { grid-template-columns: 1fr; }
	.process-media { max-height: 340px; }
	.industry-list { grid-template-columns: 1fr; gap: 0 0; }
	.pricing-philosophy.is-lead .pp-items { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 820px) {
	.proof-bar[data-count="4"] { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.hero-img { min-height: 0; padding: 84px 0 150px; }
	.steps-grid-2 { grid-template-columns: 1fr; }
	.proof-bar[data-count="4"] .proof-item:nth-child(odd) { border-right: 1px solid var(--line); }
	.proof-bar[data-count="4"] .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.proof-bar[data-count="4"] .proof-item:last-child { grid-column: auto; border-right: 0; }
}

/* ═══ Reveal on scroll ═══
   Hidden state only applies once JS has stamped html.js — content is
   never invisible for no-JS visitors or if the script fails to load. */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.js .reveal { opacity: 1; transform: none; transition: none; }
	.btn, .feature-card, .post-card, .chip { transition: none; }
}

/* Anchor offset below sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* ═══ Responsive ═══ */
@media (max-width: 1020px) {
	.card-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
	.pricing-compare { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; margin-bottom: 22px; }
	.pricing-col.is-featured { order: -1; }
	.pricing-philosophy { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
	.proof-bar { grid-template-columns: repeat(5, 1fr); }
	.featured-post-link { grid-template-columns: 1fr; }
	.featured-post-media { min-height: 220px; }
	.assess-layout { grid-template-columns: 1fr; }
	.assess-form-card { position: static; }
}

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 4px;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		padding: 18px 24px 24px;
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
		transition: transform 0.25s var(--ease), opacity 0.25s, visibility 0.25s;
	}
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
	.nav-list { flex-direction: column; gap: 2px; }
	.nav-list a { display: block; font-size: 16px; padding: 11px 4px; }
	.nav-list a::after { display: none; }
	.nav-cta { justify-content: center; margin-top: 12px; }
	body.nav-locked { overflow: hidden; }
	/* Dim the page behind the open menu (panel is z-99, header z-100) */
	body.nav-locked::before {
		content: ""; position: fixed; inset: 0; z-index: 98;
		background: rgba(16, 35, 58, 0.45);
	}

	/* Snappier reveals on small screens: single column makes the grid
	   stagger read as lag, and short travel feels more native. */
	html.js .reveal { transform: translateY(14px); transition-duration: 0.45s, 0.45s; transition-delay: 0ms; }

	.hero { padding: 64px 0 130px; }
	.section { padding: 64px 0; }
	.proof { margin-top: -66px; }
	/* 3 + 2 layout on a 6-track grid so both rows stay symmetric */
	.proof-bar { grid-template-columns: repeat(6, 1fr); }
	.proof-item { grid-column: span 2; padding: 20px 10px; }
	.proof-item:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
	.proof-item:nth-child(3) { border-right: 0; }
	.proof-item:nth-child(4) { grid-column: 1 / 4; }
	.proof-item:nth-child(5) { grid-column: 4 / 7; }
	.team-card { grid-template-columns: 1fr; }
	.team-photo { max-width: 240px; }
	.section-header-split { align-items: flex-start; flex-direction: column; }

	/* 16px minimum stops iOS Safari from auto-zooming focused fields */
	.assess-form-card .frm_forms input[type="text"],
	.assess-form-card .frm_forms input[type="email"],
	.assess-form-card .frm_forms input[type="tel"],
	.assess-form-card .frm_forms select,
	.assess-form-card .frm_forms textarea { font-size: 16px; }
}

@media (max-width: 620px) {
	.card-grid-3, .card-grid-2, .steps { grid-template-columns: 1fr; }
	/* 2 + 2 + 1: pairs on top, the approval stat full-width below */
	.proof-bar { grid-template-columns: repeat(2, 1fr); }
	.proof-item, .proof-item:nth-child(4) { grid-column: auto; }
	.proof-item:nth-child(3) { border-right: 1px solid var(--line); }
	.proof-item:nth-child(even) { border-right: 0; }
	.proof-item:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
	.proof-item:nth-child(5) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
	.brand-logo { height: 36px; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.cta-block { padding: 52px 24px; }
	.pricing-philosophy { padding: 22px; }
	.assess-form-card { padding: 24px; }
	.assess-stats { grid-template-columns: 1fr; gap: 16px; }
	.assess-stat { flex-direction: row; align-items: baseline; gap: 10px; text-align: left; }
	.assess-stat-label { margin-top: 0; }
}
