/* ==========================================================================
   P3 Technologies — site styles
   Tokens mirror theme.json. Breakpoints: mobile <640, tablet 640–1023, desktop ≥1024.
   Fluid sizes interpolate linearly between a 390px and a 1440px viewport.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--p3-ink: #16222D;
	--p3-ink-soft: #3F4B56;
	--p3-muted: #4F5B66;
	--p3-accent: #B91C1C;
	--p3-accent-hover: #8F1515;
	--p3-accent-light: #F29C94;
	--p3-surface: #FFFFFF;
	--p3-surface-alt: #F5F5F4;
	--p3-line: #E7E5E4;
	--p3-line-strong: #D6D3D1;
	--p3-on-dark: #F4F1EA;
	--p3-on-dark-soft: #C9CFD4;
	--p3-ink-raised: #1F2F3D;
	--p3-ink-line: #33485A;
	--p3-crumb-sep: #A8A29E;

	--p3-font-display: Fraunces, Georgia, "Times New Roman", serif;
	--p3-font-body: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--p3-max: 1280px;
	--p3-gutter: clamp(1.25rem, -0.143rem + 5.714vw, 5rem);           /* 20 → 80 */
	--p3-section-y: clamp(3.5rem, 2.571rem + 3.81vw, 6rem);           /* 56 → 96 */
	--p3-stack: clamp(1rem, 0.257rem + 3.048vw, 3rem);                /* 16 → 48: heading block to content */
	--p3-gap: 20px;

	--p3-radius-tile: 12px;
	--p3-radius-card: 18px;
	--p3-radius-panel: 20px;

	--p3-h1: clamp(2.5rem, 1.85rem + 2.667vw, 4.25rem);               /* 40 → 68 (homepage) */
	--p3-h1-page: clamp(2.375rem, 1.956rem + 1.714vw, 3.5rem);        /* 38 → 56 (inner pages) */
	--p3-h2: clamp(1.875rem, 1.504rem + 1.524vw, 2.875rem);           /* 30 → 46 */
	--p3-h2-lg: clamp(2rem, 1.582rem + 1.714vw, 3.125rem);            /* 32 → 50 */
	--p3-h2-cta: clamp(2.125rem, 1.568rem + 2.286vw, 3.625rem);       /* 34 → 58 */
	--p3-h2-sm: clamp(1.5rem, 1.361rem + 0.571vw, 1.875rem);          /* 24 → 30 */
	--p3-h3: clamp(1.25rem, 1.111rem + 0.571vw, 1.625rem);            /* 20 → 26 */
	--p3-h3-lg: clamp(1.375rem, 1.143rem + 0.952vw, 1.75rem);         /* 22 → 28 */
	--p3-lede: clamp(1.0625rem, 0.993rem + 0.286vw, 1.25rem);         /* 17 → 20 */
	--p3-intro: clamp(1rem, 0.954rem + 0.19vw, 1.125rem);             /* 16 → 18 */
	--p3-quote-lg: clamp(1.5rem, 1.221rem + 1.143vw, 2.125rem);       /* 24 → 34 */

	--p3-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--p3-ico-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--p3-ico-monitor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E");
	--p3-ico-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
	--p3-ico-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .5-7.97A6 6 0 0 0 6 11a3.5 3.5 0 0 0 1 7Z'/%3E%3C/svg%3E");
	--p3-ico-code: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 8-5 4 5 4M16 8l5 4-5 4M14 5l-4 14'/%3E%3C/svg%3E");
	--p3-ico-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

/* ---------- 2. Base ---------- */
body {
	margin: 0;
	background: var(--p3-surface);
	color: var(--p3-ink);
	font-family: var(--p3-font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4,
.p3-display-font {
	font-family: var(--p3-font-display);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: inherit;
}

a { color: var(--p3-accent); text-decoration: none; }
a:hover { color: var(--p3-accent-hover); }
a[href^="tel:"] { white-space: nowrap; }

/* Links inside running text are underlined as well as coloured, so colour isn't the only cue (WCAG 1.4.1). */
.p3-section :is(p, li):not(.p3-textlink, .p3-tile, .p3-more) a:not(.wp-block-button__link),
.p3-footer__address a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
.p3-breadcrumbs a { text-decoration: none !important; }

:focus-visible {
	outline: 3px solid var(--p3-accent);
	outline-offset: 3px;
	border-radius: 4px;
}
.p3-section--dark :focus-visible,
.p3-card--dark :focus-visible,
.p3-footer :focus-visible { outline-color: var(--p3-accent-light); }

::selection { background: #F7D4D0; color: var(--p3-ink); }

img { max-width: 100%; height: auto; }

/* Neutralise GeneratePress containers: every page is a stack of full-bleed sections. */
body.p3 .site.grid-container,
body.p3 .grid-container { max-width: none; }
body.p3 .site-content { display: block; padding: 0; }
body.p3 .content-area,
body.p3 .site-main { width: 100%; margin: 0; float: none; }
body.p3 .inside-article,
body.p3 .site-main > article { padding: 0; margin: 0; background: transparent; }
body.p3 .entry-content { margin: 0; }
body.p3 .entry-content:not(:first-child) { margin-top: 0; }
body.p3 .site-main .post-image,
body.p3 .entry-header,
body.p3 .comments-area { display: none; }

/* Blocks inside our sections manage their own spacing. */
.p3-section :where(p, h1, h2, h3, h4, ul, ol, figure, blockquote, table) { margin: 0; }
.p3-section :where(ul, ol) { padding: 0; }

/* ---------- 3. Buttons ---------- */
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}
.wp-block-button { margin: 0; }

.wp-block-buttons .wp-block-button .wp-block-button__link,
.p3-btn,
.wpcf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 16px 26px;
	border: 1px solid var(--p3-accent);
	border-radius: 999px;
	background: var(--p3-accent);
	color: #FFFFFF;
	font-family: var(--p3-font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.wp-block-buttons .wp-block-button .wp-block-button__link:hover,
.p3-btn:hover,
.wpcf7 .wpcf7-submit:hover {
	background: var(--p3-accent-hover);
	border-color: var(--p3-accent-hover);
	color: #FFFFFF;
}

/* "White" button, for dark bands */
.wp-block-button.is-style-p3-light .wp-block-button__link {
	background: var(--p3-surface);
	border-color: var(--p3-surface);
	color: var(--p3-ink);
}
.wp-block-button.is-style-p3-light .wp-block-button__link:hover {
	background: var(--p3-on-dark);
	border-color: var(--p3-on-dark);
	color: var(--p3-ink);
}

/* "Pill link", used for "Often paired with" */
.wp-block-button.is-style-p3-pill .wp-block-button__link {
	padding: 14px 20px;
	background: transparent;
	border-color: var(--p3-line-strong);
	color: var(--p3-ink);
}
.wp-block-button.is-style-p3-pill .wp-block-button__link:hover {
	border-color: var(--p3-ink);
	background: transparent;
	color: var(--p3-ink);
}
.wp-block-button.is-style-p3-pill .wp-block-button__link::after { content: "\00a0→"; }

/* ---------- 4. Header ---------- */
.p3-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--p3-surface);
	border-bottom: 1px solid var(--p3-line);
}
.admin-bar .p3-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .p3-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .p3-header { top: 0; } }

.p3-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--p3-max) + 2 * var(--p3-gutter));
	margin: 0 auto;
	padding: 12px var(--p3-gutter);
}
.p3-header__logo { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.p3-header__logo img { display: block; width: 162px; height: auto; }

.p3-nav__list {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.p3-nav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	white-space: nowrap;
	color: var(--p3-ink);
	font-size: 15px;
	font-weight: 500;
}
.p3-nav__list a:hover,
.p3-nav__list .current-menu-item > a,
.p3-nav__list .current-page-ancestor > a { color: var(--p3-accent); }
.p3-nav__cta { display: none; }

.p3-header__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.p3-header__phone {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--p3-ink);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.p3-header__phone:hover { color: var(--p3-accent); }
.p3-header__cta { padding: 12px 20px; font-size: 15px; }

.p3-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--p3-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--p3-ink);
	cursor: pointer;
}
.p3-menu-toggle:hover,
.p3-menu-toggle:focus { background: transparent; color: var(--p3-ink); }
.p3-menu-toggle svg { width: 20px; height: 20px; }
.p3-menu-toggle .p3-icon-close { display: none; }
.p3-header.is-open .p3-menu-toggle .p3-icon-open { display: none; }
.p3-header.is-open .p3-menu-toggle .p3-icon-close { display: block; }

@media (min-width: 1024px) {
	.p3-header__bar { padding-top: 22px; padding-bottom: 22px; }
	.p3-header__logo img { width: 215px; }
}

/* Small laptops: the full menu, number and button only fit at 1024px if everything tightens a little. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.p3-header__bar { gap: 16px; }
	.p3-header__logo img { width: 160px; }
	.p3-nav__list { gap: 16px; }
	.p3-nav__list a,
	.p3-header__phone { font-size: 14px; }
	.p3-header__actions { gap: 14px; }
	.p3-header__cta { padding: 10px 16px; font-size: 14px; }
}

@media (max-width: 1023px) {
	.p3-header__cta { display: none; }
	.p3-menu-toggle { display: inline-flex; }
	.p3-header__actions { gap: 12px; }
	.p3-header__phone { font-size: 14px; font-weight: 700; }

	.p3-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 8px var(--p3-gutter) 24px;
		background: var(--p3-surface);
		border-bottom: 1px solid var(--p3-line);
		box-shadow: 0 16px 24px rgba(22, 34, 45, 0.08);
	}
	.p3-header.is-open .p3-nav { display: block; }
	.p3-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.p3-nav__list li { border-bottom: 1px solid var(--p3-line); }
	.p3-nav__list a { display: flex; min-height: 52px; font-size: 17px; }
	.p3-nav__cta { display: flex; width: 100%; margin-top: 20px; }
}

/* ---------- 5. Footer ---------- */
body.p3 .site-footer { background: var(--p3-ink); }
.p3-footer {
	max-width: calc(var(--p3-max) + 2 * var(--p3-gutter));
	margin: 0 auto;
	padding: clamp(3rem, 2.3rem + 2.286vw, 4.5rem) var(--p3-gutter) clamp(2rem, 1.535rem + 1.524vw, 3rem);
	color: var(--p3-on-dark-soft);
	font-size: 15px;
}
.p3-footer a { color: var(--p3-on-dark-soft); }
.p3-footer a:hover { color: var(--p3-on-dark); }
.p3-footer__top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
}
.p3-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.p3-footer__brand img { display: block; width: 238px; height: auto; }
.p3-footer__tagline { margin: 0; font-family: var(--p3-font-display); font-size: 20px; color: var(--p3-on-dark); }
.p3-footer__address { margin: 0; font-style: normal; line-height: 1.7; }
.p3-footer__address a { color: var(--p3-on-dark); }
.p3-footer__heading {
	margin: 0 0 12px;
	font-family: var(--p3-font-body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--p3-on-dark);
}
.p3-footer__col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.p3-footer__col a { display: inline-flex; align-items: center; min-height: 32px; }
.p3-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--p3-ink-line);
	font-size: 14px;
}
.p3-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.p3-footer__legal a { display: inline-flex; align-items: center; min-height: 32px; }
.p3-footer__copy { margin: 0; display: flex; align-items: center; }

@media (max-width: 1023px) {
	.p3-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.p3-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
	.p3-footer__brand img { width: 192px; }
	.p3-footer__tagline { font-size: 18px; }
	.p3-footer__top { grid-template-areas: "brand brand" "svc co" "svc cl"; }
	.p3-footer__brand { grid-area: brand; }
	.p3-footer__col--services { grid-area: svc; }
	.p3-footer__col--company { grid-area: co; }
	.p3-footer__col--clients { grid-area: cl; }
	.p3-footer__col a { min-height: 44px; }
	.p3-footer__address a { display: inline-flex; align-items: center; min-height: 44px; }
	.p3-footer__bottom { flex-direction: column-reverse; margin-top: 32px; padding-top: 20px; }
	.p3-footer__legal a { min-height: 44px; }
}

/* ---------- 6. Sections & layout primitives ---------- */
.p3-section {
	display: flex;
	flex-direction: column;
	gap: var(--p3-stack);
	padding-block: var(--p3-section-y);
	padding-inline: max(var(--p3-gutter), calc((100% - var(--p3-max)) / 2));
	box-sizing: border-box;
}
.p3-section--alt { background: var(--p3-surface-alt); }
.p3-section--dark { background: var(--p3-ink); color: var(--p3-on-dark); }
.p3-section--flush-bottom { padding-bottom: 0; }
.p3-section--flush-top { padding-top: 0; }

/* Section heading row: heading on the left, supporting copy on the right. */
.p3-head {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 64px;
	align-items: end;
}
.p3-head--row { display: flex; justify-content: space-between; align-items: end; gap: 16px 48px; }
.p3-head--row > :first-child { max-width: 720px; }
.p3-head--row > :last-child { max-width: 440px; }
.p3-head--narrow { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.p3-head__title { display: flex; flex-direction: column; gap: 16px; }

.p3-grid-2,
.p3-grid-3,
.p3-grid-4 {
	display: grid;
	gap: var(--p3-gap);
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
	.p3-grid-2,
	.p3-grid-3,
	.p3-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.p3-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.p3-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.p3-stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- 7. Type utilities ---------- */
.p3-section h2 { font-size: var(--p3-h2); line-height: 1.12; }
.p3-section h3 { font-size: var(--p3-h3); line-height: 1.2; }
.p3-h2-lg { font-size: var(--p3-h2-lg) !important; line-height: 1.1 !important; }
.p3-h2-sm { font-size: var(--p3-h2-sm) !important; line-height: 1.2 !important; }

.p3-eyebrow {
	font-family: var(--p3-font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--p3-accent);
}
.p3-section--dark .p3-eyebrow,
.p3-card--dark .p3-eyebrow,
.p3-svc--dark .p3-eyebrow { color: var(--p3-accent-light); }

.p3-lede { font-size: var(--p3-lede); line-height: 1.55; color: var(--p3-ink-soft); max-width: 600px; }
.p3-intro { font-size: var(--p3-intro); line-height: 1.6; color: var(--p3-ink-soft); }
.p3-note { font-size: 1rem; line-height: 1.6; color: var(--p3-muted); }
.p3-section--dark .p3-lede,
.p3-section--dark .p3-intro { color: var(--p3-on-dark-soft); }

.p3-textlink { font-size: 15px; font-weight: 500; }
.p3-textlink a { display: inline-flex; align-items: center; min-height: 44px; color: var(--p3-ink-soft); }
.p3-textlink a:hover { color: var(--p3-accent); }
.p3-textlink--accent a { color: var(--p3-accent); font-size: 16px; font-weight: 600; }
.p3-textlink--accent a:hover { color: var(--p3-accent-hover); }

/* ---------- 8. Cards & panels ---------- */
.p3-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 36px 32px;
	background: var(--p3-surface);
	border: 1px solid var(--p3-line);
	border-radius: var(--p3-radius-panel);
	box-sizing: border-box;
}
.p3-card--dark { background: var(--p3-ink); border-color: var(--p3-ink); color: var(--p3-on-dark); }
.p3-card--dark p:not(.p3-eyebrow) { color: var(--p3-on-dark-soft); }
.p3-card--plain { border-color: transparent; border-radius: var(--p3-radius-card); gap: 14px; }
.p3-card--alt { background: var(--p3-surface-alt); border-color: var(--p3-surface-alt); }
.p3-card--raised {
	gap: 8px;
	padding: 28px 30px;
	background: var(--p3-ink-raised);
	border-color: var(--p3-ink-line);
	border-radius: 16px;
}
.p3-card--raised p { font-size: 1rem; line-height: 1.55; color: var(--p3-on-dark-soft); }
.p3-card__title { font-family: var(--p3-font-display); font-size: clamp(1.25rem, 1.203rem + 0.19vw, 1.375rem); font-weight: 500; line-height: 1.25; }
.p3-card--raised .p3-card__title { font-size: 24px; color: var(--p3-on-dark); line-height: 1.3; }
.p3-card > p:not([class]) { font-size: 1rem; line-height: 1.55; color: var(--p3-ink-soft); }
.p3-card--dark > p:not([class]) { color: var(--p3-on-dark-soft); }

@media (max-width: 639px) {
	.p3-card { padding: 28px 24px; gap: 16px; border-radius: 16px; }
	.p3-card--raised { padding: 24px 22px; }
}

/* Numbered step badge ("1", "2", "3") */
.p3-num {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--p3-ink);
	color: var(--p3-on-dark) !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
}
/* Index label ("01") */
.p3-index { font-size: 14px; font-weight: 700; color: var(--p3-accent); }

/* ---------- 9. Lists ---------- */
.p3-checks,
.p3-dashes,
.p3-lines,
.p3-checklist,
.p3-steps,
.p3-details { list-style: none; margin: 0; padding: 0; }

.p3-checks { display: flex; flex-direction: column; gap: 12px; font-size: 1rem; line-height: 1.45; }
.p3-checks li { display: flex; gap: 10px; align-items: flex-start; }
.p3-checks li::before,
.p3-checklist li::before {
	content: "";
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	background: var(--p3-accent);
	-webkit-mask: var(--p3-ico-check) center / contain no-repeat;
	mask: var(--p3-ico-check) center / contain no-repeat;
}
.p3-card--dark .p3-checks li::before,
.p3-section--dark .p3-checks li::before { background: var(--p3-accent-light); }
.p3-hero__card .p3-checks { font-size: 15px; line-height: 1.4; color: var(--p3-ink-soft); }
.p3-hero__card .p3-checks li::before { margin-top: 1px; }

.p3-dashes { display: flex; flex-direction: column; gap: 14px; font-size: 1rem; line-height: 1.5; }
.p3-dashes li { display: flex; gap: 10px; align-items: flex-start; }
.p3-dashes li::before { content: "—"; flex-shrink: 0; color: var(--p3-accent-light); margin-top: 1px; }

.p3-lines { display: flex; flex-direction: column; gap: 16px; font-size: clamp(1rem, 0.954rem + 0.19vw, 1.125rem); line-height: 1.45; }

.p3-checklist {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px 40px;
	font-size: 17px;
	line-height: 1.5;
}
.p3-checklist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--p3-line);
}
.p3-checklist li::before { width: 20px; height: 20px; margin-top: 2px; }
@media (min-width: 640px) { .p3-checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .p3-checklist { font-size: 16px; gap: 12px; } }

.p3-steps { display: flex; flex-direction: column; gap: 14px; counter-reset: p3-step; font-size: 1rem; line-height: 1.5; }
.p3-steps li { display: flex; gap: 12px; align-items: flex-start; counter-increment: p3-step; }
.p3-steps li::before {
	content: counter(p3-step);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--p3-accent-light);
	color: var(--p3-ink);
	font-size: 14px;
	font-weight: 700;
}

.p3-details { display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.6; }
.p3-details a { font-weight: 600; }

/* ---------- 10. Components ---------- */

/* Homepage hero */
.p3-hero {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: center;
	padding-top: clamp(2.5rem, 1.2rem + 5.333vw, 6rem);
	padding-bottom: clamp(2rem, 0.886rem + 4.571vw, 5.5rem);
}
.p3-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.p3-hero__copy h1 { font-size: var(--p3-h1); line-height: 1.04; }
.p3-hero__copy .wp-block-buttons { padding-top: 8px; }
.p3-hero__copy .p3-textlink { margin-top: -12px; }
.p3-hero__aside { display: flex; flex-direction: column; gap: 20px; }
.p3-hero__card { gap: 14px; padding: 24px 26px; border-radius: 16px; }

/* Portrait with caption (hero) */
.p3-person { display: flex; align-items: center; gap: 18px; }
.p3-person .wp-block-image { flex-shrink: 0; }
.p3-person img {
	display: block;
	width: 150px;
	height: 180px;
	object-fit: cover;
	object-position: 50% 16%;
	border-radius: 14px;
}
.p3-person__caption { font-size: 15px; line-height: 1.5; color: var(--p3-ink-soft); }
.p3-person__caption strong { display: block; font-size: 17px; color: var(--p3-ink); }

/* Credentials strip */
.p3-section--creds { padding-block: 0; }
.p3-creds {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding: 32px 0;
	border-top: 1px solid var(--p3-line);
	border-bottom: 1px solid var(--p3-line);
}
.p3-cred { display: flex; flex-direction: column; gap: 4px; max-width: 190px; }
.p3-cred__value { font-family: var(--p3-font-display); font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.p3-cred__value--long { font-size: 25px; line-height: 1.44; }
.p3-cred__label { font-size: 14px; line-height: 1.45; color: var(--p3-muted); }

/* Positioning panels */
.p3-panel {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 44px;
	border: 1px solid var(--p3-line);
	border-radius: var(--p3-radius-panel);
	background: var(--p3-surface);
}
.p3-panel--dark { background: var(--p3-ink); border-color: var(--p3-ink); color: var(--p3-on-dark); }
.p3-panel--dark .p3-eyebrow { color: var(--p3-accent-light); }
.p3-grid-2.p3-panels { gap: 24px; }

/* Pull quote */
.p3-section--pullquote { padding-top: 24px; padding-bottom: clamp(3rem, 2.3rem + 2.857vw, 5.5rem); }
.p3-pullquote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 1000px;
	margin: 0 auto !important;
	padding: 0;
	border: 0;
	text-align: center;
	font-style: normal;
	background: none;
}
.p3-pullquote p { font-family: var(--p3-font-display); font-size: var(--p3-quote-lg); line-height: 1.4; color: var(--p3-ink); }
.p3-pullquote cite { font-size: 15px; font-style: normal; color: var(--p3-muted); }

/* Services grid */
.p3-services {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--p3-gap);
}
@media (min-width: 640px) { .p3-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .p3-services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.p3-svc {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px 28px;
	border-radius: var(--p3-radius-card);
	background: var(--p3-surface);
	color: var(--p3-ink);
	transition: box-shadow .15s ease, transform .15s ease;
}
.p3-svc:hover { box-shadow: 0 10px 28px rgba(22, 34, 45, 0.10); }
.p3-svc:focus-within { box-shadow: 0 0 0 3px var(--p3-accent); }
.p3-svc h3 { font-size: clamp(1.25rem, 1.155rem + 0.381vw, 1.5625rem); line-height: 1.2; }
.p3-svc h3 a { color: inherit; }
.p3-svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.p3-svc h3 a:focus-visible { outline: none; }
.p3-svc > p:not([class]) { font-size: 1rem; line-height: 1.55; color: var(--p3-ink-soft); }
.p3-more { margin-top: auto !important; font-size: 15px; font-weight: 600; color: var(--p3-accent); }
.p3-more::after { content: "\00a0→"; }

.p3-svc[class*="p3-ico--"]::before {
	content: "";
	width: 32px;
	height: 32px;
	background: var(--p3-accent);
	-webkit-mask: var(--p3-ico) center / contain no-repeat;
	mask: var(--p3-ico) center / contain no-repeat;
}
.p3-ico--monitor { --p3-ico: var(--p3-ico-monitor); }
.p3-ico--doc { --p3-ico: var(--p3-ico-doc); }
.p3-ico--cloud { --p3-ico: var(--p3-ico-cloud); }
.p3-ico--code { --p3-ico: var(--p3-ico-code); }
.p3-ico--spark { --p3-ico: var(--p3-ico-spark); }
.p3-ico--shield { --p3-ico: var(--p3-ico-shield); }

.p3-svc--dark { background: var(--p3-ink); color: var(--p3-on-dark); }
.p3-svc--dark > p:not([class]) { color: var(--p3-on-dark-soft); }
.p3-svc--dark .p3-more { color: var(--p3-accent-light); }
.p3-svc--dark[class*="p3-ico--"]::before { background: var(--p3-accent-light); }
.p3-svc--dark:focus-within { box-shadow: 0 0 0 3px var(--p3-accent-light); }
@media (min-width: 1024px) { .p3-svc--wide { grid-column: span 2; } }

/* The full-width Cybersecurity "foundation" card */
.p3-svc--feature {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 48px;
	padding: 40px 36px;
	background: var(--p3-ink);
	color: var(--p3-on-dark);
}
@media (min-width: 640px) { .p3-svc--feature { grid-column: 1 / -1; } }
.p3-svc__body { display: flex; flex-direction: column; gap: 16px; }
.p3-svc__body h3 { font-size: clamp(1.625rem, 1.43rem + 0.8vw, 2.125rem); line-height: 1.15; }
.p3-svc__body > p:not([class]) { font-size: 17px; line-height: 1.6; color: var(--p3-on-dark-soft); }
.p3-svc--feature .p3-more { color: var(--p3-accent-light); }
.p3-svc--feature .p3-dashes { align-self: center; gap: 12px; font-size: 1rem; line-height: 1.45; color: var(--p3-on-dark); }
.p3-svc--feature:focus-within { box-shadow: 0 0 0 3px var(--p3-accent-light); }
.p3-eyebrow.p3-ico--shield { display: flex; align-items: center; gap: 12px; color: var(--p3-accent-light); }
.p3-eyebrow.p3-ico--shield::before {
	content: "";
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background: var(--p3-accent-light);
	-webkit-mask: var(--p3-ico) center / contain no-repeat;
	mask: var(--p3-ico) center / contain no-repeat;
}

/* Security diagram + "security thread" columns */
.p3-diagram { padding: 8px 0 16px; }
.p3-diagram svg { display: block; width: 100%; height: auto; }
.p3-diagram__mobile { display: none !important; }
@media (max-width: 639px) {
	.p3-diagram__desktop { display: none !important; }
	.p3-diagram__mobile { display: block !important; }
}
.p3-thread { gap: 20px; }
.p3-thread__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 20px;
	border-top: 2px solid var(--p3-ink);
}
.p3-thread__item h3 { font-size: clamp(1.25rem, 1.203rem + 0.19vw, 1.375rem) !important; line-height: 1.25; }
.p3-thread__item p { font-size: 1rem; line-height: 1.6; color: var(--p3-ink-soft); }

/* AI section spacing */
.p3-section--ai { padding-block: clamp(3.5rem, 2.386rem + 4.571vw, 6.5rem); }
.p3-section--ai h2 { font-size: var(--p3-h2-lg); line-height: 1.1; }

/* Compliance band */
.p3-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	align-items: center;
}
.p3-split__copy { display: flex; flex-direction: column; gap: 24px; }
.p3-split__copy .wp-block-buttons { padding-top: 8px; }
.p3-section--compliance { padding-block: clamp(3.5rem, 2.386rem + 4.571vw, 6.5rem); }
.p3-section--compliance h2 { font-size: var(--p3-h2-lg); line-height: 1.1; }

/* Beliefs */
.p3-beliefs { gap: 48px; }
.p3-belief {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 24px;
	border-top: 2px solid var(--p3-ink);
}
.p3-belief h3 { font-size: var(--p3-h3-lg) !important; line-height: 1.2; }
.p3-belief p:not(.p3-index) { font-size: 17px; line-height: 1.6; color: var(--p3-ink-soft); }
.p3-section--beliefs { padding-block: clamp(3.5rem, 2.014rem + 4.571vw, 7rem); gap: clamp(1.75rem, 0.886rem + 2.667vw, 3.5rem); }

/* Process steps */
.p3-card--plain h3 { font-size: var(--p3-h3); }
.p3-card--plain > p:not([class]) { line-height: 1.6; }

/* Founder note / Our story */
.p3-founder {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 64px;
	align-items: center;
}
.p3-section--founder { padding-block: clamp(3.5rem, 2.014rem + 4.571vw, 7rem); }
.p3-founder .wp-block-image img {
	display: block;
	width: 260px;
	height: 300px;
	object-fit: cover;
	object-position: 50% 16%;
	border-radius: var(--p3-radius-card);
}
.p3-founder__body { display: flex; flex-direction: column; gap: 28px; }
.p3-bigquote { font-family: var(--p3-font-display); font-size: var(--p3-quote-lg); line-height: 1.35; color: var(--p3-ink); }
.p3-bigquote--sm { font-size: clamp(1.25rem, 1.064rem + 0.762vw, 1.625rem); line-height: 1.4; }
.p3-sig { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--p3-muted); }
.p3-sig strong { font-size: 18px; color: var(--p3-ink); }
.p3-story .p3-founder__body { gap: 22px; }
.p3-story .p3-founder__body > p:not([class]) { font-size: 17px; line-height: 1.7; color: var(--p3-ink-soft); }
.p3-story .p3-sig strong { font-size: 17px; }

/* Testimonials */
.p3-quote {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 28px;
	min-height: 260px;
	margin: 0 !important;
	padding: 36px 32px;
	border: 0;
	border-radius: var(--p3-radius-card);
	background: var(--p3-surface);
	font-style: normal;
	box-sizing: border-box;
}
.p3-quote p { font-family: var(--p3-font-display); font-size: clamp(1.125rem, 1.032rem + 0.381vw, 1.3125rem); line-height: 1.45; color: var(--p3-ink); }
.p3-quote cite { font-size: 15px; font-style: normal; line-height: 1.5; color: var(--p3-muted); }
.p3-quote cite strong { color: var(--p3-ink); }
.p3-section--surface-quotes .p3-quote { background: var(--p3-surface-alt); }
/* Five quotes: three across, then two wider cards, so the second row isn't left short. */
@media (min-width: 1024px) {
	.p3-quotes--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.p3-quotes--5 > * { grid-column: span 2; }
	.p3-quotes--5 > :nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 640px) and (max-width: 1023px) {
	.p3-quotes--5 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .p3-quote { min-height: 0; padding: 28px 24px; } }

/* Partner and community tiles */
.p3-logos { display: flex; flex-direction: column; gap: 20px; }
.p3-logos-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.p3-logos-pair .p3-logos { gap: 18px; }
.p3-logos > p:not([class]) { font-size: 17px; line-height: 1.6; color: var(--p3-ink-soft); }
.p3-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .p3-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .p3-tiles--community { grid-template-columns: minmax(0, 1fr); } }

.p3-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	background: var(--p3-surface);
	border: 1px solid var(--p3-line);
	border-radius: var(--p3-radius-tile);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.p3-tile:hover { border-color: var(--p3-line-strong); box-shadow: 0 6px 18px rgba(22, 34, 45, 0.06); }
.p3-tile a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	box-sizing: border-box;
	color: var(--p3-ink);
	border-radius: inherit;
}
.p3-tile img { display: block; width: auto; max-width: 100%; height: auto; }
.p3-tile--partner a { height: 124px; padding: 16px; }
.p3-tile--community a { min-height: 82px; padding: 14px 16px; }
.p3-tile--ms img { max-height: 66px; }
.p3-tile--dell img { max-height: 78px; }
.p3-tile--sonicwall img { max-height: 91px; }
.p3-tile--fortinet img { max-height: 29px; }
.p3-tile--ctstate img { max-height: 46px; }
.p3-tile--chamber img { max-height: 64px; border-radius: 4px; }
.p3-tile--westcott img { max-height: 54px; }
.p3-tile--neps img { max-height: 56px; }
.p3-tile--neps a { font-size: 15px; font-weight: 600; line-height: 1.35; }
@media (max-width: 639px) {
	.p3-tile--partner a { height: 96px; padding: 12px; }
	.p3-tile--ms img { max-height: 34px; }
	.p3-tile--dell img { max-height: 40px; }
	.p3-tile--sonicwall img { max-height: 47px; }
	.p3-tile--fortinet img { max-height: 15px; }
	.p3-tile--ctstate img { max-height: 40px; }
}
.p3-section--logos { padding-block: clamp(3.5rem, 2.571rem + 3.048vw, 5.5rem); gap: clamp(2rem, 1.303rem + 2.286vw, 3.5rem); }

/* Closing call to action */
.p3-cta {
	align-items: center;
	gap: clamp(1.125rem, 0.893rem + 0.952vw, 1.75rem);
	padding-block: clamp(4rem, 2.7rem + 5.333vw, 7.5rem);
	text-align: center;
	border-top: 1px solid var(--p3-line);
}
.p3-cta h2 { max-width: 900px; font-size: var(--p3-h2-cta) !important; line-height: 1.08 !important; }
.p3-cta p { max-width: 640px; font-size: clamp(1rem, 0.93rem + 0.286vw, 1.1875rem); line-height: 1.6; color: var(--p3-ink-soft); }
.p3-cta .wp-block-buttons { justify-content: center; padding-top: 8px; }
.p3-cta .wp-block-button__link { padding: 18px 30px; font-size: 17px; }
.p3-cta:not(.p3-cta--home) { border-top: 0; }
.p3-section--alt + .p3-cta { border-top: 0; }

/* Inner-page hero */
.p3-pagehero {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 72px;
	align-items: start;
	padding-top: clamp(2rem, 1.35rem + 2.667vw, 3.5rem);
	padding-bottom: clamp(3rem, 2.3rem + 2.857vw, 4.5rem);
}
.p3-pagehero--single { grid-template-columns: minmax(0, 1fr); }
.p3-pagehero__copy { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.p3-pagehero__copy h1 { font-size: var(--p3-h1-page); line-height: 1.06; }
.p3-pagehero__copy .p3-lede { font-size: clamp(1.0625rem, 1.017rem + 0.19vw, 1.1875rem); line-height: 1.6; max-width: none; }
.p3-pagehero__copy .wp-block-buttons { padding-top: 4px; }

/* Breadcrumbs */
.p3-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--p3-muted); }
.p3-breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.p3-breadcrumbs li + li::before { content: "/"; color: var(--p3-crumb-sep); }
.p3-breadcrumbs a { color: var(--p3-muted); }
.p3-breadcrumbs a:hover { color: var(--p3-accent); }
.p3-breadcrumbs [aria-current] { color: var(--p3-ink); }

/* "At a glance" table (About) */
.p3-glance table { width: 100%; border-collapse: collapse; border: 0; font-size: 1rem; line-height: 1.5; }
.p3-glance th,
.p3-glance td { padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--p3-ink-line); vertical-align: top; background: none; }
.p3-glance tr + tr th,
.p3-glance tr + tr td { padding-top: 12px; }
.p3-glance th { font-weight: 400; text-align: left; color: var(--p3-on-dark-soft); padding-right: 16px; white-space: nowrap; }
.p3-glance td { font-weight: 600; text-align: right; color: var(--p3-on-dark); }

/* Service page: outcomes, included, steps, related */
.p3-section--svc { padding-block: clamp(3.5rem, 2.943rem + 2.286vw, 5rem); gap: clamp(1.25rem, 0.693rem + 2.286vw, 2.25rem); }
.p3-section--svc h2,
.p3-section--included h2,
.p3-story h2 { font-size: clamp(1.75rem, 1.425rem + 1.333vw, 2.5rem); line-height: 1.12; }
.p3-outcomes .p3-card { gap: 12px; padding: 32px 28px; border-radius: var(--p3-radius-card); }
.p3-outcomes .p3-card h3 { font-size: clamp(1.25rem, 1.157rem + 0.381vw, 1.5rem); }
.p3-outcomes .p3-card p { line-height: 1.6; }
.p3-section--included { padding-block: clamp(3.5rem, 2.571rem + 3.048vw, 5.5rem); gap: 32px; }
.p3-section--included .p3-head--row p { font-size: 1rem; color: var(--p3-muted); max-width: 460px; }
.p3-steps-grid .p3-card { gap: 12px; padding: 32px 28px; }
.p3-steps-grid .p3-num { width: 40px; height: 40px; }
.p3-steps-grid h3 { font-size: clamp(1.25rem, 1.157rem + 0.381vw, 1.5rem); }
.p3-section--related { padding-top: clamp(3.5rem, 2.943rem + 1.524vw, 4.5rem); padding-bottom: 0; gap: 24px; }
.p3-section--related h2 { font-size: clamp(1.375rem, 1.282rem + 0.381vw, 1.625rem) !important; }
.p3-section--related .wp-block-buttons { gap: 12px; }
.p3-section--related + .p3-cta { padding-top: clamp(3.5rem, 2.571rem + 3.048vw, 5.5rem); }

/* Contact page */
.p3-section--contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; padding-top: 8px; }
.p3-form-card { gap: 20px; background: var(--p3-surface-alt); border-color: var(--p3-surface-alt); }
.p3-form-card h2,
.p3-direct h2 { font-size: clamp(1.5rem, 1.407rem + 0.381vw, 1.75rem) !important; }
.p3-direct { display: flex; flex-direction: column; gap: 14px; }
.p3-contact-aside { display: flex; flex-direction: column; gap: 28px; }
.p3-map { display: flex; flex-direction: column; gap: 12px; }
.p3-map__frame { overflow: hidden; border-radius: var(--p3-radius-card); background: var(--p3-line); }
.p3-map__frame iframe { display: block; width: 100%; height: 260px; border: 0; }
.p3-map__caption { font-size: 15px; line-height: 1.5; color: var(--p3-muted); }
.p3-map__caption a { font-weight: 600; white-space: nowrap; }
.p3-card--dark.p3-next { gap: 14px; padding: 28px 30px; border-radius: var(--p3-radius-card); }
.p3-card--dark.p3-next .p3-steps li { color: var(--p3-on-dark); }
.p3-existing { gap: 8px; padding: 24px 26px; border-radius: var(--p3-radius-card); }
.p3-existing p:first-child { font-size: 17px; font-weight: 700; color: var(--p3-ink); }
.p3-existing .p3-textlink a { color: var(--p3-accent); font-weight: 600; }
.p3-incident { gap: 8px; padding: 24px 26px; border-radius: var(--p3-radius-card); border-color: var(--p3-accent); }
.p3-incident p:first-child { font-size: 17px; font-weight: 700; color: var(--p3-ink); }

/* Contact Form 7 */
.wpcf7 form { display: flex; flex-direction: column; gap: 20px; }
.wpcf7 form > p { margin: 0; }
.p3-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.p3-field { display: flex; flex-direction: column; gap: 8px; }
.p3-field label { font-size: 15px; font-weight: 600; color: var(--p3-ink); }
.p3-field .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	min-height: 48px;
	padding: 14px 16px;
	border: 1px solid var(--p3-line-strong);
	border-radius: 10px;
	background: var(--p3-surface);
	color: var(--p3-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	box-sizing: border-box;
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus,
.wpcf7 textarea:focus { border-color: var(--p3-ink); outline: 3px solid rgba(185, 28, 28, 0.25); outline-offset: 0; }
.p3-form-actions { display: flex; align-items: center; gap: 12px; }
.wpcf7 .wpcf7-spinner { margin: 0; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 14px; color: var(--p3-accent); }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border-radius: 10px; font-size: 15px; }
.p3-form-card .p3-note { font-size: 14px; }
@media (max-width: 639px) {
	.p3-form-row { grid-template-columns: minmax(0, 1fr); }
	.p3-form-actions { flex-direction: column; align-items: stretch; }
	.wpcf7 .wpcf7-submit { width: 100%; }
}

/* Long-form text (Privacy) */
.p3-prose { max-width: 760px; }
.p3-prose > * + * { margin-top: 1em !important; }
.p3-prose h2 { font-size: clamp(1.375rem, 1.282rem + 0.381vw, 1.625rem) !important; margin-top: 1.6em !important; }
.p3-prose p,
.p3-prose li { font-size: 17px; line-height: 1.7; color: var(--p3-ink-soft); }
.p3-prose ul { padding-left: 1.25em !important; list-style: disc; }

/* 404 */
.p3-404 { min-height: 50vh; padding-bottom: var(--p3-section-y); }
.p3-404 .p3-pagehero__copy { gap: 28px; }
.p3-404__links { gap: 12px; }
.p3-404 .p3-note a { font-weight: 600; }

/* ---------- 11. Responsive ---------- */
@media (max-width: 1023px) {
	.p3-head--row { flex-direction: column; align-items: flex-start; }
	.p3-hero,
	.p3-pagehero,
	.p3-split,
	.p3-section--contact,
	.p3-logos-pair { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.p3-head { grid-template-columns: minmax(0, 1fr); }
	.p3-creds { flex-wrap: wrap; justify-content: flex-start; gap: 24px 40px; }
	.p3-cred { max-width: none; flex: 1 1 calc(33.333% - 40px); }
	.p3-svc--feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.p3-svc--feature .p3-dashes { align-self: stretch; }
	.p3-founder { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
	.p3-founder .wp-block-image img { width: 200px; height: 240px; }
	.p3-beliefs { gap: 32px; }
}

@media (max-width: 639px) {
	.p3-hero { gap: 28px; }
	.p3-hero__copy { gap: 20px; }
	.p3-hero__copy .p3-textlink { margin-top: -8px; }
	.p3-hero__copy .p3-eyebrow { font-size: 12px; letter-spacing: 0.12em; }
	.p3-hero__card { box-shadow: 0 12px 28px rgba(22, 34, 45, 0.10); border-color: transparent; padding: 22px; }
	.p3-person { gap: 16px; }
	.p3-person img { width: 120px; height: 144px; border-radius: 12px; }
	.p3-person__caption { font-size: 14px; }
	.p3-person__caption strong { font-size: 16px; }

	.wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; box-sizing: border-box; }
	.p3-section--related .wp-block-buttons,
	.p3-404__links { flex-direction: row; align-items: center; }
	.p3-section--related .wp-block-buttons > .wp-block-button,
	.p3-404__links > .wp-block-button { width: auto; }
	.p3-section--related .wp-block-buttons > .wp-block-button .wp-block-button__link,
	.p3-404__links > .wp-block-button .wp-block-button__link { width: auto; }

	.p3-eyebrow { font-size: 12px; letter-spacing: 0.12em; }
	.p3-creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 24px 0; }
	/* Mobile mockup order: 2004, CMMC, 30+ years, Veteran Owned, then the two partners. */
	.p3-cred:nth-child(4),
	.p3-cred:nth-child(5) { order: 1; }
	.p3-cred { gap: 2px; }
	.p3-cred__value,
	.p3-cred__value--long { font-size: 24px; line-height: 1.25; }
	.p3-cred__label { font-size: 13px; }

	.p3-panel { padding: 28px 24px; gap: 16px; border-radius: 16px; }
	.p3-lines { gap: 12px; }
	.p3-svc { padding: 28px 24px; gap: 14px; }
	.p3-svc--feature { padding: 28px 24px; }
	.p3-thread__item { gap: 8px; padding-top: 16px; }
	.p3-thread__item p { font-size: 15px; line-height: 1.55; }
	.p3-beliefs { gap: 28px; }
	.p3-belief { padding-top: 20px; gap: 12px; }
	.p3-belief p:not(.p3-index) { font-size: 16px; }

	.p3-founder { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.p3-founder .wp-block-image img { width: 160px; height: 192px; border-radius: 14px; }
	.p3-founder__body { gap: 20px; }

	.p3-glance th { white-space: normal; }
	.p3-cta { border-top: 1px solid var(--p3-line); }
}
