/*
Theme Name: PERPI
Theme URI: https://perpi.up.edu.ph
Author: PERPI Web Team
Description: Custom theme for the Philippine Energy Research and Policy Institute (PERPI), built on the PERPI Design System (v3 handoff): orange-led, minimalist, dark-mode aware, with Elementor and Header Footer Elementor support.
Version: 3.8.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: perpi
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--perpi-orange: #F47015; --orange-600: #D95E0B; --orange-700: #B44D08;
	--perpi-amber: #F6A31F; --perpi-green: #35752A; --green-700: #285A20;
	--up-maroon: #7B1113; --blue-700: #2F72AE; --perpi-yellow: #F7DA07;
	--font-head: 'Cerebri Sans', 'Poppins', system-ui, sans-serif;
	--font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--container: 1280px; --gutter: 20px;
	--space-lg: clamp(56px, 8vw, 96px); --space-md: clamp(48px, 6vw, 72px); --space-sm: clamp(36px, 5vw, 48px);
	--ease: cubic-bezier(.4, 0, .2, 1);
	--shadow-card: 0 18px 40px -18px var(--card-shadow);
	--shadow-hover: 0 22px 48px -16px rgba(244, 112, 21, .35);
	--utility-h: 34px; --header-h: 77px; --admin-h: 0px;
}
:root, [data-theme="light"] {
	--surface: #FFFFFF; --surface-2: #FFFFFF; --header-bg: rgba(255, 255, 255, .97);
	--ink: #141413; --ink-2: #2B2B29; --muted: #4A4A47; --subtle: #8A8A85;
	--line: #E1E1DE; --line-2: #EFEFED; --line-strong: #C9C9C5; --sunken: #F7F7F6;
	--tint: #FEF3EA; --tint-2: #FDE2CC; --accent-strong: #B44D08; --card-shadow: rgba(20, 20, 19, .22);
	color-scheme: light;
}
[data-theme="dark"] {
	--surface: #141413; --surface-2: #1E1E1C; --header-bg: rgba(20, 20, 19, .94);
	--ink: #F7F7F6; --ink-2: #E1E1DE; --muted: #B5B5B0; --subtle: #8A8A85;
	--line: #3A3A37; --line-2: #2B2B29; --line-strong: #4A4A47; --sunken: #1E1E1C;
	--tint: #2A1A0E; --tint-2: #3A2312; --accent-strong: #F89A5A; --card-shadow: rgba(0, 0, 0, .6);
	color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }
.admin-bar { --admin-h: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-h: 46px; } }

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--admin-h) + 16px); }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 15px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; transition: background-color .2s var(--ease), color .2s var(--ease); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, blockquote { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
a { color: var(--perpi-orange); text-decoration: none; transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
a:hover { color: var(--accent-strong); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--perpi-orange); outline-offset: 3px; }
::selection { background: var(--perpi-orange); color: #fff; }
.perpi-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }
img.perpi-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.perpi-skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--perpi-orange); color: #fff; border-radius: 8px; font-weight: 600; }
.perpi-skip-link:focus { top: 12px; color: #fff; }
.perpi-site { min-height: 100vh; display: flex; flex-direction: column; }
.perpi-main { flex: 1; }
.perpi-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.perpi-container--narrow { max-width: 1080px; }
.perpi-empty { padding: 24px 0; color: var(--muted); }

/* Section rhythm */
.perpi-section { padding-top: var(--space-lg); }
.perpi-section--md { padding-top: var(--space-md); }
.perpi-section--sm { padding-top: var(--space-sm); }
.perpi-section--none { padding-top: 0; }
.perpi-band { margin-top: var(--space-lg); background: var(--sunken); }
.perpi-band > .perpi-container { padding-block: clamp(56px, 7vw, 88px); }
.perpi-band--md > .perpi-container { padding-block: var(--space-md); }
.perpi-split { display: grid; gap: 56px; }
@media (min-width: 900px) { .perpi-split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   3. Type helpers, labels, chips
   ========================================================================== */
.perpi-kicker { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--perpi-orange); }
.perpi-kicker--strong { color: var(--accent-strong); }
.perpi-kicker--muted { color: var(--subtle); }
.perpi-kicker__marker { display: inline-flex; gap: 3px; margin-right: 12px; vertical-align: middle; transform: translateY(-1px); }
.perpi-kicker__marker i { width: 10px; height: 10px; background: var(--perpi-orange); }
.perpi-kicker__marker i:nth-child(2) { background: var(--perpi-amber); }
.perpi-kicker__marker i:nth-child(3) { background: var(--perpi-green); }
.perpi-block-kicker { margin-bottom: 20px; }
.perpi-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); }
.perpi-label--accent { color: var(--perpi-orange); letter-spacing: .18em; font-size: 12px; font-weight: 600; }
.perpi-meta-kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--perpi-orange); }
.perpi-meta-kicker--strong { color: var(--accent-strong); letter-spacing: .12em; }
.perpi-accent { color: var(--perpi-orange); }
.perpi-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; letter-spacing: .04em; color: var(--subtle); }
.perpi-crumb a { color: inherit; }
.perpi-crumb a:hover { color: var(--perpi-orange); }
.perpi-crumb--light { color: rgba(255, 255, 255, .92); }
.perpi-crumb--light a:hover { color: #fff; text-decoration: underline; }
.perpi-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.perpi-tags--filters { gap: 8px; padding-bottom: 28px; }
.perpi-tags--rule { padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); }
.perpi-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.perpi-tag:hover { border-color: var(--perpi-orange); color: var(--accent-strong); }
.perpi-tag.is-selected { background: var(--perpi-orange); border-color: var(--perpi-orange); color: #fff; }
.perpi-chip-orange { padding: 8px 16px; border-radius: 10px; background: var(--perpi-orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; box-shadow: 0 10px 20px -8px rgba(244, 112, 21, .55); }
.perpi-chip-white { align-self: flex-start; padding: 6px 12px; background: #fff; color: var(--orange-700); border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.perpi-swatch { width: 14px; height: 18px; border-radius: 3px; background: var(--perpi-orange); flex-shrink: 0; }
.perpi-source { margin-top: 12px; font-size: 13px; font-style: italic; color: var(--subtle); }

/* Palette modifiers (backgrounds, text) */
.perpi-swatch--orange-700 { background: var(--orange-700); } .perpi-swatch--green { background: var(--perpi-green); }
.perpi-swatch--green-700 { background: var(--green-700); } .perpi-swatch--maroon { background: var(--up-maroon); }
.perpi-swatch--blue { background: var(--blue-700); } .perpi-swatch--amber { background: var(--perpi-amber); }
.perpi-text--orange { color: var(--perpi-orange); } .perpi-text--orange-700 { color: var(--orange-700); }
.perpi-text--amber { color: var(--perpi-amber); } .perpi-text--green { color: var(--perpi-green); }
.perpi-text--green-700 { color: var(--green-700); } .perpi-text--maroon { color: var(--up-maroon); }
.perpi-text--blue { color: var(--blue-700); } .perpi-text--ink { color: var(--ink); } .perpi-text--subtle { color: var(--subtle); }
[data-theme="dark"] .perpi-text--orange-700 { color: #F89A5A; }
[data-theme="dark"] .perpi-text--green, [data-theme="dark"] .perpi-text--green-700 { color: #74B865; }
[data-theme="dark"] .perpi-text--maroon { color: #E0686B; }
[data-theme="dark"] .perpi-text--blue { color: #6FA8DC; }

/* ==========================================================================
   4. Buttons & controls
   ========================================================================== */
.perpi-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 10px; background: var(--perpi-orange); color: #fff; font: 600 15px/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.perpi-btn:hover { background: var(--orange-600); color: #fff; }
.perpi-btn:active { background: var(--orange-700); transform: translateY(1px); }
.perpi-btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.perpi-btn--lg { height: 52px; padding: 0 26px; }
.perpi-btn--block { width: 100%; }
.perpi-btn--outline { background: transparent; border-color: var(--perpi-orange); color: var(--accent-strong); }
.perpi-btn--outline:hover { background: var(--tint); color: var(--accent-strong); }
.perpi-btn--white { background: #fff; color: var(--orange-700); }
.perpi-btn--white:hover { background: #FEF3EA; color: var(--orange-700); }
.perpi-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; font-weight: 500; }
.perpi-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.perpi-btn--pill { height: 44px; border-radius: 999px; background: transparent; border-color: var(--ink); color: var(--ink); font-size: 14px; }
.perpi-btn--pill:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.perpi-btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.perpi-btn-row--spaced { margin-top: 24px; }
.perpi-icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.perpi-icon-btn:hover { color: var(--perpi-orange); }
.perpi-round-btn { width: 44px; height: 44px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.perpi-round-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; }
.perpi-round-btn--ghost:hover { background: rgba(255, 255, 255, .15); border-color: #fff; }
.perpi-round-btn--tint { background: var(--tint); color: var(--accent-strong); }
.perpi-round-btn--tint:hover { background: var(--tint-2); }
.perpi-round-btn--orange { background: var(--perpi-orange); color: #fff; }
.perpi-round-btn--orange:hover { background: var(--orange-600); color: #fff; }
.perpi-round-btn--line { border: 1px solid var(--line); background: transparent; color: var(--ink-2); }
.perpi-round-btn--line:hover, .perpi-round-btn--line.is-copied { background: var(--perpi-orange); border-color: var(--perpi-orange); color: #fff; }
.perpi-square-btn { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink-2); cursor: pointer; }
.perpi-square-btn:hover, .perpi-square-btn.is-copied { border-color: var(--perpi-orange); color: var(--perpi-orange); }
.perpi-input { width: 100%; height: 42px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface-2); color: var(--ink); font: 400 15px var(--font-body); }
.perpi-input:focus { outline: none; border-color: var(--perpi-orange); }
.perpi-icon-square { --c: var(--perpi-orange); width: 48px; height: 48px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--c); color: #fff; }
.perpi-icon-square--sm { width: 40px; height: 40px; border-radius: 12px; }
.perpi-icon-square--orange-700 { --c: var(--orange-700); } .perpi-icon-square--green { --c: var(--perpi-green); }
.perpi-icon-square--green-700 { --c: var(--green-700); } .perpi-icon-square--maroon { --c: var(--up-maroon); }
.perpi-icon-square--blue { --c: var(--blue-700); } .perpi-icon-square--amber { --c: var(--perpi-amber); color: #141413; }
.perpi-icon-square--soft { background: var(--tint); color: var(--c); }
[data-theme="dark"] .perpi-icon-square--soft { --c: var(--accent-strong); }

/* ==========================================================================
   5. Site chrome
   ========================================================================== */
.perpi-chrome, .perpi-hfe-header { position: sticky; top: calc(var(--admin-h) - var(--utility-h)); z-index: 50; }
.perpi-utility { background: var(--perpi-orange); color: #fff; font-size: 12px; line-height: 18px; letter-spacing: .06em; }
.perpi-utility__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.perpi-utility__left { display: flex; gap: 14px; align-items: center; min-width: 0; flex: 1; }
.perpi-utility__left strong { font-weight: 600; white-space: nowrap; }
.perpi-utility__desc { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.perpi-utility__right { display: flex; gap: 18px; align-items: center; white-space: nowrap; }
.perpi-utility__right a { color: #fff; }
.perpi-utility__lang { display: flex; gap: 8px; }
.perpi-header { background: var(--header-bg); border-bottom: 1px solid var(--line-2); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.perpi-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.perpi-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.perpi-mark { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.perpi-mark--dark { display: none; }
[data-theme="dark"] .perpi-mark--light { display: none; }
[data-theme="dark"] .perpi-mark--dark { display: block; }
.perpi-brand__lockup { display: flex; flex-direction: column; line-height: 1.15; }
.perpi-brand__line1 { font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--perpi-orange); }
.perpi-brand__line2 { font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.perpi-nav { display: none; align-items: center; gap: 6px; }
.perpi-nav a { padding: 8px 10px; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink-2); border-bottom: 2px solid transparent; }
.perpi-nav a:hover { color: var(--perpi-orange); }
.perpi-nav a.is-current { color: var(--perpi-orange); border-bottom-color: var(--perpi-orange); }
.perpi-header__actions { display: flex; align-items: center; gap: 8px; }
.perpi-header__cta { display: none; margin-left: 4px; }
.perpi-theme-toggle { border: 1px solid var(--line); color: var(--ink-2); }
.perpi-theme-toggle:hover { border-color: var(--perpi-orange); color: var(--perpi-orange); }
.perpi-theme-toggle__sun, [data-theme="dark"] .perpi-theme-toggle__moon { display: none; }
[data-theme="dark"] .perpi-theme-toggle__sun { display: inline-block; }
.perpi-menu-toggle__close, .perpi-menu-toggle[aria-expanded="true"] .perpi-menu-toggle__open { display: none; }
.perpi-menu-toggle[aria-expanded="true"] .perpi-menu-toggle__close { display: inline-block; }
.perpi-search-panel { border-top: 1px solid var(--line-2); padding-block: 14px; }
.perpi-search-panel[hidden] { display: none; }
.perpi-search-panel__form { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.perpi-mobile-nav { display: none; flex-direction: column; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line-2); max-height: calc(100vh - 120px); overflow-y: auto; }
.perpi-mobile-nav.is-open { display: flex; }
.perpi-mobile-nav a { padding: 13px 4px; font-size: 15px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.perpi-mobile-nav a.is-current { color: var(--perpi-orange); }
.perpi-mobile-nav .perpi-btn { margin-top: 16px; border-bottom: 0; color: #fff; }
@media (max-width: 639px) { .perpi-utility__desc, .perpi-utility__right a { display: none; } .perpi-brand__line2 { display: none; } }
@media (min-width: 640px) { .perpi-header__cta { display: inline-flex; } }
@media (min-width: 1100px) { .perpi-nav { display: flex; } .perpi-menu-toggle, .perpi-mobile-nav, .perpi-mobile-nav.is-open { display: none; } }

/* Footer */
.perpi-footer { margin-top: 110px; background: var(--surface-2); border-top: 1px solid var(--line-2); }
.perpi-footer__grid { display: grid; gap: 40px; padding-block: 64px 40px; }
.perpi-footer__marks { display: flex; align-items: center; gap: 11px; }
.perpi-footer__marks .perpi-mark { width: 52px; height: 52px; }
.perpi-footer__seal { width: 44px; height: 44px; object-fit: contain; }
.perpi-footer__addr { margin-top: 18px; max-width: 380px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.perpi-footer__email { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.perpi-footer__title { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--ink); }
.perpi-footer__links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.perpi-footer__links a { font-size: 14px; color: var(--muted); }
.perpi-footer__links a:hover { color: var(--perpi-orange); }
.perpi-split-bar { display: grid; grid-template-columns: 1fr 1fr; }
.perpi-split-bar span { height: 8px; background: var(--perpi-orange); }
.perpi-split-bar span + span { background: var(--perpi-amber); }
.perpi-footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; font-size: 12.5px; color: var(--muted); }
.perpi-footer__social { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); }
.perpi-footer__social .perpi-icon { color: var(--perpi-orange); }
@media (min-width: 640px) { .perpi-footer__grid { grid-template-columns: repeat(3, 1fr); } .perpi-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .perpi-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .perpi-footer__brand { grid-column: auto; } }
.perpi-tricolor { display: grid; grid-template-columns: repeat(3, 1fr); }
.perpi-tricolor span { height: 8px; background: var(--perpi-orange); }
.perpi-tricolor--lg span { height: 14px; }
.perpi-tricolor span:nth-child(2) { background: var(--perpi-amber); }
.perpi-tricolor span:nth-child(3) { background: var(--perpi-green); }

/* ==========================================================================
   6. Section heads
   ========================================================================== */
.perpi-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.perpi-head__main { min-width: 0; }
.perpi-head__title { margin-top: 14px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.perpi-head__main > .perpi-head__title:first-child { margin-top: 0; }
.perpi-head--md .perpi-head__title { font-size: clamp(26px, 3vw, 36px); margin-top: 12px; }
.perpi-head--sm { margin-bottom: 24px; }
.perpi-head--sm .perpi-head__title { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: 0; }
.perpi-head__lede { max-width: 440px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.perpi-head--split { display: grid; gap: 24px 40px; align-items: end; margin-bottom: 44px; }
.perpi-head--split .perpi-head__lede { max-width: 520px; font-size: 16px; }
@media (min-width: 900px) { .perpi-head--split { grid-template-columns: 1fr 1fr; } .perpi-head--split .perpi-head__lede { justify-self: end; } }
.perpi-head__link { font-size: 14px; font-weight: 600; white-space: nowrap; }
.perpi-head__controls { display: flex; gap: 10px; align-items: center; }

/* ==========================================================================
   7. Hero slider
   ========================================================================== */
.perpi-hero { position: relative; height: calc(100vh - 110px); min-height: 600px; max-height: 820px; overflow: hidden; background: #141413; color: #fff; }
.perpi-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.perpi-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; }
.perpi-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.perpi-hero__bg--parallax { inset: auto 0; top: -12%; height: 124%; will-change: transform; }
.perpi-hero__bg img { object-position: center; }
/* Black gradient from the bottom, strong behind the copy so every photo stays readable. */
.perpi-hero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 9, .96) 0%, rgba(10, 10, 9, .88) 28%, rgba(10, 10, 9, .6) 52%, rgba(10, 10, 9, .2) 74%, rgba(10, 10, 9, 0) 90%), linear-gradient(180deg, rgba(10, 10, 9, .35) 0%, rgba(10, 10, 9, 0) 22%); }
.perpi-hero__title, .perpi-hero__lede, .perpi-hero__kicker { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.perpi-hero--medium .perpi-hero__scrim { opacity: .85; }
.perpi-hero--soft .perpi-hero__scrim { opacity: .7; }
.perpi-hero__fg { position: relative; height: 100%; will-change: transform, opacity; }
/* Copy sits at the bottom, clear of the pillar cards that overlap the hero by 72px. */
.perpi-hero__inner { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 128px; }
.perpi-hero__content { max-width: 100%; }
@media (min-width: 900px) { .perpi-hero__content { max-width: 65%; } }
.perpi-hero__kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.perpi-hero__kicker span { width: 32px; height: 2px; background: var(--perpi-yellow); flex-shrink: 0; }
.perpi-hero__title { margin-top: 20px; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.01em; text-wrap: pretty; color: #fff; }
.perpi-hero--title-sm .perpi-hero__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.18; }
.perpi-hero--title-md .perpi-hero__title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; }
.perpi-hero--title-xl .perpi-hero__title { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.04; }
.perpi-hero__lede { margin-top: 20px; max-width: 640px; font-size: 17px; line-height: 1.65; font-weight: 300; text-wrap: pretty; }
.perpi-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.perpi-hero__index { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 18px; align-items: flex-end; }
.perpi-hero__dot { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; opacity: .6; transition: opacity .3s; }
.perpi-hero__dot.is-active, .perpi-hero__dot:hover { opacity: 1; }
.perpi-hero__num { font: 700 16px/1 var(--font-head); transition: font-size .4s var(--ease); }
.perpi-hero__dot.is-active .perpi-hero__num { font-size: 34px; }
.perpi-hero__bar { width: 16px; height: 2px; background: #fff; transition: width .4s var(--ease); }
.perpi-hero__dot.is-active .perpi-hero__bar { width: 40px; }
.perpi-hero__nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 128px; pointer-events: none; }
.perpi-hero__nav .perpi-container { display: flex; justify-content: flex-end; gap: 8px; }
.perpi-hero__nav button { pointer-events: auto; }
@media (min-width: 900px) { .perpi-hero__index { display: flex; } }
@media (max-width: 639px) { .perpi-hero { min-height: 560px; } .perpi-hero__lede { font-size: 15.5px; } .perpi-hero__nav { display: none; } }

/* Split hero (default layout): full-width card, photo beside the copy.
   The photo fills its panel; text never sits on top of it. */
.perpi-hero.perpi-hero--split { height: auto; min-height: 0; max-height: none; overflow: visible; color: var(--ink); background: linear-gradient(180deg, var(--tint) 0%, var(--surface) 88%); padding: clamp(20px, 3.5vw, 44px) 0 clamp(8px, 1.5vw, 20px); }
.perpi-hero--split .perpi-hero__grid { display: grid; gap: 20px; }
.perpi-hero--split + .perpi-pillars--overlap { margin-top: 0; padding-top: clamp(28px, 3.5vw, 44px); }
.perpi-hero--split .perpi-hero__stage { position: relative; display: grid; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: var(--shadow-card); overflow: hidden; }
.perpi-hero--split .perpi-hero__slide { position: relative; inset: auto; grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .perpi-hero--split .perpi-hero__slide { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: 420px; } }
@media (min-width: 1100px) { .perpi-hero--split .perpi-hero__slide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); min-height: 520px; } .perpi-hero--split .perpi-hero__body { padding: 48px 52px; } .perpi-hero--split.has-controls .perpi-hero__body { padding-bottom: 100px; } .perpi-hero--split .perpi-hero__controls { right: 52px; bottom: 32px; } .perpi-hero__headline { font-size: clamp(28px, 2.4vw, 36px); } }
.perpi-hero--split .perpi-hero__media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #1E1E1C; }
@media (min-width: 760px) { .perpi-hero--split .perpi-hero__media { aspect-ratio: auto; min-height: 100%; } }
.perpi-hero--split .perpi-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.015); transition: transform 6s var(--ease); }
.perpi-hero--split .perpi-hero__slide.is-active .perpi-hero__photo { transform: scale(1); }
.perpi-hero--split .perpi-hero__media:hover .perpi-hero__photo { transform: scale(1.03); transition-duration: .6s; }
.perpi-hero--split .perpi-hero__body { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 44px); }
.perpi-hero--split.has-controls .perpi-hero__body { padding-bottom: 92px; }
.perpi-hero--split .perpi-hero__body::before { content: ''; width: 60px; height: 4px; margin-bottom: 22px; border-radius: 2px; background: linear-gradient(90deg, var(--perpi-orange) 0 33.3%, var(--perpi-amber) 33.3% 66.6%, var(--perpi-green) 66.6%); }
.perpi-hero--split .perpi-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.perpi-hero__tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--perpi-orange); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.perpi-hero__tag--event { background: var(--perpi-green); }
.perpi-hero__tag--publication { background: var(--blue-700); }
.perpi-hero--split .perpi-hero__date { font-size: 13px; font-weight: 500; color: var(--muted); }
.perpi-hero__headline { margin-top: 16px; color: var(--ink); text-shadow: none; font-size: clamp(22px, 2vw, 30px); line-height: 1.18; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.perpi-hero.perpi-hero--split .perpi-hero__lede { margin-top: 14px; max-width: none; color: var(--muted); text-shadow: none; font-size: 15.5px; font-weight: 400; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.perpi-hero--split .perpi-hero__actions { margin-top: 26px; align-items: center; gap: 14px 22px; }
.perpi-hero__link { font-size: 14.5px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px; }
.perpi-hero__link:hover { color: var(--accent-strong); border-color: var(--perpi-orange); }
.perpi-hero--split .perpi-hero__controls { position: absolute; z-index: 2; right: clamp(24px, 3vw, 44px); bottom: 24px; display: flex; align-items: center; gap: 8px; }
.perpi-hero__dots { display: flex; align-items: center; gap: 6px; margin-right: 8px; }
.perpi-hero__pip { position: relative; width: 22px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--line); cursor: pointer; overflow: hidden; transition: width .3s var(--ease), background-color .2s var(--ease); }
.perpi-hero__pip:hover { background: var(--line-strong); }
.perpi-hero__pip.is-active { width: 44px; }
.perpi-hero__progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--perpi-orange); }
.perpi-hero__pip.is-active .perpi-hero__progress { animation: perpi-hero-progress var(--hero-interval, 6s) linear forwards; }
.perpi-hero.is-paused .perpi-hero__pip.is-active .perpi-hero__progress { animation-play-state: paused; }
.perpi-hero[data-autoplay="0"] .perpi-hero__pip.is-active .perpi-hero__progress { animation: none; width: 100%; }
@keyframes perpi-hero-progress { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
	.perpi-hero__pip.is-active .perpi-hero__progress { animation: none; width: 100%; }
	.perpi-hero--split .perpi-hero__photo { transition: none; transform: none; }
}
@media (max-width: 759px) {
	.perpi-hero--split .perpi-hero__body { padding: 22px 20px; }
	.perpi-hero--split.has-controls .perpi-hero__body { padding-bottom: 84px; }
	.perpi-hero--split .perpi-hero__controls { left: 20px; right: 20px; bottom: 20px; }
	.perpi-hero--split .perpi-hero__dots { margin-right: auto; }
	.perpi-hero--split .perpi-hero__stage { border-radius: 18px; }
}

/* ==========================================================================
   8. Home blocks
   ========================================================================== */
.perpi-pillars { position: relative; z-index: 4; padding-top: var(--space-md); }
.perpi-pillars--overlap { padding-top: 0; margin-top: -72px; }
.perpi-pillars__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.perpi-pillar { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface-2); border-radius: 20px; box-shadow: var(--shadow-card); color: var(--ink); }
.perpi-pillar:hover { box-shadow: var(--shadow-hover); color: var(--ink); }
.perpi-pillar__title { font-size: 18px; font-weight: 600; }
.perpi-pillar__text { font-size: 14px; line-height: 1.65; color: var(--muted); }
.perpi-pillar__link { display: flex; gap: 8px; align-items: center; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--perpi-orange); }
.perpi-pillar:hover .perpi-pillar__link .perpi-icon { transform: translateX(3px); }
.perpi-pillar__link .perpi-icon { transition: transform .2s var(--ease); }

.perpi-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.perpi-fact { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 8px 0; border-top: 4px solid var(--perpi-orange); }
.perpi-fact--amber { border-top-color: var(--perpi-amber); } .perpi-fact--green { border-top-color: var(--perpi-green); }
.perpi-fact--maroon { border-top-color: var(--up-maroon); } .perpi-fact--blue { border-top-color: var(--blue-700); }
.perpi-fact__num { font: 700 40px/1 var(--font-head); color: var(--perpi-orange); }
.perpi-fact__label { max-width: 260px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.perpi-focus { position: relative; padding-top: var(--space-md); }
.perpi-focus--band { margin-top: var(--space-lg); padding-top: 0; background: var(--tint); overflow: hidden; }
.perpi-focus__orb { position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%; background: var(--tint-2); pointer-events: none; }
.perpi-focus__inner { position: relative; }
.perpi-focus--band .perpi-focus__inner { padding-block: var(--space-lg); }
.perpi-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
@media (min-width: 900px) { .perpi-tiles--cols-3 { grid-template-columns: repeat(3, 1fr); } .perpi-tiles--cols-4 { grid-template-columns: repeat(4, 1fr); } .perpi-tiles--cols-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1100px) { .perpi-tiles--cols-7 { grid-template-columns: repeat(7, 1fr); } .perpi-tiles--cols-7 .perpi-tile { padding: 20px; } .perpi-tiles--cols-7 .perpi-tile__title { font-size: 14.5px; } .perpi-tiles--cols-7 .perpi-tile__num { font-size: 40px; } }
.perpi-tile { position: relative; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; border-radius: 24px; background: var(--perpi-orange); color: #fff; overflow: hidden; }
a.perpi-tile:hover { transform: translateY(-4px); color: inherit; }
.perpi-tile--orange-700 { background: var(--orange-700); } .perpi-tile--green { background: var(--perpi-green); }
.perpi-tile--green-700 { background: var(--green-700); } .perpi-tile--maroon { background: var(--up-maroon); }
.perpi-tile--blue { background: var(--blue-700); }
.perpi-tile--amber { background: var(--perpi-amber); color: #141413; }
.perpi-tile--tint { background: var(--tint); color: var(--ink); box-shadow: inset 0 0 0 1px var(--tint-2); }
.perpi-focus--band .perpi-tile--tint { background: var(--surface-2); }
.perpi-tile a, a.perpi-tile { color: inherit; }
.perpi-tile__top { display: flex; justify-content: space-between; align-items: flex-start; }
.perpi-tile__num { font: 700 48px/.9 var(--font-head); letter-spacing: -.03em; }
.perpi-tile__body { display: flex; flex-direction: column; gap: 8px; }
.perpi-tile__title { font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.perpi-tiles--cols-4 .perpi-tile__title, .perpi-tiles--long .perpi-tile__title { font-size: 16.5px; letter-spacing: .01em; }
.perpi-tiles--cols-4 .perpi-tile, .perpi-tiles--long .perpi-tile { min-height: 260px; }
.perpi-tile__text { font-size: 13px; line-height: 1.55; }

.perpi-vision { position: relative; overflow: hidden; min-height: 440px; display: flex; align-items: center; color: #fff; }
.perpi-vision__bg { position: absolute; left: 0; right: 0; top: -20%; height: 140%; }
.perpi-vision__scrim { position: absolute; inset: 0; background: rgba(180, 77, 8, .86); }
.perpi-vision--green .perpi-vision__scrim { background: rgba(40, 90, 32, .88); }
.perpi-vision--maroon .perpi-vision__scrim { background: rgba(123, 17, 19, .86); }
.perpi-vision--blue .perpi-vision__scrim { background: rgba(47, 114, 174, .88); }
.perpi-vision__grid { position: relative; display: grid; gap: 28px 40px; padding-block: 80px; }
@media (min-width: 900px) { .perpi-vision__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.perpi-vision__kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.perpi-vision__statement { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.perpi-vision__values { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.perpi-vision__values li { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; }

/* Carousel */
.perpi-carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.perpi-carousel__track::-webkit-scrollbar { display: none; }
.perpi-carousel__item { flex: 0 0 min(280px, 78vw); scroll-snap-align: start; gap: 16px; }
.perpi-progress { margin-top: 28px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.perpi-progress span { display: block; height: 100%; width: 18%; border-radius: 3px; background: var(--perpi-orange); transition: width .2s var(--ease); }

/* ==========================================================================
   9. Publications
   ========================================================================== */
.perpi-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; padding: 22px; border-radius: 20px; overflow: hidden; background: var(--perpi-orange); color: #fff; isolation: isolate; }
a.perpi-cover:hover { color: #fff; opacity: .94; }
.perpi-cover--orange-700 { background: var(--orange-700); } .perpi-cover--green { background: var(--perpi-green); }
.perpi-cover--green-700 { background: var(--green-700); } .perpi-cover--maroon { background: var(--up-maroon); }
.perpi-cover--blue { background: var(--blue-700); }
img.perpi-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.perpi-cover--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(244, 112, 21, .35) 0%, rgba(180, 77, 8, .92) 78%); }
.perpi-cover__top { display: flex; justify-content: space-between; align-items: center; }
.perpi-cover__meta { font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.perpi-cover__bottom { display: flex; flex-direction: column; gap: 14px; }
.perpi-cover__type { font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.perpi-cover__title { font: 700 19px/1.25 var(--font-head); text-transform: uppercase; overflow-wrap: anywhere; }
.perpi-mark-white { object-fit: contain; }
.perpi-cover--lg { padding: 30px; border-radius: 24px; box-shadow: 0 30px 60px -30px var(--card-shadow); }
.perpi-cover--lg .perpi-cover__title { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.perpi-cover--lg .perpi-cover__meta { font-size: 12px; letter-spacing: .16em; }
.perpi-cover--mini { width: 56px; height: 74px; padding: 6px; border-radius: 8px; justify-content: flex-end; aspect-ratio: auto; }
.perpi-cover--xs { width: 84px; padding: 8px; border-radius: 10px; justify-content: flex-end; }
.perpi-pub-grid .perpi-cover__title { font-size: 17px; }
.perpi-pub-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.perpi-pub-card:hover { color: var(--ink); }
.perpi-pub-card:hover .perpi-cover { box-shadow: var(--shadow-hover); }
.perpi-pub-card__text { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.perpi-pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.perpi-pub-list { display: flex; flex-direction: column; }
.perpi-pub-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 20px; align-items: center; padding: 20px 12px; border-bottom: 1px solid var(--line-2); border-radius: 12px; transition: background-color .15s var(--ease); }
.perpi-pub-row:hover { background: var(--sunken); }
.perpi-pub-row__main { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ink); }
.perpi-pub-row__main:hover { color: var(--ink); }
.perpi-pub-row__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.perpi-pub-row__authors, .perpi-pub-row__pages { font-size: 13px; color: var(--muted); }
.perpi-pub-row__pages { display: none; }
.perpi-pub-row .perpi-round-btn--line { color: var(--perpi-orange); }
@media (min-width: 640px) { .perpi-pub-row { grid-template-columns: 56px minmax(0, 1fr) 120px 44px; gap: 24px; } .perpi-pub-row__pages { display: block; } }

/* Knowledge Hub */
.perpi-hub { position: relative; overflow: hidden; background: var(--tint); }
.perpi-hub__shape { position: absolute; pointer-events: none; }
.perpi-hub__shape--square { right: -90px; top: -70px; width: 360px; height: 360px; border-radius: 64px; background: var(--perpi-amber); opacity: .35; rotate: 22deg; }
.perpi-hub__shape--circle { right: 220px; bottom: -120px; width: 220px; height: 220px; border-radius: 50%; background: var(--perpi-orange); opacity: .18; }
.perpi-hub__inner { position: relative; padding-block: 56px; }
.perpi-hub__title { margin-top: 16px; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.perpi-hub__lede { margin-top: 16px; max-width: 620px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.perpi-searchbar { margin-top: 32px; max-width: 760px; display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 18px; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -22px var(--card-shadow); color: #4A4A47; }
.perpi-searchbar:focus-within { box-shadow: 0 0 0 2px var(--perpi-orange), 0 18px 40px -22px var(--card-shadow); }
.perpi-searchbar .perpi-input { border: 0; background: transparent; color: #141413; padding-inline: 4px; min-width: 0; }
.perpi-searchbar--line { margin-top: 0; max-width: none; border: 1px solid var(--line); box-shadow: none; }
.perpi-type-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.perpi-type-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 2px solid transparent; border-radius: 16px; background: var(--surface-2); color: var(--ink); }
.perpi-type-card:hover { color: var(--ink); border-color: var(--tint-2); }
.perpi-type-card.is-active { border-color: var(--perpi-orange); }
.perpi-type-card__label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.perpi-type-card__count { font-size: 13px; color: var(--muted); }
.perpi-toolbar { position: sticky; top: calc(var(--header-h) + var(--admin-h)); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.perpi-segmented { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; border-radius: 12px; background: var(--sunken); }
.perpi-segmented a, .perpi-segmented button { display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.perpi-segmented a:hover, .perpi-segmented button:hover { color: var(--ink); }
.perpi-segmented .is-active { background: var(--surface-2); color: var(--perpi-orange); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.perpi-segmented--icons button { width: 36px; height: 32px; padding: 0; }
.perpi-toolbar__right { display: flex; align-items: center; gap: 14px; }
.perpi-toolbar__count { font-size: 13px; color: var(--muted); }
.perpi-topics { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 18px; }
.perpi-topics .perpi-label { margin-right: 6px; }
.perpi-hub-view { margin-top: 32px; }
.perpi-hub-view--grid .perpi-hub-view__list, .perpi-hub-view--list .perpi-hub-view__grid { display: none; }
.perpi-featured-pub { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: 28px; }
.perpi-featured-pub > .perpi-cover { flex: 0 1 300px; min-width: 220px; }
.perpi-featured-pub > .perpi-cover .perpi-cover__title { font-size: 24px; line-height: 1.2; }
.perpi-featured-pub__body { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.perpi-featured-pub__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.perpi-featured-pub__title a { color: var(--ink); }
.perpi-featured-pub__title a:hover { color: var(--perpi-orange); }
.perpi-featured-pub__text { max-width: 620px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.perpi-featured-pub__meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.perpi-featured-pub__meta strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.perpi-pagination { margin-top: 56px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.perpi-pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink-2); }
.perpi-pagination a.page-numbers:hover { border-color: var(--perpi-orange); color: var(--perpi-orange); }
.perpi-pagination .current { background: var(--perpi-orange); border-color: var(--perpi-orange); color: #fff; font-weight: 600; }
.perpi-pagination .dots { border: 0; }

/* Publication single */
.perpi-pub-head { background: var(--sunken); }
.perpi-pub-head > .perpi-container { padding-block: 44px 64px; }
.perpi-pub-head__row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.perpi-pub-head__cover { position: relative; flex: 0 1 340px; min-width: 240px; }
.perpi-pub-head__slab { position: absolute; left: -18px; top: 22px; right: 18px; bottom: -22px; border-radius: 24px; background: var(--perpi-amber); opacity: .5; }
.perpi-pub-head__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.perpi-pub-head__body > .perpi-meta-kicker { font-size: 12px; letter-spacing: .18em; }
.perpi-pub-head__title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.01em; text-wrap: pretty; }
.perpi-pub-head__authors { font-size: 14px; color: var(--muted); }
.perpi-pub-head__abstract { max-width: 680px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 639px) {
	.perpi-pub-head__row { gap: 40px; }
	.perpi-pub-head__cover { flex: 0 0 auto; width: min(260px, 72vw); min-width: 0; margin-left: 18px; }
	.perpi-featured-pub > .perpi-cover { flex: 0 0 auto; width: min(240px, 70vw); min-width: 0; }
}
.perpi-meta-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.perpi-meta-strip > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--surface-2); }
.perpi-meta-strip dt { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--subtle); }
.perpi-meta-strip dd { font-size: 14px; font-weight: 600; }
.perpi-doc { display: grid; gap: 40px; align-items: start; }
.perpi-toc { display: none; }
@media (min-width: 900px) {
	.perpi-doc { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
	.perpi-toc { position: sticky; top: calc(var(--header-h) + var(--admin-h) + 24px); display: flex; flex-direction: column; gap: 2px; }
}
.perpi-toc .perpi-label { margin-bottom: 10px; }
.perpi-toc a { padding: 9px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); }
.perpi-toc a:hover { color: var(--ink); }
.perpi-toc a.is-active { background: var(--tint); color: var(--accent-strong); font-weight: 600; }
.perpi-doc__body { max-width: 760px; display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.perpi-doc__h { margin-bottom: 16px; font-size: 24px; text-transform: uppercase; }
.perpi-findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.perpi-finding { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--tint); }
.perpi-finding__num { font: 700 40px/1 var(--font-head); color: var(--perpi-orange); }
.perpi-finding__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.perpi-finding__text { font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.perpi-checklist { list-style: none; margin: 0; padding: 0; }
.perpi-checklist li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.perpi-checklist__box { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--perpi-green); color: #fff; }
.perpi-cite { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 22px 24px; border-radius: 18px; background: var(--sunken); }
.perpi-cite p { flex: 1; min-width: 240px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.perpi-related { padding-top: 20px; border-top: 2px solid var(--ink); }
.perpi-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.perpi-related__item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; color: var(--ink); }
.perpi-related__item > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.perpi-related__title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.perpi-related__item:hover .perpi-related__title { color: var(--perpi-orange); }

/* ==========================================================================
   10. Prose
   ========================================================================== */
.perpi-prose { font-size: 16.5px; line-height: 1.85; color: var(--ink-2); overflow-wrap: break-word; }
.perpi-prose > * + * { margin-top: 22px; }
.perpi-prose h2 { font-size: 24px; text-transform: uppercase; color: var(--ink); margin-top: 40px; }
.perpi-prose h3 { font-size: 22px; text-transform: uppercase; color: var(--ink); margin-top: 32px; }
.perpi-prose h4 { font-size: 17px; color: var(--ink); }
.perpi-prose a { text-decoration: underline; text-underline-offset: 3px; }
.perpi-prose ul, .perpi-prose ol { padding-left: 1.3em; }
.perpi-prose li + li { margin-top: 6px; }
.perpi-prose img, .perpi-prose .wp-block-image img { border-radius: 18px; }
.perpi-prose figcaption, .perpi-prose .wp-element-caption { margin-top: 10px; font-size: 12.5px; color: var(--subtle); text-align: center; }
.perpi-prose blockquote, .perpi-prose .wp-block-quote, .perpi-prose .wp-block-pullquote { margin: 36px 0; padding: 24px 0 0; border: 0; border-top: 4px solid var(--perpi-amber); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--ink); text-align: left; }
.perpi-prose blockquote p { font-size: inherit; line-height: inherit; }
.perpi-prose blockquote cite, .perpi-prose .wp-block-quote cite { display: block; margin-top: 14px; font: 500 14px/1.5 var(--font-body); font-style: normal; color: var(--muted); }
.perpi-prose .wp-block-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.perpi-prose .wp-block-gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: 100% !important; }
.perpi-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.perpi-prose th, .perpi-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.perpi-prose hr { border: 0; border-top: 1px solid var(--line); }

/* ==========================================================================
   11. Articles (news single, generic single)
   ========================================================================== */
.perpi-article__head { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; text-align: left; }
.perpi-article__title { max-width: 1100px; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -.015em; text-wrap: pretty; }
.perpi-article__summary { max-width: 820px; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--ink-2); text-wrap: pretty; }
.perpi-article__meta { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.perpi-byline { display: flex; align-items: center; gap: 10px; }
.perpi-byline strong { color: var(--ink); font-weight: 600; }
.perpi-avatar { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tint); }
.perpi-avatar .perpi-mark { width: 24px; height: 24px; }
.perpi-article__figure { margin-top: 44px; }
.perpi-article__frame { position: relative; height: clamp(300px, 46vw, 600px); border-radius: 28px; overflow: hidden; background: var(--orange-700); }
.perpi-article__img { position: absolute; left: 0; right: 0; top: -16%; height: 132%; }
.perpi-article__figure figcaption { margin-top: 12px; font-size: 12.5px; color: var(--subtle); text-align: center; }
.perpi-article__layout { max-width: 1080px; margin: 0 auto; padding: 56px var(--gutter) 0; display: grid; gap: 32px; align-items: start; }
.perpi-share { display: flex; align-items: center; gap: 10px; }
.perpi-share__label { margin-right: 6px; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--subtle); }
@media (min-width: 900px) {
	.perpi-article__layout { grid-template-columns: 56px minmax(0, 1fr); gap: 48px; }
	.perpi-share { position: sticky; top: calc(var(--header-h) + var(--admin-h) + 32px); flex-direction: column; }
	.perpi-share__label { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0 0 6px; }
}
.perpi-prose--article { max-width: 700px; font-size: 17px; }
.perpi-prose--article > p:first-child { font-size: 19px; line-height: 1.75; color: var(--ink); }
.perpi-prose--article > p:first-child::first-letter { float: left; margin: 6px 12px 0 0; font: 700 76px/.82 var(--font-head); color: var(--perpi-orange); }
.perpi-single__head { max-width: 1120px; margin: 0 auto; padding-top: 56px; }
.perpi-single__kicker { margin-top: 22px; font-size: 12px; letter-spacing: .18em; }
.perpi-single__title { margin-top: 14px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.15; text-wrap: pretty; }
.perpi-single__lede { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.perpi-single__figure { position: relative; max-width: 1120px; height: clamp(280px, 42vw, 520px); margin: 40px auto 0; border-radius: 28px; overflow: hidden; background: var(--orange-700); }
.perpi-single__img { position: absolute; left: 0; right: 0; top: -14%; height: 128%; }
.perpi-single__layout { max-width: 1120px; margin: 56px auto 0; display: grid; gap: 40px; align-items: start; }
.perpi-single__layout--solo { max-width: 820px; }
.perpi-single__layout .perpi-prose { max-width: 720px; }
@media (min-width: 900px) { .perpi-single__layout:not(.perpi-single__layout--solo) { grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; } .perpi-single__aside { position: sticky; top: calc(var(--header-h) + var(--admin-h) + 24px); } }
.perpi-single__aside { display: flex; flex-direction: column; gap: 16px; }
.perpi-aside-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; }
.perpi-aside-card--sunken { background: var(--sunken); }
.perpi-aside-card--line { border: 1px solid var(--line); }
.perpi-details { display: flex; flex-direction: column; gap: 12px; }
.perpi-details dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--subtle); }
.perpi-details dd { font-size: 14px; font-weight: 600; }

/* ==========================================================================
   12. News & events
   ========================================================================== */
.perpi-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.perpi-news-grid--feature { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.perpi-news-feature { position: relative; grid-row: span 2; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 24px; overflow: hidden; background: var(--perpi-orange); color: #fff; }
.perpi-news-feature:hover { color: #fff; }
.perpi-news-feature__bg { position: absolute; left: 0; right: 0; top: -12%; height: 124%; }
.perpi-news-feature__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244, 112, 21, .1) 20%, rgba(217, 94, 11, .9) 70%, #B44D08 100%); }
.perpi-news-feature__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.perpi-news-feature__title { font-size: 26px; font-weight: 600; line-height: 1.25; }
.perpi-news-feature__date { font-size: 13px; }
@media (min-width: 640px) { .perpi-news-grid--feature .perpi-news-feature { grid-column: span 2; } }
@media (min-width: 1000px) { .perpi-news-grid--feature .perpi-news-feature { grid-column: span 1; } }
.perpi-media-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.perpi-media-card:hover { color: var(--ink); }
.perpi-media-card__img { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--sunken); }
.perpi-media-card__img img { transition: transform .5s var(--ease); }
.perpi-media-card:hover .perpi-media-card__img img { transform: scale(1.03); }
.perpi-media-card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.perpi-media-card__date, .perpi-media-card__meta { font-size: 12px; color: var(--subtle); }
.perpi-media-card__title { font-size: 17px; font-weight: 600; line-height: 1.35; }
.perpi-media-card:hover .perpi-media-card__title { color: var(--accent-strong); }
.perpi-media-card--boxed { padding: 12px 12px 20px; border-radius: 22px; background: var(--surface-2); }
.perpi-media-card--boxed .perpi-media-card__img { border-radius: 16px; }
.perpi-media-card--boxed .perpi-media-card__row, .perpi-media-card--boxed .perpi-media-card__title { padding-inline: 8px; }
.perpi-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.perpi-news-list, .perpi-event-list { display: flex; flex-direction: column; gap: 14px; }
.perpi-news-row { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; color: var(--ink); }
.perpi-news-row:hover { color: var(--ink); }
.perpi-news-row__img { height: 80px; border-radius: 14px; overflow: hidden; background: var(--sunken); }
.perpi-news-row__body { display: flex; flex-direction: column; gap: 6px; }
.perpi-news-row__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.perpi-news-row:hover .perpi-news-row__title { color: var(--accent-strong); }
.perpi-news-row__date { font-size: 13px; color: var(--subtle); }
@media (min-width: 640px) { .perpi-news-row { grid-template-columns: 120px 1fr; gap: 20px; } .perpi-news-row__img { height: 94px; } }
.perpi-event { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: 18px; background: var(--surface-2); color: var(--ink); }
.perpi-event:hover { background: var(--tint); color: var(--ink); }
.perpi-event__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.perpi-event__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.perpi-event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.perpi-event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.perpi-event__meta .perpi-icon { color: var(--perpi-orange); }
.perpi-event__img { display: none; height: 130px; border-radius: 16px; overflow: hidden; }
.perpi-event-list--rows { gap: 16px; }
.perpi-event-list--rows .perpi-event { padding: 20px; border-radius: 22px; background: var(--sunken); }
.perpi-event-list--rows .perpi-event:hover { background: var(--tint); }
.perpi-event-list--rows .perpi-event__body { gap: 8px; }
.perpi-event-list--rows .perpi-event__title { font-size: 20px; line-height: 1.3; }
@media (min-width: 900px) { .perpi-event-list--rows .perpi-event { grid-template-columns: 100px minmax(0, 1fr) 240px; gap: 28px; } .perpi-event-list--rows .perpi-event__img { display: block; } }
.perpi-date { height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 14px; background: var(--perpi-orange); color: #fff; line-height: 1; }
.perpi-date__day { font: 700 26px/1 var(--font-head); }
.perpi-date__mon { margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
@media (min-width: 900px) { .perpi-date--lg { height: 100px; border-radius: 16px; } .perpi-date--lg .perpi-date__day { font-size: 34px; } .perpi-date--lg .perpi-date__mon { font-size: 12px; letter-spacing: .14em; margin-top: 6px; } }

/* ==========================================================================
   13. Feature blocks
   ========================================================================== */
.perpi-flagship { --block: var(--perpi-green); --block-ink: var(--green-700); position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 28px; background: var(--block); color: #fff; }
.perpi-flagship--orange { --block: var(--perpi-orange); --block-ink: var(--orange-700); }
.perpi-flagship--maroon { --block: var(--up-maroon); --block-ink: var(--up-maroon); }
.perpi-flagship--blue { --block: var(--blue-700); --block-ink: var(--blue-700); }
.perpi-flagship__kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--perpi-yellow); }
.perpi-flagship--orange .perpi-flagship__kicker { color: #fff; }
.perpi-flagship__title { margin-top: 14px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; text-wrap: balance; color: #fff; }
.perpi-flagship__lede { margin-top: 16px; font-size: 15px; line-height: 1.7; }
.perpi-flagship .perpi-btn { margin-top: 28px; }
.perpi-flagship .perpi-btn--white, .perpi-flagship .perpi-btn--white:hover { color: var(--block-ink); }
.perpi-flagship__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.perpi-flagship__tiles li { display: flex; flex-direction: column; gap: 18px; padding: 16px; border-radius: 14px; background: #fff; color: #141413; }
.perpi-flagship__num { font-size: 12px; font-weight: 600; color: var(--block-ink); }
.perpi-flagship__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.perpi-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--perpi-orange); color: #fff; }
.perpi-cta__square { position: absolute; left: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 40px; background: var(--perpi-amber); opacity: .55; rotate: 18deg; pointer-events: none; }
.perpi-cta__mark { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .12; pointer-events: none; }
.perpi-cta__title { position: relative; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; text-transform: uppercase; text-wrap: balance; color: #fff; }
.perpi-cta__body { position: relative; display: flex; flex-direction: column; gap: 22px; font-size: 17px; line-height: 1.6; }
.perpi-cta .perpi-btn { height: 48px; padding: 0 22px; font-size: 14px; }
.perpi-statement { display: grid; gap: 20px 48px; }
@media (min-width: 900px) { .perpi-statement { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.perpi-statement__kicker { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--perpi-orange); }
.perpi-statement__text { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.perpi-statement__cols { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; }
.perpi-statement__cols p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.perpi-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.perpi-panel { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--sunken); }
.perpi-panel__label { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--perpi-orange); }
.perpi-panel__lead { margin-top: 18px; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 500; }
.perpi-panel__text { margin-top: 18px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.perpi-panel--orange, .perpi-panel--green { background: var(--perpi-orange); color: #fff; }
.perpi-panel--green { background: var(--perpi-green); }
.perpi-panel--orange .perpi-panel__label, .perpi-panel--green .perpi-panel__label, .perpi-panel--orange .perpi-panel__text, .perpi-panel--green .perpi-panel__text { color: #fff; }
.perpi-panel--tint { background: var(--tint); }
.perpi-feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: 28px; }
.perpi-feature--reverse { flex-direction: row-reverse; }
.perpi-feature__media { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--sunken); }
.perpi-feature__body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.perpi-feature__body .perpi-meta-strip { align-self: stretch; }
.perpi-feature__title { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }
.perpi-feature__text { font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   14. Grids (values, people, partners, programs, gateways, rows, tracker)
   ========================================================================== */
.perpi-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.perpi-values__cell { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--surface-2); }
.perpi-values__letter { font: 700 56px/1 var(--font-head); }
.perpi-values__name { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.perpi-values__desc { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.perpi-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
@media (min-width: 1100px) { .perpi-people--cols-2 { grid-template-columns: repeat(2, 1fr); } .perpi-people--cols-3 { grid-template-columns: repeat(3, 1fr); } .perpi-people--cols-4 { grid-template-columns: repeat(4, 1fr); } }
.perpi-person { display: flex; flex-direction: column; }
.perpi-person__photo { height: 280px; border-radius: 20px; overflow: hidden; background: var(--tint); }
.perpi-person__photo img { width: 100%; height: 100%; object-fit: cover; }
.perpi-person__photo--empty { display: flex; align-items: center; justify-content: center; color: #F89A5A; }
.perpi-person__name { margin-top: 16px; font-size: 17px; font-weight: 600; }
.perpi-person__role { margin-top: 4px; font-size: 13px; color: var(--muted); }
.perpi-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.perpi-partner { height: 88px; display: flex; align-items: center; justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.perpi-partner img { max-height: 56px; width: auto; object-fit: contain; }
.perpi-programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.perpi-program { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-2); }
.perpi-program__top { display: flex; align-items: center; gap: 12px; }
.perpi-program__title { font-size: 20px; line-height: 1.2; text-transform: uppercase; }
.perpi-program__text { font-size: 14px; line-height: 1.65; color: var(--muted); }
.perpi-program__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; }
.perpi-program__status { font-size: 12px; color: var(--subtle); }
.perpi-gateways { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.perpi-gateway { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-2); color: var(--ink); }
a.perpi-gateway:hover { border-color: var(--perpi-orange); box-shadow: var(--shadow-hover); color: var(--ink); }
.perpi-gateway__title { margin-top: 6px; font: 700 18px/1.2 var(--font-head); text-transform: uppercase; }
.perpi-gateway__desc { font-size: 14px; line-height: 1.6; color: var(--muted); }
.perpi-gateway__count { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.perpi-rows, .perpi-tracker, .perpi-fn-blocks { border-top: 1px solid var(--line); }
.perpi-row { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); align-items: center; }
.perpi-row:hover { color: var(--ink); }
.perpi-row:hover .perpi-row__title { color: var(--perpi-orange); }
.perpi-row__title { display: block; font: 700 22px/1.2 var(--font-head); text-transform: uppercase; transition: color .15s; }
.perpi-row__text { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.perpi-row__meta { font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .perpi-row { grid-template-columns: 180px minmax(0, 1fr) 200px; gap: 32px; } .perpi-row__meta { text-align: right; } }
.perpi-tracker__row { display: grid; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .perpi-tracker__row { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; } }
.perpi-status { justify-self: start; display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--accent-strong); font-size: 11px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.perpi-status--amber { background: var(--perpi-amber); color: #141413; }
.perpi-status--green { background: var(--perpi-green); color: #fff; }
.perpi-status--green-700 { background: var(--green-700); color: #fff; }
.perpi-status--maroon { background: var(--up-maroon); color: #fff; }
.perpi-status--blue { background: var(--blue-700); color: #fff; }
.perpi-status--orange-700 { background: var(--orange-700); color: #fff; }
.perpi-status--subtle, .perpi-status--ink { background: var(--sunken); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.perpi-tracker__text { font-size: 15px; line-height: 1.6; }
.perpi-tracker__meta { font-size: 13px; color: var(--muted); }
.perpi-fn-block { display: grid; gap: 16px 40px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
@media (min-width: 900px) { .perpi-fn-block { grid-template-columns: 110px minmax(0, 1fr) 320px; } }
.perpi-fn-block__num { font: 700 64px/.9 var(--font-head); letter-spacing: -.03em; }
.perpi-fn-block__title { font-size: 26px; text-transform: uppercase; }
.perpi-fn-block__body p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.perpi-fn-block__programs { padding: 20px 24px; border-radius: 18px; background: var(--sunken); }
.perpi-fn-block__programs ul { list-style: none; margin: 10px 0 0; padding: 0; }
.perpi-fn-block__programs li { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.perpi-fn-block__programs li:last-child { border-bottom: 0; }

/* ==========================================================================
   15. Inner mastheads, archives, contact
   ========================================================================== */
.perpi-mast { position: relative; overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; background: var(--orange-700); color: #fff; }
.perpi-mast__bg { position: absolute; left: 0; right: 0; top: -20%; height: 140%; }
.perpi-mast__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(180, 77, 8, .95) 0%, rgba(217, 94, 11, .82) 50%, rgba(244, 112, 21, .45) 100%); }
.perpi-mast--medium .perpi-mast__scrim { opacity: .85; }
.perpi-mast--soft .perpi-mast__scrim { opacity: .7; }
.perpi-mast__inner { position: relative; display: grid; gap: 24px 32px; align-items: end; padding-block: 72px 56px; }
@media (min-width: 900px) { .perpi-mast__inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.perpi-mast__title { margin-top: 16px; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.perpi-mast__lede { max-width: 520px; font-size: 16px; line-height: 1.7; font-weight: 300; }
.perpi-archive-summary { padding-bottom: 20px; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.perpi-archive-summary strong { color: var(--perpi-orange); }
.perpi-archive-row { display: grid; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); align-items: center; }
.perpi-archive-row:hover { color: var(--ink); }
.perpi-archive-row:hover .perpi-archive-row__title { color: var(--accent-strong); }
.perpi-archive-row__img { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--sunken); }
.perpi-archive-row__body { display: flex; flex-direction: column; gap: 8px; }
.perpi-archive-row__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.perpi-archive-row__text { font-size: 14px; line-height: 1.65; color: var(--muted); }
@media (min-width: 640px) { .perpi-archive-row { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; } .perpi-archive-row__img { aspect-ratio: 4 / 3; } }
.perpi-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; align-items: start; }
.perpi-contact__info { display: flex; flex-direction: column; gap: 28px; }
.perpi-contact__addr { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.perpi-contact__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.perpi-contact__lines li { display: flex; gap: 14px; align-items: center; }
.perpi-contact__lines a { color: var(--ink); }
.perpi-contact__lines a:hover { color: var(--perpi-orange); }
.perpi-contact__map { position: relative; height: 300px; display: flex; align-items: center; justify-content: center; border-radius: 24px; overflow: hidden; background: var(--sunken); color: var(--subtle); font-size: 12px; letter-spacing: .12em; }
.perpi-contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.perpi-inquiry { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--perpi-orange); color: #fff; }
.perpi-inquiry__title { font-size: 28px; text-transform: uppercase; color: #fff; }
.perpi-inquiry__text { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.perpi-inquiry__card { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--surface-2); color: var(--ink); }
.perpi-inquiry__fallback { margin-bottom: 18px; font-size: 15px; line-height: 1.6; }
.perpi-inquiry__admin { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; background: var(--tint); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.perpi-inquiry__privacy { margin-top: 16px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* Form plugins (Contact Form 7, WPForms) inside the inquiry card */
.perpi-form label, .perpi-form .wpforms-field-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.perpi-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .perpi-form textarea, .perpi-form select { width: 100%; max-width: 100%; min-height: 42px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface-2); color: var(--ink); font: 400 15px/1.4 var(--font-body); }
.perpi-form textarea { min-height: 130px; resize: vertical; }
.perpi-form input:focus, .perpi-form textarea:focus, .perpi-form select:focus { outline: none; border-color: var(--perpi-orange); }
.perpi-form .wpcf7-form p, .perpi-form .wpforms-field { margin: 0 0 16px; padding: 0; }
.perpi-form input[type="submit"], .perpi-form button[type="submit"], .perpi-form .wpforms-submit { height: 52px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--perpi-orange); color: #fff; font: 600 15px var(--font-body); cursor: pointer; }
.perpi-form input[type="submit"]:hover, .perpi-form button[type="submit"]:hover, .perpi-form .wpforms-submit:hover { background: var(--orange-600); }
.perpi-form .wpcf7-not-valid-tip, .perpi-form .wpforms-error { margin-top: 4px; font-size: 12.5px; color: #C0392B; }
.perpi-form .wpcf7-response-output { margin: 16px 0 0 !important; padding: 10px 14px !important; border-radius: 10px; font-size: 13.5px; }

/* ==========================================================================
   16. Elementor
   ========================================================================== */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }
.perpi-el-split > .elementor-container { max-width: var(--container); margin-inline: auto; padding: clamp(56px, 7vw, 88px) var(--gutter); display: grid; gap: 56px; }
.perpi-el-split > .elementor-container > .elementor-column { width: auto !important; min-width: 0; }
@media (min-width: 900px) { .perpi-el-split > .elementor-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.elementor-widget-container > .perpi-section:first-child, .elementor-widget-container > .perpi-pillars:first-child { margin-top: 0; }
.elementor-editor-active .perpi-hero__slide:not(.is-active) { display: none; }

/* ==========================================================================
   16b. Native Elementor blocks (perpi-e-*): header, footer, bands, About,
   What We Do. Styles sit on classes and CSS variables so dark mode works;
   anything set in the Elementor panel is more specific and wins.
   ========================================================================== */
/* Containers: no default padding, a tighter default gap, content width = the theme container. */
.elementor :where([class*="perpi-e-"]).e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --row-gap: 16px; --column-gap: 16px; --gap: 16px; }
.elementor :where([class*="perpi-e-"]).e-con-boxed { --content-width: calc(var(--container) - 64px); }
.elementor .perpi-e-section { --padding-top: var(--space-lg); --padding-left: var(--gutter); --padding-right: var(--gutter); }
.elementor .perpi-e-section--md { --padding-top: var(--space-md); }
.perpi-e-box:empty, .perpi-e-section p:empty { display: none; }

/* Grid helpers (applied to the container, or to its inner box when boxed) */
.elementor :is(.perpi-e-cols-2, .perpi-e-cols-1-2, .perpi-e-cols-4, .perpi-e-cols-auto, .perpi-e-cols-fn):not(.e-con-boxed),
.elementor :is(.perpi-e-cols-2, .perpi-e-cols-1-2, .perpi-e-cols-4, .perpi-e-cols-auto, .perpi-e-cols-fn) > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--perpi-e-gap, 32px); }
.elementor .perpi-e-cols-auto:not(.e-con-boxed) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.elementor .perpi-e-gap-20 { --perpi-e-gap: 20px; }
@media (min-width: 640px) { .elementor .perpi-e-cols-4:not(.e-con-boxed) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
	.elementor .perpi-e-cols-2:not(.e-con-boxed), .elementor .perpi-e-cols-2 > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elementor .perpi-e-mast__inner.perpi-e-cols-2 > .e-con-inner { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
	.elementor .perpi-e-cols-1-2:not(.e-con-boxed), .elementor .perpi-e-cols-1-2 > .e-con-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
	.elementor .perpi-e-cols-fn:not(.e-con-boxed) { grid-template-columns: 110px minmax(0, 1fr) 320px; }
}
@media (min-width: 1000px) { .elementor .perpi-e-cols-4:not(.e-con-boxed) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Type */
.perpi-e-kicker .elementor-heading-title { font: 600 12px/1.4 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--perpi-orange); }
.perpi-e-kicker--light .elementor-heading-title { color: #fff; }
.perpi-e-kicker--yellow .elementor-heading-title { color: var(--perpi-yellow); }
.perpi-e-kicker--marker .elementor-heading-title::before { content: ""; display: inline-block; width: 36px; height: 10px; margin: -2px 12px 0 0; vertical-align: middle; background: linear-gradient(90deg, var(--perpi-orange) 0 10px, transparent 10px 13px, var(--perpi-amber) 13px 23px, transparent 23px 26px, var(--perpi-green) 26px 36px); }
.perpi-e-label .elementor-heading-title { font: 700 11px/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); }
.perpi-e-muted { font-size: 15px; line-height: 1.7; color: var(--muted); }
.perpi-e-text-light { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.perpi-e-text--orange .elementor-heading-title { color: var(--perpi-orange); }
.perpi-e-text--orange-700 .elementor-heading-title { color: var(--accent-strong); }
.perpi-e-text--green .elementor-heading-title { color: var(--perpi-green); }
.perpi-e-text--amber .elementor-heading-title { color: var(--perpi-amber); }
.perpi-e-text--maroon .elementor-heading-title { color: var(--up-maroon); }
[data-theme="dark"] .perpi-e-text--maroon .elementor-heading-title { color: #E06A6C; }
.perpi-e-text--blue .elementor-heading-title { color: var(--blue-700); }

/* Buttons */
.elementor .perpi-e-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 10px; background: var(--perpi-orange); color: #fff; font: 600 15px/1 var(--font-body); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.elementor .perpi-e-btn .elementor-button:hover { background: var(--orange-600); color: #fff; }
.elementor .perpi-e-btn .elementor-button:active { background: var(--orange-700); transform: translateY(1px); }
.elementor .perpi-e-btn .elementor-button.elementor-size-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }
.elementor .perpi-e-btn .elementor-button.elementor-size-lg { height: 52px; padding: 0 26px; }
.elementor .perpi-e-btn--white .elementor-button { background: #fff; color: var(--orange-700); }
.elementor .perpi-e-btn--white .elementor-button:hover { background: #FEF3EA; color: var(--orange-700); }
.elementor .perpi-e-btn--ghost .elementor-button { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; font-weight: 500; }
.elementor .perpi-e-btn--ghost .elementor-button:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.elementor .perpi-e-btn--outline .elementor-button { background: transparent; border-color: var(--perpi-orange); color: var(--accent-strong); }
.elementor .perpi-e-btn--outline .elementor-button:hover { background: var(--tint); color: var(--accent-strong); }
.elementor .perpi-e-btn--pill .elementor-button { border-radius: 999px; background: transparent; border-color: var(--ink); color: var(--ink); font-size: 14px; }
.elementor .perpi-e-btn--pill .elementor-button:hover { background: var(--ink); color: var(--surface); }
.elementor .perpi-e-btn-row { --flex-direction: row; --row-gap: 10px; --column-gap: 10px; }

/* Section head */
.elementor .perpi-e-head { --justify-content: space-between; --align-items: flex-end; --row-gap: 20px; --column-gap: 24px; margin-bottom: 36px; }
.elementor .perpi-e-head__main { --row-gap: 12px; flex: 1 1 360px; --width: auto; }
.perpi-e-head__title .elementor-heading-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.elementor .perpi-e-head__lede { flex: 0 1 440px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* Header */
.elementor .perpi-e-utility { --padding-top: 8px; --padding-bottom: 8px; --padding-left: var(--gutter); --padding-right: var(--gutter); --justify-content: space-between; --align-items: center; background: var(--perpi-orange); color: #fff; font-size: 12px; line-height: 18px; letter-spacing: .06em; }
.perpi-e-utility p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perpi-e-utility a { color: #fff; }
.perpi-e-utility strong { font-weight: 600; margin-right: 10px; }
.perpi-e-utility__desc { opacity: .9; }
.perpi-e-utility__lang { margin-left: 16px; }
.perpi-e-utility__lang strong { margin-right: 6px; }
.elementor .perpi-e-utility__left { min-width: 0; flex: 1 1 auto; }
.elementor .perpi-e-header { --padding-top: 14px; --padding-bottom: 14px; --padding-left: var(--gutter); --padding-right: var(--gutter); --column-gap: 24px; background: var(--header-bg); border-bottom: 1px solid var(--line-2); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.elementor .perpi-e-brand { --column-gap: 12px; --align-items: center; --flex-wrap: nowrap; flex: 0 0 auto; --width: auto; }
.elementor .perpi-e-brand > .elementor-widget, .elementor .perpi-e-actions > .elementor-widget { flex: 0 0 auto; width: auto; }
.perpi-e-mark img { display: block; width: 48px; height: 48px; object-fit: contain; }
/* 3.8: the header logo is the full lockup (mark, name, UP seal), so it keeps
   its proportions and gets real height instead of a 48px square. */
.perpi-e-header .perpi-e-mark img { width: auto; max-width: none; height: 64px; }
@media (max-width: 1099px) { .perpi-e-header .perpi-e-mark img { height: 54px; } }
/* 3.8: no e-mail in the top bar (it lives in the footer), no dark-mode toggle. */
.perpi-e-utility__right a[href^="mailto:"], .perpi-utility__right a[href^="mailto:"] { display: none; }
.elementor .perpi-e-toggle, .perpi-theme-toggle { display: none !important; }
.perpi-e-mark--dark { display: none; }
[data-theme="dark"] .perpi-e-mark--light { display: none; }
[data-theme="dark"] .perpi-e-mark--dark { display: block; }
.elementor .perpi-e-brand__lockup { --row-gap: 2px; --width: auto; }
.perpi-e-brand__line1 .elementor-heading-title { font: 700 15px/1.15 var(--font-body); letter-spacing: .04em; color: var(--perpi-orange); }
.perpi-e-brand__line1 .elementor-heading-title a { color: inherit; }
.perpi-e-brand__line2 .elementor-heading-title { font: 500 11px/1.15 var(--font-body); letter-spacing: .08em; color: var(--muted); }
.elementor .perpi-e-nav { flex: 1 1 auto; min-width: 0; }
.elementor .perpi-e-nav .hfe-nav-menu a.hfe-menu-item { padding: 8px 10px !important; font: 500 14px/1.4 var(--font-body); white-space: nowrap; color: var(--ink-2); border: 0; background: none; }
.elementor .perpi-e-nav .hfe-nav-menu a.hfe-menu-item:hover { color: var(--perpi-orange); }
.elementor .perpi-e-nav .hfe-nav-menu :is(.current-menu-item, .current-menu-ancestor, .current_page_item) > a.hfe-menu-item { color: var(--perpi-orange); box-shadow: inset 0 -2px 0 var(--perpi-orange); }
.elementor .perpi-e-nav .hfe-nav-menu__toggle { color: var(--ink-2); }
.elementor .perpi-e-nav .hfe-nav-menu__toggle svg { width: 20px; height: 20px; fill: currentColor; }
.elementor .perpi-e-nav nav.hfe-dropdown, .elementor .perpi-e-nav nav.hfe-dropdown .menu-item a.hfe-menu-item { background-color: var(--surface) !important; }
.elementor .perpi-e-nav nav.hfe-dropdown li.menu-item:not(:last-child) { border-bottom-color: var(--line-2) !important; }
.elementor .perpi-e-nav nav.hfe-dropdown a.hfe-menu-item { padding: 13px var(--gutter) !important; border-bottom: 0; font-size: 15px; }
.elementor .perpi-e-actions { --column-gap: 8px; --align-items: center; --flex-wrap: nowrap; flex: 0 0 auto; --width: auto; }
/* The search panel drops down full width under the header bar. */
.elementor .perpi-e-header { position: relative; }
.elementor .perpi-e-header > .e-con-inner, .elementor .perpi-e-header .perpi-e-actions, .elementor .perpi-e-header .perpi-e-search { position: static; --position: static; }
.perpi-searchbox__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--header-bg); border-bottom: 1px solid var(--line-2); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
@media (max-width: 1024px) {
	.elementor .perpi-e-nav { order: 3; flex: 0 0 auto; width: auto; --container-widget-width: auto; position: static; }
	.elementor .perpi-e-nav .hfe-nav-menu { position: static; }
	/* The menu drops down full width under the header bar. */
	.elementor .perpi-e-nav nav.hfe-dropdown { position: absolute !important; left: 0 !important; right: 0; top: 100%; width: auto !important; z-index: 60; border-bottom: 1px solid var(--line-2); box-shadow: 0 18px 40px -18px var(--card-shadow); }
	.elementor .perpi-e-nav .hfe-nav-menu__toggle { margin: 0 !important; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 639px) {
	.perpi-e-utility__desc, .perpi-e-utility__right a { display: none; }
	.perpi-e-brand__line2 { display: none; }
	.elementor .perpi-e-actions .perpi-e-btn { display: none; }
	.elementor .perpi-e-header { --column-gap: 8px; }
	.elementor .perpi-e-actions { --column-gap: 4px; }
	.elementor .perpi-e-brand { --column-gap: 10px; flex: 0 1 auto; min-width: 0; }
	.elementor .perpi-e-brand__lockup { min-width: 0; overflow: hidden; }
	.perpi-e-header .perpi-e-mark img { width: auto; height: 42px; }
	.perpi-e-brand__line1 .elementor-heading-title { font-size: 13px; white-space: nowrap; }
}

/* Footer */
.elementor .perpi-e-footer { margin-top: 110px; --row-gap: 0px; background: var(--surface-2); border-top: 1px solid var(--line-2); }
.elementor .perpi-e-footer__grid { --padding-top: 64px; --padding-bottom: 40px; --padding-left: var(--gutter); --padding-right: var(--gutter); }
.elementor .perpi-e-footer__grid > .e-con-inner { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .elementor .perpi-e-footer__grid > .e-con-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } .elementor .perpi-e-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 900px) { .elementor .perpi-e-footer__grid > .e-con-inner { grid-template-columns: 2fr 1fr 1fr 1fr; } .elementor .perpi-e-footer__brand { grid-column: auto; } }
.elementor .perpi-e-footer__brand { --row-gap: 8px; }
.elementor .perpi-e-footer__marks { --column-gap: 11px; margin-bottom: 10px; }
.perpi-e-footer__marks .perpi-e-mark img { width: 52px; height: 52px; }
.perpi-e-seal img { display: block; width: 44px; height: 44px; object-fit: contain; }
.perpi-e-footer__addr { max-width: 380px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.perpi-e-footer__email { font-size: 13.5px; font-weight: 600; }
.perpi-e-footer__title .elementor-heading-title { font: 700 11px/1.4 var(--font-body); letter-spacing: .16em; color: var(--ink); }
.perpi-e-footer__links .elementor-icon-list-item { margin: 0 0 10px !important; padding: 0 !important; }
.perpi-e-footer__links .elementor-icon-list-text, .perpi-e-footer__social .elementor-icon-list-text { font-size: 14px; color: var(--muted); transition: color .15s var(--ease); }
.perpi-e-footer__links a:hover .elementor-icon-list-text, .perpi-e-footer__social a:hover .elementor-icon-list-text { color: var(--perpi-orange); }
.elementor .perpi-e-splitbar { --min-height: 8px; min-height: 8px; background: linear-gradient(90deg, var(--perpi-orange) 50%, var(--perpi-amber) 50%); }
.elementor .perpi-e-footer__legal { --padding-top: 16px; --padding-bottom: 16px; --padding-left: var(--gutter); --padding-right: var(--gutter); }
.perpi-e-footer__copy .hfe-copyright-wrapper, .perpi-e-footer__copy .hfe-copyright-wrapper a { font-size: 12.5px; color: var(--muted); }
.perpi-e-footer__social .elementor-icon-list-icon svg { width: 20px; height: 20px; fill: var(--perpi-orange); }
.perpi-e-footer__social .elementor-icon-list-icon i { color: var(--perpi-orange); }
.perpi-e-footer__social .elementor-icon-list-item { margin: 0 !important; }

/* Masthead */
.elementor .perpi-e-mast { min-height: 340px; --min-height: 340px; --justify-content: flex-end; --padding-left: var(--gutter); --padding-right: var(--gutter); overflow: hidden; color: #fff; background-color: var(--orange-700); }
.elementor .perpi-e-mast__inner { --padding-top: 72px; --padding-bottom: 56px; --perpi-e-gap: 24px 32px; }
.elementor .perpi-e-mast__inner > .e-con-inner { align-items: end; }
.elementor .perpi-e-mast__main { --row-gap: 16px; }
.perpi-e-crumb { font-size: 13px; color: rgba(255, 255, 255, .85); }
.perpi-e-crumb a { color: #fff; }
.perpi-e-crumb span { margin: 0 6px; opacity: .7; }
.perpi-e-mast__title .elementor-heading-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.perpi-e-mast__lede { max-width: 520px; font-size: 16px; line-height: 1.7; font-weight: 300; color: #fff; }

/* Vision band */
.elementor .perpi-e-vision { min-height: 440px; --min-height: 440px; --justify-content: center; --padding-left: var(--gutter); --padding-right: var(--gutter); overflow: hidden; color: #fff; margin-top: var(--space-lg); }
.elementor .perpi-e-vision__grid { --padding-top: 80px; --padding-bottom: 80px; --perpi-e-gap: 28px 40px; }
.perpi-e-vision__statement .elementor-heading-title { font: 500 clamp(22px, 2.4vw, 32px)/1.4 var(--font-body); color: #fff; text-wrap: pretty; }
.perpi-e-pills .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.perpi-e-pills .elementor-icon-list-item { margin: 0 !important; padding: 8px 16px !important; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; }
.perpi-e-pills .elementor-icon-list-item::after { display: none !important; }
.perpi-e-pills .elementor-icon-list-text { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #fff; padding: 0 !important; }

/* Flagship band */
.elementor .perpi-e-flagship { --block-ink: var(--green-700); --padding-top: clamp(28px, 4vw, 56px); --padding-bottom: clamp(28px, 4vw, 56px); --padding-left: clamp(24px, 4vw, 56px); --padding-right: clamp(24px, 4vw, 56px); --perpi-e-gap: 40px; align-items: center; overflow: hidden; color: #fff; }
.elementor .perpi-e-flagship--orange { --block-ink: var(--orange-700); }
.perpi-e-flagship--orange .perpi-e-kicker--yellow .elementor-heading-title { color: #fff; }
.elementor .perpi-e-flagship__copy { --row-gap: 16px; --align-items: flex-start; }
.perpi-e-flagship__title .elementor-heading-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: #fff; text-wrap: balance; }
.elementor .perpi-e-flagship .perpi-e-btn--white .elementor-button, .elementor .perpi-e-flagship .perpi-e-btn--white .elementor-button:hover { color: var(--block-ink); }
.elementor .perpi-e-tiles:not(.e-con-boxed) { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.elementor .perpi-e-tile { --row-gap: 18px; --padding-top: 16px; --padding-bottom: 16px; --padding-left: 16px; --padding-right: 16px; border-radius: 14px; background: #fff; }
.perpi-e-tile__num .elementor-heading-title { font: 600 12px/1 var(--font-body); color: var(--block-ink); }
.perpi-e-tile__label .elementor-heading-title { font: 600 12px/1.3 var(--font-body); letter-spacing: .08em; color: #141413; }

/* Final CTA */
.elementor .perpi-e-cta { position: relative; overflow: hidden; --padding-top: clamp(36px, 5vw, 64px); --padding-bottom: clamp(36px, 5vw, 64px); --padding-left: clamp(24px, 5vw, 64px); --padding-right: clamp(24px, 5vw, 64px); --perpi-e-gap: 24px 48px; align-items: end; color: #fff; }
.elementor .perpi-e-cta::before { content: ""; position: absolute; right: -40px; bottom: -90px; width: 220px; height: 220px; border-radius: 40px; background: var(--perpi-amber); opacity: .55; transform: rotate(22deg); pointer-events: none; }
.elementor .perpi-e-cta::after { content: ""; position: absolute; right: 8%; top: -40px; width: 340px; height: 330px; background: url("assets/img/perpi-mark-white.png") center / contain no-repeat; opacity: .12; pointer-events: none; }
.elementor .perpi-e-cta > * { position: relative; z-index: 1; }
.perpi-e-cta__title .elementor-heading-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; color: #fff; text-wrap: balance; }
.elementor .perpi-e-cta__body { --row-gap: 20px; }

/* Statement + panels */
.elementor .perpi-e-statement { --perpi-e-gap: 20px 48px; }
.perpi-e-statement__text .elementor-heading-title { font: 500 clamp(20px, 2vw, 26px)/1.45 var(--font-body); color: var(--ink); text-wrap: pretty; }
.elementor .perpi-e-statement__cols { margin-top: 24px; --perpi-e-gap: 32px; }
.elementor .perpi-e-statement__cols > .e-con { --row-gap: 10px; }
.elementor .perpi-e-panel { --padding-top: clamp(28px, 4vw, 44px); --padding-bottom: clamp(28px, 4vw, 44px); --padding-left: clamp(28px, 4vw, 44px); --padding-right: clamp(28px, 4vw, 44px); --row-gap: 18px; border-radius: 24px; }
.elementor .perpi-e-panel--sunken { background: var(--sunken); }
.elementor .perpi-e-panel--orange { color: #fff; }
.perpi-e-panel__label .elementor-heading-title { font: 600 12px/1.4 var(--font-body); letter-spacing: .18em; color: var(--perpi-orange); }
.perpi-e-panel--orange .perpi-e-panel__label .elementor-heading-title { color: #fff; }
.perpi-e-panel__lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 500; }
.perpi-e-panel__text { font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.perpi-e-panel--orange .perpi-e-panel__text { color: #fff; }

/* Info pages (About and What We Do sub-pages, footer pages) */
.elementor .perpi-e-stack { --row-gap: 24px; --align-items: flex-start; }
.elementor .perpi-e-card { --padding-top: 28px; --padding-bottom: 28px; --padding-left: 28px; --padding-right: 28px; --row-gap: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2); }
.perpi-e-card__title .elementor-heading-title { font-size: 20px; line-height: 1.25; text-transform: uppercase; color: var(--ink); }
.perpi-e-seal-large img { display: block; width: 120px; height: 120px; object-fit: contain; }

/* Dropdown menus in the header */
.elementor .perpi-e-nav .sub-menu { min-width: 240px; padding: 8px 0; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface) !important; box-shadow: 0 18px 40px -18px var(--card-shadow); }
.elementor .perpi-e-nav .sub-menu a.hfe-sub-menu-item { padding: 9px 18px !important; font: 500 14px/1.4 var(--font-body); color: var(--ink-2); background: none !important; white-space: nowrap; }
.elementor .perpi-e-nav .sub-menu a.hfe-sub-menu-item:hover, .elementor .perpi-e-nav .sub-menu .current-menu-item > a.hfe-sub-menu-item { color: var(--perpi-orange); background: var(--tint) !important; }
.elementor .perpi-e-nav .sub-menu li.menu-item { border: 0 !important; }
.elementor .perpi-e-nav .hfe-menu-toggle.sub-arrow { padding: 0 0 0 4px; color: inherit; }
.elementor .perpi-e-nav .hfe-menu-toggle.sub-arrow i { display: none; }
.elementor .perpi-e-nav .hfe-menu-toggle.sub-arrow::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-bottom: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
@media (max-width: 1024px) {
	.elementor .perpi-e-nav .sub-menu { min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
	.elementor .perpi-e-nav nav.hfe-dropdown .sub-menu a.hfe-sub-menu-item { padding-left: calc(var(--gutter) + 16px) !important; font-size: 14px; }
}

/* People */
.elementor .perpi-e-person { --row-gap: 4px; }
.perpi-e-person__photo img { display: block; width: 100%; height: 280px; margin-bottom: 12px; border-radius: 18px; object-fit: cover; background: var(--sunken); }
.perpi-e-person__name .elementor-heading-title { font: 600 17px/1.3 var(--font-body); text-transform: none; color: var(--ink); }
.perpi-e-person__role { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* What We Do: functions, feature, program rows */
.elementor .perpi-e-fn-list { --row-gap: 0px; border-top: 1px solid var(--line); }
.elementor .perpi-e-fn { --padding-top: 40px; --padding-bottom: 40px; --perpi-e-gap: 16px 40px; align-items: start; border-bottom: 1px solid var(--line); }
.elementor .perpi-e-fn > .e-con { --row-gap: 12px; }
.perpi-e-fn__num .elementor-heading-title { font: 700 64px/.9 var(--font-head); letter-spacing: -.03em; }
.perpi-e-fn__title .elementor-heading-title { font-size: 26px; text-transform: uppercase; color: var(--ink); }
.elementor .perpi-e-fn__programs { --padding-top: 20px; --padding-bottom: 20px; --padding-left: 24px; --padding-right: 24px; --row-gap: 10px; border-radius: 18px; background: var(--sunken); }
.perpi-e-plainlist .elementor-icon-list-item { margin: 0 !important; padding: 8px 0 !important; border-bottom: 1px solid var(--line-2); }
.perpi-e-plainlist .elementor-icon-list-item:last-child { border-bottom: 0; }
.perpi-e-plainlist .elementor-icon-list-text { font-size: 14px; color: var(--ink-2); }
.elementor .perpi-e-feature { --padding-top: clamp(20px, 3vw, 28px); --padding-bottom: clamp(20px, 3vw, 28px); --padding-left: clamp(20px, 3vw, 28px); --padding-right: clamp(20px, 3vw, 28px); --perpi-e-gap: 40px; align-items: center; border: 1px solid var(--line); border-radius: 28px; }
.perpi-e-feature__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.elementor .perpi-e-feature__body { --row-gap: 16px; --align-items: flex-start; }
.perpi-e-feature__title .elementor-heading-title { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; color: var(--ink); }
.elementor .perpi-e-meta-strip:not(.e-con-boxed) { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; align-self: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.elementor .perpi-e-meta-strip > .e-con { --padding-top: 14px; --padding-bottom: 14px; --padding-left: 16px; --padding-right: 16px; --row-gap: 6px; background: var(--surface-2); }
.perpi-e-meta-strip__value .elementor-heading-title { font: 600 14px/1.4 var(--font-body); color: var(--ink); }
.elementor .perpi-e-rows { --row-gap: 0px; border-top: 1px solid var(--line); }
.elementor .perpi-e-row:not(.e-con-boxed) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 32px; --padding-top: 24px; --padding-bottom: 24px; align-items: start; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .elementor .perpi-e-row:not(.e-con-boxed) { grid-template-columns: 180px minmax(0, 1fr) auto; } }
.elementor .perpi-e-row > .e-con { --row-gap: 6px; }
.perpi-e-row__title .elementor-heading-title { font: 600 18px/1.35 var(--font-body); text-transform: none; color: var(--ink); }
.perpi-e-row__meta .elementor-heading-title { font: 500 13px/1.4 var(--font-body); color: var(--muted); }

/* ==========================================================================
   17. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
	[data-px], [data-hero-bg], [data-hero-fg] { transform: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   3.8 features
   ========================================================================== */

/* "What is PERPI?" video button (on the hero photo) + pop-up */
.perpi-video-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(20, 20, 19, .62); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.perpi-video-btn:hover { background: rgba(20, 20, 19, .8); color: #fff; }
.perpi-video-btn__icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--perpi-orange); color: #fff; transition: transform .2s var(--ease); }
.perpi-video-btn__icon .perpi-icon { margin-left: 2px; }
.perpi-video-btn:hover .perpi-video-btn__icon { transform: scale(1.08); }
.perpi-hero--split .perpi-hero__video { position: absolute; z-index: 3; left: 16px; top: 16px; }
@media (min-width: 760px) { .perpi-hero--split .perpi-hero__video { top: auto; left: 24px; bottom: 24px; } }
.perpi-video { width: min(960px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.perpi-video::backdrop { background: rgba(10, 10, 9, .82); }
.perpi-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.perpi-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.perpi-video__close { position: absolute; top: -48px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.perpi-video__close:hover { background: var(--tint); color: var(--orange-700); }

/* Gas and Kerosene Watch */
.perpi-fuel { display: grid; gap: 24px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: 24px; background: linear-gradient(135deg, var(--tint) 0%, var(--surface) 70%); }
@media (min-width: 900px) { .perpi-fuel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); column-gap: 40px; align-items: center; } .perpi-fuel__foot { grid-column: 1 / -1; } }
.perpi-fuel__title { margin-top: 12px; font-size: clamp(24px, 2.6vw, 32px); }
.perpi-fuel__lede { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.perpi-fuel__cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.perpi-fuel__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); color: var(--ink); }
.perpi-fuel__card:hover { border-color: var(--perpi-orange); box-shadow: var(--shadow-hover); color: var(--ink); transform: translateY(-2px); }
.perpi-fuel__card-title { margin-top: 4px; font: 700 18px/1.25 var(--font-head); }
.perpi-fuel__card-text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.perpi-fuel__card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--accent-strong); }
.perpi-fuel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.perpi-fuel__regions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.perpi-fuel__regions a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--surface-2); }
.perpi-fuel__regions a:hover { border-color: var(--perpi-orange); color: var(--accent-strong); }
.perpi-fuel__note { font-size: 12.5px; color: var(--subtle); }

/* Research pillar tiles with a picture: the photo sits under the tile's
   brand color, so every pillar keeps its color and stays readable. */
.perpi-tile { --tc: var(--perpi-orange); }
.perpi-tile--orange-700 { --tc: var(--orange-700); }
.perpi-tile--green { --tc: var(--perpi-green); }
.perpi-tile--green-700 { --tc: var(--green-700); }
.perpi-tile--maroon { --tc: var(--up-maroon); }
.perpi-tile--blue { --tc: var(--blue-700); }
.perpi-tile--amber { --tc: var(--perpi-amber); }
.perpi-tile--has-img { overflow: hidden; isolation: isolate; color: #fff; }
.perpi-tile--has-img .perpi-tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.perpi-tile--has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 58%, transparent) 0%, color-mix(in srgb, var(--tc) 80%, transparent) 45%, color-mix(in srgb, var(--tc) 96%, #000) 100%); }
.perpi-tile--amber.perpi-tile--has-img::before { background: linear-gradient(180deg, rgba(20, 20, 19, .35) 0%, rgba(20, 20, 19, .6) 45%, rgba(20, 20, 19, .9) 100%); }
.perpi-tile--has-img .perpi-tile__title, .perpi-tile--has-img .perpi-tile__text, .perpi-tile--has-img .perpi-tile__num { text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
a.perpi-tile--has-img:hover .perpi-tile__img { transform: scale(1.05); }

/* Divisions and staff */
.perpi-divisions { display: grid; gap: 16px; }
.perpi-division { display: grid; gap: 20px 40px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2); }
@media (min-width: 900px) { .perpi-division { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.perpi-division__num { font: 700 14px/1 var(--font-head); color: var(--perpi-orange); letter-spacing: .08em; }
.perpi-division__name { margin-top: 8px; font-size: clamp(20px, 2vw, 24px); }
.perpi-division__label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); }
.perpi-division__mandate { margin-top: 16px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.perpi-division__mandate p + p { margin-top: 10px; }
.perpi-division__staff { padding-top: 4px; }
@media (min-width: 900px) { .perpi-division__staff { padding-left: 32px; border-left: 1px solid var(--line); } }
.perpi-division__people { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.perpi-staff { display: flex; align-items: center; gap: 12px; min-width: 0; }
.perpi-staff__photo { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--tint); color: var(--orange-700); font: 700 15px/1 var(--font-head); }
.perpi-staff__photo img { width: 100%; height: 100%; object-fit: cover; }
.perpi-staff__text { display: flex; flex-direction: column; min-width: 0; }
.perpi-staff__name { font-size: 14.5px; font-weight: 600; }
.perpi-staff__role { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.perpi-division__empty { font-size: 14px; color: var(--subtle); }

/* Transparency Seal (footer) */
.perpi-tseal { display: inline-flex; margin-top: 8px; color: var(--ink); }
.perpi-tseal .perpi-tseal__img, .elementor .perpi-tseal .perpi-tseal__img { display: block; width: 72px; max-width: 72px; height: 72px; object-fit: contain; border-radius: 50%; transition: transform .2s var(--ease); }
.perpi-tseal:hover .perpi-tseal__img { transform: scale(1.05); }
.perpi-tseal__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); }
.perpi-tseal__badge .perpi-icon { color: var(--perpi-orange); }
.perpi-tseal__badge strong { display: block; font-size: 13px; letter-spacing: .02em; }
.perpi-tseal__badge small { display: block; font-size: 11.5px; color: var(--muted); }
.perpi-tseal:hover .perpi-tseal__badge { border-color: var(--perpi-orange); }
.perpi-footer__brand .perpi-btn { align-self: flex-start; margin-top: 6px; }
.elementor .perpi-e-footer__contact, .elementor .perpi-e-footer__seal { --width: auto; width: auto; align-self: flex-start; }

/* Linkages: Partner with us */
.elementor .perpi-e-partner { --padding-top: clamp(28px, 4vw, 44px); --padding-bottom: clamp(28px, 4vw, 44px); --padding-left: clamp(24px, 4vw, 48px); --padding-right: clamp(24px, 4vw, 48px); --row-gap: 20px; --column-gap: 32px; border: 1px solid var(--tint-2); border-left: 6px solid var(--perpi-orange); border-radius: 24px; background: var(--tint); }
@media (min-width: 900px) {
	.elementor .perpi-e-partner { --flex-direction: row; --align-items: center; --justify-content: space-between; }
	.elementor .perpi-e-partner__copy { max-width: 720px; }
}
.elementor .perpi-e-partner__copy { --row-gap: 10px; --width: auto; }
.perpi-e-partner__title .elementor-heading-title { font: 700 clamp(24px, 2.6vw, 32px)/1.2 var(--font-head); color: var(--ink); }
.elementor .perpi-e-partner__actions { --width: auto; flex: 0 0 auto; }

/* Wrapper the content updater puts around a PERPI widget on native pages */
.elementor .perpi-e-widget-wrap { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; }

/* Legal compliance (3.8): seals, Transparency Seal page, FOI notice */
.perpi-seals { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.perpi-seals .perpi-tseal { margin-top: 0; }
.perpi-birseal { display: inline-flex; }
.perpi-birseal .perpi-birseal__img, .elementor .perpi-birseal .perpi-birseal__img { display: block; width: auto; max-width: 160px; height: 72px; object-fit: contain; }
.perpi-e-bir .perpi-birseal .perpi-birseal__img { height: 120px; max-width: 240px; }
.elementor .perpi-e-partner--plain { border-left-width: 1px; background: var(--surface-2); border-color: var(--line); }
.perpi-e-tbp em { font-style: normal; font-weight: 600; color: var(--subtle); }
.perpi-e-prose { max-width: 820px; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.perpi-e-prose h3 { margin: 36px 0 12px; font: 700 21px/1.3 var(--font-head); color: var(--ink); }
.perpi-e-prose p, .perpi-e-prose ul { margin: 0 0 14px; }
.perpi-e-prose ul { padding-left: 22px; }
.perpi-e-prose li { margin-bottom: 8px; }
.perpi-e-prose li::marker { color: var(--perpi-orange); }
.perpi-e-prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.perpi-e-prose .perpi-e-fineprint { margin-top: 28px; font-size: 13px; color: var(--subtle); }

/* ==========================================================================
   Home refresh (3.8, round 2)
   ========================================================================== */

/* 1. Hero: dark band with slowly drifting brand-colored light and a faint grid */
.perpi-hero.perpi-hero--split { position: relative; overflow: hidden; isolation: isolate; background: #0F1013; padding-bottom: clamp(96px, 9vw, 128px); }
.perpi-hero--split::before { content: ""; position: absolute; inset: -25%; z-index: -2; pointer-events: none;
	background:
		radial-gradient(38% 32% at 18% 28%, rgba(244, 112, 21, .42), transparent 70%),
		radial-gradient(30% 28% at 82% 18%, rgba(246, 163, 31, .26), transparent 70%),
		radial-gradient(36% 34% at 72% 82%, rgba(53, 117, 42, .34), transparent 72%),
		radial-gradient(28% 26% at 30% 88%, rgba(123, 17, 19, .30), transparent 70%);
	filter: blur(24px); animation: perpi-hero-drift 22s ease-in-out infinite alternate; will-change: transform; }
.perpi-hero--split::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	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: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
	animation: perpi-hero-grid 30s linear infinite; }
@keyframes perpi-hero-drift {
	0% { transform: translate3d(-4%, -3%, 0) scale(1) rotate(0deg); }
	50% { transform: translate3d(4%, 2%, 0) scale(1.1) rotate(4deg); }
	100% { transform: translate3d(-2%, 4%, 0) scale(1.04) rotate(-3deg); }
}
@keyframes perpi-hero-grid { from { background-position: 0 0, 0 0; } to { background-position: 56px 56px, 56px 56px; } }
.perpi-hero--split .perpi-hero__grid { position: relative; z-index: 1; }
.perpi-hero--split .perpi-hero__stage { border-color: rgba(255, 255, 255, .08); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04); }
@media (prefers-reduced-motion: reduce) { .perpi-hero--split::before, .perpi-hero--split::after { animation: none; } }

/* Research / Policy / Knowledge cards rise out of the dark hero */
.elementor-section:has(.perpi-hero--split) + .elementor-section .perpi-pillars,
.perpi-hero--split + .perpi-pillars--overlap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(72px, 7vw, 96px)); padding-top: 0; }

/* 2. Photo cards */
.perpi-pillar--photo { position: relative; gap: 10px; padding: 0 0 24px; overflow: hidden; border: 1px solid var(--line-2); }
.perpi-pillar--photo .perpi-pillar__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sunken); }
.perpi-pillar--photo .perpi-pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 16, 19, .35) 100%); }
.perpi-pillar__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.perpi-pillar--photo:hover .perpi-pillar__img { transform: scale(1.06); }
.perpi-pillar--photo .perpi-icon-square { position: relative; z-index: 1; margin: -28px 0 4px 24px; width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 0 5px var(--surface-2), 0 12px 24px -10px rgba(0, 0, 0, .35); }
.perpi-pillar--photo .perpi-pillar__title, .perpi-pillar--photo .perpi-pillar__text, .perpi-pillar--photo .perpi-pillar__link { padding-inline: 24px; }
.perpi-pillar--photo .perpi-pillar__title { font-size: 20px; font-weight: 700; }
.perpi-pillar--photo:hover { transform: translateY(-4px); }

/* 4. Seven pillars: deeper color, white type, watermark icon, explore link */
.perpi-tile { overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(155deg, color-mix(in srgb, var(--tc) 100%, #fff 6%) 0%, var(--tc) 45%, color-mix(in srgb, var(--tc) 70%, #000) 100%); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--tc) 80%, #000); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.perpi-tile--amber { --tc: #C9820A; color: #fff; }
.perpi-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.perpi-tile__mark { position: absolute; right: -28px; bottom: -28px; z-index: -1; color: #fff; opacity: .09; transform: rotate(-12deg); transition: transform .5s var(--ease), opacity .3s var(--ease); pointer-events: none; }
.perpi-tile__mark .perpi-icon { width: 150px; height: 150px; }

.perpi-tile__num { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .18); }
.perpi-tile__chip { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.perpi-tile__title { color: #fff; }
.perpi-tile__text { color: rgba(255, 255, 255, .86); }
.perpi-tile__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #fff; opacity: .9; }
.perpi-tile__go .perpi-icon { transition: transform .2s var(--ease); }
a.perpi-tile:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px color-mix(in srgb, var(--tc) 85%, #000); color: #fff; }
a.perpi-tile:hover .perpi-tile__mark { transform: rotate(-4deg) scale(1.08); opacity: .14; }
a.perpi-tile:hover .perpi-tile__go .perpi-icon { transform: translateX(4px); }
.perpi-tile--cta { --tc: #17181C; background: linear-gradient(155deg, #23252B 0%, #111215 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px -24px #000; }
.perpi-tile--cta .perpi-tile__chip { background: var(--perpi-orange); box-shadow: none; }
.perpi-tile--cta .perpi-tile__go { color: var(--perpi-amber); opacity: 1; }
.perpi-tile--has-img .perpi-tile__mark { display: none; }

/* 3. Home: content 2/3 + tools 1/3 */
.elementor-section.perpi-home-split { padding-top: var(--space-md); }
.elementor-section.perpi-home-split > .elementor-container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); gap: 32px; }
.perpi-home-split .elementor-column > .elementor-widget-wrap { padding: 0; }
.perpi-home-main .perpi-container { max-width: none; padding-inline: 0; }
.perpi-home-main .perpi-section:first-child, .perpi-home-main .elementor-widget:first-child .perpi-section { padding-top: 0; }
.perpi-home-main .elementor-widget + .elementor-widget { margin-top: var(--space-sm); }
@media (max-width: 1024px) { .elementor-section.perpi-home-split > .elementor-container { flex-wrap: wrap; } .perpi-home-split .elementor-column { width: 100% !important; } }

.perpi-aside { display: grid; gap: 20px; }
.perpi-aside__card { display: block; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-2); color: var(--ink); }
.perpi-aside__title { font: 700 18px/1.25 var(--font-head); color: var(--ink); }
.perpi-aside__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.perpi-aside__note { margin-top: 12px; font-size: 11.5px; color: var(--subtle); }
.perpi-aside__head { display: flex; align-items: center; gap: 12px; }
.perpi-aside__badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--tint); color: var(--orange-700); }
.perpi-quicklinks { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.perpi-quicklink { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--perpi-orange); color: #fff; font-size: 14px; font-weight: 600; transition: background-color .15s var(--ease), transform .15s var(--ease); }
.perpi-quicklinks li:nth-child(even) .perpi-quicklink { background: var(--orange-700); }
.perpi-quicklink:hover { background: var(--orange-600); color: #fff; transform: translateX(3px); }
.perpi-quicklinks li:nth-child(even) .perpi-quicklink:hover { background: #9C4207; }
.perpi-quicklink__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; background: rgba(255, 255, 255, .18); }
.perpi-quicklink__label { flex: 1; }
.perpi-quicklink__go { opacity: .85; }
.perpi-fuelmini { display: grid; gap: 8px; margin-top: 16px; }
.perpi-fuelmini__item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.perpi-fuelmini__item:hover { border-color: var(--perpi-orange); color: var(--ink); background: var(--tint); }
.perpi-fuelmini__icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; background: var(--perpi-orange); color: #fff; }
.perpi-fuelmini__icon--green { background: var(--perpi-green); }
.perpi-fuelmini__name { flex: 1; font-size: 14.5px; font-weight: 600; }
.perpi-fuelmini__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--accent-strong); }
.perpi-fuelmini__regions { margin-top: 12px; font-size: 13px; }
.perpi-fuelmini__regions summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.perpi-fuelmini__regions ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.perpi-fuelmini__regions a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; color: var(--ink-2); }
.perpi-fuelmini__regions a:hover { border-color: var(--perpi-orange); color: var(--accent-strong); }
.perpi-aside__video { padding: 0; overflow: hidden; }
.perpi-aside__video:hover { border-color: var(--perpi-orange); color: var(--ink); }
.perpi-aside__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.perpi-aside__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.perpi-aside__video:hover .perpi-aside__thumb img { transform: scale(1.05); }
.perpi-aside__play { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--perpi-orange); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(244, 112, 21, .25); transition: transform .2s var(--ease); }
.perpi-aside__play .perpi-icon { margin-left: 3px; }
.perpi-aside__video:hover .perpi-aside__play { transform: translate(-50%, -50%) scale(1.08); }
.perpi-aside__video-body { display: block; padding: 16px 20px 20px; }
@media (min-width: 1025px) and (min-height: 900px) { .perpi-home-aside .elementor-widget-perpi_home_sidebar { position: sticky; top: calc(var(--admin-h) + 112px); } }
@media (max-width: 599px) { .perpi-tiles, .perpi-tiles[class*="perpi-tiles--cols-"] { grid-template-columns: minmax(0, 1fr); } .perpi-tile, .perpi-tiles--cols-4 .perpi-tile { min-height: 0; gap: 18px; } .perpi-tile__title { overflow-wrap: anywhere; } }

/* Oil Price Watch (PERPI social-media format) */
.perpi-opw { --opw-diesel: #ECECEB; --opw-gasoline: #FCE1CB; --opw-kerosene: #F6A623; color: var(--ink); }
.perpi-opw__head { display: flex; flex-direction: column; gap: 4px; }
.perpi-opw__title { font: 800 26px/1 var(--font-head); letter-spacing: -.01em; text-transform: uppercase; color: var(--perpi-orange); }
.perpi-opw__headline { font: 700 14.5px/1.35 var(--font-body); color: var(--ink); }
.perpi-opw__band { position: relative; margin: 16px 28px 0 0; padding: 9px 14px; border-radius: 10px 0 0 0; background: var(--perpi-orange); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.perpi-opw__band::after { content: ""; position: absolute; top: 0; right: -28px; width: 28px; height: 100%; background: var(--perpi-orange); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.perpi-opw__rows { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.perpi-opw__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 6px; }
.perpi-opw__fuel, .perpi-opw__value { display: flex; align-items: center; min-height: 52px; padding: 8px 14px; background: var(--opw-bg); }
.perpi-opw__fuel { font: 800 16px/1.1 var(--font-head); letter-spacing: .02em; text-transform: uppercase; }
.perpi-opw__value { justify-content: space-between; gap: 8px; border-radius: 12px; }
.perpi-opw__row--diesel { --opw-bg: var(--opw-diesel); }
.perpi-opw__row--gasoline { --opw-bg: var(--opw-gasoline); }
.perpi-opw__row--kerosene { --opw-bg: var(--opw-kerosene); }
.perpi-opw__amount { font: 800 19px/1 var(--font-head); letter-spacing: -.01em; white-space: nowrap; }
.perpi-opw__amount--none { font: 600 12.5px/1.3 var(--font-body); color: var(--ink-2); white-space: normal; }
.perpi-opw__arrow { width: 0; height: 0; flex-shrink: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; }
.perpi-opw__value--down .perpi-opw__arrow { border-top: 16px solid #6CC72B; }
.perpi-opw__value--up .perpi-opw__arrow { border-bottom: 16px solid #D92B2B; }
.perpi-opw__foot { margin-top: 12px; display: grid; gap: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.perpi-opw__foot strong { color: var(--ink); }
.perpi-opw__source a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.perpi-opw__updated { display: inline-flex; align-items: center; gap: 6px; color: var(--subtle); }
.perpi-opw__updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6CC72B; box-shadow: 0 0 0 3px rgba(108, 199, 43, .2); }
.perpi-opw__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.perpi-opw__links a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-strong); }
.perpi-opw__empty { margin-top: 12px; font-size: 14px; color: var(--muted); }
/* Full-width version */
.perpi-opw--full { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: var(--surface-2); }
.perpi-opw--full .perpi-opw__title { font-size: clamp(32px, 4vw, 52px); }
.perpi-opw--full .perpi-opw__headline { font-size: clamp(16px, 1.6vw, 20px); }
.perpi-opw--full .perpi-opw__band { max-width: 640px; font-size: 15px; padding: 12px 18px; }
.perpi-opw--full .perpi-opw__fuel, .perpi-opw--full .perpi-opw__value { min-height: 72px; padding: 12px 22px; }
.perpi-opw--full .perpi-opw__fuel { font-size: clamp(20px, 2.4vw, 30px); }
.perpi-opw--full .perpi-opw__amount { font-size: clamp(24px, 3vw, 36px); }
.perpi-opw--full .perpi-opw__arrow { border-left-width: 16px; border-right-width: 16px; }
.perpi-opw--full .perpi-opw__value--down .perpi-opw__arrow { border-top-width: 24px; }
.perpi-opw--full .perpi-opw__value--up .perpi-opw__arrow { border-bottom-width: 24px; }
.perpi-opw--full .perpi-opw__foot { font-size: 13px; }
.perpi-opw__history { margin-top: 20px; }
.perpi-opw__hist-title { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); }
.perpi-opw__history table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.perpi-opw__history th, .perpi-opw__history td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.perpi-opw__history th { font-weight: 600; color: var(--muted); }
.perpi-opw__history td.is-down { color: #2F8A12; font-weight: 600; }
.perpi-opw__history td.is-up { color: #C42222; font-weight: 600; }
.perpi-aside__card--opw { padding: 20px; }

/* Hero background video (YouTube, muted loop) */
.perpi-hero__bgvideo { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; background: #0F1013 center / cover no-repeat; pointer-events: none; }
.perpi-hero__bgvideo iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%) scale(1.3); /* crops YouTube's title bar and controls out of view */ }
.perpi-hero__bgshade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(15, 16, 19, var(--shade, .55)) 0%, rgba(15, 16, 19, calc(var(--shade, .55) + .2)) 100%); }
.perpi-hero--video::before, .perpi-hero--video::after { display: none; }
@media (prefers-reduced-motion: reduce) { .perpi-hero__bgvideo iframe { display: none; } }

/* Research covers: the seven pillar colors, also over photos */
.perpi-cover { --cc: var(--perpi-orange); }
.perpi-cover--orange-700 { --cc: var(--orange-700); }
.perpi-cover--green { --cc: var(--perpi-green); }
.perpi-cover--green-700 { --cc: var(--green-700); }
.perpi-cover--maroon { --cc: var(--up-maroon); }
.perpi-cover--blue { --cc: var(--blue-700); }
.perpi-cover--amber { --cc: #C9820A; background: #C9820A; }
.perpi-cover--image::after { background: linear-gradient(180deg, color-mix(in srgb, var(--cc) 30%, transparent) 0%, color-mix(in srgb, var(--cc) 80%, transparent) 55%, color-mix(in srgb, var(--cc) 94%, #000) 100%); }
.perpi-cover--mini.perpi-cover--image::after, .perpi-cover--xs.perpi-cover--image::after { background: color-mix(in srgb, var(--cc) 45%, transparent); }
