/* ==========================================================================
   Propel 2026/27 — Block & section styles
   Hooks: block style classes (is-style-pp-*) + helper classes (pp-*)
   ========================================================================== */

/* ---------- Page flow ---------- */
.pp-content > * { margin-block: 0 !important; }
.pp-content > .alignfull { padding-inline: var(--gutter); }
.pp-content .wp-block-image { margin: 0; }
.pp-content .wp-block-image img { width: 100%; }

/* ---------- Sections ---------- */
.is-style-pp-section, .is-style-pp-section-white, .is-style-pp-section-navy {
	position: relative;
	padding-block: var(--section);
}
.is-style-pp-section { background: var(--bg); }
.is-style-pp-section-white { background: var(--paper); }
.is-style-pp-section.pp-tight, .is-style-pp-section-white.pp-tight { padding-block: clamp(56px, 7vw, 96px); }
.pp-cta-section { padding-block: clamp(64px, 8vw, 120px) clamp(80px, 10vw, 140px); }

.is-style-pp-section-navy {
	margin-inline: var(--inset) !important;
	border-radius: var(--r-xl);
	background: radial-gradient(120% 90% at 50% 0%, #0A3F80 0%, var(--navy-900) 55%, #011330 100%);
	color: rgba(220,234,248,.76);
	overflow: hidden;
	isolation: isolate;
}
.is-style-pp-section-navy::before {
	content: ""; position: absolute; z-index: -1; width: 1000px; height: 1000px; left: 50%; top: -620px; transform: translateX(-50%);
	background: radial-gradient(circle, rgba(16,151,148,.4), transparent 60%); filter: blur(40px);
	animation: float 14s ease-in-out infinite;
}
.is-style-pp-section-navy h2, .is-style-pp-section-navy h3, .is-style-pp-section-navy strong { color: #fff; }
.is-style-pp-section-navy h2 em, .is-style-pp-section-navy h3 em { color: var(--teal-300); }
.is-style-pp-section-navy .is-style-pp-lead { color: rgba(220,234,248,.72); }

/* Spacing rhythm inside sections */
.pp-content .wp-block-group.is-layout-constrained > * + *,
.pp-content .wp-block-group.is-layout-flow > * + *,
.pp-content .wp-block-column > * + * { margin-block-start: 1.4rem; }
.pp-content h2 + p, .pp-content h3 + p { margin-block-start: 1rem; }
.pp-content .is-style-pp-kicker + h1, .pp-content .is-style-pp-kicker + h2 { margin-block-start: .9rem; }
.pp-content .is-style-pp-lead + .wp-block-buttons, .pp-content .is-style-pp-checks + .wp-block-buttons, .pp-content .is-style-pp-features + .wp-block-buttons { margin-block-start: 2.2rem; }
.pp-content .pp-head + * { margin-block-start: var(--head-gap) !important; }

/* ---------- Typography helpers ---------- */
.is-style-pp-kicker {
	display: flex; align-items: center; gap: 12px;
	font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--teal-600);
}
.is-style-pp-kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.is-style-pp-kicker.has-text-align-center { justify-content: center; }
.is-style-pp-section-navy .is-style-pp-kicker, .is-style-pp-hero .is-style-pp-kicker, .is-style-pp-card-dark .is-style-pp-kicker { color: var(--teal-300); }

.is-style-pp-lead { font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.65; color: var(--muted); max-width: 62ch; }
.has-text-align-center.is-style-pp-lead { margin-inline: auto; }

.is-style-pp-badge { display: flex; justify-content: center; }
.is-style-pp-badge:not(.has-text-align-center) { justify-content: flex-start; }
.is-style-pp-badge > a, .is-style-pp-badge > span, .is-style-pp-badge:not(:has(a)) {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 16px 6px 6px;
	font-size: .86rem; font-weight: 500;
	border-radius: 999px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.16);
	color: #DCEAF8;
	backdrop-filter: blur(10px);
	transition: background .3s, border-color .3s;
}
.is-style-pp-badge:not(:has(a)) { width: fit-content; margin-inline: auto; padding: 7px 16px; }
.is-style-pp-badge a:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); }
.is-style-pp-badge strong { background: var(--teal); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }

.pp-head h2 { max-width: 18ch; }
.pp-head.is-centered h2 { margin-inline: auto; }
.pp-head-split { gap: 24px 48px; }
.pp-head-split > * { margin: 0 !important; }
.pp-head-split .is-style-pp-lead { max-width: 46ch; }

/* ==========================================================================
   Hero
   ========================================================================== */
.is-style-pp-hero {
	position: relative;
	margin: var(--inset) var(--inset) 0 !important;
	border-radius: var(--r-xl);
	padding-block: clamp(150px, 17vw, 210px) clamp(80px, 10vw, 130px);
	background: radial-gradient(140% 100% at 50% 0%, #07458F 0%, var(--navy) 36%, var(--navy-900) 74%, #01112A 100%);
	color: rgba(220,234,248,.82);
	overflow: hidden;
	isolation: isolate;
}
.is-style-pp-hero::before {
	content: ""; position: absolute; inset: -20%; z-index: -2;
	background:
		radial-gradient(38% 46% at 18% 62%, rgba(16,151,148,.7), transparent 70%),
		radial-gradient(34% 40% at 84% 18%, rgba(36,110,220,.6), transparent 70%),
		radial-gradient(30% 34% at 56% 104%, rgba(79,209,197,.45), transparent 70%);
	filter: blur(30px);
	animation: aurora 20s ease-in-out infinite alternate;
}
.is-style-pp-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
	background-size: 68px 68px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 15%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 15%, transparent 75%);
}
@keyframes aurora { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(4%, -3%) rotate(8deg) scale(1.08); } 100% { transform: translate(-4%, 3%) rotate(-6deg) scale(1); } }
.is-style-pp-hero h1 { color: #fff; }
.is-style-pp-hero h1 em { color: var(--teal-300); }
.is-style-pp-hero .is-style-pp-lead { color: rgba(220,234,248,.8); }
.is-style-pp-hero > * { position: relative; }

.pp-hero-home .pp-hero-title { max-width: 14ch; margin-inline: auto; }
.pp-hero-home > .is-style-pp-badge + h1 { margin-block-start: 2rem; }
.pp-hero-home > h1 + p { margin-block-start: 1.8rem; }
.pp-hero-home > .wp-block-buttons { margin-block-start: 2.6rem; }
.pp-hero-home > .is-style-pp-inline-checks { margin-block-start: 2.2rem; }
.pp-hero-home { padding-bottom: 0; }
.pp-hero-home > .is-style-pp-tilt { margin-block-start: clamp(56px, 7vw, 96px); }

/* Rotating word (built by JS from <em>a|b|c</em>) */
.pp-rotator { display: block; height: 1.05em; overflow: hidden; margin: 0 auto; }
.pp-rotator-track { display: flex; flex-direction: column; animation: rotator var(--rot-dur, 10s) var(--ease-io) infinite; }
.pp-rotator-track > em { display: block; height: 1.05em; line-height: 1.05; text-align: inherit; }
@keyframes rotator {
	0%, 18% { transform: translateY(0); }
	25%, 43% { transform: translateY(-1.05em); }
	50%, 68% { transform: translateY(-2.1em); }
	75%, 93% { transform: translateY(-3.15em); }
	100% { transform: translateY(-4.2em); }
}

/* Inner page hero */
.pp-hero-page { padding-block: clamp(150px, 16vw, 200px) clamp(72px, 8vw, 110px); }
.pp-hero-page h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); max-width: 16ch; }
.pp-hero-copy > .is-style-pp-stats { margin-block-start: clamp(48px, 6vw, 80px) !important; }
.pp-hero-static .pp-hero-copy { max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter); display: grid; gap: 1.4rem; }
.pp-hero-static h1 { max-width: 18ch; }
.pp-404 { text-align: center; min-height: 82vh; display: flex; align-items: center; justify-content: center; }
.pp-404 .pp-hero-copy { justify-items: center; }
.pp-404-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 20vw, 14rem); line-height: 1; letter-spacing: -.06em; background: linear-gradient(180deg, #fff, rgba(255,255,255,.08)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Images
   ========================================================================== */
.is-style-pp-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.is-style-pp-frame img { border-radius: inherit; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.is-style-pp-frame.is-in img, .pp-noanim .is-style-pp-frame img { transform: scale(1); }
.is-style-pp-frame:hover img { transform: scale(1.04); }
.is-style-pp-frame.pp-rv { clip-path: inset(12% 12% 12% 12% round var(--r-lg)); filter: none; transform: none; opacity: 1; transition: clip-path 1.4s var(--ease); }
.is-style-pp-frame.pp-rv.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.pp-fill, .pp-fill img { height: 100%; }
.pp-fill img { min-height: 320px; }

.is-style-pp-tilt { perspective: 1600px; }
.is-style-pp-tilt img {
	border-radius: 22px 22px 0 0;
	border: 1px solid rgba(255,255,255,.18); border-bottom: 0;
	box-shadow: 0 -30px 90px -30px rgba(79,209,197,.5);
	transform-origin: 50% 0;
	transform: rotateX(var(--tilt, 20deg)) scale(var(--tscale, .92));
	transition: transform .15s linear;
}

.is-style-pp-parallax { border-radius: var(--r-lg); overflow: hidden; }
.is-style-pp-parallax img { transform: translateY(var(--py, 0)) scale(1.18); will-change: transform; }
.pp-banner { aspect-ratio: 21 / 8; }
.pp-banner img { height: 100%; object-fit: cover; }

/* ==========================================================================
   Cards
   ========================================================================== */
@property --spot { syntax: "<number>"; initial-value: 0; inherits: false; }
.is-style-pp-card, .is-style-pp-card-dark, .is-style-pp-card-teal {
	--pad: clamp(28px, 3vw, 40px);
	--mx: 50%; --my: 50%;
	position: relative;
	padding: var(--pad);
	border-radius: var(--r-lg);
	background-color: var(--paper);
	background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(16,151,148, calc(.12 * var(--spot))), transparent 50%);
	border: 1px solid var(--line);
	transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s, --spot .5s;
}
.is-style-pp-section-white .is-style-pp-card { background-color: var(--bg); }
.is-style-pp-card:hover, .is-style-pp-card-dark:hover, .is-style-pp-card-teal:hover { --spot: 1; transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.is-style-pp-card h3, .is-style-pp-card-dark h3, .is-style-pp-card-teal h3 { margin-bottom: .2rem; }
.is-style-pp-card p { font-size: .97rem; }

.is-style-pp-card-dark {
	background-color: transparent;
	background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(79,209,197, calc(.2 * var(--spot))), transparent 50%), radial-gradient(120% 100% at 100% 0%, #0A4E96, var(--navy) 50%, var(--navy-900));
	color: rgba(220,234,248,.8);
	border-color: transparent;
}
.is-style-pp-section-navy .is-style-pp-card-dark { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(79,209,197, calc(.18 * var(--spot))), transparent 50%), linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.03)); border-color: rgba(255,255,255,.12); }
.is-style-pp-card-dark h3, .is-style-pp-card-dark strong { color: #fff; }
.is-style-pp-card-teal { background-color: transparent; background-image: linear-gradient(160deg, #13A5A1, var(--teal-600)); color: rgba(255,255,255,.88); border-color: transparent; }
.is-style-pp-card-teal h3 { color: #fff; }
.pp-card-lg { --pad: clamp(30px, 4vw, 56px); }
.pp-card-lg h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; }

.pp-cards { gap: clamp(16px, 1.8vw, 24px) !important; align-items: stretch; }
.pp-cards > * { margin: 0 !important; height: 100%; }

/* Warn card */
.pp-warn::before { background: #FFF4EC !important; }
.pp-warn::after { background: var(--warn) !important; }
.pp-warn { overflow: hidden; }
.pp-warn > :last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #F97316, #FB923C); transform: scaleX(.22); transform-origin: 0 50%; transition: transform .9s var(--ease); }
.pp-warn:hover > :last-child::after { transform: scaleX(1); }

/* Icons on cards (class pp-ico-NAME — see icons.css) */
[class*="pp-ico-"]:not(.mega-ico)::before {
	content: ""; display: block; width: 54px; height: 54px; border-radius: 17px;
	background: var(--mint); margin-bottom: 26px;
	transition: background .4s var(--ease), transform .6s var(--ease);
}
[class*="pp-ico-"]:not(.mega-ico)::after {
	content: ""; position: absolute; top: calc(var(--pad, 0px) + 15px); left: calc(var(--pad, 0px) + 15px);
	width: 24px; height: 24px; background: var(--teal-600);
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
	transition: background .4s, transform .6s var(--ease);
}
.is-style-pp-card[class*="pp-ico-"]:hover::before { background: var(--navy); transform: rotate(-8deg); }
.is-style-pp-card[class*="pp-ico-"]:hover::after { background: #fff; transform: rotate(-8deg); }
.is-style-pp-card-dark[class*="pp-ico-"]::before { background: rgba(255,255,255,.1); }
.is-style-pp-card-dark[class*="pp-ico-"]::after { background: var(--teal-300); }

/* ==========================================================================
   Lists
   ========================================================================== */
.pp-content ul.wp-block-list[class*="is-style-pp-"] { list-style: none; padding: 0; margin-left: 0; }
.is-style-pp-checks { display: grid; gap: 12px; }
.is-style-pp-checks li { position: relative; padding-left: 30px; font-size: .96rem; }
.is-style-pp-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C7E7B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.is-style-pp-card-dark .is-style-pp-checks li, .is-style-pp-section-navy .is-style-pp-checks li { color: rgba(220,234,248,.86); }
.is-style-pp-card-dark .is-style-pp-checks li::before { background-color: rgba(79,209,197,.16); }

.is-style-pp-features { display: grid; gap: 0; }
.is-style-pp-features li { position: relative; padding: 18px 0 18px 34px; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.is-style-pp-features li:last-child { border-bottom: 1px solid var(--line); }
.is-style-pp-features li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 12px; border-radius: 4px; background: var(--teal); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--mint); }
.is-style-pp-features strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 2px; }
.pp-numbered li::before { display: none; }
.pp-numbered li { padding-left: 0; }

.is-style-pp-inline-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .9rem; color: rgba(220,234,248,.76); }
.is-style-pp-inline-checks li { display: inline-flex; align-items: center; gap: 8px; }
.is-style-pp-inline-checks li::before { content: ""; width: 16px; height: 16px; background: var(--teal-300); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-pp-section .is-style-pp-inline-checks, .is-style-pp-section-white .is-style-pp-inline-checks { color: var(--muted); }

.is-style-pp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.is-style-pp-tags li { font-size: .74rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); }

.is-style-pp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.is-style-pp-chips.pp-center { justify-content: center; }
.is-style-pp-chips li { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--navy); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.is-style-pp-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.is-style-pp-chips li:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.is-style-pp-section-white .is-style-pp-chips li { background: var(--bg); }

.is-style-pp-bad, .is-style-pp-good { display: grid; gap: 12px; }
.is-style-pp-bad li, .is-style-pp-good li { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 16px; font-size: .93rem; font-weight: 500; }
.is-style-pp-bad li { background: var(--bg); border: 1px solid var(--line); color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107,122,144,.4); }
.is-style-pp-bad li::before { content: "✕"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #FFF1E8; color: var(--warn); font-size: .7rem; text-decoration: none; }
.is-style-pp-good li { background: var(--mint); border: 1px solid rgba(16,151,148,.24); color: var(--ink); }
.is-style-pp-good li::before { content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 700; }

/* Marquee (JS duplicates items for a seamless loop) */
.is-style-pp-marquee { display: flex; gap: 64px; width: max-content; animation: marquee 50s linear infinite; align-items: center; margin-inline: 0 !important; max-width: none !important; }
.is-style-pp-marquee.pp-reverse { animation-direction: reverse; animation-duration: 62s; }
.is-style-pp-marquee li { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.03em; color: #9AA7BA; white-space: nowrap; transition: color .3s; }
.is-style-pp-marquee li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: currentColor; transform: rotate(45deg); opacity: .45; }
.is-style-pp-marquee li:hover { color: var(--navy); }
.pp-marquee-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); max-width: none !important; }
.pp-marquee-mask + .pp-marquee-mask { margin-block-start: 22px !important; }
.pp-marquee-mask:hover .is-style-pp-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* Sticky sub-navigation */
.pp-subnav-wrap { position: sticky !important; top: 96px; z-index: 40; margin-block: -32px !important; padding-inline: var(--gutter); pointer-events: none; }
.admin-bar .pp-subnav-wrap { top: 128px; }
.is-style-pp-subnav { pointer-events: auto; display: flex !important; gap: 4px; width: fit-content; max-width: 100% !important; margin-inline: auto !important; padding: 6px !important; border-radius: 20px; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.is-style-pp-subnav::-webkit-scrollbar { display: none; }
.is-style-pp-subnav li a { display: block; padding: 11px 18px; border-radius: 14px; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.is-style-pp-subnav li a:hover { color: var(--navy); }
.is-style-pp-subnav li a.is-active { background: var(--navy); color: #fff; }

/* ==========================================================================
   Statement (scroll-lit)
   ========================================================================== */
.pp-statement { padding-block: clamp(110px, 14vw, 220px); }
.is-style-pp-scrub { font-family: var(--font-display); font-weight: 600; letter-spacing: -.038em; line-height: 1.14; font-size: clamp(1.9rem, 4.4vw, 3.9rem); color: var(--ink); max-width: 22ch !important; margin-inline: auto !important; }
.pp-statement .is-style-pp-scrub { max-width: 1120px !important; }
.is-style-pp-scrub .sw { opacity: .13; transition: opacity .3s linear; }
.is-style-pp-scrub .sw.lit { opacity: 1; }
.pp-statement .is-style-pp-kicker { margin-bottom: 2rem; }

/* ==========================================================================
   Flow (before → after)
   ========================================================================== */
.pp-flow {
	position: relative; gap: clamp(20px, 3vw, 40px) !important;
	padding: clamp(28px, 4vw, 56px);
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.pp-flow::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(3,46,101,.08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); pointer-events: none; }
.pp-flow > * { position: relative; }
.pp-flow-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pp-flow-label.is-good { color: var(--teal-600); }
.pp-flow-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; }
@keyframes dashmove { to { background-position: 26px 0; } }
.pp-flow-hub { position: relative; z-index: 2; width: 128px; margin-inline: auto !important; padding: 26px; border-radius: 34px; background: linear-gradient(145deg, #fff, #EAF1F9) !important; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(3,46,101,.5), 0 0 0 10px rgba(16,151,148,.08), 0 0 0 22px rgba(16,151,148,.04); animation: hubpulse 3.2s var(--ease) infinite; }
.pp-flow-hub img { border-radius: 14px; }
@keyframes hubpulse { 0%, 100% { box-shadow: 0 24px 60px -20px rgba(3,46,101,.5), 0 0 0 10px rgba(16,151,148,.08), 0 0 0 22px rgba(16,151,148,.04); } 50% { box-shadow: 0 24px 60px -20px rgba(3,46,101,.5), 0 0 0 16px rgba(16,151,148,.1), 0 0 0 34px rgba(16,151,148,.03); } }
.pp-flow-caption { position: relative; z-index: 2; font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); width: fit-content; margin-inline: auto; }
.pp-flow .is-style-pp-bad li, .pp-flow .is-style-pp-good li { opacity: 0; transform: translateX(-24px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.pp-flow .is-style-pp-good li { transform: translateX(24px); }
.pp-flow.is-in li { opacity: 1; transform: none; }
.pp-flow.is-in .is-style-pp-bad li:nth-child(2) { transition-delay: .1s; } .pp-flow.is-in .is-style-pp-bad li:nth-child(3) { transition-delay: .2s; } .pp-flow.is-in .is-style-pp-bad li:nth-child(4) { transition-delay: .3s; }
.pp-flow.is-in .is-style-pp-good li:nth-child(1) { transition-delay: .9s; } .pp-flow.is-in .is-style-pp-good li:nth-child(2) { transition-delay: 1s; } .pp-flow.is-in .is-style-pp-good li:nth-child(3) { transition-delay: 1.1s; } .pp-flow.is-in .is-style-pp-good li:nth-child(4) { transition-delay: 1.2s; }

/* ==========================================================================
   Tabs (JS builds the tab bar from each child group's .pp-tab-label)
   ========================================================================== */
.pp-tabbar-wrap { display: flex; justify-content: center; margin-bottom: clamp(28px, 3vw, 44px); }
.pp-tabbar { position: relative; display: inline-flex; gap: 4px; padding: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.is-style-pp-section-white .pp-tabbar { background: var(--bg); }
.pp-tabbar::-webkit-scrollbar { display: none; }
.pp-tabbar button { position: relative; z-index: 1; padding: 13px 22px; border-radius: 14px; font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .35s; }
.pp-tabbar button:hover { color: var(--navy); }
.pp-tabbar button[aria-selected="true"] { color: #fff; }
.pp-tabbar .pp-tab-ind { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 14px; background: var(--navy); box-shadow: 0 10px 24px -10px rgba(3,46,101,.7); transition: transform .6s var(--ease), width .6s var(--ease); }
.is-style-pp-tabs.is-ready > .pp-tab { display: none; }
.is-style-pp-tabs.is-ready > .pp-tab.is-active { display: block; animation: panelIn .8s var(--ease); }
.is-style-pp-tabs.is-ready .pp-tab-label { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pp-tab-label { font-family: var(--font-display); font-weight: 600; color: var(--teal-600); }
.pp-tab-split { gap: clamp(14px, 1.6vw, 20px) !important; align-items: stretch !important; }
.pp-tab-split > .wp-block-column > * { height: 100%; }
.pp-tab-split .is-style-pp-frame { box-shadow: var(--shadow); }

/* ==========================================================================
   Process — sticky stacked cards
   ========================================================================== */
.pp-split { gap: clamp(36px, 6vw, 104px) !important; }
.is-style-pp-stack { display: flex; flex-direction: column; gap: 22px; }
.is-style-pp-stack > * { margin: 0 !important; }
.is-style-pp-stack > .wp-block-group {
	position: sticky; top: calc(120px + var(--i, 0) * 24px);
	min-height: 330px;
	transform-origin: 50% 0;
	transform: scale(var(--s, 1));
	box-shadow: 0 -16px 50px -24px rgba(3,46,101,.3);
}
.is-style-pp-stack > .wp-block-group:nth-child(2) { background-color: #EDF3FA; }
.is-style-pp-stack > .wp-block-group:nth-child(3) { background-color: var(--mint); }
.is-style-pp-stack > .wp-block-group:last-child { background-color: transparent; background-image: radial-gradient(120% 100% at 100% 0%, #0A4E96, var(--navy) 50%, var(--navy-900)); color: rgba(220,234,248,.8); border-color: transparent; }
.is-style-pp-stack > .wp-block-group:last-child h3 { color: #fff; }
.is-style-pp-stack > .wp-block-group:last-child::before { background: rgba(255,255,255,.12); }
.is-style-pp-stack > .wp-block-group:last-child::after { background: var(--teal-300); }
.is-style-pp-stack > .wp-block-group:last-child .pp-step-num { -webkit-text-stroke-color: var(--teal-300); }
.is-style-pp-stack > .wp-block-group:last-child .pp-chip { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.pp-step-num { position: absolute; top: var(--pad); right: var(--pad); font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--navy); margin: 0 !important; }
.pp-chip { display: inline-flex !important; width: fit-content; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: var(--navy); padding: 6px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.pp-step-num + .pp-chip { margin-block-start: 0 !important; }
.is-style-pp-stack h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); letter-spacing: -.03em; margin-top: 1.2rem !important; }

/* ==========================================================================
   Tiles & carousel
   ========================================================================== */
.is-style-pp-tile {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex !important; flex-direction: column; justify-content: flex-end;
	min-height: clamp(420px, 44vw, 540px);
	padding: clamp(24px, 2.6vw, 34px);
	border-radius: var(--r-lg);
	color: rgba(255,255,255,.84);
}
.is-style-pp-tile > * { margin-block-start: .7rem !important; }
.is-style-pp-tile .pp-tile-bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; }
.is-style-pp-tile .pp-tile-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.is-style-pp-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2,28,64,0) 25%, rgba(2,28,64,.6) 60%, rgba(2,28,64,.94)); }
.is-style-pp-tile:hover .pp-tile-bg img { transform: scale(1.07); }
.is-style-pp-tile h3 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.03em; }
.is-style-pp-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.is-style-pp-tile h3 a::before { content: "↗"; position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1rem; transform: scale(.7); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.is-style-pp-tile:hover h3 a::before { transform: scale(1) rotate(0); opacity: 1; }
.is-style-pp-tile p { font-size: .94rem; }

.is-style-pp-carousel { position: relative; }
.pp-car-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: var(--slide, calc((100% - 48px) / 3));
	gap: 24px;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 8px 2px 18px; margin: -8px -2px 0;
	cursor: grab;
}
.pp-car-track::-webkit-scrollbar { display: none; }
.pp-car-track > * { scroll-snap-align: start; margin: 0 !important; min-width: 0; }
.pp-car-track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.pp-car-track.is-drag * { pointer-events: none; user-select: none; }
.pp-per-4 .pp-car-track { --slide: calc((100% - 72px) / 4); }
.pp-per-2 .pp-car-track { --slide: calc((100% - 24px) / 2); }
.pp-car-ui { display: flex; align-items: center; gap: 24px; margin-top: 26px; }
.pp-car-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pp-car-progress span { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--teal); transition: transform .35s var(--ease), width .35s; }
.pp-car-btns { display: flex; gap: 10px; }
.pp-car-btns button { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--navy); background: var(--paper); font-size: 1.1rem; transition: background .3s, color .3s, opacity .3s, border-color .3s, transform .4s var(--ease); }
.pp-car-btns button:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.06); }
.pp-car-btns button:disabled { opacity: .35; cursor: default; }
.is-style-pp-section-navy .pp-car-progress { background: rgba(255,255,255,.14); }
.is-style-pp-section-navy .pp-car-btns button { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }
.is-style-pp-section-navy .pp-car-btns button:hover:not(:disabled) { background: var(--teal); border-color: var(--teal); }
.is-style-pp-carousel.no-scroll .pp-car-ui { display: none; }
.is-style-pp-carousel.no-scroll .pp-car-track { cursor: default; }

/* Case cards */
.pp-case { display: flex !important; flex-direction: column; min-height: 440px; }
.pp-sector { font-size: .8rem; font-weight: 600; color: var(--teal-300); }
.pp-metric { font-family: var(--font-display); font-weight: 600; font-size: clamp(3rem, 5vw, 4.2rem); letter-spacing: -.055em; line-height: 1; color: #fff; margin-top: auto !important; padding-top: 2rem; }
.is-style-pp-card .pp-metric { color: var(--navy); }
.pp-kvs { gap: 10px !important; margin-top: 1.6rem !important; }
.pp-kv { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); font-size: .8rem; }
.pp-kv > * { margin: 0 !important; }
.pp-kv strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; color: #fff; }

/* ==========================================================================
   Stats & bands
   ========================================================================== */
.is-style-pp-stats { gap: 0 !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.is-style-pp-stats > .pp-stat { margin: 0 !important; padding: clamp(26px, 3vw, 40px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.is-style-pp-stats > .pp-stat:first-child { border-left: 0; padding-left: 0; }
.pp-stat-value { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -.055em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.pp-stat-label { font-size: .9rem; margin-top: .7rem !important; color: var(--muted); }
.is-style-pp-section-navy .is-style-pp-stats { border-color: rgba(255,255,255,.1); margin-bottom: clamp(36px, 4vw, 56px) !important; }
.is-style-pp-section-navy .pp-stat { border-color: rgba(255,255,255,.1) !important; }
.is-style-pp-section-navy .pp-stat-value { color: #fff; }
.is-style-pp-section-navy .pp-stat-label { color: rgba(220,234,248,.7); }
.is-glass { border: 1px solid rgba(255,255,255,.12) !important; border-radius: var(--r); overflow: hidden; background: rgba(2,28,64,.45); backdrop-filter: blur(12px); }
.is-glass > .pp-stat { border-color: rgba(255,255,255,.1) !important; padding-left: clamp(16px, 2vw, 28px) !important; }
.is-glass .pp-stat-value { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.is-glass .pp-stat-label { color: rgba(220,234,248,.7); }

.is-style-pp-band { gap: 1px !important; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.is-style-pp-band > .pp-band-item { margin: 0 !important; padding: clamp(24px, 2.6vw, 34px); background: var(--paper); }
.pp-band-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--teal-600); }
.pp-band-item h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-top: .5rem !important; }
.pp-band-item p:last-child { font-size: .9rem; margin-top: .4rem !important; }
.is-style-pp-section-navy .is-style-pp-band { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.is-style-pp-section-navy .pp-band-item { background: rgba(2,28,64,.55); }
.is-style-pp-section-navy .pp-band-label { color: var(--teal-300); }

/* ==========================================================================
   Timeline
   ========================================================================== */
.is-style-pp-timeline { position: relative; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(28px, 3vw, 40px) 24px; }
.is-style-pp-timeline > * { margin: 0 !important; }
.is-style-pp-timeline::before, .is-style-pp-timeline::after { content: ""; position: absolute; top: 29px; left: 30px; right: 30px; height: 2px; background: var(--line-strong); }
.is-style-pp-timeline::after { background: linear-gradient(90deg, var(--teal), var(--teal-300)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 2.2s var(--ease) .2s; }
.is-style-pp-timeline.is-in::after { transform: scaleX(1); }
.pp-step { position: relative; z-index: 1; --pad: 0px; }
.pp-step[class*="pp-ico-"]::before { width: 60px; height: 60px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); margin-bottom: 24px; transition: background .6s, border-color .6s; }
.pp-step[class*="pp-ico-"]::after { top: 18px; left: 18px; background: var(--navy); }
.is-in > .pp-step[class*="pp-ico-"]::before { background: var(--navy); border-color: var(--navy); }
.is-in > .pp-step[class*="pp-ico-"]::after { background: #fff; }
.is-in > .pp-step:nth-child(2)::before, .is-in > .pp-step:nth-child(2)::after { transition-delay: .4s; }
.is-in > .pp-step:nth-child(3)::before, .is-in > .pp-step:nth-child(3)::after { transition-delay: .8s; }
.is-in > .pp-step:nth-child(4)::before, .is-in > .pp-step:nth-child(4)::after { transition-delay: 1.2s; }
.is-in > .pp-step:nth-child(5)::before, .is-in > .pp-step:nth-child(5)::after { transition-delay: 1.6s; }
.pp-when { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); }
.pp-step h3 { font-size: 1.18rem; margin-top: .4rem !important; }
.pp-step p:last-child { font-size: .92rem; color: var(--muted); margin-top: .5rem !important; }
.is-style-pp-section-navy .is-style-pp-timeline::before { background: rgba(255,255,255,.14); }
.is-style-pp-section-navy .pp-step::before { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.2) !important; box-shadow: none; }
.is-style-pp-section-navy .pp-step::after { background: #fff !important; }
.is-style-pp-section-navy .is-in > .pp-step::before { background: var(--teal) !important; border-color: var(--teal) !important; }
.is-style-pp-section-navy .pp-when { color: var(--teal-300); }
.is-style-pp-section-navy .pp-step p:last-child { color: rgba(220,234,248,.7); }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.is-style-pp-compare { border-radius: var(--r-lg); overflow-x: auto; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); margin-inline: auto !important; }
.is-style-pp-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .94rem; }
.is-style-pp-compare th, .is-style-pp-compare td { padding: 22px 26px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.is-style-pp-compare tbody tr:last-child td { border-bottom: 0; }
.is-style-pp-compare thead th { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.is-style-pp-compare td:first-child { font-weight: 600; color: var(--ink); }
.is-style-pp-compare th:nth-child(2), .is-style-pp-compare td:nth-child(2) { background: linear-gradient(180deg, rgba(16,151,148,.08), rgba(16,151,148,.04)); color: var(--ink); font-weight: 600; box-shadow: inset 1px 0 0 rgba(16,151,148,.2), inset -1px 0 0 rgba(16,151,148,.2); }
.is-style-pp-compare thead th:nth-child(2) { background: var(--teal-100); color: var(--navy); font-size: .95rem; letter-spacing: -.01em; text-transform: none; }
.is-style-pp-compare td:nth-child(n+2)::before { content: "✕"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: #F1F3F7; color: #A0AABB; font-size: .66rem; vertical-align: -5px; }
.is-style-pp-compare td:nth-child(2)::before { content: "✓"; background: var(--teal); color: #fff; font-size: .74rem; font-weight: 700; }
.is-style-pp-compare tbody tr { transition: background .3s; }
.is-style-pp-compare tbody tr:hover td:not(:nth-child(2)) { background: rgba(3,46,101,.02); }

/* ==========================================================================
   FAQ (core/details)
   ========================================================================== */
.pp-faq { display: flex !important; flex-direction: column; gap: 12px; }
.pp-faq > * { margin: 0 !important; }
.wp-block-details { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: background .4s, border-color .4s, box-shadow .4s; overflow: hidden; }
.is-style-pp-section-white .wp-block-details { background: var(--bg); }
.wp-block-details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); background: var(--paper); }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); letter-spacing: -.015em; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23032E65' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .5s var(--ease), background-color .3s; }
.wp-block-details[open] summary::after { transform: rotate(135deg); background-color: var(--mint); }
.wp-block-details > :not(summary) { padding: 0 26px 26px; margin: 0 !important; color: var(--muted); }
.pp-details-body { overflow: hidden; transition: height .55s var(--ease); }

/* ==========================================================================
   Case study rows, models, deliverables
   ========================================================================== */
.pp-case-big { gap: 16px !important; align-items: stretch !important; }
.pp-case-big + .pp-case-big { margin-top: 20px !important; }
.pp-case-big .wp-block-column > * { height: 100%; }
.pp-case-big .is-style-pp-card-dark { display: flex !important; flex-direction: column; }
.pp-case-big .is-style-pp-card-dark .pp-metric { font-size: clamp(3.4rem, 7vw, 5.6rem); }
.pp-case-big .is-style-pp-tags { margin-top: 1.4rem !important; }
.pp-pas p { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); margin: 0 !important; }
.pp-pas strong { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600); padding-top: 3px; }
.pp-pas p:last-child { color: var(--ink); font-weight: 600; }
.pp-model { display: flex !important; flex-direction: column; }
.pp-model .wp-block-buttons { margin-top: auto !important; padding-top: 1.8rem; }
.pp-model h3 { font-size: 1.7rem; letter-spacing: -.03em; margin-top: 1.4rem !important; }
.pp-model-for { font-weight: 600; color: var(--ink); }
.is-style-pp-card-dark .pp-model-for { color: #fff; }
.is-style-pp-card-dark .pp-chip { background: rgba(79,209,197,.16); color: var(--teal-300); border-color: transparent; }
.pp-deliver { display: grid !important; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; margin-top: clamp(40px, 5vw, 64px) !important; }
.pp-deliver > * { margin: 0 !important; }
.pp-deliver .is-style-pp-kicker { padding-top: 12px; }

/* Quotes (testimonials pattern) */
.pp-quote { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.45; color: var(--ink); }
.pp-quote-who { font-size: .86rem; color: var(--muted); margin-top: 1.6rem !important; }
.pp-quote-who strong { display: block; font-size: .96rem; }

/* ==========================================================================
   CTA panel
   ========================================================================== */
.is-style-pp-cta {
	--mx: 50%; --my: 50%;
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(64px, 9vw, 130px) clamp(24px, 5vw, 80px);
	border-radius: var(--r-xl);
	background: radial-gradient(120% 120% at 50% 0%, #0A4E96, var(--navy) 45%, var(--navy-900));
	color: rgba(220,234,248,.8);
	text-align: center;
}
.is-style-pp-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(640px circle at var(--mx) var(--my), rgba(79,209,197,.24), transparent 45%), radial-gradient(60% 40% at 50% 115%, rgba(16,151,148,.75), transparent 70%); }
.is-style-pp-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.is-style-pp-cta h2 { color: #fff; font-size: clamp(2.5rem, 6.4vw, 5.4rem); letter-spacing: -.05em; max-width: 14ch; margin-inline: auto !important; }
.is-style-pp-cta h2 em { color: var(--teal-300); }
.is-style-pp-cta .is-style-pp-lead { color: rgba(220,234,248,.8); }
.is-style-pp-cta .wp-block-buttons { margin-top: 2.4rem !important; }

/* ==========================================================================
   Estimator (shortcode)
   ========================================================================== */
.pp-calc { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-lg); max-width: 1240px; margin-inline: auto; }
.pp-calc-in, .pp-calc-out { padding: clamp(28px, 4.5vw, 60px); }
.pp-calc-in h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.035em; margin: 1rem 0 .8rem; }
.pp-muted { color: var(--muted); }
.pp-calc-field { margin-top: 30px; }
.pp-calc-field label, .pp-calc-lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.pp-calc-field output { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); letter-spacing: -.02em; }
.pp-calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--teal) var(--p, 8%), #E3E9F1 var(--p, 8%)); outline: none; }
.pp-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 7px solid var(--navy); box-shadow: 0 4px 12px rgba(3,46,101,.35); cursor: pointer; transition: transform .2s; }
.pp-calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.pp-calc input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--navy); cursor: pointer; }
.pp-calc-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.pp-calc-seg button { padding: 12px 8px; border-radius: 12px; font-size: .86rem; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.pp-calc-seg button.is-active { background: var(--navy); color: #fff; }
.pp-calc-out { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 100% 0%, #0A4E96, var(--navy) 50%, var(--navy-900)); color: rgba(220,234,248,.78); display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.pp-calc-out::after { content: ""; position: absolute; width: 380px; height: 380px; right: -150px; bottom: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(16,151,148,.55), transparent 65%); }
.pp-calc-out > * { position: relative; z-index: 1; }
.pp-calc-out small { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-300); }
.pp-calc-big { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pp-calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-calc-split div { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.pp-calc-split b { display: block; font-family: var(--font-display); color: #fff; font-size: 1.3rem; letter-spacing: -.02em; }
.pp-calc-note { font-size: .76rem; color: rgba(220,234,248,.55); }

/* ==========================================================================
   Form (shortcode)
   ========================================================================== */
.pp-form-card { padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.pp-form-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.pp-form-card form { margin-top: 28px; }
.pp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pp-field { margin-bottom: 18px !important; }
.pp-field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pp-field input, .pp-field select, .pp-field textarea { width: 100%; padding: 15px 17px; font: inherit; font-size: .96rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 15px; transition: border-color .25s, box-shadow .25s, background .25s; appearance: none; }
.pp-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7A90' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 17px center; padding-right: 42px; }
.pp-field input:focus, .pp-field select:focus, .pp-field textarea:focus { outline: none; border-color: var(--teal); background-color: var(--paper); box-shadow: 0 0 0 4px rgba(16,151,148,.14); }
.pp-field textarea { resize: vertical; min-height: 130px; }
.pp-block-btn .wp-block-button__link { justify-content: space-between; }
.pp-feedback { margin-top: 14px; font-size: .92rem; border-radius: 14px; }
.pp-feedback.is-success { padding: 15px 17px; background: var(--mint); color: var(--teal-600); }
.pp-feedback.is-error { padding: 15px 17px; background: #FEF2F2; color: #B91C1C; }

/* ==========================================================================
   Posts (latest-posts block + blog index)
   ========================================================================== */
.pp-posts.wp-block-latest-posts { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 24px; padding: 0; list-style: none; }
.pp-posts.wp-block-latest-posts li { margin: 0 !important; width: auto !important; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pp-posts.wp-block-latest-posts li:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pp-posts .wp-block-latest-posts__featured-image { margin: 0 !important; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.pp-posts .wp-block-latest-posts__featured-image img { width: 100%; height: 100%; object-fit: cover; }
.pp-posts .wp-block-latest-posts__post-title { padding: 24px 26px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.pp-posts .wp-block-latest-posts__post-date { padding: 8px 26px 0; font-size: .8rem; color: var(--teal-600); font-weight: 600; }
.pp-posts .wp-block-latest-posts__post-excerpt { padding: 10px 26px 26px; margin: 0; font-size: .92rem; color: var(--muted); }

.pp-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 24px; }
.pp-post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pp-post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pp-post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--teal)); }
.pp-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pp-post-card:hover .pp-post-thumb img { transform: scale(1.05); }
.pp-post-body { display: flex; flex-direction: column; gap: 10px; padding: 26px; flex: 1; }
.pp-post-meta { font-size: .8rem; font-weight: 600; color: var(--teal-600); }
.pp-post-title { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; }
.pp-post-ex { font-size: .92rem; color: var(--muted); }
.pp-post-more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--teal-600); font-size: .92rem; }
.pp-pagination { margin-top: 48px; }
.pp-pagination .nav-links { display: flex; gap: 8px; }
.pp-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; }
.pp-pagination .page-numbers.current { background: var(--navy); color: #fff; }

/* Prose (plain pages & posts) */
.pp-prose { padding: clamp(64px, 8vw, 110px) var(--gutter); }
.pp-prose > * { max-width: 760px !important; }
.pp-prose > .alignwide { max-width: 1100px !important; }
.pp-prose > * + * { margin-block-start: 1.3rem !important; }
.pp-prose { font-size: 1.1rem; }
.pp-prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-block-start: 2.6rem !important; }
.pp-prose h3 { margin-block-start: 2rem !important; }
.pp-prose a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.pp-prose ul, .pp-prose ol { padding-left: 1.3em; }
.pp-prose blockquote { margin-inline: 0; padding: 22px 26px; border-left: 3px solid var(--teal); background: var(--mint); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.pp-post-hero { margin-bottom: 3rem !important; }
.pp-post-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 3.4rem !important; padding-top: 2rem; border-top: 1px solid var(--line); }
.pp-post-foot a { text-decoration: none !important; }

/* ==========================================================================
   Auto-sticky columns (set by JS on desktop)
   ========================================================================== */
.is-measuring > * { align-self: flex-start !important; }
@media (min-width: 1101px) {
	.pp-autosticky { position: sticky; top: 118px; align-self: flex-start !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.pp-car-track { --slide: calc((100% - 24px) / 2.1); }
	.pp-per-4 .pp-car-track { --slide: calc((100% - 48px) / 2.6); }
	.pp-per-2 .pp-car-track { --slide: calc((100% - 24px) / 1.6); }
	.is-style-pp-timeline::before, .is-style-pp-timeline::after { display: none; }
	.pp-calc { grid-template-columns: 1fr; }
	.is-style-pp-stack > .wp-block-group { position: relative; top: auto; transform: none !important; }
	.pp-flow-mid::before, .pp-flow-mid::after { display: none; }
}
@media (max-width: 781px) {
	:root { --inset: 8px; }
	.is-style-pp-section-navy, .is-style-pp-hero, .is-style-pp-cta { border-radius: 28px; }
	.pp-flow { padding: 24px; }
	.pp-flow-mid { padding: 8px 0; }
	.pp-flow-hub { width: 104px; padding: 20px; }
	.is-style-pp-stats > .pp-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.is-glass > .pp-stat:nth-child(odd) { padding-left: 18px !important; }
	.pp-deliver { grid-template-columns: 1fr; gap: 12px; }
	.pp-deliver .is-style-pp-kicker { padding-top: 0; }
	.pp-pas p { grid-template-columns: 1fr; gap: 4px; }
	.pp-tab-split .pp-fill img { min-height: 240px; }
	.pp-banner { aspect-ratio: 16 / 9; }
	.is-style-pp-stats > .pp-stat { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
	.pp-car-track, .pp-per-4 .pp-car-track, .pp-per-2 .pp-car-track { --slide: 86%; gap: 14px; }
	.pp-car-btns { display: none; }
	.pp-form-grid { grid-template-columns: 1fr; }
	.pp-calc-split { grid-template-columns: 1fr; }
	.pp-hero-home .wp-block-buttons, .pp-cta-section .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.pp-hero-home .wp-block-button, .pp-cta-section .wp-block-button { width: 100%; }
	.pp-hero-home .wp-block-button__link, .pp-cta-section .wp-block-button__link { width: 100%; }
	.is-style-pp-badge > a { font-size: .76rem; }
	.wp-block-details summary { padding: 20px; font-size: 1rem; }
	.wp-block-details > :not(summary) { padding: 0 20px 20px; }
	.is-style-pp-compare th, .is-style-pp-compare td { padding: 16px 18px; }
	.pp-step-num { font-size: 2.6rem; }
	.is-style-pp-tilt img { border-radius: 14px 14px 0 0; }
	.is-style-pp-subnav li a { padding: 10px 14px; font-size: .84rem; }
}
@media (max-width: 380px) {
	.wp-block-button__link, .pp-btn { --bh: 52px; padding-left: 20px; font-size: .94rem; }
}
.pp-flow-hub { overflow: hidden; }
.pp-flow-hub img { transform: scale(1.9); }

/* Grid tracks: auto-fit so a few items always fill the row (no empty columns) */
.pp-content .is-style-pp-stats.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)) !important; }
.pp-content .is-style-pp-band.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)) !important; }
.pp-content .pp-cards.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(15.5rem, 100%), 1fr)) !important; }
.pp-content .pp-models.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)) !important; }
.pp-content .pp-kvs.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr)) !important; }
.is-style-pp-tile { background: radial-gradient(120% 100% at 100% 0%, #0E5BA8, var(--navy) 55%, var(--navy-900)); }
.pp-posts.wp-block-latest-posts { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)) !important; }
.pp-posts.wp-block-latest-posts.is-grid li { width: auto !important; margin: 0 !important; }
.pp-posts .wp-block-latest-posts__post-title:hover { color: var(--teal-600); }
.is-style-pp-cta .is-style-pp-ghost .wp-block-button__link { color: #fff !important; border-color: rgba(255,255,255,.28) !important; background: rgba(255,255,255,.06) !important; }
.pp-content p a:not(.wp-block-button__link) { color: var(--teal-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .25s; }
.pp-content p a:not(.wp-block-button__link):hover { color: var(--navy); }
.is-style-pp-badge a, .is-style-pp-tile a, .pp-content h3 a { text-decoration: none !important; color: inherit !important; }
.is-style-pp-section-navy p a:not(.wp-block-button__link), .is-style-pp-hero p:not(.is-style-pp-badge) a { color: var(--teal-300); }

/* Mobile refinements */
.is-style-pp-compare th:first-child, .is-style-pp-compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
.is-style-pp-compare thead th:first-child { background: var(--bg); }
h2 em { padding-right: .02em; }
@media (max-width: 640px) {
	.is-style-pp-kicker.has-text-align-center::before { display: none; }
	.pp-content .is-style-pp-stats.is-layout-grid { grid-template-columns: 1fr 1fr !important; }
	.is-style-pp-stats > .pp-stat, .is-glass > .pp-stat { padding: 22px 16px !important; border-left: 0 !important; border-top: 1px solid var(--line); }
	.is-style-pp-stats > .pp-stat:nth-child(-n+2) { border-top: 0; }
	.is-style-pp-stats > .pp-stat:nth-child(even) { border-left: 1px solid var(--line) !important; }
	.is-style-pp-section-navy .is-style-pp-stats > .pp-stat, .is-glass > .pp-stat { border-color: rgba(255,255,255,.1) !important; }
	.is-style-pp-stats > .pp-stat:first-child { padding-left: 16px !important; }
	.is-style-pp-section-navy .is-style-pp-stats > .pp-stat:nth-child(odd), .pp-content .is-style-pp-section .is-style-pp-stats > .pp-stat:nth-child(odd) { padding-left: 0 !important; }
	.pp-stat-value { font-size: clamp(1.9rem, 9vw, 2.6rem); }
	.pp-head h2 { max-width: none; }
}

/* Flow branch lines (drawn by JS from each list item to the hub) */
.pp-flow > svg.pp-flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.pp-flow > .wp-block-column { z-index: 1; }
.pp-flow-lines path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 5 7; stroke-linecap: round; animation: flowdash 1.4s linear infinite; }
.pp-flow-lines path.out { stroke: var(--teal); opacity: .75; }
@keyframes flowdash { to { stroke-dashoffset: -24; } }
.pp-flow-lines { opacity: 0; transition: opacity .8s var(--ease) .3s; }
.pp-flow.is-in .pp-flow-lines, .pp-noanim .pp-flow-lines { opacity: 1; }
