/* WordPress integration and internal-page layer.
 * Loaded after the approved standalone prototype stylesheet.
 */

/* WordPress toolbar keeps the fixed header below the editing controls. */
.admin-bar .site-header { top: 32px; }

/* Standard wp_nav_menu markup, visually matched to the prototype navigation. */
.nav-menu {
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	position: relative;
	display: flex;
	min-height: 86px;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	font-weight: 700;
}
.nav-menu > li > a::after {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	height: 2px;
	background: var(--sky);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .25s ease;
}
.nav-menu > li:hover > a::after,
.nav-menu > .current-menu-item > a::after,
.nav-menu > .current-menu-ancestor > a::after { transform: scaleX(1); transform-origin: left; }
.menu-item-has-children > a::before {
	order: 2;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-2px) rotate(45deg);
}
.sub-menu {
	position: absolute;
	top: calc(100% - 12px);
	left: 50%;
	min-width: 270px;
	margin: 0;
	padding: 12px;
	color: var(--ink);
	background: rgba(255,255,255,.97);
	border: 1px solid rgba(13,27,42,.08);
	border-radius: 18px;
	box-shadow: 0 22px 60px rgba(7,26,51,.16);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	backdrop-filter: blur(16px);
}
.sub-menu::before { position: absolute; inset: -16px 0 auto; height: 18px; content: ""; }
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { display: block; padding: 11px 13px; border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.sub-menu a:hover { color: var(--blue); background: var(--pale); }

.brand { gap: 12px; letter-spacing: -.045em; }
.brand-mark {
	display: block;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	object-fit: contain;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	transform: none;
	transition: transform .28s ease, filter .28s ease;
}
.brand-mark::before,
.brand-mark::after { display: none; content: none; }
.brand:hover .brand-mark { filter: saturate(1.08) brightness(1.04); transform: translateY(-1px) scale(1.025); }
.brand-wordmark { line-height: 1; }
.nav-panel-brand { display: none; }

/* Clear properties introduced by the first WordPress draft where the prototype intentionally leaves them unset. */
.hero { padding: 0; }
.system-panel { padding: 0; overflow: visible; }
.system-node { width: auto; }
.system-node strong,
.system-node b { margin-top: 0; }
.system-node strong { letter-spacing: normal; }
.system-node b { display: inline; }
.capability-strip { background: transparent; border: 0; }
.capability-item:first-child { padding: 28px 30px; }
.work,
.growth { position: static; }
.growth::before { display: none; }
.growth-track { overflow: visible; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 0; }
.growth-step,
.growth-step:hover { background: transparent; }
.growth-step { transition-property: all; }
.services .service-card::after { display: none; }
.process-item > span { display: block; width: auto; height: auto; background: transparent; border-radius: 0; font-size: 14px; line-height: 1; }
.ownership::before { display: none; }
.ownership-points { grid-template-columns: 1fr; }
.ownership-point { min-height: auto; transition-property: all; }
.ownership-point strong { margin-top: 0; }
.ownership-point:hover { background: rgba(5,24,48,.5); transform: none; }
.faq-intro { position: sticky; top: 130px; align-self: start; }
.faq-question { justify-content: normal; }
.contact { animation: none; }
.contact-grid { align-items: center; }
.contact-copy > p:not(.eyebrow,.direct-email) { margin: 28px 0 44px; color: #aebfd2; font-size: 18px; }
.site-footer { padding: 0; }
.footer-col { display: block; }
.footer-bottom { margin-top: 0; }
.project-card {
	display: block;
	color: var(--white);
	text-decoration: none;
	cursor: pointer;
}
.project-card:focus-visible {
	outline: 3px solid var(--sky);
	outline-offset: 5px;
}
.project-top {
	position: absolute;
	top: 22px;
	right: 32px;
	left: 32px;
	justify-content: flex-start;
	padding: 0;
}
.field { display: block; }
.contact-form { border: 0; }
.form-intro {
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
}
.form-intro h3 { font-size: clamp(25px,2.2vw,32px); }
.form-intro p {
	max-width: 520px;
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}
.process-grid {
	grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
	gap: 80px;
}

/* Internal pages reuse the same navy, grid and connected-system motif as the approved hero. */
.page-hero,
.case-hero,
.contact-page {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 86% 18%, rgba(20,99,255,.35), transparent 31%),
		radial-gradient(circle at 60% 90%, rgba(56,189,248,.12), transparent 28%),
		var(--navy);
}
.page-hero::before,
.case-hero::before,
.contact-page::after {
	position: absolute;
	inset: 0;
	opacity: .2;
	background-image:
		linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to right, transparent 5%, #000 50%, transparent 100%);
	content: "";
}
.page-hero { min-height: 720px; padding: 148px 0 92px; }
.page-hero__inner { position: relative; z-index: 2; grid-template-columns: minmax(0,1.13fr) minmax(420px,.87fr); gap: 80px; }
.page-hero__visual { min-height: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; backdrop-filter: none; }
.system-panel--page { min-height: 500px; }
.page-hero__copy h1 { font-size: clamp(50px,5.2vw,76px); }
.page-hero__copy > p:not(.eyebrow) { color: #b9c9dc; line-height: 1.55; }
.case-hero__grid,
.contact-page .contact-grid { position: relative; z-index: 2; }
.case-hero { padding-top: 150px; }
.case-shot { border-radius: var(--radius); }
.contact-page { animation: none; }
.contact-page::before { display: none; }
.contact-page__orb { display: none; }

/* Internal collections retain the approved project-card geometry. */
.work-grid--compact { grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: none; }
.work-grid--compact .project-card,
.work-grid--compact .project-card:first-child { grid-row: auto; min-height: 560px; }
.work-grid--compact .project-info h3 { font-size: clamp(26px,2.4vw,34px); }

/* Internal dark panels use the same restrained surface language as the prototype. */
.principle-panel,
.outcome-panel,
.fact-panel,
.cta-panel {
	background:
		radial-gradient(circle at 15% 10%, rgba(56,189,248,.18), transparent 30%),
		radial-gradient(circle at 95% 95%, rgba(20,99,255,.34), transparent 38%),
		var(--navy);
	animation: none;
}
.service-card { color: var(--ink); }
.service-card:hover { color: var(--white); }

/* Smooth color washes for linked service cards. */
.service-card::before,
.service-row::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(135deg,#1463ff 0%,#236fff 55%,#2753d7 100%);
	content: "";
	opacity: 0;
	pointer-events: none;
	transition: opacity .58s cubic-bezier(.2,.7,.2,1);
}
.service-card > *,
.service-row > * { position: relative; z-index: 1; }
.service-card:hover,
.service-card:focus-visible,
.service-row:hover,
.service-row:focus-visible { color: var(--white); background: var(--white); }
.service-card:hover::before,
.service-card:focus-visible::before,
.service-row:hover::before,
.service-row:focus-visible::before { opacity: 1; }
.service-card,
.service-row { isolation: isolate; transition-duration: .52s; transition-timing-function: cubic-bezier(.2,.7,.2,1); }
.service-card p,
.service-card .service-kicker,
.service-card .service-list li,
.service-card .service-list li + li::before,
.service-row p,
.service-row .service-kicker { transition: color .52s ease; }
.service-card:focus-visible p,
.service-card:focus-visible .service-kicker,
.service-card:focus-visible .service-list li,
.service-card:focus-visible .service-list li + li::before,
.service-row:focus-visible p,
.service-row:focus-visible .service-kicker { color: #dce9ff; }
.service-row__num { width: 60px; height: 60px; font-size: 13px; transition: color .45s ease, background .45s ease, box-shadow .45s ease; }
.service-row:hover .service-row__num,
.service-row:focus-visible .service-row__num {
	color: var(--white);
	background: rgba(255,255,255,.14);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

/* Service details: confident checks, one connected capability surface and a full-width principle. */
.check-list li {
	align-items: center;
	gap: 20px;
	min-height: 78px;
	padding: 20px 0;
	font-size: 16px;
	font-weight: 650;
	line-height: 1.45;
}
.check-grid li { align-items: center; }
.check {
	position: relative;
	display: grid;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin: 0;
	place-items: center;
	background: linear-gradient(145deg,#4c62ff 0%,#1463ff 48%,#38bdf8 100%);
	border: 1px solid rgba(255,255,255,.48);
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(20,99,255,.28), inset 0 1px 0 rgba(255,255,255,.34);
	transition: transform .3s ease, box-shadow .3s ease;
}
.check::before {
	position: static;
	display: block;
	width: 12px;
	height: 7px;
	border: 0;
	border-bottom: 3px solid var(--white);
	border-left: 3px solid var(--white);
	content: "";
	transform: translateY(-1px) rotate(-45deg);
}
.check-list li:hover .check,
.check-grid li:hover .check {
	box-shadow: 0 12px 34px rgba(20,99,255,.4), 0 0 0 6px rgba(56,189,248,.08);
	transform: scale(1.06);
}
.capability-grid .check { display: grid; }
.service-starting-point .split-heading > div:first-child { position: sticky; top: 130px; align-self: start; }
.service-capabilities { background: var(--mist); }
.service-capabilities .section-heading {
	display: block;
	max-width: 780px;
	margin: 0 auto 56px;
	text-align: center;
}
.service-capabilities .section-heading .eyebrow { justify-content: center; }
.service-capabilities .section-heading > p {
	max-width: 620px;
	margin: 20px auto 0;
}
.service-capabilities .capability-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 14px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.service-capabilities .capability-grid li {
	position: relative;
	display: flex;
	min-height: 108px;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 19px;
	padding: 24px 26px;
	color: var(--ink);
	background: var(--white);
	border: 1px solid #d7e2ef;
	border-radius: 18px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(7,26,51,.035);
	transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.service-capabilities .capability-grid li::after { display: none; }
.service-capabilities .capability-grid li:hover {
	border-color: #9fc2ff;
	box-shadow: 0 18px 42px rgba(20,99,255,.1);
	transform: translateY(-3px);
}
.service-capabilities .capability-grid li:hover .check {
	box-shadow: 0 12px 32px rgba(20,99,255,.38), 0 0 0 6px rgba(56,189,248,.08);
	transform: scale(1.05);
}
.service-capabilities .check,
.service-capabilities .check-label { position: relative; z-index: 1; }
.service-capabilities .check { margin: 0; }
.service-principle {
	position: relative;
	color: var(--white);
	background:
		radial-gradient(circle at 12% 18%,rgba(56,189,248,.24),transparent 33%),
		radial-gradient(circle at 88% 82%,rgba(20,99,255,.44),transparent 38%),
		linear-gradient(125deg,#071a33 8%,#0a2a56 34%,#0d4eac 52%,#09264a 74%,#071a33 92%);
	background-size: 180% 180%,190% 190%,260% 260%;
	overflow: hidden;
	animation: ownershipFlow 16s ease-in-out infinite;
}
.service-principle::before {
	position: absolute;
	top: -250px;
	right: 8%;
	width: 560px;
	height: 560px;
	border: 1px solid rgba(124,190,255,.16);
	border-radius: 50%;
	content: "";
}
.service-principle::after {
	position: absolute;
	inset: 0;
	opacity: .08;
	background-image:
		linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),
		linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);
	background-size: 76px 76px;
	content: "";
	pointer-events: none;
}
.service-principle .principle-panel {
	position: relative;
	z-index: 1;
	padding: 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}
.service-principle .principle-panel::after { display: none; }
.service-principle .principle-panel h2 {
	max-width: 980px;
	font-size: clamp(44px,5.4vw,76px);
}
.service-principle .principle-panel p:not(.eyebrow) {
	max-width: 850px;
	color: #c1d4e8;
	font-size: 18px;
}

/* About: editorial team image, compact principles and a full-width animated company identity section. */
.about-belief { overflow: hidden; }
.about-belief .statement { max-width: 1080px; }
.about-team {
	position: relative;
	margin: 64px 0 0;
	aspect-ratio: 30 / 13;
	background: #dce7f2;
	border: 1px solid #cbd9e8;
	border-radius: 30px;
	box-shadow: 0 30px 80px rgba(7,26,51,.16);
	overflow: hidden;
	isolation: isolate;
}
.about-team::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,transparent 54%,rgba(7,26,51,.2));
	content: "";
	pointer-events: none;
}
.about-team img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 48%;
	transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
}
.about-team:hover img {
	filter: saturate(1.04);
	transform: scale(1.025);
}
.about-principles__intro {
	max-width: 820px;
	margin: 0 auto 54px;
	text-align: center;
}
.about-principles__intro .eyebrow { justify-content: center; }
.about-principles__intro > p:not(.eyebrow) {
	max-width: 660px;
	margin: 20px auto 0;
	color: var(--muted);
	font-size: 17px;
}
.about-principles .principles-grid { gap: 14px; }
.about-principles .principle-card {
	min-height: 0;
	padding: 30px 32px;
	box-shadow: 0 10px 30px rgba(7,26,51,.035);
	transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.about-principles .principle-card:hover {
	border-color: #9fc2ff;
	box-shadow: 0 18px 42px rgba(20,99,255,.09);
	transform: translateY(-3px);
}
.about-principles .principle-card h3 { margin: 0; font-size: 23px; }
.about-principles .principle-card p { margin-top: 12px; font-size: 15px; line-height: 1.6; }
.about-facts {
	position: relative;
	color: var(--white);
	background:
		radial-gradient(circle at 12% 18%,rgba(56,189,248,.24),transparent 33%),
		radial-gradient(circle at 88% 82%,rgba(20,99,255,.44),transparent 38%),
		linear-gradient(125deg,#071a33 8%,#0a2a56 34%,#0d4eac 52%,#09264a 74%,#071a33 92%);
	background-size: 180% 180%,190% 190%,260% 260%;
	overflow: hidden;
	animation: ownershipFlow 16s ease-in-out infinite;
}
.about-facts::before {
	position: absolute;
	top: -270px;
	right: 7%;
	width: 580px;
	height: 580px;
	border: 1px solid rgba(124,190,255,.17);
	border-radius: 50%;
	content: "";
}
.about-facts::after {
	position: absolute;
	inset: 0;
	opacity: .08;
	background-image:
		linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px),
		linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px);
	background-size: 76px 76px;
	content: "";
	pointer-events: none;
}
.about-facts .fact-panel {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr);
	gap: 90px;
	align-items: center;
	padding: 0;
	background: transparent;
	border-radius: 0;
	overflow: visible;
}
.about-facts .fact-panel::after { display: none; }
.about-facts__heading h2 { max-width: 760px; font-size: clamp(48px,5.6vw,78px); }
.about-facts__heading > p:not(.eyebrow) {
	max-width: 660px;
	margin: 24px 0 0;
	color: #bdd0e4;
	font-size: 18px;
}
.about-facts__details {
	display: grid;
	gap: 0;
	padding: 12px 30px;
	background: rgba(5,24,48,.42);
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 24px;
	box-shadow: 0 28px 80px rgba(0,0,0,.2);
	backdrop-filter: blur(14px);
}
.about-facts__details > div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.about-facts__details > div:last-child { border-bottom: 0; }
.about-facts__details span {
	display: block;
	margin-bottom: 7px;
	color: #75baff;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.about-facts__details p { margin: 0; color: #e4edf7; font-weight: 650; }
.about-facts__details a { color: #7fc5ff; font-weight: 800; }

@media (max-width: 1080px) {
	.nav-menu { gap: 24px; }
	.process-grid { gap: 58px; }
	.service-capabilities .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.work-grid--compact { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.work-grid--compact .project-card:last-child { grid-column: 1 / -1; }
	.page-hero__inner { gap: 34px; }
	.system-panel--page { transform: scale(.88); transform-origin: center right; }
}

@media (max-width: 900px) {
	.admin-bar .site-header { top: 46px; }
	body.menu-open .site-header {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.nav-links {
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100dvh;
		justify-content: flex-start;
		gap: 0;
		padding: 22px max(28px,calc((100vw - 620px) / 2)) 36px;
		opacity: 1;
		visibility: hidden;
		pointer-events: none;
		transform: translateX(105%);
		transition: transform .3s ease, visibility .3s;
	}
	.admin-bar .nav-links { top: 46px; height: calc(100dvh - 46px); }
	.nav-links.is-open { visibility: visible; pointer-events: auto; transform: none; }
	.nav-panel-brand {
		display: inline-flex;
		flex: 0 0 auto;
		align-self: flex-start;
		min-height: 52px;
		color: var(--white);
		font-size: 17px;
	}
	.nav-panel-brand .brand-mark { width: 42px; height: 42px; }
	.nav-menu { display: block; width: 100%; margin-top: 38px; }
	.nav-menu > li > a { min-height: auto; padding: 13px 0; font-size: 20px; }
	.nav-menu > li > a::after,
	.menu-item-has-children > a::before { display: none; }
	.sub-menu {
		position: static;
		min-width: 0;
		margin: -3px 0 8px;
		padding: 0 0 0 16px;
		color: #9fb4cc;
		background: transparent;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		backdrop-filter: none;
	}
	.sub-menu a { padding: 5px 0; font-size: 13px; }
	.sub-menu a:hover { color: var(--white); background: transparent; }
	.nav-links .btn--nav { max-width: none; margin-top: 18px; }
	.menu-toggle::before,
	.menu-toggle::after,
	.menu-toggle span {
		position: absolute;
		left: 50%;
		width: 20px;
		height: 2px;
		margin: 0;
		transform: translateX(-50%);
	}
	.menu-toggle::before { top: 17px; }
	.menu-toggle span { top: 24px; }
	.menu-toggle::after { top: 31px; }
	.menu-toggle.is-active::before { top: 24px; transform: translateX(-50%) rotate(45deg); }
	.menu-toggle.is-active::after { top: 24px; transform: translateX(-50%) rotate(-45deg); }
	.page-hero { min-height: 0; padding: 150px 0 100px; }
	.page-hero__inner { grid-template-columns: 1fr; }
	.page-hero__visual { display: block; width: min(100%,570px); margin: 28px auto 0; }
	.system-panel--page { min-height: 510px; transform: none; }
	.process-grid { grid-template-columns: 1fr; gap: 56px; }
	.faq-intro { position: static; }
	.service-starting-point .split-heading > div:first-child { position: static; }
	.about-facts .fact-panel { grid-template-columns: 1fr; gap: 48px; }
	.work-grid--compact { grid-template-columns: 1fr; }
	.work-grid--compact .project-card:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
	.nav-links { padding: 18px 24px 30px; }
	.nav-menu { margin-top: 30px; }
	.brand-mark { width: 34px; height: 34px; }
	.nav-panel-brand .brand-mark { width: 38px; height: 38px; }
	.hero-inner { padding-bottom: 98px; }
	.capability-inner .capability-item,
	.capability-inner .capability-item:first-child,
	.capability-inner .capability-item:nth-child(3) {
		padding: 30px;
	}
	.growth .section-heading { margin-bottom: 42px; }
	.growth-track { margin-top: 0; }
	.growth-track::before {
		width: 100%;
		animation: none;
		transform: scaleX(0);
		transform-origin: left center;
		transition: transform 1.15s cubic-bezier(.2,.75,.2,1);
	}
	.growth-track.is-visible::before { transform: scaleX(1); }
	.page-hero { padding: 128px 0 76px; }
	.page-hero__copy h1 { font-size: clamp(43px,13vw,60px); }
	.page-hero__visual { display: none; }
	.project-top { top: 20px; right: 24px; left: 24px; }
	.form-intro { margin-bottom: 24px; padding-bottom: 20px; }
	.check-list li { gap: 15px; min-height: 70px; font-size: 15px; }
	.check { width: 36px; height: 36px; }
	.service-row__num { width: 50px; height: 50px; font-size: 12px; }
	.service-capabilities .capability-grid { grid-template-columns: 1fr; border-radius: 24px; }
	.service-capabilities .capability-grid li { min-height: 86px; padding: 20px; }
	.service-principle .principle-panel h2 { font-size: clamp(38px,11vw,54px); }
	.about-team { margin-top: 40px; aspect-ratio: 4 / 3; border-radius: 22px; }
	.about-team img { object-position: center; }
	.about-principles .principle-card { padding: 25px; }
	.about-facts__heading h2 { font-size: clamp(40px,12vw,56px); }
	.about-facts__details { padding: 8px 22px; }
	.work-grid--compact .project-card,
	.work-grid--compact .project-card:first-child { min-height: 520px; }
}
