/* RTPL shared entry point. Visual values originate in docs/DESIGN.md. */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("fonts/ibm-plex-mono-latin.woff2") format("woff2");
}

/* Tokens and scoped foundations. No styles are enqueued in WordPress admin. */
body.rtpl-site {
	--rtpl-deep: #050B10;
	--rtpl-paper: #F7F9FA;
	--rtpl-ink: #111A21;
	--rtpl-cyan: #00AEEF;
	--rtpl-font-body: "Source Sans 3", system-ui, sans-serif;
	--rtpl-font-display: "Source Serif 4", Georgia, serif;
	--rtpl-font-technical: "IBM Plex Mono", monospace;
	--rtpl-content-width: 1366px;
	--rtpl-wide-width: 1440px;
	--rtpl-gutter: 20px;
	--rtpl-section-space: 48px;
	margin: 0;
	background: var(--rtpl-paper);
	color: var(--rtpl-ink);
	font-family: var(--rtpl-font-body);
	font-size: 1rem;
	line-height: 1.6;
}

.rtpl-site *,
.rtpl-site *::before,
.rtpl-site *::after {
	box-sizing: border-box;
}

.rtpl-site :where(a) {
	color: inherit;
	text-underline-offset: 0.18em;
}

.rtpl-site :where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

.rtpl-site :where(img, video, iframe) {
	max-inline-size: 100%;
}

.rtpl-site :where(img, video) {
	block-size: auto;
}

.rtpl-site :where(button, input, select, textarea) {
	font: inherit;
}

/* The single shared content frame (DD-0003): Header rows, page sections, Engineering CTA and Footer content
   all align to min(1366px, 100% - 2 x gutter); gutters are 20px mobile, 24px tablet, 32px desktop.
   Backgrounds and media stay full-bleed outside it; narrower text measures sit inside it. */
.rtpl-container {
	inline-size: calc(100% - 2 * var(--rtpl-gutter));
	max-inline-size: var(--rtpl-content-width);
	margin-inline: auto;
}

.rtpl-main {
	min-inline-size: 0;
	padding-block: var(--rtpl-section-space);
}

/* ==========================================================================
   Global Header: the approved rtpl-global-components Header, transferred rule for rule in source order
   (plugin scope removed). Keep the two in step; scripts/check-header-parity.sh compares them.
   ========================================================================== */
.rtpl-page-title,
.rtpl-entry-title,
.rtpl-entry-content :where(h1, h2, h3) {
	font-family: var(--rtpl-font-display);
	font-weight: 500;
	overflow-wrap: anywhere;
}

.rtpl-page-title,
.rtpl-entry-content h1 {
	font-size: clamp(44px, 5.1vw, 72px);
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.rtpl-entry-title,
.rtpl-entry-content h2 {
	font-size: clamp(32px, 3.5vw, 52px);
	line-height: 1.12;
	letter-spacing: -0.02em;
}

.rtpl-entry-content h3 {
	font-size: clamp(24px, 2.5vw, 36px);
	line-height: 1.16;
	letter-spacing: -0.015em;
}

.rtpl-entry + .rtpl-entry {
	margin-block-start: var(--rtpl-section-space);
}

.rtpl-entry-content {
	overflow-wrap: anywhere;
}

.rtpl-entry-content > :where(p, ul, ol, blockquote) {
	max-inline-size: 70ch;
}

.rtpl-entry-content :where(pre, .wp-block-table) {
	max-inline-size: 100%;
	overflow-x: auto;
}

.rtpl-entry-content :where(pre, code, kbd, samp) {
	font-family: var(--rtpl-font-technical);
	font-weight: 500;
}

.rtpl-entry-content :where(td, th) {
	font-variant-numeric: tabular-nums;
}



.rtpl-page-title {
	max-inline-size: 920px;
	margin: 0 auto 1em;
	text-align: center;
}

.rtpl-empty-state {
	max-inline-size: 70ch;
}

/* Global Header. Tokens and fonts come from DESIGN.md; geometry is DESIGN.md's 92px desktop target (28px utility + 64px row). */
.screen-reader-text {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.rtpl-icon {
	flex: none;
	transition: transform 160ms ease;
}


.rtpl-is-pending {
	color: var(--rtpl-muted);
	cursor: default;
}

.rtpl-pending-tag {
	display: inline-block;
	margin-block-start: 8px;
	padding: 1px 7px;
	border: 1px solid currentColor;
	border-radius: 4px;
	font-family: var(--rtpl-font-technical);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Engineering CTA (DESIGN.md → Engineering CTA): Deep section, copy left and form right on desktop. */
.rtpl-cta {
	padding-block: clamp(64px, 7vw, 96px);
	background: var(--rtpl-deep);
	color: var(--rtpl-paper);
	scroll-margin-block-start: 96px;
}

.rtpl-cta :where(h2, p, ol, ul) {
	margin: 0;
}

.rtpl-cta__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
	gap: 48px clamp(40px, 4.5vw, 72px);
	align-items: start;
}

.rtpl-cta__title {
	max-inline-size: 13ch;
	font-family: var(--rtpl-font-display);
	font-size: clamp(42px, 3.4vw, 52px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.rtpl-cta__lede {
	max-inline-size: 36ch;
	margin-block-start: 24px;
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.5;
}

.rtpl-cta__cues {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-inline-size: 720px;
	margin-block-start: clamp(40px, 6vw, 88px);
	padding: 0;
	list-style: none;
	font-family: var(--rtpl-font-technical);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rtpl-cta__cues > li {
	display: grid;
	gap: 6px;
	padding-block-start: 14px;
	border-block-start: 1px solid rgb(247 249 250 / 0.22);
}

.rtpl-cta__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 18px;
}

.rtpl-cta__field {
	display: grid;
	gap: 6px;
	align-content: start;
	min-inline-size: 0;
}

.rtpl-cta__field label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.rtpl-cta__field :is(input, select) {
	inline-size: 100%;
	min-block-size: 48px;
	padding: 10px 14px;
	border: 1px solid rgb(247 249 250 / 0.34);
	border-radius: 4px;
	background: rgb(247 249 250 / 0.04);
	color: var(--rtpl-paper);
	font-size: 16px;
	line-height: 1.3;
}

.rtpl-cta__field :is(input, select)::placeholder {
	color: rgb(247 249 250 / 0.62);
	opacity: 1;
}

.rtpl-cta__field select:invalid {
	color: rgb(247 249 250 / 0.62);
}

.rtpl-cta__field select option {
	background: var(--rtpl-deep);
	color: var(--rtpl-paper);
}

.rtpl-cta__field :is(input, select):focus-visible {
	outline: 3px solid var(--rtpl-cyan);
	outline-offset: 2px;
	border-color: var(--rtpl-cyan);
}

.rtpl-cta__field small {
	color: rgb(247 249 250 / 0.72);
	font-size: 13px;
	line-height: 1.4;
}

.rtpl-cta__field.is-invalid :is(input, select) {
	border-color: var(--rtpl-paper);
	border-width: 2px;
}

.rtpl-cta__error {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.rtpl-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	margin-block-start: 28px;
}

.rtpl-cta__submit {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	inline-size: 100%;
	min-block-size: 52px;
	padding: 12px 20px 12px 24px;
	border: 0;
	border-radius: 4px;
	background: var(--rtpl-cyan);
	color: var(--rtpl-deep);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 180ms ease;
}

.rtpl-cta__submit:hover {
	background: color-mix(in srgb, var(--rtpl-cyan) 82%, var(--rtpl-paper));
}

.rtpl-cta__submit:focus-visible {
	outline: 3px solid var(--rtpl-paper);
	outline-offset: 3px;
}

.rtpl-cta__submit[aria-disabled="true"] {
	cursor: progress;
	opacity: 0.75;
}

.rtpl-cta__status {
	margin-block-end: 24px;
	padding: 14px 18px;
	border: 1px solid rgb(247 249 250 / 0.34);
	border-inline-start: 4px solid var(--rtpl-cyan);
	border-radius: 4px;
	background: rgb(247 249 250 / 0.05);
	font-size: 16px;
	line-height: 1.45;
}

.rtpl-cta__status ul {
	margin-block-start: 8px;
	padding-inline-start: 20px;
}

.rtpl-cta__status a {
	color: inherit;
}

.rtpl-cta__status:focus {
	outline: 3px solid var(--rtpl-cyan);
	outline-offset: 2px;
}

.rtpl-cta__trap {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Global Footer: the <footer> owns a full-bleed Deep background (DD-0004); its one .rtpl-container
   keeps the content on the shared 1366px frame. A block element spans the viewport without 100vw. */
.rtpl-footer {
	padding-block: 40px 16px;
	background: var(--rtpl-deep);
	color: var(--rtpl-paper);
	font-size: 16px;
	line-height: 1.5;
}

.rtpl-footer :where(h2, p, ul) {
	margin: 0;
}

.rtpl-footer :where(a) {
	text-decoration: none;
}

.rtpl-footer :where(a):hover {
	text-decoration: underline;
}

.rtpl-footer :where(a, button):focus-visible {
	outline: 3px solid var(--rtpl-cyan);
	outline-offset: 3px;
}

.rtpl-footer__label {
	font-family: var(--rtpl-font-technical);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.08em;
}

.rtpl-footer__mast {
	display: grid;
	grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
	gap: 32px 58px;
	padding-block-end: 20px;
}

.rtpl-footer__statement {
	font-family: var(--rtpl-font-display);
	font-size: clamp(28px, 2.4vw, 35px);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.025em;
}

.rtpl-footer__statement > * {
	display: block;
	font-weight: inherit;
}

/* Exactly three Footer link groups (approved 3 × 3; same layout as rtpl-global-components "NAV FOOTER MAP V2"). */
.rtpl-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 20px;
	align-content: start;
}

.rtpl-footer__links {
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.rtpl-footer__links a {
	display: inline-flex;
	align-items: center;
	min-block-size: 28px;
	transition: color 200ms ease;
}

/* Footer link interaction as in the approved rtpl-global-components Footer (DD-0005). */
.rtpl-footer__links a:is(:hover, :focus-visible) {
	color: var(--rtpl-cyan);
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.rtpl-footer__links a {
		transition: none;
	}
}

.rtpl-footer__offices {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 24px 64px;
	padding-block: 12px 8px;
}

.rtpl-footer__office-list {
	display: grid;
	margin-block-start: 8px;
}

.rtpl-footer__office {
	display: grid;
	gap: 4px;
	padding: 10px 14px 10px 18px;
	border: 0;
	border-inline-start: 2px solid transparent;
	border-block-end: 1px solid rgb(247 249 250 / 0.14);
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: start;
	cursor: pointer;
}

.rtpl-footer__office.is-active {
	border-inline-start-color: var(--rtpl-cyan);
	background: rgb(247 249 250 / 0.05);
}

.rtpl-footer__office-name {
	font-family: var(--rtpl-font-technical);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.075em;
}

.rtpl-footer__office.is-active .rtpl-footer__office-name {
	color: var(--rtpl-cyan);
}

.rtpl-footer__address {
	display: grid;
	gap: 1px;
	font-size: 13.5px;
	line-height: 1.3;
}

.rtpl-footer__map {
	position: relative;
	block-size: 260px;
	overflow: hidden;
	border: 1px solid rgb(247 249 250 / 0.2);
	background: color-mix(in srgb, var(--rtpl-deep) 70%, var(--rtpl-ink));
}

.rtpl-footer__map iframe {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	border: 0;
}

.rtpl-footer__map-direct {
	position: absolute;
	inset-inline-end: 10px;
	inset-block-end: 10px;
	z-index: 1;
	padding: 8px 11px;
	border: 1px solid rgb(247 249 250 / .2);
	border-radius: 4px;
	background: var(--rtpl-deep, #050B10);
	color: var(--rtpl-paper, #F7F9FA);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.rtpl-footer__map-direct:is(:hover, :focus-visible) {
	color: var(--rtpl-cyan, #00AEEF);
	text-decoration: none;
}

.rtpl-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px 24px;
	padding-block-start: 10px;
	font-family: var(--rtpl-font-technical);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.025em;
}

@media (max-width: 63.9375rem) {
	.rtpl-cta__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.rtpl-cta__cues {
		margin-block-start: 32px;
	}
}

@media (max-width: 56rem) {
	.rtpl-footer__mast,
	.rtpl-footer__offices {
		grid-template-columns: minmax(0, 1fr);
	}

	.rtpl-footer__map {
		block-size: 208px;
	}
}

@media (max-width: 40rem) {
	.rtpl-cta__grid,
	.rtpl-cta__cues {
		grid-template-columns: minmax(0, 1fr);
	}

	.rtpl-cta__title {
		font-size: clamp(32px, 8vw, 40px);
	}

	.rtpl-footer__nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.rtpl-footer__legal {
		flex-direction: column;
	}
}

.rtpl-skip-link {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-start: var(--rtpl-gutter);
	z-index: 100000;
	padding: 12px 20px;
	transform: translateY(-200%);
	background: var(--rtpl-ink);
	color: var(--rtpl-paper);
}

.rtpl-skip-link:focus {
	transform: none;
}

@media (min-width: 48rem) {
	body.rtpl-site {
		--rtpl-gutter: 24px;
		--rtpl-section-space: 56px;
	}
}

@media (min-width: 64rem) {
	body.rtpl-site {
		--rtpl-gutter: 32px;
		--rtpl-section-space: 64px;
		font-size: 1.125rem;
	}
}

:root .rtpl-cta :where(h2, p, ol, ul) {
	margin: 0px;
}

:root .rtpl-cta__lede {
	max-inline-size: 36ch;
	margin-block-start: 24px;
	font-size: clamp(17px, 1.3vw, 19px);
	line-height: 1.5;
}

:root .rtpl-cta__cues {
	display: grid;
	grid-template-columns: repeat(3, minmax(0px, 1fr));
	gap: 24px;
	max-inline-size: 720px;
	margin-block-start: 40px;
	padding: 0px;
	list-style: none;
	font-family: var(--rtpl-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 63.9375rem) {
	:root .rtpl-cta__cues {
		margin-block-start: 32px;
	}
}

@media (max-width: 40rem) {
	:root .rtpl-cta__grid,
	:root .rtpl-cta__cues {
		grid-template-columns: minmax(0px, 1fr);
	}
}

:root #engineering-conversation .rtpl-cta__headline-stage {
	position: relative;
	isolation: isolate;
	width: min(100%, 760px);
	padding: 18px 24px 22px 0px;
	margin: -18px -24px -22px 0px;
	overflow: hidden;
}

:root #engineering-conversation .rtpl-cta__headline-stage > .rtpl-cta__title {
	position: relative;
	z-index: 1;
}

/* Engineering CTA cues and button states (approved plugin v0.2 treatment; DD-0006). */
:root .rtpl-cta__cues {
	counter-reset: rtpl-cue;
	list-style: none;
	letter-spacing: normal;
	text-transform: none;
}

:root .rtpl-cta__cues > li::before {
	counter-increment: rtpl-cue;
	content: counter(rtpl-cue, decimal-leading-zero);
	display: block;
	color: var(--rtpl-cyan, #00AEEF);
	font-family: var(--rtpl-font-body, "Source Sans 3", sans-serif);
	font-size: 24px;
	font-weight: 800;
	font-variant-numeric: lining-nums tabular-nums;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

:root .rtpl-cta .rtpl-cta__cues > li {
	border-block-start-color: var(--rtpl-cyan, #00AEEF);
}

:root .rtpl-cta__submit {
	color: var(--rtpl-deep, #050B10);
	transition: background-color 200ms ease, color 200ms ease;
}

:root .rtpl-cta__submit:is(:hover, :focus-visible) {
	background: var(--rtpl-paper, #F7F9FA);
	color: var(--rtpl-deep, #050B10);
}

@media (prefers-reduced-motion: reduce) {
	:root .rtpl-cta__submit {
		transition: none;
	}
}

/* Engineering CTA title glow (approved plugin v0.2 treatment). */
:root #engineering-conversation .rtpl-cta__headline-stage {
    position: relative;
    isolation: isolate;
    width: min(100%, 760px);
    padding: 18px 24px 22px 0;
    margin: -18px -24px -22px 0;
    overflow: hidden;
}

:root #engineering-conversation .rtpl-cta__headline-stage::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: clamp(118px, 11vw, 168px);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;

    background: radial-gradient(circle at 42% 40%,
        rgb(236 253 255 / .97) 0 7%,
        rgb(148 233 250 / .78) 18%,
        rgb(0 174 239 / .58) 38%,
        rgb(0 174 239 / .20) 60%,
        transparent 74%);

    filter: blur(12px);
    opacity: .765;

    animation: rtpl-eng-blob 8.8s
        cubic-bezier(.45,.05,.24,1)
        infinite alternate;
}

:root #engineering-conversation .rtpl-cta__headline-stage > .rtpl-cta__title {
    position: relative;
    z-index: 1;
}

@keyframes rtpl-eng-blob {
    0% {
        transform: translate3d(8%,18%,0) scale(.68);
    }
    18% {
        transform: translate3d(72%,5%,0) scale(.86,.7);
    }
    36% {
        transform: translate3d(176%,20%,0) scale(.72,.94);
    }
    55% {
        transform: translate3d(250%,78%,0) scale(.9,.68);
    }
    73% {
        transform: translate3d(138%,128%,0) scale(.74,.9);
    }
    88% {
        transform: translate3d(30%,94%,0) scale(.92,.72);
    }
    100% {
        transform: translate3d(8%,40%,0) scale(.76,.9);
    }
}

@media (prefers-reduced-motion: reduce) {
    :root #engineering-conversation .rtpl-cta__headline-stage::before {
        animation: none;
        transform: translate3d(88%,48%,0) scale(.82);
    }
}