/* W6 — shared page sections, home approach/contact and editable footer. */
:root {
	--a4a-content-width: 1386px;
	--a4a-gutter: 75px;
}

body.page:not(.home) .entry-header,
body.home #footer,
body.page #footer,
body.page:not(.home) .ct-footer,
body.page:not(.home) .site-title-container {
	display: none;
}

body.page:not(.home) .ct-container-full { padding-bottom: 0; }

body.page,
body.home {
	color: var(--a4a-title);
	font-family: var(--a4a-font-sans);
}

body.page:not(.home) #header .ct-container {
	width: calc(100% - 116px);
	max-width: 1420px;
	margin-inline: auto;
	padding-inline: 0;
}

body.page:not(.home) #header .site-title-container {
	display: none;
}

body.page:not(.home) #header .site-logo-container {
	line-height: 0;
}

body.page:not(.home) #header .site-logo-container img {
	width: min(360px, 32vw);
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

body.page:not(.home) #header .header-menu-1 > ul {
	align-items: center;
	gap: 35px;
}

body.page:not(.home) #header .header-menu-1 .ct-menu-link {
	padding: 0;
	color: var(--a4a-title);
	font-size: 14px;
	font-weight: 550;
	text-transform: none !important;
}

body.page:not(.home) #header .header-menu-1 { --theme-header-menu-text-transform: none; }

body.page:not(.home) #header .ct-header-cta {
	margin-inline-start: 30px;
	margin-inline-end: 8px;
	padding-inline-start: 31px;
	border-inline-start: 1px solid #9eb3cd;
}

body.page:not(.home) #header .ct-header-cta .ct-button {
	box-sizing: border-box;
	width: 254px;
	min-height: 49px;
	border-radius: var(--a4a-button-radius);
	background: linear-gradient(112deg, #0876d0 0%, #0052aa 60%, #00388f 100%);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
}

body.page:not(.home) #header .ct-header-cta .ct-button::after {
	content: "→";
	margin-inline-start: 13px;
	font-size: 20px;
	font-weight: 400;
}

.a4a-page-section,
.a4a-contact-band,
.a4a-site-footer {
	box-sizing: border-box;
	position: relative;
	left: auto;
	width: 100vw;
	max-width: 100vw;
	margin: 0 0 0 calc((100% - 100vw) / 2);
}

.a4a-page-section > .wp-block-group,
.a4a-contact-band > .wp-block-group,
.a4a-site-footer > .wp-block-group {
	box-sizing: border-box;
	width: min(var(--a4a-content-width), calc(100% - 2 * var(--a4a-gutter)));
	margin-inline: auto;
}

.a4a-page-intro {
	padding: 74px 0 64px;
	background: linear-gradient(110deg, #fff 0%, #f8fbfe 100%);
}

.a4a-page-shell {
	max-width: 920px;
}

.a4a-page-eyebrow {
	margin: 0 0 18px;
	color: var(--a4a-small-text-accessible);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	line-height: 1.5;
}

.a4a-page-section h1,
.a4a-page-section h2,
.a4a-contact-band h2 {
	color: var(--a4a-title);
	font-family: var(--a4a-font-sans);
	font-weight: 700;
	letter-spacing: -1px;
	line-height: 1.14;
}

.a4a-page-section h1 {
	max-width: 940px;
	margin: 0 0 24px;
	font-size: clamp(38px, 4.2vw, 60px);
}

.a4a-page-section h2,
.a4a-contact-band h2 {
	margin: 0 0 22px;
	font-size: clamp(28px, 3vw, 40px);
}

.a4a-page-section h3 {
	margin: 0 0 12px;
	color: var(--a4a-title);
	font-family: var(--a4a-font-sans);
	font-size: 23px;
	font-weight: 650;
	line-height: 1.25;
}

.a4a-page-section p,
.a4a-contact-band p {
	color: var(--a4a-body);
	font-size: 18px;
	line-height: 1.65;
}

.a4a-page-section .a4a-page-shell > p:not(.a4a-page-eyebrow) {
	max-width: 850px;
	margin: 0 0 16px;
}

.a4a-page-section ul {
	margin-block: 10px 24px;
	padding-inline-start: 24px;
	color: var(--a4a-body);
	font-size: 17px;
	line-height: 1.8;
}

.a4a-page-section .a4a-list-lead {
	margin-bottom: 4px;
	font-weight: 600;
}

.a4a-page-section .wp-block-buttons {
	margin-top: 24px;
}

.a4a-page-section .wp-block-button__link,
.a4a-contact-band .wp-block-button__link {
	min-height: 50px;
	padding: 14px 26px;
	border-radius: var(--a4a-button-radius);
	background: linear-gradient(112deg, #0366c1 0%, #0052ae 54%, #00368b 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

/* Homepage's three-step section matches the reference's compact row. */
body.home .a4a-approach-section {
	box-sizing: border-box;
	min-height: 297px;
	height: 297px;
	padding: 22px 0 12px;
	background: #fff;
	text-align: center;
}

body.home .a4a-approach-section > .a4a-approach-inner {
	width: min(1386px, calc(100% - 150px));
	max-width: 1386px;
}

body.home .a4a-approach-inner > .a4a-page-eyebrow,
.a4a-approach-inner > .a4a-page-eyebrow {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	margin: 0 0 6px;
	color: #0067ad;
	font-size: 9px;
	letter-spacing: 4px;
}

.a4a-approach-inner > .a4a-page-eyebrow::before,
.a4a-approach-inner > .a4a-page-eyebrow::after {
	width: 37px;
	height: 1px;
	content: "";
	background: var(--a4a-accent-line);
}

body.home .a4a-approach-inner > h2 {
	margin: 0 0 2px;
	font-size: 36px;
}

body.home .a4a-approach-inner > p:not(.a4a-page-eyebrow) {
	margin: 0 auto 27px;
	font-size: 18px;
	line-height: 1.4;
}

.a4a-steps-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	text-align: left;
}

.a4a-step-card {
	box-sizing: border-box;
	min-width: 0;
	padding: 0 42px;
}

.a4a-step-card + .a4a-step-card {
	border-inline-start: 1px solid #dce8f5;
}

body.home .a4a-step-card {
	position: relative;
	min-height: 120px;
	padding-inline-start: 99px;
	padding-inline-end: 18px;
}

body.home .a4a-steps-grid {
	width: 100%;
	max-width: none;
	grid-template-columns: .96fr 1fr .98fr;
}

body.home .a4a-step-card:nth-child(2) {
	padding-inline-start: 140px;
}

body.home .a4a-step-card:nth-child(3) {
	padding-inline-start: 133px;
}

body.home .a4a-step-card:nth-child(n+2) > .a4a-page-eyebrow {
	left: 42px;
}

body.home .a4a-step-card > .a4a-page-eyebrow {
	position: absolute;
	left: 0;
	top: -7px;
	margin: 0;
	color: var(--a4a-number-accessible);
	font-size: 44px;
	font-weight: 300;
	letter-spacing: -1px;
	line-height: 1.2;
}

body.home .a4a-step-card > .a4a-page-eyebrow::after {
	position: absolute;
	left: 3px;
	bottom: -11px;
	width: 45px;
	height: 2px;
	content: "";
	background: var(--a4a-accent-line);
}

body.home .a4a-step-card h3 {
	margin: 0 0 24px;
	font-size: 25px;
}

body.home .a4a-step-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
}

.a4a-contact-band {
	position: relative;
	padding: 38px 0 36px;
	background: #e8f4fe;
	background-image: linear-gradient(125deg, rgba(255,255,255,.30), transparent 55%);
}

.a4a-contact-inner {
	display: grid !important;
	grid-template-columns: 60.25% 28.75% 11%;
	grid-template-rows: auto auto auto;
	align-items: center;
	column-gap: 0;
}

.a4a-contact-band > .a4a-contact-inner {
	width: min(1386px, calc(100% - 150px));
	max-width: 1386px;
}

.a4a-contact-inner > .a4a-page-eyebrow {
	grid-column: 1;
	grid-row: 1;
	margin: 0 0 8px;
	font-size: 9px;
	letter-spacing: 3px;
}

.a4a-contact-inner > h2 {
	grid-column: 1;
	grid-row: 2;
	margin: 0 0 4px;
	font-size: 32px;
	letter-spacing: -.6px;
}

.a4a-contact-inner > p:not(.a4a-page-eyebrow) {
	grid-column: 1;
	grid-row: 3;
	margin: 0;
	font-size: 16px;
	letter-spacing: 1.5px;
	line-height: 1.55;
}

.a4a-contact-details {
	grid-column: 2;
	grid-row: 1 / span 3;
	min-height: 92px;
	padding-inline-start: 74px;
	border-inline-start: 1px solid var(--a4a-accent-line);
}

.a4a-contact-inner > p.a4a-contact-side {
	grid-column: 3;
	grid-row: 1 / span 3;
	position: relative;
	width: 120px;
	margin-inline-start: 139px;
	margin: 0;
	margin-inline-start: 59px;
	color: var(--a4a-small-text-accessible);
	font-size: 9px;
	letter-spacing: 4px;
	line-height: 2.1;
}

.a4a-contact-inner > .a4a-contact-side::after {
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 34px;
	height: 1px;
	content: "";
	background: var(--a4a-accent-line);
}

.a4a-contact-details p {
	margin: 20px 0 2px;
	font-size: 18px;
	line-height: 1.5;
}

.a4a-contact-details .a4a-contact-email a {
	color: var(--a4a-body);
	text-decoration: none;
}

.a4a-contact-details .a4a-contact-email {
	position: relative;
	top: 23px;
	display: flex;
	align-items: center;
	gap: 19px;
}

.a4a-contact-details .a4a-contact-email::before {
	width: 28px;
	height: 20px;
	flex: 0 0 28px;
	content: "";
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18' fill='none' stroke='%23071a56' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='1' width='22' height='16' rx='1'/%3E%3Cpath d='m2 3 10 8 10-8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.a4a-contact-details .a4a-contact-email a:hover {
	text-decoration: underline;
}

.a4a-contact-details .a4a-contact-founder {
	position: relative;
	top: 24px;
	margin-inline-start: 48px;
	margin-top: 2px;
	font-size: 16px;
}

.a4a-site-footer {
	height: 58px;
	padding: 6px 0;
	background: #fff;
}

body.home .a4a-site-footer > .a4a-footer-inner {
	width: calc(100% - 100px);
	max-width: none;
}

.a4a-footer-inner {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.a4a-footer-brand h3 {
	margin: 0;
	color: var(--a4a-title);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}

.a4a-footer-inner > .a4a-footer-brand {
	position: relative;
	box-sizing: border-box;
	width: 194px;
	max-width: none;
	flex: 0 0 194px;
	margin: 0 !important;
}

.a4a-footer-inner > .a4a-footer-brand::before {
	display: block;
	width: 156px;
	height: 33px;
	content: "";
	margin-left: -5px;
	background: url("../images/logo-pied.png") center / contain no-repeat;
}

.a4a-footer-inner > .a4a-footer-brand::after {
	position: absolute;
	top: 16px;
	left: 163px;
	width: 30px;
	height: 1px;
	content: "";
	background: var(--a4a-accent-line);
}

.a4a-footer-inner > .a4a-footer-brand h3,
.a4a-footer-inner > .a4a-footer-brand .a4a-footer-tagline {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.a4a-footer-brand .a4a-footer-tagline {
	margin: 1px 0 0;
	color: #0067ad;
	font-size: 8px;
	letter-spacing: 1.2px;
	line-height: 1.2;
}

.a4a-footer-inner > .a4a-footer-statement {
	position: relative;
	max-width: none;
	width: 341px;
	flex: 0 0 341px;
	margin: 0 !important;
	padding-inline-start: 42px;
	color: var(--a4a-small-text-accessible);
	font-size: 9px;
	letter-spacing: 2.4px;
	line-height: 1.4;
}

.a4a-footer-inner > .a4a-footer-statement::before {
	position: absolute;
	left: 0;
	top: 50%;
	width: 24px;
	height: 1px;
	content: "";
	background: var(--a4a-accent-line);
}

.a4a-service-section,
.a4a-story-section,
.a4a-project-section {
	padding: 62px 0;
	background: #fff;
}

.a4a-service-section:nth-of-type(even),
.a4a-project-section:nth-of-type(even) {
	background: #f7fbff;
}

.a4a-service-card,
.a4a-project-card,
.a4a-story-inner {
	max-width: 1000px;
}

.a4a-service-card > .a4a-page-eyebrow,
.a4a-project-card > .a4a-page-eyebrow {
	margin-bottom: 10px;
	color: var(--a4a-small-text-accessible);
	font-size: 12px;
}

.a4a-approach-section {
	padding: 64px 0;
	background: #f7fbff;
}

.a4a-approach-inner > h2,
.a4a-approach-inner > p:not(.a4a-page-eyebrow) {
	text-align: center;
}

.a4a-approach-inner > p:not(.a4a-page-eyebrow) {
	max-width: 880px;
	margin: 0 auto 30px;
}

.a4a-project-section .a4a-project-card {
	max-width: 920px;
}

@media (max-width: 1199px) {
	:root { --a4a-gutter: 38px; }
	body.home .a4a-approach-section > .a4a-approach-inner,
	.a4a-contact-band > .a4a-contact-inner { width: calc(100% - 76px); max-width: none; }
	.a4a-step-card { padding-inline: 24px; }
	body.home .a4a-steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.home .a4a-step-card, body.home .a4a-step-card:nth-child(2), body.home .a4a-step-card:nth-child(3) { padding-inline-start: 74px; padding-inline-end: 24px; }
	body.home .a4a-step-card:nth-child(n+2) > .a4a-page-eyebrow { left: 0; }
	.a4a-contact-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); column-gap: 0; }
	.a4a-contact-details { grid-column: 2; padding-inline-start: 32px; }
	.a4a-contact-inner > .a4a-contact-side { display: none; }
	body.page:not(.home) #header .ct-container { width: calc(100% - 44px); }
	body.page:not(.home) #header .site-logo-container img { width: auto; max-width: min(390px, 68vw); max-height: 66px; }
	body.page:not(.home) #header [data-device="desktop"] { display: none; }
	body.page:not(.home) #header [data-device="mobile"] { display: block !important; }
	body.page:not(.home) #header .ct-header-trigger {
	display: flex !important;
	position: absolute !important;
	top: 13px;
	inset-inline-end: 16px;
	z-index: 2;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--a4a-title);
	opacity: 1 !important;
	visibility: visible !important;
}
	body.page:not(.home) #header .ct-header-trigger svg { display: none !important; }
	body.page:not(.home) #header .ct-header-trigger::before {
	width: 22px;
	height: 16px;
	content: "";
	background: linear-gradient(to bottom, currentColor 0 2px, transparent 2px 7px, currentColor 7px 9px, transparent 9px 14px, currentColor 14px 16px);
}
}

@media (max-width: 689px) {
	:root { --a4a-gutter: 20px; }
	.a4a-page-section, .a4a-contact-band, .a4a-site-footer { left: auto; width: 100%; max-width: 100%; margin: 0; }
	body.home .a4a-approach-section > .a4a-approach-inner,
	.a4a-contact-band > .a4a-contact-inner { width: calc(100% - 40px); max-width: none; }
	.a4a-page-intro { padding: 104px 0 44px; }
	body.page:not(.home) #header .ct-container { width: calc(100% - 32px); }
	body.page:not(.home) #header .site-logo-container img { max-width: min(290px, 71vw); max-height: 54px; }
	body.page:not(.home) #header .site-branding { min-height: 72px; align-items: center; }
	.a4a-page-eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: 2.2px; }
	.a4a-page-section h1 { margin-bottom: 18px; font-size: 36px; }
	.a4a-page-section h2, .a4a-contact-band h2 { font-size: 28px; }
	.a4a-page-section h3 { font-size: 21px; }
	.a4a-page-section p, .a4a-contact-band p { font-size: 16px; line-height: 1.6; }
	.a4a-page-section ul { font-size: 15px; }
	.a4a-service-section, .a4a-story-section, .a4a-project-section { padding: 42px 0; }
	body.home .a4a-approach-section { min-height: 0; height: auto; padding: 32px 0 36px; }
	body.home .a4a-approach-inner > h2 { font-size: 28px; }
	body.home .a4a-approach-inner > p:not(.a4a-page-eyebrow) { margin-bottom: 25px; font-size: 16px; }
	.a4a-steps-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	body.home .a4a-steps-grid { grid-template-columns: minmax(0, 1fr); }
	.a4a-step-card, body.home .a4a-step-card { min-height: 0; padding: 22px 0 24px 76px; }
	.a4a-step-card + .a4a-step-card { border-inline-start: 0; border-top: 1px solid #dce8f5; }
	body.home .a4a-step-card > .a4a-page-eyebrow { top: 18px; font-size: 36px; }
	body.home .a4a-step-card > .a4a-page-eyebrow::after { bottom: -9px; width: 38px; }
	body.home .a4a-step-card h3 { margin-bottom: 9px; font-size: 22px; }
	body.home .a4a-step-card p { font-size: 15px; }
	.a4a-contact-band { padding: 32px 0; }
	.a4a-contact-inner { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
	.a4a-contact-inner > .a4a-page-eyebrow { margin-bottom: 8px; }
	.a4a-contact-inner > h2 { margin-bottom: 6px; font-size: 26px; }
	.a4a-contact-inner > p:not(.a4a-page-eyebrow) { font-size: 15px; letter-spacing: .2px; }
	.a4a-contact-details { min-height: 0; margin-top: 20px; padding: 4px 0 0 18px; border-inline-start: 2px solid var(--a4a-accent-line); }
	.a4a-contact-details .a4a-contact-email { position: static; top: auto; margin-top: 7px; }
	.a4a-contact-details .a4a-contact-founder { position: static; top: auto; margin-inline-start: 0; margin-top: 2px; }
	.a4a-contact-inner > .a4a-contact-side { display: none; }
	.a4a-contact-details p { margin: 7px 0 2px; font-size: 16px; }
	.a4a-contact-details .a4a-contact-founder { font-size: 14px; }
	.a4a-site-footer { height: auto; min-height: 76px; padding: 10px 0; }
	.a4a-footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
	.a4a-footer-inner > .a4a-footer-brand { height: 33px; min-height: 0; flex: 0 0 33px; }
	.a4a-footer-inner > .a4a-footer-statement { width: auto; flex: 0 0 auto; padding-inline-start: 32px; font-size: 8px; letter-spacing: 1.4px; }
	body.home .a4a-site-footer > .a4a-footer-inner { width: calc(100% - 40px); max-width: none; }
}

@media (min-width: 690px) and (max-width: 850px) {
	body.home .a4a-approach-section { height: auto; min-height: 0; padding: 32px 0 36px; }
	body.home .a4a-steps-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	body.home .a4a-step-card,
	body.home .a4a-step-card:nth-child(2),
	body.home .a4a-step-card:nth-child(3) { min-height: 0; padding: 22px 0 24px 76px; border-inline-start: 0; }
	body.home .a4a-step-card + .a4a-step-card { border-top: 1px solid #dce8f5; }
	body.home .a4a-step-card > .a4a-page-eyebrow { top: 18px; font-size: 36px; }
	body.home .a4a-step-card > .a4a-page-eyebrow::after { bottom: -9px; width: 38px; }
	body.home .a4a-step-card h3 { margin-bottom: 9px; font-size: 22px; }
	body.home .a4a-contact-band { padding: 32px 0; }
	body.home .a4a-contact-inner { display: flex !important; flex-direction: column; align-items: stretch; gap: 0; }
	body.home .a4a-contact-inner > .a4a-page-eyebrow { margin-bottom: 8px; }
	body.home .a4a-contact-inner > h2 { margin-bottom: 6px; font-size: 26px; }
	body.home .a4a-contact-inner > p:not(.a4a-page-eyebrow) { font-size: 16px; }
	body.home .a4a-contact-details { min-height: 0; margin-top: 20px; padding: 4px 0 0 18px; border-inline-start: 2px solid var(--a4a-accent-line); }
	body.home .a4a-contact-details .a4a-contact-email { position: static; top: auto; margin-top: 7px; }
	body.home .a4a-contact-details .a4a-contact-founder { position: static; top: auto; margin: 2px 0 0; }
	body.home .a4a-contact-inner > .a4a-contact-side { display: none; }
}

@media (max-width: 350px) {
	body.home .a4a-home-hero__eyebrow { gap: 7px; font-size: 6px; letter-spacing: .6px; white-space: normal; flex-wrap: wrap; }
	body.home .a4a-home-hero__eyebrow::before { width: 22px; flex-basis: 22px; }
	body.home .a4a-step-card,
	body.home .a4a-step-card:nth-child(2),
	body.home .a4a-step-card:nth-child(3) { padding: 78px 0 22px; }
	body.home .a4a-step-card h3 { font-size: 18px; }
}

@media (max-width: 200px) {
	:root { --a4a-gutter: 12px; }
	body.home .a4a-home-hero__eyebrow { white-space: normal; flex-wrap: wrap; }
	body.home .a4a-home-hero__inner,
	body.home .a4a-approach-section > .a4a-approach-inner,
	body.home .a4a-contact-band > .a4a-contact-inner { width: calc(100% - 24px); }
	body.home .a4a-home-hero__title { font-size: 18px; letter-spacing: -.7px; }
	body.home .a4a-home-hero__signature { font-size: 14px; line-height: 20px; }
	body.home .a4a-home-hero__intro { font-size: 15px; line-height: 21px; }
	body.home .a4a-home-hero__actions .wp-block-button,
	body.home .a4a-home-hero__actions .wp-block-button__link { width: calc(100vw - 24px) !important; max-width: calc(100vw - 24px) !important; }
	body.home .a4a-home-hero__actions .wp-block-button__link { padding-inline: 10px; font-size: 12px; }
	body.home .a4a-home-hero__actions .wp-block-button__link::after { margin-inline-start: 8px; font-size: 16px; }
	body.home .a4a-approach-inner > h2 { font-size: 21px; }
	body.home .a4a-step-card h3 { font-size: 16px; }
	body.home .a4a-contact-inner > h2 { font-size: 20px; }
	body.home .a4a-contact-details .a4a-contact-email { gap: 9px; font-size: 13px; overflow-wrap: anywhere; }
}
