/*
Theme Name:  Pentagon Works
Template:    Divi
Description: Pentagon Works child theme — header, footer and design system on top of Divi 5.
Version:     1.0.0
Author:      Santi Universe
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--pw-navy: #17365D;
	--pw-navy-deep: #0E2340;
	--pw-red: #E3262E;
	--pw-green: #1FA55B;
	--pw-yellow: #F3C21B;
	--pw-charcoal: #222222;
	--pw-steel: #66727D;
	--pw-cloud: #F3F6F8;
	--pw-white: #FFFFFF;
	--pw-line: rgba(23, 54, 93, .14);
	--pw-line-dark: rgba(255, 255, 255, .16);

	--pw-head: "Manrope", system-ui, sans-serif;
	--pw-body: "Inter", system-ui, sans-serif;
	--pw-mono: "JetBrains Mono", ui-monospace, monospace;

	--pw-wrap: 1280px;
	--pw-gutter: clamp(16px, 4vw, 48px);
	--pw-radius: 6px;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
	font-family: var(--pw-body);
	color: var(--pw-charcoal);
	background: var(--pw-white);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--pw-head);
	color: inherit;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
	padding-bottom: 0;
}
#page-container { padding-top: 0 !important; }
#main-content { background: transparent; }
.et_pb_section { padding: 0; background-color: transparent; }
.et_pb_row { width: 100%; max-width: none; padding: 0; }
.et_pb_row:after, .et_pb_section:after { content: none; }

.pw-wrap {
	width: 100%;
	max-width: calc(var(--pw-wrap) + 2 * var(--pw-gutter));
	margin: 0 auto;
	padding-left: var(--pw-gutter);
	padding-right: var(--pw-gutter);
}

/* Mono label — "engineering-number typography" */
.pw-label, .pw-label p {
	font-family: var(--pw-mono);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pw-steel);
	padding: 0;
}
.pw-label p::before, .pw-label:not(:has(p))::before {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	background: var(--pw-yellow);
	margin-right: 10px;
	vertical-align: 1px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.pw-btn, .et_pb_button.pw-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--pw-mono) !important;
	font-size: 13px !important;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1 !important;
	padding: 18px 24px !important;
	border: 1px solid transparent !important;
	border-radius: 999px !important;
	background: var(--pw-red) !important;
	color: #fff !important;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pw-btn:hover, .et_pb_button.pw-btn:hover { background: #c41e25 !important; padding: 18px 24px !important; }
.et_pb_button.pw-btn::after, .pw-btn::after {
	content: "→" !important;
	font-family: var(--pw-mono) !important;
	position: static !important;
	opacity: 1 !important;
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1 !important;
	display: inline-block;
	transition: transform .2s;
}
.pw-btn:hover::after { transform: translateX(4px); }
.pw-btn--ghost, .et_pb_button.pw-btn--ghost {
	background: transparent !important;
	border-color: rgba(255,255,255,.5) !important;
}
.pw-btn--ghost:hover, .et_pb_button.pw-btn--ghost:hover { background: #fff !important; color: var(--pw-navy) !important; }
.pw-btn--dark, .et_pb_button.pw-btn--dark { background: var(--pw-navy) !important; }
.pw-btn--dark:hover, .et_pb_button.pw-btn--dark:hover { background: var(--pw-navy-deep) !important; }
.et_pb_button_module_wrapper { margin: 0 !important; }

/* ==========================================================================
   Header — floating pill
   ========================================================================== */
.pw-header {
	position: fixed;
	top: 16px; left: 0; right: 0;
	z-index: 999;
	pointer-events: none;
}
.pw-header__bar {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: calc(var(--pw-wrap) + 48px);
	margin: 0 var(--pw-gutter);
	padding: 10px 10px 10px 24px;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(10px);
	border-radius: 999px;
	box-shadow: 0 1px 0 rgba(23,54,93,.06), 0 10px 30px -12px rgba(14,35,64,.35);
	transition: box-shadow .3s;
}
@media (min-width: 1377px) { .pw-header__bar { margin: 0 auto; } }
.pw-header__logo img { display: block; height: 30px; width: auto; }

.pw-nav { display: flex; align-items: center; }
.pw-nav ul { list-style: none; margin: 0; padding: 0; }
.pw-nav > ul { display: flex; gap: 4px; }
.pw-nav li { position: relative; padding: 0; }
.pw-nav a {
	display: block;
	padding: 10px 14px;
	font-family: var(--pw-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--pw-navy);
	border-radius: 999px;
	transition: background .2s, color .2s;
}
.pw-nav > ul > li > a:hover,
.pw-nav > ul > li.current-menu-item > a,
.pw-nav > ul > li.current-menu-ancestor > a { background: var(--pw-cloud); }
.pw-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
}
.pw-nav .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	min-width: 320px;
	padding: 10px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 24px 50px -20px rgba(14,35,64,.45);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity .2s, transform .2s, visibility .2s;
	counter-reset: pwsub;
}
.pw-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.pw-nav li:hover > .sub-menu,
.pw-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pw-nav .sub-menu a {
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 15px;
	display: flex;
	gap: 14px;
	align-items: baseline;
}
.pw-nav .sub-menu a::before {
	counter-increment: pwsub;
	content: counter(pwsub, decimal-leading-zero);
	font-family: var(--pw-mono);
	font-size: 11px;
	color: var(--pw-steel);
}
.pw-nav .sub-menu a:hover { background: var(--pw-cloud); }

.pw-header__cta { display: flex; align-items: center; gap: 8px; }
.pw-header__cta .pw-btn { padding: 14px 20px !important; border-radius: 999px !important; }

.pw-burger {
	display: none;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--pw-navy);
	cursor: pointer;
	position: relative;
}
.pw-burger span, .pw-burger span::before, .pw-burger span::after {
	position: absolute;
	left: 14px;
	width: 18px; height: 2px;
	background: #fff;
	content: "";
	transition: transform .25s, top .25s, opacity .2s;
}
.pw-burger span { top: 22px; }
.pw-burger span::before { left: 0; top: -6px; }
.pw-burger span::after { left: 0; top: 6px; }
.pw-nav-open .pw-burger span { background: transparent; }
.pw-nav-open .pw-burger span::before { top: 0; transform: rotate(45deg); }
.pw-nav-open .pw-burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
	.pw-burger { display: block; }
	.pw-header__cta .pw-btn { display: none; }
	.pw-header__bar { padding: 8px 8px 8px 20px; border-radius: 28px; flex-wrap: wrap; }
	.pw-nav {
		order: 3;
		flex-basis: 100%;
		display: none;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		padding: 8px 4px 12px;
	}
	.pw-nav-open .pw-nav { display: block; }
	.pw-nav > ul { flex-direction: column; gap: 0; }
	.pw-nav a { font-size: 18px; padding: 12px 12px; border-radius: 10px; }
	.pw-nav .sub-menu {
		position: static;
		opacity: 1; visibility: visible; transform: none;
		box-shadow: none; min-width: 0; padding: 0 0 6px 12px;
		border-left: 1px solid var(--pw-line);
		margin-left: 12px;
	}
	.pw-nav .sub-menu::before { content: none; }
	.pw-nav .sub-menu a { font-size: 16px; padding: 9px 12px; }
	.pw-nav .menu-item-has-children > a::after { display: none; }
	.pw-nav__mobile-cta { display: block !important; padding: 12px 8px 0; }
	.pw-nav__mobile-cta .pw-btn { width: 100%; justify-content: center; }
}
.pw-nav__mobile-cta { display: none; }

/* ==========================================================================
   Home — hero (scroll-scrubbed video)
   The section is tall; the stage sticks to the viewport while scroll
   position drives video.currentTime and the staged text reveals.
   ========================================================================== */
.pw-hero {
	--pw-hero-scroll: 240vh;           /* total section height = scrub distance + 1 screen */
	position: relative;
	height: var(--pw-hero-scroll);
	background: var(--pw-navy-deep);
	color: #fff;
	overflow: clip;                    /* clip, not hidden — hidden breaks sticky */
}
.et_pb_section.pw-hero { padding: 0 !important; }
.et_pb_section .et_pb_row.pw-hero__stage {
	position: sticky;
	top: 0;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100svh;
	min-height: 620px;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
}
.pw-hero__stage > .et_pb_column {
	position: static !important;
	width: 100%;
	max-width: calc(var(--pw-wrap) + 2 * var(--pw-gutter));
	margin: 0 auto !important;
	padding: 120px var(--pw-gutter) 150px;
}
.pw-hero .et_pb_code, .pw-hero .et_pb_code_inner { position: static; }
.pw-hero .et_pb_text, .pw-hero .et_pb_code.pw-reveal { position: relative; z-index: 2; }

.pw-hero__media { position: absolute; inset: 0; z-index: -2; background: var(--pw-navy-deep) url(assets/hero-poster.jpg) 70% 50% / cover no-repeat; }
.pw-hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
/* legibility overlay + fine technical grid */
.pw-hero__stage::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(14,35,64,.92) 0%, rgba(14,35,64,.7) 35%, rgba(14,35,64,.1) 65%, rgba(14,35,64,0) 100%),
		linear-gradient(0deg, rgba(14,35,64,.9) 0%, rgba(14,35,64,0) 35%);
}
.pw-hero__stage::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(var(--pw-line-dark) 1px, transparent 1px),
		linear-gradient(90deg, var(--pw-line-dark) 1px, transparent 1px);
	background-size: 88px 88px;
	mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.3) 45%, transparent 70%);
	opacity: .3;
}

.pw-hero .pw-label p { color: rgba(255,255,255,.75); }
.pw-hero h1 {
	font-size: clamp(40px, 5.4vw, 78px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	max-width: 15ch;
	margin: 22px 0 28px;
	color: #fff;
}
.pw-hero h1 em { font-style: normal; color: var(--pw-yellow); }
.pw-hero__lede p { max-width: 560px; color: rgba(255,255,255,.85); font-size: 18px; padding-bottom: 0; }
.pw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* staged reveal — only when JS has taken over (.is-scrub) */
.pw-hero.is-scrub .pw-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.pw-hero.is-scrub.s0 .pw-reveal--0,
.pw-hero.is-scrub.s1 .pw-reveal--1,
.pw-hero.is-scrub.s2 .pw-reveal--2 { opacity: 1; transform: none; }
.pw-hero.is-scrub .pw-reveal--0 + .pw-reveal--0 { transition-delay: .12s; }

/* HUD: scroll cue, progress bar, frame counter */
.pw-hero__hud {
	position: absolute;
	left: 0; right: 0; bottom: 32px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: calc(var(--pw-wrap) + 2 * var(--pw-gutter));
	margin: 0 auto;
	padding: 0 var(--pw-gutter);
	font-family: var(--pw-mono);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255,255,255,.6);
}
.pw-hero__bar { flex: 1; height: 1px; background: rgba(255,255,255,.2); position: relative; }
.pw-hero__bar i { position: absolute; inset: 0; background: var(--pw-yellow); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pw-hero__cue::after { content: " ↓"; display: inline-block; animation: pw-bob 1.6s ease-in-out infinite; }
@keyframes pw-bob { 50% { transform: translateY(4px); } }
.pw-hero__frame { font-variant-numeric: tabular-nums; }

/* no scrubbing: reduced motion or scrub unsupported */
@media (prefers-reduced-motion: reduce) {
	.pw-hero { height: auto; }
	.et_pb_section .et_pb_row.pw-hero__stage { position: relative; }
	.pw-hero__hud { display: none; }
}

@media (max-width: 700px) {
	.pw-hero { --pw-hero-scroll: 210vh; }
	.pw-hero__media, .pw-hero__video { background-position: 88% 50%; object-position: 88% 50%; }
	.pw-hero__stage::before { background: linear-gradient(0deg, rgba(14,35,64,.97) 0%, rgba(14,35,64,.8) 55%, rgba(14,35,64,.35) 100%); }
	.pw-hero__stage > .et_pb_column { padding-top: 110px; padding-bottom: 110px; }
	.pw-hero__frame { display: none; }
}

/* ==========================================================================
   Line drawing (shared)
   ========================================================================== */
.js .pw-draw path, .js .pw-draw line, .js .pw-draw polyline, .js .pw-draw polygon, .js .pw-draw circle {
	stroke-dasharray: var(--len, 1200);
	stroke-dashoffset: var(--len, 1200);
	transition: stroke-dashoffset 2.4s cubic-bezier(.65,0,.35,1);
	transition-delay: var(--d, 0s);
}
.js .pw-draw.is-drawn path, .js .pw-draw.is-drawn line, .js .pw-draw.is-drawn polyline,
.js .pw-draw.is-drawn polygon, .js .pw-draw.is-drawn circle { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
	.js .pw-draw * { transition: none !important; stroke-dashoffset: 0 !important; }
}

/* ==========================================================================
   Home — capability cards (overlap hero)
   ========================================================================== */
.pw-caps { position: relative; z-index: 2; margin-top: -120px; }
.pw-caps .pw-caps__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--pw-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(14,35,64,.5);
}
.pw-cap {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 300px;
	padding: 28px 28px 30px;
	background: #fff;
	color: var(--pw-charcoal);
	transition: background .25s, color .25s;
}
.pw-cap:hover { background: var(--pw-navy); color: #fff; }
.pw-cap__num { font-family: var(--pw-mono); font-size: 12px; letter-spacing: .14em; color: var(--pw-steel); }
.pw-cap:hover .pw-cap__num { color: var(--pw-yellow); }
.pw-cap__icon { width: 44px; height: 44px; margin: 28px 0 0; color: var(--pw-red); }
.pw-cap:hover .pw-cap__icon { color: var(--pw-yellow); }
.pw-cap h3 { font-size: 20px; line-height: 1.2; margin: 48px 0 10px; color: inherit; min-height: 2.4em; }
.pw-cap p { font-size: 15px; line-height: 1.55; color: var(--pw-steel); padding: 0; }
.pw-cap:hover p { color: rgba(255,255,255,.75); }
.pw-cap__arrow {
	position: absolute; top: 24px; right: 24px;
	width: 34px; height: 34px;
	display: grid; place-items: center;
	border: 1px solid var(--pw-line);
	border-radius: 50%;
	font-family: var(--pw-mono);
	transition: transform .25s, border-color .25s, background .25s;
}
.pw-cap:hover .pw-cap__arrow { transform: rotate(-45deg); border-color: var(--pw-yellow); background: var(--pw-yellow); color: var(--pw-navy); }

@media (max-width: 1024px) { .pw-caps .pw-caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.pw-caps { margin-top: -80px; }
	.pw-caps .pw-caps__grid { grid-template-columns: 1fr; }
	.pw-cap { min-height: 0; }
	.pw-cap__icon { margin-bottom: 0; }
}

/* ==========================================================================
   Home — concept to operation
   ========================================================================== */
.pw-process { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.pw-process__head { text-align: center; max-width: 860px; margin: 0 auto; }
.pw-process__head .pw-label { display: inline-block; }
.pw-process h2 { font-size: clamp(34px, 4.6vw, 60px); color: var(--pw-navy); margin: 20px 0 22px; }
.pw-process__head p { font-size: 19px; color: var(--pw-steel); max-width: 640px; margin: 0 auto; }

.pw-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	margin-top: 80px;
	padding: 0;
}
.pw-steps__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; }
.pw-steps__line svg { width: 100%; height: 2px; display: block; }
.pw-steps .pw-step { position: relative; padding: 0 12px; text-align: center; list-style: none; }
.pw-steps__node {
	width: 48px; height: 48px;
	margin: 0 auto 22px;
	display: grid; place-items: center;
	padding-top: 4px;
	font-family: var(--pw-mono);
	font-size: 12px;
	color: var(--pw-navy);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpolygon points='24,2 46,18 37.5,45 10.5,45 2,18' fill='%23fff' stroke='%2317365D' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	position: relative;
}
.pw-steps__line + .pw-step .pw-steps__node {
	color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpolygon points='24,2 46,18 37.5,45 10.5,45 2,18' fill='%23E3262E'/%3E%3C/svg%3E");
}
.pw-steps h4 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--pw-navy); margin-bottom: 8px; }
.pw-steps p { font-size: 14px; line-height: 1.5; color: var(--pw-steel); padding: 0; }
@media (max-width: 900px) {
	.pw-steps { grid-template-columns: 1fr; gap: 0; margin-top: 56px; max-width: 460px; margin-left: auto; margin-right: auto; }
	.pw-steps__line { display: none; }
	.pw-steps .pw-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; text-align: left; padding: 0 0 28px; }
	.pw-steps .pw-step::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 1.5px; background: var(--pw-line); }
	.pw-steps .pw-step:last-child::before { content: none; }
	.pw-steps__node { margin: 0; }
	.pw-steps h4 { margin-top: 12px; }
}

/* ==========================================================================
   Home — why Pentagon (dark, with wireframe tower)
   ========================================================================== */
.pw-why {
	position: relative;
	background: var(--pw-navy);
	color: #fff;
	padding: clamp(96px, 12vw, 150px) 0;
	overflow: hidden;
	isolation: isolate;
}
.pw-why::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(var(--pw-line-dark) 1px, transparent 1px),
		linear-gradient(90deg, var(--pw-line-dark) 1px, transparent 1px);
	background-size: 88px 88px;
	opacity: .25;
}
.pw-why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.pw-why__intro { position: sticky; top: 130px; }
.pw-why .pw-label p { color: rgba(255,255,255,.7); }
.pw-why h2 { font-size: clamp(30px, 3.3vw, 46px); margin: 20px 0 28px; color: #fff; }
.pw-why__since { display: flex; align-items: flex-end; gap: 16px; margin-top: 40px; }
.pw-why__year {
	font-family: var(--pw-head);
	font-weight: 800;
	font-size: clamp(88px, 11vw, 150px);
	line-height: .8;
	letter-spacing: -0.05em;
	color: var(--pw-yellow);
}
.pw-why__since span:not(.pw-why__year) { font-family: var(--pw-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pw-why__tower { position: absolute; right: -150px; bottom: -40px; width: 380px; opacity: .3; z-index: -1; pointer-events: none; }
.pw-why__tower svg { width: 100%; height: auto; }

.pw-why__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--pw-line-dark); }
.pw-why__list li {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 8px 24px;
	padding: 32px 0;
	border-bottom: 1px solid var(--pw-line-dark);
	list-style: none;
}
.pw-why__list .n { font-family: var(--pw-mono); font-size: 13px; color: var(--pw-yellow); padding-top: 6px; }
.pw-why__list h3 { font-size: 24px; margin: 0 0 8px; color: #fff; }
.pw-why__list p { color: rgba(255,255,255,.72); padding: 0; font-size: 16px; }
@media (max-width: 900px) {
	.pw-why__grid { grid-template-columns: 1fr; }
	.pw-why__intro { position: static; }
	.pw-why__tower { width: 220px; opacity: .3; }
	.pw-why__list li { grid-template-columns: 44px 1fr; }
}

/* ==========================================================================
   Home — industries
   ========================================================================== */
.pw-industries { padding: clamp(80px, 10vw, 130px) 0; background: var(--pw-cloud); }
.pw-industries__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.pw-industries h2 { font-size: clamp(32px, 4vw, 52px); color: var(--pw-navy); margin-top: 18px; max-width: 20ch; }
.pw-industries__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--pw-line);
	border: 1px solid var(--pw-line);
}
.pw-industry {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 34px 28px;
	background: var(--pw-cloud);
	font-family: var(--pw-head);
	font-weight: 700;
	font-size: clamp(20px, 2vw, 26px);
	color: var(--pw-navy);
	transition: background .2s, color .2s;
}
.pw-industry small { font-family: var(--pw-mono); font-weight: 400; font-size: 12px; color: var(--pw-steel); letter-spacing: .12em; }
.pw-industry:hover { background: #fff; color: var(--pw-red); }
@media (max-width: 800px) { .pw-industries__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pw-industries__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Home — CTA band
   ========================================================================== */
.pw-cta { background: var(--pw-yellow); padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.pw-cta .pw-label p { color: var(--pw-navy); }
.pw-cta .pw-label p::before { background: var(--pw-red); }
.pw-cta h2 {
	font-size: clamp(34px, 5vw, 68px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: var(--pw-navy);
	max-width: 17ch;
	margin: 22px 0 40px;
}
.pw-cta__art { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .9; pointer-events: none; }
.pw-cta__art svg { width: 100%; height: auto; }
@media (max-width: 900px) { .pw-cta__art { width: 320px; right: -120px; opacity: .35; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.pw-footer { background: var(--pw-navy-deep); color: rgba(255,255,255,.72); font-size: 15px; }
.pw-footer a { color: rgba(255,255,255,.85); transition: color .2s; }
.pw-footer a:hover { color: var(--pw-yellow); }
.pw-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
	gap: 48px;
	padding-top: 88px;
	padding-bottom: 64px;
}
.pw-footer__brand img { height: 34px; width: auto; }
.pw-footer__tag { font-family: var(--pw-head); font-weight: 700; font-size: 22px; line-height: 1.25; color: #fff; margin: 28px 0 14px; max-width: 16ch; }
.pw-footer__disc { font-size: 14px; line-height: 1.6; max-width: 34ch; }
.pw-footer h4 {
	font-family: var(--pw-mono);
	font-weight: 400;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255,255,255,.5);
	margin-bottom: 20px;
}
.pw-footer ul { list-style: none; padding: 0; margin: 0; }
.pw-footer li { padding: 0; margin-bottom: 10px; }
.pw-footer address { font-style: normal; line-height: 1.8; }
.pw-footer__cta { margin-top: 24px; }
.pw-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	padding-bottom: 28px;
	border-top: 1px solid var(--pw-line-dark);
	font-family: var(--pw-mono);
	font-size: 12px;
	letter-spacing: .06em;
	color: rgba(255,255,255,.5);
}
.pw-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pw-footer__legal li { margin: 0; }
.pw-footer__legal a { color: rgba(255,255,255,.6); }
.pw-footer__stripe { display: flex; height: 4px; }
.pw-footer__stripe span { flex: 1; }
.pw-footer__stripe span:nth-child(1) { background: var(--pw-red); }
.pw-footer__stripe span:nth-child(2) { background: var(--pw-green); }
.pw-footer__stripe span:nth-child(3) { background: var(--pw-yellow); }
@media (max-width: 1024px) { .pw-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pw-footer__top { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; } }

/* Divi's own footer/header are replaced */
#main-header, #top-header, #main-footer { display: none !important; }

/* Divi module spacing reset inside Pentagon sections */
.et_pb_section .et_pb_column .et_pb_module { margin-bottom: 0; }
.et_pb_text_inner > *:last-child { padding-bottom: 0; }
.pw-why .et_pb_row, .pw-why .et_pb_column, .pw-why .et_pb_code, .pw-why .et_pb_code_inner,
.pw-cta .et_pb_row, .pw-cta .et_pb_column, .pw-cta .et_pb_code, .pw-cta .et_pb_code_inner { position: static; }
.pw-why .et_pb_text, .pw-cta .et_pb_text { position: relative; z-index: 1; }

/* Win over Divi's default row width (1080px / 80%) */
.et_pb_section .et_pb_row.pw-wrap {
	width: 100% !important;
	max-width: calc(var(--pw-wrap) + 2 * var(--pw-gutter)) !important;
	padding-left: var(--pw-gutter) !important;
	padding-right: var(--pw-gutter) !important;
	padding-top: 0; padding-bottom: 0;
	margin-left: auto; margin-right: auto;
}
.et_pb_section .et_pb_row.pw-wrap > .et_pb_column { width: 100%; margin-right: 0; }


.pw-nav a.pw-btn { display: flex; justify-content: center; color: #fff; }

/* ==========================================================================
   Coming-soon placeholder pages
   ========================================================================== */
.et_pb_section.pw-soon {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 140px 0 100px !important;
	background: var(--pw-navy-deep);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.pw-soon::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background-image:
		linear-gradient(var(--pw-line-dark) 1px, transparent 1px),
		linear-gradient(90deg, var(--pw-line-dark) 1px, transparent 1px);
	background-size: 88px 88px;
	mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
	opacity: .35;
}
.pw-soon .et_pb_row, .pw-soon .et_pb_column, .pw-soon .et_pb_code, .pw-soon .et_pb_code_inner { position: static; }
.pw-soon .et_pb_text, .pw-soon .et_pb_code:last-child { position: relative; z-index: 1; }
.pw-soon__art {
	position: absolute;
	right: -8%;
	top: 50%;
	width: min(62vw, 820px);
	transform: translateY(-50%);
	opacity: .7;
	pointer-events: none;
	z-index: 0;
}
.pw-soon__art svg { width: 100%; height: auto; overflow: visible; }
.pw-soon .pw-label p { color: rgba(255,255,255,.7); }
.pw-soon h1 {
	font-size: clamp(30px, 5.2vw, 76px);
	line-height: 1.02;
	letter-spacing: -0.035em;
	max-width: 19ch;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
	margin: 22px 0 26px;
	color: #fff;
}
.pw-soon__lede p { max-width: 580px; font-size: 18px; color: rgba(255,255,255,.8); padding: 0; }
.pw-soon__status {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
	padding: 10px 16px;
	border: 1px solid var(--pw-line-dark);
	border-radius: 999px;
	font-family: var(--pw-mono);
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255,255,255,.75);
}
.pw-soon__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--pw-yellow);
	box-shadow: 0 0 0 0 rgba(243,194,27,.6);
	animation: pw-pulse 2s infinite;
}
@keyframes pw-pulse { 70% { box-shadow: 0 0 0 10px rgba(243,194,27,0); } 100% { box-shadow: 0 0 0 0 rgba(243,194,27,0); } }
@media (prefers-reduced-motion: reduce) { .pw-soon__dot { animation: none; } }
.pw-soon__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pw-soon__reach { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; font-family: var(--pw-head); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; }
.pw-soon__reach a { color: #fff; text-decoration: underline; text-decoration-color: var(--pw-red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pw-soon__reach a:hover { color: var(--pw-yellow); }
.pw-soon__reach span { font-family: var(--pw-mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 10px; }
@media (max-width: 700px) {
	.pw-soon__art { right: -45%; width: 120vw; opacity: .35; }
	.pw-soon__reach { font-size: 18px; word-break: break-all; }
	.pw-soon__status { border-radius: 12px; align-items: flex-start; }
	.pw-soon__dot { margin-top: 4px; flex: none; }
}

/* ==========================================================================
   Interactive 3D wireframe models (assets/pw-3d.js)
   ========================================================================== */
.pw-3d { position: relative; cursor: grab; touch-action: pan-y; user-select: none; }
.pw-3d.is-grabbing { cursor: grabbing; }
.pw-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.pw-3d__hint {
	position: absolute;
	right: var(--pw-gutter);
	bottom: 28px;
	z-index: 1;
	font-family: var(--pw-mono);
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	pointer-events: none;
}
.pw-3d__hint::before { content: "⟲ "; color: var(--pw-yellow); }
.pw-soon__model {
	position: absolute !important;
	top: 0; bottom: 0;
	right: 0;
	width: 58%;
	z-index: 0;
}
@media (max-width: 900px) {
	.pw-soon__model { width: 100%; opacity: .35; pointer-events: none; }
	.pw-3d__hint { display: none; }
}
@media (min-width: 901px) { .pw-soon h1, .pw-soon__lede p { max-width: min(19ch, 40vw); } .pw-soon__lede p { max-width: min(580px, 40vw); } }
.pw-soon .pw-soon__status { padding: 10px 18px 10px 14px !important; line-height: 1.2; }
.pw-nav > ul > li.menu-item-type-custom.current-menu-item:not(:hover) > a { background: transparent; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.et_pb_section.pw-page-hero { min-height: min(92vh, 900px); }
.pw-page-hero h1 { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; }
@media (min-width: 901px) { .pw-page-hero h1 { max-width: min(16ch, 44vw); } }

/* shared section head */
.pw-sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.pw-sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); color: var(--pw-navy); margin: 18px 0 0; }
.pw-sec-head__intro { font-size: 18px; color: var(--pw-steel); margin-top: 18px; padding: 0; }
.pw-process .pw-sec-head { margin-left: auto; margin-right: auto; text-align: center; }

/* capability cards */
.et_pb_section.pw-groups { padding: clamp(80px, 10vw, 130px) 0 !important; background: var(--pw-cloud); }
.pw-groups__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pw-group {
	position: relative;
	padding: 30px 28px 32px;
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: 12px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.pw-group::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; background: var(--pw-red); border-radius: 0 0 3px 3px; }
.pw-group:nth-child(3n+2)::before { background: var(--pw-green); }
.pw-group:nth-child(3n)::before { background: var(--pw-yellow); }
.pw-group:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(14,35,64,.45); border-color: transparent; }
.pw-group__num { font-family: var(--pw-mono); font-size: 12px; letter-spacing: .14em; color: var(--pw-steel); }
.pw-group h3 { font-size: 21px; color: var(--pw-navy); margin: 14px 0 18px; }
.pw-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pw-line); }
.pw-group li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--pw-line); font-size: 15px; line-height: 1.4; position: relative; }
.pw-group li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 1.5px; background: var(--pw-navy); }

/* about — split with photo */
.et_pb_section.pw-split { padding: clamp(80px, 10vw, 140px) 0 !important; }
.pw-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pw-split__media { position: relative; margin: 0; }
.pw-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 30%; border-radius: 12px; display: block; }
.pw-split__media figcaption {
	position: absolute; left: -1px; bottom: -1px;
	display: flex; align-items: flex-end; gap: 12px;
	padding: 22px 26px;
	background: var(--pw-navy);
	border-radius: 0 12px 0 12px;
	color: #fff;
	font-family: var(--pw-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.pw-split__year { font-family: var(--pw-head); font-weight: 800; font-size: 56px; line-height: .8; letter-spacing: -.04em; color: var(--pw-yellow); }
.pw-split__body p { font-size: 17px; color: var(--pw-charcoal); }
.pw-split__body .pw-sec-head { margin-bottom: 28px; }
@media (max-width: 900px) { .pw-split__grid { grid-template-columns: 1fr; } .pw-split__media img { aspect-ratio: 16 / 11; } }

/* about — purpose / vision / mission */
.et_pb_section.pw-pvm { background: var(--pw-navy); color: #fff; padding: clamp(80px, 10vw, 130px) 0 !important; }
.pw-pvm__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; background: var(--pw-line-dark); border: 1px solid var(--pw-line-dark); }
.pw-pvm__grid article { background: var(--pw-navy); padding: clamp(28px, 3.4vw, 48px); }
.pw-pvm .pw-label { color: rgba(255,255,255,.7); }
.pw-pvm h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; color: #fff; margin-top: 22px; }
.pw-pvm article p:not(.pw-label) { color: rgba(255,255,255,.78); margin-top: 22px; padding: 0; }
@media (max-width: 900px) { .pw-pvm__grid { grid-template-columns: 1fr; } }

/* about — values */
.et_pb_section.pw-values { padding: clamp(80px, 10vw, 130px) 0 !important; }
.pw-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pw-line); border: 1px solid var(--pw-line); }
.pw-value { background: #fff; padding: 34px 30px 38px; transition: background .2s; }
.pw-value:hover { background: var(--pw-cloud); }
.pw-value span { font-family: var(--pw-mono); font-size: 12px; color: var(--pw-red); letter-spacing: .14em; }
.pw-value h3 { font-size: 24px; color: var(--pw-navy); margin: 18px 0 10px; }
.pw-value p { color: var(--pw-steel); font-size: 15px; padding: 0; }
@media (max-width: 900px) { .pw-values__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pw-values__grid { grid-template-columns: 1fr; } }

/* engineering — lifecycle */
.et_pb_section.pw-life { background: var(--pw-navy); color: #fff; padding: clamp(80px, 10vw, 140px) 0 !important; }
.pw-life .pw-sec-head h2 { color: #fff; }
.pw-life .pw-label { color: rgba(255,255,255,.7); }
.pw-life__list { border-top: 1px solid var(--pw-line-dark); }
.pw-life__row { display: grid; grid-template-columns: 90px 220px 1fr; gap: 24px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--pw-line-dark); }
.pw-life__num { font-family: var(--pw-head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--pw-yellow); letter-spacing: -.04em; }
.pw-life__row h3 { font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pw-life__row ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pw-life__row li { padding: 7px 12px; border: 1px solid var(--pw-line-dark); border-radius: 999px; font-size: 14px; color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .pw-life__row { grid-template-columns: 60px 1fr; } .pw-life__row ul { grid-column: 1 / -1; } .pw-life__num { font-size: 32px; } }

/* engineering — controls */
.et_pb_section.pw-controls { padding: clamp(80px, 10vw, 130px) 0 !important; background: var(--pw-cloud); }
.pw-controls__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--pw-line); border: 1px solid var(--pw-line); list-style: none; margin: 0; padding: 0; }
.pw-controls__grid li { display: flex; flex-direction: column; gap: 26px; padding: 26px 24px 30px; background: var(--pw-cloud); font-family: var(--pw-head); font-weight: 700; font-size: clamp(20px, 2vw, 26px); color: var(--pw-navy); transition: background .2s, color .2s; }
.pw-controls__grid li span { font-family: var(--pw-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; color: var(--pw-steel); }
.pw-controls__grid li:hover { background: var(--pw-navy); color: #fff; }
.pw-controls__grid li:hover span { color: var(--pw-yellow); }
@media (max-width: 800px) { .pw-controls__grid { grid-template-columns: 1fr 1fr; } }

/* engineering — statement */
.et_pb_section.pw-statement { padding: clamp(80px, 10vw, 140px) 0 !important; }
.pw-statement__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.pw-statement h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; color: var(--pw-navy); margin-top: 20px; }
.pw-statement__grid > p { font-size: 19px; color: var(--pw-steel); padding: 0; }
@media (max-width: 900px) { .pw-statement__grid { grid-template-columns: 1fr; } }

/* projects — case studies */
.et_pb_section.pw-cases { padding: clamp(80px, 10vw, 140px) 0 !important; }
.pw-cases__list { display: grid; gap: 24px; }
.pw-case { border: 1px solid var(--pw-line); border-radius: 12px; overflow: hidden; }
.pw-case__head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 30px 32px; background: var(--pw-navy); color: #fff; }
.pw-case__num { font-family: var(--pw-head); font-weight: 800; font-size: clamp(48px, 6vw, 80px); line-height: .8; letter-spacing: -.05em; color: var(--pw-yellow); }
.pw-case h3 { font-size: clamp(22px, 2.4vw, 30px); color: #fff; }
.pw-case__meta { margin-top: 10px; padding: 0; font-size: 14px; color: rgba(255,255,255,.8); }
.pw-case__meta span { font-family: var(--pw-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 6px 0 0; }
.pw-case__meta span + span, .pw-case__meta span:not(:first-child) { margin-left: 18px; }
.pw-case__body { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.pw-case__body > div { padding: 28px 32px 32px; border-right: 1px solid var(--pw-line); }
.pw-case__body > div:last-child { border-right: 0; background: var(--pw-cloud); }
.pw-case__body dt { font-family: var(--pw-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-red); margin-bottom: 12px; }
.pw-case__body > div:last-child dt { color: var(--pw-green); }
.pw-case__body dd { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .pw-case__body { grid-template-columns: 1fr; } .pw-case__body > div { border-right: 0; border-bottom: 1px solid var(--pw-line); } .pw-case__head { grid-template-columns: 1fr; } }

/* projects — experience */
.et_pb_section.pw-exp { padding: clamp(80px, 10vw, 130px) 0 !important; background: var(--pw-cloud); }
.pw-exp__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); }
.pw-exp__h { font-family: var(--pw-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-steel); margin-bottom: 18px; }
.pw-exp__cats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pw-exp__cats li { padding: 12px 18px; background: #fff; border: 1px solid var(--pw-line); border-radius: 999px; font-family: var(--pw-head); font-weight: 600; color: var(--pw-navy); }
.pw-exp__locs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pw-line); }
.pw-exp__locs li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--pw-line); font-family: var(--pw-head); font-weight: 700; font-size: 20px; color: var(--pw-navy); }
.pw-exp__locs span { font-family: var(--pw-mono); font-weight: 400; font-size: 12px; color: var(--pw-red); }
.pw-exp__note { margin-top: 16px; font-family: var(--pw-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--pw-steel); padding: 0; }
@media (max-width: 900px) { .pw-exp__grid { grid-template-columns: 1fr; } }

/* contact */
.et_pb_section.pw-contact { padding: clamp(80px, 10vw, 140px) 0 !important; background: var(--pw-cloud); }
.pw-contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pw-contact__aside { position: sticky; top: 120px; }
.pw-contact__details { margin: 0; border-top: 1px solid var(--pw-line); }
.pw-contact__details > div { padding: 18px 0; border-bottom: 1px solid var(--pw-line); }
.pw-contact__details dt { font-family: var(--pw-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-steel); margin-bottom: 6px; }
.pw-contact__details dd { margin: 0; font-family: var(--pw-head); font-weight: 700; font-size: 19px; color: var(--pw-navy); }
.pw-contact__details a { color: var(--pw-navy); text-decoration: underline; text-decoration-color: var(--pw-red); text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 900px) { .pw-contact__grid { grid-template-columns: 1fr; } .pw-contact__aside { position: static; } }

.pw-form { background: #fff; border: 1px solid var(--pw-line); border-radius: 14px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; scroll-margin-top: 110px; }
.pw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .pw-form__grid { grid-template-columns: 1fr; } }
.pw-field { display: grid; gap: 8px; margin: 0; border: 0; padding: 0; min-width: 0; }
.pw-field > span, .pw-field legend { font-family: var(--pw-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pw-steel); padding: 0; margin-bottom: 8px; }
.pw-field em { color: var(--pw-red); font-style: normal; }
.pw-field input[type=text], .pw-field input[type=email], .pw-field input[type=tel], .pw-field select, .pw-field textarea {
	width: 100%;
	padding: 14px 16px;
	font: 16px/1.4 var(--pw-body);
	color: var(--pw-charcoal);
	background: var(--pw-cloud);
	border: 1px solid transparent;
	border-radius: 8px;
	transition: border-color .2s, background .2s, box-shadow .2s;
}
.pw-field textarea { resize: vertical; min-height: 140px; }
.pw-field input:focus, .pw-field select:focus, .pw-field textarea:focus { outline: none; background: #fff; border-color: var(--pw-navy); box-shadow: 0 0 0 4px rgba(23,54,93,.12); }
.pw-services__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-chip { position: relative; cursor: pointer; }
.pw-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pw-chip span { display: block; padding: 10px 14px; border: 1px solid var(--pw-line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--pw-navy); transition: background .15s, color .15s, border-color .15s; }
.pw-chip:hover span { border-color: var(--pw-navy); }
.pw-chip input:checked + span { background: var(--pw-navy); border-color: var(--pw-navy); color: #fff; }
.pw-chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--pw-yellow); }
.pw-file input[type=file] { font: 14px var(--pw-body); padding: 14px; border: 1.5px dashed var(--pw-line); border-radius: 8px; background: var(--pw-cloud); width: 100%; }
.pw-file small { font-size: 13px; color: var(--pw-steel); }
.pw-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--pw-steel); line-height: 1.5; }
.pw-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--pw-navy); flex: none; }
.pw-form .pw-btn { justify-self: start; border: 0 !important; cursor: pointer; }
.pw-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pw-form__notice { padding: 14px 18px !important; border-radius: 8px; font-size: 15px; }
.pw-form__notice--ok { background: rgba(31,165,91,.1); color: #13703c; border: 1px solid rgba(31,165,91,.35); }
.pw-form__notice--err { background: rgba(227,38,46,.08); color: #a3161c; border: 1px solid rgba(227,38,46,.3); }

/* process steps on inner pages sit on white */
.pw-process .pw-process__head .pw-sec-head { margin-bottom: 0; }

/* Divi gives content lists bullets + padding; our components style their own */
.entry-content .et_pb_code ul, .entry-content .et_pb_code ol { list-style: none; padding: 0; line-height: inherit; }
.entry-content .et_pb_code li { list-style: none; }
.et_pb_section.pw-process { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px) !important; }
.pw-split__media img { aspect-ratio: 5 / 4; object-position: 58% 35%; }
