/* Professional Book Editing — Editorial Luxury Styles */
.pe-page {
    --pe-navy: #101c3d;
    --pe-navy-deep: #070e22;
    --pe-navy-soft: #1b2d5c;
    --pe-green: #62e389;
    --pe-green-deep: #2db86a;
    --pe-ink: #15233f;
    --pe-muted: #5d6b84;
    --pe-paper: #f3f5f9;
    --pe-ivory: #fbfcfe;
    --pe-line: rgba(16, 28, 61, 0.1);
    --pe-gold: #c9a227;
    --pe-gold-soft: rgba(201, 162, 39, 0.35);
    /* clip avoids the nested scroll container that overflow-x: hidden creates */
    overflow-x: hidden;
    overflow-x: clip;
    background: var(--pe-ivory);
}

.pe-page .heading h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    color: var(--pe-navy);
    letter-spacing: -0.03em;
    line-height: 1.28;
    text-transform: none;
    font-size: clamp(28px, 3.2vw, 40px);
}

.pe-page .heading.text-center h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, var(--pe-gold), var(--pe-green), transparent);
    transform: scaleX(0.35);
    opacity: 0.5;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.pe-page .pe-reveal.is-visible .heading.text-center h2::after,
.pe-page .heading.text-center.pe-reveal.is-visible h2::after {
    transform: scaleX(1);
    opacity: 1;
}

.pe-page .heading p,
.pe-page p {
    color: var(--pe-muted);
    line-height: 1.85;
    font-size: 16px;
}

.pe-page .heading.text-center p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pe-page .pe-lead {
    color: var(--pe-ink);
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 18px;
    margin: 8px 0 32px;
    letter-spacing: -0.01em;
}

.pe-page .pe-footer-note {
    max-width: 780px;
    margin: 36px auto 0;
    font-size: 16px;
    font-style: italic;
    color: var(--pe-muted);
}

.pe-page .pe-accent-line {
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, var(--pe-green), var(--pe-gold));
    margin-bottom: 22px;
}

.pe-page .pe-accent-line--gold {
    background: linear-gradient(90deg, var(--pe-gold), #f0d78c);
}

/* ===== Banner ===== */
.pe-page .pe-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
    padding-top: 92px !important;
    padding-bottom: 92px !important;
    background-position: center !important;
}

.pe-page .pe-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(108deg, rgba(4, 24, 19, .97) 0%, rgba(8, 39, 31, .93) 43%, rgba(12, 42, 34, .68) 72%, rgba(9, 31, 27, .48) 100%);
    z-index: 0;
}

.pe-page .pe-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 7% 82%, rgba(98, 227, 137, .19), transparent 38%),
        radial-gradient(ellipse at 88% 12%, rgba(218, 184, 79, .18), transparent 34%),
        linear-gradient(90deg, rgba(4, 20, 16, .13), transparent 58%);
    z-index: 0;
    pointer-events: none;
    animation: peGlowPulse 8s ease-in-out infinite;
}

.pe-page .pe-banner-orbs,
.pe-page .pe-banner-lines,
.pe-page .pe-banner .container {
    position: relative;
    z-index: 1;
}

.pe-page .pe-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: .58;
    pointer-events: none;
    z-index: 1;
}

.pe-page .pe-orb-1 {
    width: 320px;
    height: 320px;
    top: -140px;
    right: 10%;
    border: 1px solid rgba(218, 184, 79, .17);
    background: transparent;
    box-shadow:
        0 0 0 38px rgba(98, 227, 137, .025),
        0 0 0 78px rgba(255, 255, 255, .012);
    animation: peFloatOrb 9s ease-in-out infinite;
}

.pe-page .pe-orb-2 {
    width: 210px;
    height: 210px;
    bottom: -100px;
    left: 4%;
    border: 1px solid rgba(98, 227, 137, .16);
    background: transparent;
    box-shadow: 0 0 0 30px rgba(218, 184, 79, .025);
    animation: peFloatOrb 11s ease-in-out infinite reverse;
}

.pe-page .pe-orb-3 {
    width: 120px;
    height: 120px;
    top: 34%;
    left: 47%;
    background: radial-gradient(circle, rgba(218, 184, 79, .16), transparent 70%);
    animation: peFloatOrb 7s ease-in-out infinite 1s;
}

.pe-page .pe-banner-lines {
    position: absolute;
    inset: 0;
    opacity: .48;
    background-image: radial-gradient(rgba(255, 255, 255, .15) .8px, transparent .8px);
    background-size: 27px 27px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 68%);
    z-index: 1;
    pointer-events: none;
    animation: peGridDrift 30s linear infinite;
}

.pe-page .pe-banner-copy {
    position: relative;
    max-width: 760px;
    padding: 34px 38px 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(98, 227, 137, .08), transparent 32%),
        rgba(255, 255, 255, .065);
    box-shadow:
        0 32px 75px rgba(0, 12, 8, .32),
        inset 0 1px rgba(255, 255, 255, .11);
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.pe-page .pe-banner-copy::before {
    content: "";
    position: absolute;
    top: 0;
    right: 38px;
    bottom: auto;
    left: 38px;
    width: auto;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--pe-green), var(--pe-gold), var(--pe-green));
    box-shadow: 0 7px 18px rgba(98, 227, 137, .16);
}

.pe-page .pe-banner h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(31px, 3.8vw, 46px);
    text-transform: none;
    text-shadow: 0 10px 34px rgba(0, 0, 0, .24);
}

.pe-page .pe-banner h1::before {
    content: "Premium Book Services";
    display: flex;
    width: fit-content;
    align-items: center;
    margin: 0 0 17px;
    padding: 8px 14px;
    border: 1px solid rgba(98, 227, 137, .2);
    border-radius: 999px;
    background: rgba(98, 227, 137, .1);
    color: #91eaaa;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    text-shadow: none;
}

.pe-page .pe-banner p {
    color: rgba(235, 244, 239, .74);
    max-width: 640px;
    font-size: 14px;
    margin-bottom: 11px;
    line-height: 1.75;
}

.pe-page .pe-banner p + .btn-block {
    margin-top: 24px;
}

.pe-page .pe-banner .btn-block {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pe-page .pe-banner .btn {
    display: inline-flex;
    min-width: 152px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 22px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
}

.pe-page .pe-banner .btn:not(.pe-btn-pulse)::after {
    display: none !important;
}

.pe-page .pe-banner .btn-green {
    border: 1px solid rgba(139, 239, 170, .28);
    color: #082219;
    background: linear-gradient(135deg, #68de8c, #a2edb7);
    box-shadow: 0 14px 30px rgba(41, 190, 93, .25);
}

.pe-page .pe-banner .btn-green:hover {
    color: #2c2415;
    background: linear-gradient(135deg, #d1aa50, #ead38f);
    box-shadow: 0 16px 32px rgba(211, 170, 77, .25);
    transform: translateY(-2px);
}

.pe-page .pe-banner .btn-white-border {
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
}

.pe-page .pe-banner .btn-white-border:hover {
    border-color: rgba(218, 184, 79, .4);
    color: #2c2415;
    background: linear-gradient(135deg, #d1aa50, #ead38f);
    transform: translateY(-2px);
}

.pe-page .pe-anim-banner {
    opacity: 0;
    transform: translateY(28px);
    animation: peBannerIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pe-page .pe-delay-1 { animation-delay: 0.16s; }
.pe-page .pe-delay-2 { animation-delay: 0.32s; }

.pe-page .pe-btn-pulse {
    position: relative;
    overflow: visible;
    box-shadow: 0 14px 30px rgba(41, 190, 93, .25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pe-page .pe-btn-pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 1px solid rgba(98, 227, 137, 0.5);
    animation: peBtnRing 2.6s ease-out infinite;
    pointer-events: none;
}

.pe-page .pe-btn-pulse:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(211, 170, 77, .25);
}

/* ===== Scroll reveal ===== */
.pe-page .pe-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-page.pe-anim-ready .pe-reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(36px);
}

.pe-page.pe-anim-ready .pe-reveal-left:not(.is-visible) { transform: translateX(-40px); }
.pe-page.pe-anim-ready .pe-reveal-right:not(.is-visible) { transform: translateX(40px); }
.pe-page.pe-anim-ready .pe-reveal-up:not(.is-visible) { transform: translateY(40px) scale(0.98); }

.pe-page .pe-reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

.pe-page .pe-stagger:nth-child(1) { transition-delay: 0.04s; }
.pe-page .pe-stagger:nth-child(2) { transition-delay: 0.1s; }
.pe-page .pe-stagger:nth-child(3) { transition-delay: 0.16s; }
.pe-page .pe-stagger:nth-child(4) { transition-delay: 0.22s; }
.pe-page .pe-stagger:nth-child(5) { transition-delay: 0.28s; }
.pe-page .pe-stagger:nth-child(6) { transition-delay: 0.34s; }

/* ===== Shared luxury panels ===== */
.pe-page .pe-refine,
.pe-page .pe-matters,
.pe-page .pe-top-editors,
.pe-page .pe-hire,
.pe-page .pe-companies,
.pe-page .pe-ghostwriter,
.pe-page .pe-why-hire,
.pe-page .pe-trust,
.pe-page .pe-home-cta,
.pe-page .faqs {
    padding: 100px 0;
    position: relative;
}

.pe-page .pe-panel {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(7, 14, 34, 0.1),
        0 0 0 1px rgba(16, 28, 61, 0.06);
    position: relative;
}

.pe-page .pe-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(201, 162, 39, 0.22);
    pointer-events: none;
    z-index: 2;
}

.pe-page .pe-panel--ink {
    background:
        linear-gradient(135deg, #0a1228 0%, #15264f 55%, #1a3163 100%);
    color: #fff;
}

.pe-page .pe-panel--ink::before {
    border-color: rgba(201, 162, 39, 0.28);
}

.pe-page .pe-panel--ink .heading h2,
.pe-page .pe-panel--ink p {
    color: rgba(255, 255, 255, 0.92);
}

.pe-page .pe-panel--editorial {
    background:
        linear-gradient(90deg, #0d1733 0%, #0d1733 38%, #fff 38%, #fff 100%);
}

.pe-page .pe-panel-body {
    padding: 48px 42px;
    position: relative;
    z-index: 1;
}

.pe-page .pe-panel-body--light .heading h2 {
    color: #fff;
}

.pe-page .pe-media {
    position: relative;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
}

.pe-page .pe-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-page .pe-panel:hover .pe-media img {
    transform: scale(1.05);
}

.pe-page .pe-media--portrait {
    min-height: 480px;
}

.pe-page .pe-media--overlap {
    margin: 28px 28px 28px 0;
    min-height: 380px;
    border-radius: 2px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.pe-page .pe-media--book {
    min-height: 420px;
    background:
        radial-gradient(circle at center, rgba(98, 227, 137, 0.12), transparent 55%),
        #0d1733;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.pe-page .pe-media--book img {
    width: auto;
    max-width: 78%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.pe-page .pe-corner {
    position: absolute;
    width: 42px;
    height: 42px;
    z-index: 3;
    pointer-events: none;
}

.pe-page .pe-corner-tl {
    top: 16px;
    left: 16px;
    border-top: 2px solid var(--pe-gold);
    border-left: 2px solid var(--pe-gold);
}

.pe-page .pe-corner-br {
    right: 16px;
    bottom: 16px;
    border-right: 2px solid var(--pe-gold);
    border-bottom: 2px solid var(--pe-gold);
}

.pe-page .pe-corner--light {
    border-color: rgba(255, 255, 255, 0.55);
}

.pe-page .pe-section-ornament {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.1), transparent 70%);
    pointer-events: none;
}

.pe-page .pe-ornament-left {
    left: -100px;
    top: 20%;
}

/* ===== Refine ===== */
.pe-page .pe-refine {
    background:
        radial-gradient(circle at 12% 20%, rgba(98, 227, 137, 0.18), transparent 32%),
        radial-gradient(circle at 90% 80%, rgba(67, 157, 113, 0.12), transparent 36%),
        linear-gradient(180deg, #eefaf3 0%, #ffffff 55%, #f4fbf7 100%);
}

.pe-page .pe-matters {
    background:
        linear-gradient(135deg, #0b3d2e 0%, #0f4f3a 28%, #143d66 68%, #0d2450 100%);
    overflow: hidden;
}

.pe-page .pe-matters-bg {
    background-image:
        radial-gradient(rgba(98, 227, 137, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
    mask-image: none;
}

.pe-page .pe-manuscript {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(98, 227, 137, 0.25);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.pe-page .pe-manuscript-line {
    border-left-color: #62e389;
    background: linear-gradient(90deg, rgba(98, 227, 137, 0.12), transparent 70%);
}

.pe-page .pe-manuscript-line:nth-child(even),
.pe-page .pe-manuscript .col-md-6:nth-child(even) .pe-manuscript-line {
    border-left-color: #e0b51c;
    background: linear-gradient(90deg, rgba(224, 181, 28, 0.12), transparent 70%);
}

.pe-page .pe-manuscript .col-md-6:nth-child(3) .pe-line-mark,
.pe-page .pe-manuscript .col-md-6:nth-child(4) .pe-line-mark {
    color: #e0b51c;
    border-color: rgba(224, 181, 28, 0.5);
}

.pe-page .pe-top-editors {
    background:
        radial-gradient(circle at right top, rgba(96, 121, 189, 0.18), transparent 40%),
        linear-gradient(180deg, #edf1fb 0%, #ffffff 100%);
}

.pe-page .pe-panel--ink {
    background:
        linear-gradient(125deg, #0a1f4d 0%, #163a7a 42%, #1f6b55 100%);
}

.pe-page .pe-services {
    background:
        linear-gradient(145deg, #071428 0%, #12305f 35%, #0f5a48 72%, #0b3a2f 100%);
}

.pe-page .pe-tabs .nav-link:nth-child(1) i,
.pe-page .pe-tabs .nav-item:nth-child(1) .nav-link i { color: #62e389; }
.pe-page .pe-tabs .nav-item:nth-child(2) .nav-link i { color: #5ec8ff; }
.pe-page .pe-tabs .nav-item:nth-child(3) .nav-link i { color: #ffd166; }
.pe-page .pe-tabs .nav-item:nth-child(4) .nav-link i { color: #ff8fab; }

.pe-page .pe-tab-content {
    background: linear-gradient(135deg, rgba(98, 227, 137, 0.12), rgba(255, 255, 255, 0.06) 45%, rgba(94, 200, 255, 0.08));
    border-color: rgba(98, 227, 137, 0.22);
}

.pe-page .pe-hire {
    background:
        radial-gradient(circle at 0% 0%, rgba(98, 227, 137, 0.22), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(94, 200, 255, 0.18), transparent 38%),
        linear-gradient(180deg, #e8f8ef 0%, #eef6ff 100%);
}

.pe-page .pe-lux-card {
    background: linear-gradient(165deg, #ffffff 0%, #f0fbf5 100%);
    border-top: 4px solid #62e389;
}

.pe-page .pe-lux-card--navy {
    background: linear-gradient(165deg, #0f3d6e 0%, #145a8a 45%, #0f6b5c 100%);
    border-top: 4px solid #5ec8ff;
}

.pe-page .pe-companies {
    background:
        radial-gradient(circle at center top, rgba(224, 181, 28, 0.12), transparent 40%),
        linear-gradient(180deg, #fff8e8 0%, #ffffff 48%, #f0f7ff 100%);
}

.pe-page .pe-eval-item:nth-child(7n+1) .pe-eval-ring { color: #1f8f4a; border-color: rgba(98, 227, 137, 0.45); background: rgba(98, 227, 137, 0.12); }
.pe-page .pe-eval-item:nth-child(7n+2) .pe-eval-ring { color: #1f6fb5; border-color: rgba(94, 200, 255, 0.45); background: rgba(94, 200, 255, 0.12); }
.pe-page .pe-eval-item:nth-child(7n+3) .pe-eval-ring { color: #b88910; border-color: rgba(224, 181, 28, 0.45); background: rgba(224, 181, 28, 0.12); }
.pe-page .pe-eval-item:nth-child(7n+4) .pe-eval-ring { color: #c44b72; border-color: rgba(255, 143, 171, 0.45); background: rgba(255, 143, 171, 0.12); }
.pe-page .pe-eval-item:nth-child(7n+5) .pe-eval-ring { color: #2f7a5a; border-color: rgba(67, 157, 113, 0.45); background: rgba(67, 157, 113, 0.12); }
.pe-page .pe-eval-item:nth-child(7n+6) .pe-eval-ring { color: #5b4fcf; border-color: rgba(140, 130, 255, 0.45); background: rgba(140, 130, 255, 0.12); }
.pe-page .pe-eval-item:nth-child(7n+7) .pe-eval-ring { color: #0f6b8a; border-color: rgba(64, 186, 213, 0.45); background: rgba(64, 186, 213, 0.12); }

.pe-page .pe-ghostwriter {
    background:
        radial-gradient(circle at left center, rgba(22, 58, 120, 0.1), transparent 40%),
        linear-gradient(90deg, #eef3ff 0%, #ffffff 55%, #eefaf4 100%);
}

.pe-page .pe-panel--editorial {
    background: linear-gradient(90deg, #0d2a55 0%, #0d2a55 38%, #ffffff 38%, #ffffff 100%);
    box-shadow: 0 30px 70px rgba(13, 42, 85, 0.16);
}

.pe-page .pe-why-hire {
    background:
        radial-gradient(circle at 20% 0%, rgba(98, 227, 137, 0.2), transparent 35%),
        radial-gradient(circle at 85% 100%, rgba(224, 181, 28, 0.16), transparent 40%),
        linear-gradient(180deg, #f3fff8 0%, #fff9ec 100%);
}

.pe-page .pe-benefit-item:nth-child(5n+1) { border-top: 3px solid #62e389; }
.pe-page .pe-benefit-item:nth-child(5n+2) { border-top: 3px solid #5ec8ff; }
.pe-page .pe-benefit-item:nth-child(5n+3) { border-top: 3px solid #e0b51c; }
.pe-page .pe-benefit-item:nth-child(5n+4) { border-top: 3px solid #ff8fab; }
.pe-page .pe-benefit-item:nth-child(5n+5) { border-top: 3px solid #8c82ff; }

.pe-page .pe-benefit-item:nth-child(5n+1) .pe-num { background: linear-gradient(135deg, #62e389, #2db86a); -webkit-background-clip: text; background-clip: text; }
.pe-page .pe-benefit-item:nth-child(5n+2) .pe-num { background: linear-gradient(135deg, #5ec8ff, #1f6fb5); -webkit-background-clip: text; background-clip: text; }
.pe-page .pe-benefit-item:nth-child(5n+3) .pe-num { background: linear-gradient(135deg, #e0b51c, #b88910); -webkit-background-clip: text; background-clip: text; }
.pe-page .pe-benefit-item:nth-child(5n+4) .pe-num { background: linear-gradient(135deg, #ff8fab, #c44b72); -webkit-background-clip: text; background-clip: text; }
.pe-page .pe-benefit-item:nth-child(5n+5) .pe-num { background: linear-gradient(135deg, #8c82ff, #5b4fcf); -webkit-background-clip: text; background-clip: text; }

.pe-page .pe-trust {
    background:
        linear-gradient(135deg, #071a3a 0%, #0f3d6e 40%, #0f5a48 78%, #0b3d2e 100%);
}

.pe-page .pe-editorial-card--accent {
    background: linear-gradient(165deg, rgba(98, 227, 137, 0.2) 0%, rgba(94, 200, 255, 0.08) 100%);
    border-color: rgba(98, 227, 137, 0.35);
}

.pe-page .faqs {
    background:
        radial-gradient(circle at top right, rgba(98, 227, 137, 0.14), transparent 35%),
        radial-gradient(circle at bottom left, rgba(94, 200, 255, 0.12), transparent 35%),
        linear-gradient(180deg, #eef8f2 0%, #eef4fb 100%);
}

/* Homepage-style Get Started CTA */
.pe-page .pe-home-cta.cta {
    background: url("../images/cta-bg.webp") center center / cover no-repeat;
    width: 100%;
    padding: 90px 0 85px;
    position: relative;
    overflow: hidden;
}

.pe-page .pe-home-cta.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 20, 45, 0.55), rgba(15, 90, 72, 0.35));
    pointer-events: none;
}

.pe-page .pe-home-cta.cta .container {
    position: relative;
    z-index: 1;
}

.pe-page .pe-home-cta.cta h2 {
    color: #fff;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.pe-page .pe-home-cta.cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    max-width: 780px;
    margin: 0 auto 14px;
    line-height: 1.75;
}

.pe-page .pe-home-cta.cta p:last-of-type {
    margin-bottom: 28px;
}

.pe-page .pe-home-cta.cta .btn-block {
    margin-top: 10px;
}

/* ===== Matters / manuscript ===== */
.pe-page .pe-matters {
    background: linear-gradient(180deg, #0c152e 0%, #132247 100%);
    overflow: hidden;
}

.pe-page .pe-matters-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    pointer-events: none;
}

.pe-page .pe-matters .heading h2,
.pe-page .pe-matters .heading p,
.pe-page .pe-matters .pe-lead,
.pe-page .pe-matters .pe-footer-note {
    color: rgba(255, 255, 255, 0.92);
}

.pe-page .pe-matters .heading.text-center h2::after {
    background: linear-gradient(90deg, transparent, var(--pe-green), var(--pe-gold), transparent);
}

.pe-page .pe-manuscript {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 18px 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.pe-page .pe-manuscript-line {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    margin: 6px;
    border-left: 2px solid rgba(98, 227, 137, 0.35);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.pe-page .pe-manuscript-line:hover {
    background: linear-gradient(90deg, rgba(98, 227, 137, 0.1), transparent);
    border-color: var(--pe-green);
    transform: translateX(4px);
}

.pe-page .pe-line-mark {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(98, 227, 137, 0.45);
    color: var(--pe-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}

.pe-page .pe-manuscript-line p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15.5px;
}

/* ===== Top editors ===== */
.pe-page .pe-top-editors {
    background: var(--pe-paper);
}

/* ===== Services ===== */
.pe-page .pe-services {
    padding: 110px 0;
    background:
        linear-gradient(155deg, #060b1a 0%, #0d1834 40%, #152a58 100%);
    position: relative;
    overflow: hidden;
}

.pe-page .pe-services-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 78%);
    animation: peGridDrift 40s linear infinite;
    pointer-events: none;
}

.pe-page .pe-services::before,
.pe-page .pe-services::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pe-page .pe-services::before {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.18), transparent 70%);
    top: -180px;
    right: -120px;
    animation: peGlowPulse 7s ease-in-out infinite;
}

.pe-page .pe-services::after {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12), transparent 70%);
    bottom: -120px;
    left: -80px;
    animation: peGlowPulse 9s ease-in-out infinite reverse;
}

.pe-page .pe-services .heading h2,
.pe-page .pe-services .heading p,
.pe-page .pe-services h3,
.pe-page .pe-services .tab-pane p {
    color: #fff;
}

.pe-page .pe-services .heading p {
    opacity: 0.88;
}

.pe-page .pe-tabs {
    border: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 42px 0 0;
    position: relative;
    z-index: 1;
}

.pe-page .pe-tabs .nav-item { margin: 0; }

.pe-page .pe-tabs .nav-link {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    padding: 18px 20px;
    min-width: 185px;
    text-align: center;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-page .pe-tabs .nav-link i {
    display: block;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--pe-green);
    transition: transform 0.35s ease;
}

.pe-page .pe-tabs .nav-link:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.45);
    background: rgba(255, 255, 255, 0.08);
}

.pe-page .pe-tabs .nav-link.active {
    background: #fff;
    color: var(--pe-navy);
    border-color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform: translateY(-4px);
}

.pe-page .pe-tabs .nav-link.active i { color: #1f8f4a; }

.pe-page .pe-tab-content {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    padding: 42px 36px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.pe-page .pe-tab-content::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 162, 39, 0.18);
    pointer-events: none;
}

.pe-page .pe-tab-content h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.pe-page .pe-tab-img-wrap {
    display: inline-block;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    animation: peFloatY 5.5s ease-in-out infinite;
}

.pe-page .pe-tab-content img {
    max-width: 160px;
    margin: 0 auto;
}

.pe-page .pe-tab-content .tab-pane {
    animation: peTabFade 0.4s ease;
}

.pe-page .pe-services-btns {
    margin-top: 36px;
    position: relative;
    z-index: 1;
}

.pe-page .pe-services-btns .btn-white-border {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.pe-page .pe-services-btns .btn-white-border:hover {
    background: #fff;
    color: var(--pe-navy);
}

/* ===== Hire lux cards ===== */
.pe-page .pe-hire {
    background:
        radial-gradient(circle at 0% 50%, rgba(98, 227, 137, 0.08), transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(16, 28, 61, 0.06), transparent 40%),
        var(--pe-paper);
}

.pe-page .pe-hire-block {
    margin-bottom: 24px;
}

.pe-page .pe-hire-btns {
    margin-top: 18px;
}

.pe-page .pe-lux-card {
    height: 100%;
    background: #fff;
    padding: 44px 36px;
    border-radius: 2px;
    box-shadow: 0 24px 55px rgba(7, 14, 34, 0.08);
    border: 1px solid rgba(16, 28, 61, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.pe-page .pe-lux-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 162, 39, 0.18);
    pointer-events: none;
}

.pe-page .pe-lux-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 34px 70px rgba(7, 14, 34, 0.14);
}

.pe-page .pe-lux-card--navy {
    background: linear-gradient(160deg, #0d1733 0%, #162a55 100%);
}

.pe-page .pe-lux-card--navy h2,
.pe-page .pe-lux-card--navy p {
    color: rgba(255, 255, 255, 0.92);
}

.pe-page .pe-lux-card--navy::before {
    border-color: rgba(255, 255, 255, 0.14);
}

.pe-page .pe-lux-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.pe-page .pe-lux-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(98, 227, 137, 0.14);
    color: #1f8f4a;
    font-size: 20px;
    border: 1px solid rgba(98, 227, 137, 0.3);
}

.pe-page .pe-lux-card--navy .pe-lux-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--pe-green);
    border-color: rgba(255, 255, 255, 0.18);
}

.pe-page .pe-lux-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.55), transparent);
}

.pe-page .pe-lux-card h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--pe-navy);
    line-height: 1.35;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

/* ===== Companies / eval ===== */
.pe-page .pe-companies {
    background: #fff;
}

.pe-page .pe-eval-item {
    background: linear-gradient(180deg, #fff 0%, var(--pe-paper) 100%);
    border: 1px solid var(--pe-line);
    border-radius: 2px;
    padding: 36px 18px 30px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
    position: relative;
}

.pe-page .pe-eval-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pe-gold), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.pe-page .pe-eval-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px rgba(7, 14, 34, 0.1);
    border-color: rgba(201, 162, 39, 0.35);
}

.pe-page .pe-eval-item:hover::before { opacity: 1; }

.pe-page .pe-eval-ring {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(98, 227, 137, 0.35);
    background: radial-gradient(circle, rgba(98, 227, 137, 0.12), transparent 70%);
    color: #1f8f4a;
    font-size: 22px;
    transition: transform 0.4s ease;
}

.pe-page .pe-eval-item:hover .pe-eval-ring {
    transform: scale(1.08);
}

.pe-page .pe-eval-item p {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--pe-navy);
    margin: 0;
    font-family: 'Merriweather', Georgia, serif;
}

.pe-page .pe-eval-carousel .owl-nav {
    margin-top: 28px;
    text-align: center;
}

.pe-page .pe-eval-carousel .owl-nav button {
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    background: var(--pe-navy) !important;
    color: #fff !important;
    margin: 0 6px;
    font-size: 14px !important;
    transition: transform 0.3s ease, background 0.3s ease !important;
}

.pe-page .pe-eval-carousel .owl-nav button:hover {
    background: var(--pe-green-deep) !important;
    transform: scale(1.06);
}

/* ===== Ghostwriter ===== */
.pe-page .pe-ghostwriter {
    background: var(--pe-paper);
}

/* ===== Why hire / benefit track ===== */
.pe-page .pe-why-hire {
    background: linear-gradient(180deg, #fff 0%, #f7f8fc 100%);
    overflow: hidden;
}

.pe-page .pe-why-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.1), transparent 70%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

.pe-page .pe-benefit-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.pe-page .pe-benefit-track::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
    z-index: 0;
}

.pe-page .pe-benefit-item {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pe-line);
    border-radius: 2px;
    padding: 28px 14px 24px;
    box-shadow: 0 14px 30px rgba(7, 14, 34, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pe-page .pe-benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px rgba(7, 14, 34, 0.1);
}

.pe-page .pe-benefit-item .pe-num {
    display: inline-block;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pe-green), var(--pe-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
    line-height: 1;
}

.pe-page .pe-benefit-item p {
    margin: 0;
    color: var(--pe-ink);
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.45;
}

/* ===== Trust editorial ===== */
.pe-page .pe-trust {
    background: linear-gradient(145deg, #060b1a 0%, #0d1834 50%, #13264d 100%);
    overflow: hidden;
}

.pe-page .pe-trust-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.14), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: peGlowPulse 8s ease-in-out infinite;
    pointer-events: none;
}

.pe-page .pe-trust-col {
    margin-bottom: 24px;
}

.pe-page .pe-editorial-card {
    height: 100%;
    padding: 44px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    backdrop-filter: blur(12px);
    position: relative;
    transition: transform 0.45s ease, border-color 0.35s ease, box-shadow 0.45s ease;
}

.pe-page .pe-editorial-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 162, 39, 0.16);
    pointer-events: none;
}

.pe-page .pe-editorial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.28);
}

.pe-page .pe-editorial-card--accent {
    background: linear-gradient(165deg, rgba(98, 227, 137, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(98, 227, 137, 0.25);
}

.pe-page .pe-editorial-card h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.pe-page .pe-editorial-card p {
    color: rgba(255, 255, 255, 0.84);
}

/* ===== CTA ===== */
.pe-page .pe-get-started {
    background:
        radial-gradient(circle at center, rgba(98, 227, 137, 0.12), transparent 55%),
        var(--pe-paper);
}

.pe-page .pe-cta-lux {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    padding: 64px 50px;
    border-radius: 2px;
    box-shadow: 0 30px 70px rgba(7, 14, 34, 0.1);
    position: relative;
    text-align: center;
}

.pe-page .pe-cta-frame span {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(201, 162, 39, 0.55);
}

.pe-page .pe-cta-frame span:nth-child(1) { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.pe-page .pe-cta-frame span:nth-child(2) { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.pe-page .pe-cta-frame span:nth-child(3) { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.pe-page .pe-cta-frame span:nth-child(4) { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.pe-page .pe-cta-chat {
    background: var(--pe-navy) !important;
    color: #fff !important;
    border-color: var(--pe-navy) !important;
}

.pe-page .pe-cta-chat:hover {
    background: var(--pe-navy-deep) !important;
}

/* ===== FAQ polish inside pe-page ===== */
.pe-page .faqs {
    background: linear-gradient(180deg, #f0f2f7 0%, #e9ecf3 100%);
}

.pe-page .faqs .heading h2 {
    margin-bottom: 10px;
}

.pe-page #faq .card {
    box-shadow: 0 10px 28px rgba(7, 14, 34, 0.06);
    border-radius: 2px !important;
    overflow: hidden;
    border: 1px solid rgba(16, 28, 61, 0.06) !important;
}

.pe-page #faq .card .card-header .btn-header-link {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 15.5px;
    padding: 18px 44px 18px 22px;
}

/* ===== Keyframes ===== */
@keyframes peBannerIn {
    to { opacity: 1; transform: none; }
}

@keyframes peFloatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes peFloatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(16px, -20px) scale(1.06); }
}

@keyframes peGlowPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes peBtnRing {
    0% { transform: scale(1); opacity: 0.65; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes peGridDrift {
    from { background-position: 0 0; }
    to { background-position: 70px 70px; }
}

@keyframes peTabFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pe-page .pe-anim-banner,
    .pe-page .pe-reveal,
    .pe-page .pe-orb,
    .pe-page .pe-btn-pulse::after,
    .pe-page .pe-services-mesh,
    .pe-page .pe-banner-lines,
    .pe-page .pe-tab-img-wrap {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .pe-page.pe-anim-ready .pe-reveal:not(.is-visible) {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .pe-page .pe-benefit-track {
        grid-template-columns: repeat(3, 1fr);
    }

    .pe-page .pe-benefit-track::before {
        display: none;
    }

    .pe-page .pe-panel--editorial {
        background: #fff;
    }

    .pe-page .pe-media--book {
        background: #0d1733;
    }
}

@media (max-width: 991px) {
    .pe-page .pe-banner {
        min-height: auto;
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    .pe-page .pe-banner-copy {
        max-width: 100%;
    }

    .pe-page .pe-refine,
    .pe-page .pe-matters,
    .pe-page .pe-top-editors,
    .pe-page .pe-services,
    .pe-page .pe-hire,
    .pe-page .pe-companies,
    .pe-page .pe-ghostwriter,
    .pe-page .pe-why-hire,
    .pe-page .pe-trust,
    .pe-page .pe-home-cta,
    .pe-page .faqs {
        padding: 70px 0;
    }

    .pe-page .pe-media,
    .pe-page .pe-media--portrait,
    .pe-page .pe-media--book {
        min-height: 300px;
    }

    .pe-page .pe-media--overlap {
        margin: 20px;
    }

    .pe-page .pe-panel-body,
    .pe-page .pe-lux-card,
    .pe-page .pe-editorial-card,
    .pe-page .pe-cta-lux {
        padding: 32px 24px;
    }

    .pe-page .pe-benefit-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .pe-page .pe-tabs .nav-link {
        min-width: 140px;
        padding: 14px 12px;
    }

    .pe-page.pe-anim-ready .pe-reveal-left:not(.is-visible),
    .pe-page.pe-anim-ready .pe-reveal-right:not(.is-visible) {
        transform: translateY(32px);
    }
}

@media (max-width: 575px) {
    .pe-page .pe-banner-copy {
        padding: 28px 20px 30px;
        border-radius: 22px;
    }

    .pe-page .pe-banner-copy::before {
        right: 20px;
        left: 20px;
    }

    .pe-page .pe-banner h1 {
        font-size: 26px;
    }

    .pe-page .pe-banner h1::before {
        margin-bottom: 14px;
        padding: 7px 11px;
        font-size: 9px;
    }

    .pe-page .pe-banner p {
        font-size: 13px;
    }

    .pe-page .pe-banner .btn-block {
        gap: 9px;
    }

    .pe-page .pe-banner .btn {
        min-width: 0;
        min-height: 47px;
        padding: 11px 17px;
    }

    .pe-page .pe-tabs {
        flex-direction: column;
    }

    .pe-page .pe-tabs .nav-item,
    .pe-page .pe-tabs .nav-link {
        width: 100%;
    }

    .pe-page .pe-tab-content {
        padding: 24px 16px;
    }

    .pe-page .pe-benefit-track {
        grid-template-columns: 1fr;
    }

    .pe-page .pe-orb-1,
    .pe-page .pe-orb-3 {
        display: none;
    }

    .pe-page .pe-lux-card h2,
    .pe-page .pe-editorial-card h2 {
        font-size: 22px;
    }
}

/* ===== Final colorful premium overrides ===== */
.pe-page .pe-refine {
    background:
        radial-gradient(circle at 12% 20%, rgba(98, 227, 137, 0.22), transparent 34%),
        radial-gradient(circle at 90% 80%, rgba(67, 157, 113, 0.14), transparent 38%),
        linear-gradient(180deg, #e8faf1 0%, #ffffff 52%, #f3fbf7 100%) !important;
}

.pe-page .pe-matters {
    background: linear-gradient(135deg, #0b3d2e 0%, #0f4f3a 26%, #143d66 66%, #0d2450 100%) !important;
}

.pe-page .pe-matters-bg {
    background-image: radial-gradient(rgba(98, 227, 137, 0.2) 1px, transparent 1px) !important;
    background-size: 28px 28px !important;
    opacity: 0.4;
    mask-image: none !important;
}

.pe-page .pe-manuscript {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)) !important;
    border-color: rgba(98, 227, 137, 0.28) !important;
}

.pe-page .pe-manuscript .col-md-6:nth-child(odd) .pe-manuscript-line {
    border-left-color: #62e389;
    background: linear-gradient(90deg, rgba(98, 227, 137, 0.14), transparent 75%);
}

.pe-page .pe-manuscript .col-md-6:nth-child(even) .pe-manuscript-line {
    border-left-color: #e0b51c;
    background: linear-gradient(90deg, rgba(224, 181, 28, 0.14), transparent 75%);
}

.pe-page .pe-manuscript .col-md-6:nth-child(even) .pe-line-mark {
    color: #e0b51c;
    border-color: rgba(224, 181, 28, 0.5);
}

.pe-page .pe-top-editors {
    background:
        radial-gradient(circle at right top, rgba(96, 121, 189, 0.2), transparent 42%),
        linear-gradient(180deg, #e8eefc 0%, #ffffff 100%) !important;
}

.pe-page .pe-panel--ink {
    background: linear-gradient(125deg, #0a1f4d 0%, #163a7a 40%, #1f6b55 100%) !important;
}

.pe-page .pe-services {
    background: linear-gradient(145deg, #071428 0%, #12305f 34%, #0f5a48 72%, #0b3a2f 100%) !important;
}

.pe-page .pe-tabs .nav-item:nth-child(1) .nav-link i { color: #62e389 !important; }
.pe-page .pe-tabs .nav-item:nth-child(2) .nav-link i { color: #5ec8ff !important; }
.pe-page .pe-tabs .nav-item:nth-child(3) .nav-link i { color: #ffd166 !important; }
.pe-page .pe-tabs .nav-item:nth-child(4) .nav-link i { color: #ff8fab !important; }

.pe-page .pe-tab-content {
    background: linear-gradient(135deg, rgba(98, 227, 137, 0.14), rgba(255, 255, 255, 0.06) 45%, rgba(94, 200, 255, 0.1)) !important;
    border-color: rgba(98, 227, 137, 0.25) !important;
}

.pe-page .pe-hire {
    background:
        radial-gradient(circle at 0% 0%, rgba(98, 227, 137, 0.24), transparent 36%),
        radial-gradient(circle at 100% 100%, rgba(94, 200, 255, 0.2), transparent 40%),
        linear-gradient(180deg, #e5f8ed 0%, #eaf5ff 100%) !important;
}

.pe-page .pe-lux-card {
    background: linear-gradient(165deg, #ffffff 0%, #eefbf4 100%) !important;
    border-top: 4px solid #62e389 !important;
}

.pe-page .pe-lux-card--navy {
    background: linear-gradient(165deg, #0f3d6e 0%, #145a8a 42%, #0f6b5c 100%) !important;
    border-top: 4px solid #5ec8ff !important;
}

.pe-page .pe-lux-card--navy h2,
.pe-page .pe-lux-card--navy p {
    color: #ffffff !important;
}

/* pe-companies premium split board */
.pe-page .pe-companies {
    background:
        radial-gradient(circle at 80% 20%, rgba(98, 227, 137, 0.16), transparent 35%),
        linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%) !important;
    position: relative;
    overflow: hidden;
}

.pe-page .pe-companies-board {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(7, 14, 34, 0.14);
    border: 1px solid rgba(16, 28, 61, 0.08);
}

.pe-page .pe-companies-intro {
    height: 100%;
    padding: 50px 40px;
    background:
        linear-gradient(160deg, rgba(7, 20, 45, 0.88), rgba(15, 90, 72, 0.72)),
        url("../images/process-bg.webp") center center / cover no-repeat;
    color: #fff;
    position: relative;
}

.pe-page .pe-companies-intro .heading h2 {
    color: #fff !important;
    font-size: clamp(26px, 2.6vw, 34px);
    margin-bottom: 16px;
}

.pe-page .pe-companies-intro p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pe-page .pe-companies-intro .pe-lead {
    color: #62e389 !important;
    margin: 22px 0 14px;
    font-size: 17px;
}

.pe-page .pe-companies-note {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 28px !important;
}

.pe-page .pe-companies-btns {
    margin-top: 8px;
}

.pe-page .pe-companies-btns .btn-white-border {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.pe-page .pe-companies-btns .btn-white-border:hover {
    background: #fff;
    color: #0d1a3a;
}

.pe-page .pe-eval-list {
    background: #fff;
    padding: 28px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pe-page .pe-eval-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f7faf8 0%, #ffffff 100%);
    border: 1px solid rgba(16, 28, 61, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pe-page .pe-eval-row:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 28px rgba(7, 14, 34, 0.08);
    border-color: rgba(98, 227, 137, 0.35);
}

.pe-page .pe-eval-no {
    flex: 0 0 36px;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 15px;
}

.pe-page .pe-eval-list .pe-eval-ring {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0;
}

.pe-page .pe-eval-row p {
    margin: 0;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--pe-navy);
}

.pe-page .pe-eval-row:nth-child(1) .pe-eval-ring { color: #1f8f4a; background: rgba(98, 227, 137, 0.16); border: 1px solid rgba(98, 227, 137, 0.35); }
.pe-page .pe-eval-row:nth-child(2) .pe-eval-ring { color: #1f6fb5; background: rgba(94, 200, 255, 0.16); border: 1px solid rgba(94, 200, 255, 0.35); }
.pe-page .pe-eval-row:nth-child(3) .pe-eval-ring { color: #b88910; background: rgba(224, 181, 28, 0.16); border: 1px solid rgba(224, 181, 28, 0.35); }
.pe-page .pe-eval-row:nth-child(4) .pe-eval-ring { color: #c44b72; background: rgba(255, 143, 171, 0.16); border: 1px solid rgba(255, 143, 171, 0.35); }
.pe-page .pe-eval-row:nth-child(5) .pe-eval-ring { color: #2f7a5a; background: rgba(67, 157, 113, 0.16); border: 1px solid rgba(67, 157, 113, 0.35); }
.pe-page .pe-eval-row:nth-child(6) .pe-eval-ring { color: #5b4fcf; background: rgba(140, 130, 255, 0.16); border: 1px solid rgba(140, 130, 255, 0.35); }
.pe-page .pe-eval-row:nth-child(7) .pe-eval-ring { color: #0f6b8a; background: rgba(64, 186, 213, 0.16); border: 1px solid rgba(64, 186, 213, 0.35); }

.pe-page .pe-eval-row:nth-child(1) .pe-eval-no { color: #1f8f4a; }
.pe-page .pe-eval-row:nth-child(2) .pe-eval-no { color: #1f6fb5; }
.pe-page .pe-eval-row:nth-child(3) .pe-eval-no { color: #b88910; }
.pe-page .pe-eval-row:nth-child(4) .pe-eval-no { color: #c44b72; }
.pe-page .pe-eval-row:nth-child(5) .pe-eval-no { color: #2f7a5a; }
.pe-page .pe-eval-row:nth-child(6) .pe-eval-no { color: #5b4fcf; }
.pe-page .pe-eval-row:nth-child(7) .pe-eval-no { color: #0f6b8a; }

@media (max-width: 991px) {
    .pe-page .pe-companies-intro {
        padding: 36px 24px;
    }

    .pe-page .pe-eval-list {
        padding: 18px 14px 22px;
    }
}

.pe-page .owl-item:nth-child(7n+1) .pe-eval-ring { color: #1f8f4a; border-color: rgba(98, 227, 137, 0.5); background: rgba(98, 227, 137, 0.14); }
.pe-page .owl-item:nth-child(7n+2) .pe-eval-ring { color: #1f6fb5; border-color: rgba(94, 200, 255, 0.5); background: rgba(94, 200, 255, 0.14); }
.pe-page .owl-item:nth-child(7n+3) .pe-eval-ring { color: #b88910; border-color: rgba(224, 181, 28, 0.5); background: rgba(224, 181, 28, 0.14); }
.pe-page .owl-item:nth-child(7n+4) .pe-eval-ring { color: #c44b72; border-color: rgba(255, 143, 171, 0.5); background: rgba(255, 143, 171, 0.14); }
.pe-page .owl-item:nth-child(7n+5) .pe-eval-ring { color: #2f7a5a; border-color: rgba(67, 157, 113, 0.5); background: rgba(67, 157, 113, 0.14); }
.pe-page .owl-item:nth-child(7n+6) .pe-eval-ring { color: #5b4fcf; border-color: rgba(140, 130, 255, 0.5); background: rgba(140, 130, 255, 0.14); }
.pe-page .owl-item:nth-child(7n+7) .pe-eval-ring { color: #0f6b8a; border-color: rgba(64, 186, 213, 0.5); background: rgba(64, 186, 213, 0.14); }

.pe-page .pe-ghostwriter {
    background:
        radial-gradient(circle at left center, rgba(22, 58, 120, 0.12), transparent 42%),
        linear-gradient(90deg, #eaf0ff 0%, #ffffff 52%, #eafaf3 100%) !important;
}

.pe-page .pe-panel--editorial {
    background: linear-gradient(90deg, #0d2a55 0%, #0d2a55 38%, #ffffff 38%, #ffffff 100%) !important;
}

.pe-page .pe-why-hire {
    background:
        radial-gradient(circle at 20% 0%, rgba(98, 227, 137, 0.22), transparent 36%),
        radial-gradient(circle at 85% 100%, rgba(224, 181, 28, 0.18), transparent 40%),
        linear-gradient(180deg, #effff6 0%, #fff8e8 100%) !important;
}

.pe-page .pe-benefit-item:nth-child(5n+1) { border-top: 3px solid #62e389; }
.pe-page .pe-benefit-item:nth-child(5n+2) { border-top: 3px solid #5ec8ff; }
.pe-page .pe-benefit-item:nth-child(5n+3) { border-top: 3px solid #e0b51c; }
.pe-page .pe-benefit-item:nth-child(5n+4) { border-top: 3px solid #ff8fab; }
.pe-page .pe-benefit-item:nth-child(5n+5) { border-top: 3px solid #8c82ff; }

.pe-page .pe-benefit-item:nth-child(5n+1) .pe-num { background: linear-gradient(135deg, #62e389, #2db86a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pe-page .pe-benefit-item:nth-child(5n+2) .pe-num { background: linear-gradient(135deg, #5ec8ff, #1f6fb5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pe-page .pe-benefit-item:nth-child(5n+3) .pe-num { background: linear-gradient(135deg, #e0b51c, #b88910); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pe-page .pe-benefit-item:nth-child(5n+4) .pe-num { background: linear-gradient(135deg, #ff8fab, #c44b72); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pe-page .pe-benefit-item:nth-child(5n+5) .pe-num { background: linear-gradient(135deg, #8c82ff, #5b4fcf); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pe-page .pe-trust {
    background: linear-gradient(135deg, #071a3a 0%, #0f3d6e 38%, #0f5a48 76%, #0b3d2e 100%) !important;
}

.pe-page .pe-editorial-card--accent {
    background: linear-gradient(165deg, rgba(98, 227, 137, 0.22) 0%, rgba(94, 200, 255, 0.1) 100%) !important;
    border-color: rgba(98, 227, 137, 0.4) !important;
}

.pe-page .faqs {
    background:
        radial-gradient(circle at top right, rgba(98, 227, 137, 0.16), transparent 36%),
        radial-gradient(circle at bottom left, rgba(94, 200, 255, 0.14), transparent 36%),
        linear-gradient(180deg, #eaf8f0 0%, #eaf3fb 100%) !important;
}

.pe-page .pe-home-cta.cta {
    background: url("../images/cta-bg.webp") center center / cover no-repeat !important;
    padding: 90px 0 85px !important;
    text-align: center;
}

.pe-page .pe-home-cta.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 20, 45, 0.58), rgba(15, 90, 72, 0.38));
    pointer-events: none;
}

.pe-page .pe-home-cta.cta .container { position: relative; z-index: 1; }

.pe-page .pe-home-cta.cta h2 {
    color: #fff !important;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.pe-page .pe-home-cta.cta p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 16px;
    max-width: 780px;
    margin: 0 auto 14px;
}

.pe-page .pe-home-cta.cta p:last-of-type { margin-bottom: 28px; }

@media (max-width: 991px) {
    .pe-page .pe-home-cta.cta {
        padding: 70px 0 !important;
    }

    .pe-page .pe-panel--editorial {
        background: #fff !important;
    }

    .pe-page .pe-get-started,
    .pe-page .pe-home-cta {
        padding: 70px 0 !important;
    }
}

/* ===== Trust section — editorial (no boxes) ===== */
.pe-page .pe-trust {
    background:
        radial-gradient(circle at 15% 20%, rgba(98, 227, 137, 0.12), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 80, 150, 0.1), transparent 42%),
        linear-gradient(180deg, #f7faf9 0%, #eef3f8 100%) !important;
    overflow: hidden;
}

.pe-page .pe-trust-glow { display: none !important; }

.pe-page .pe-trust-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.pe-page .pe-trust-wrap > .row {
    position: relative;
}

.pe-page .pe-trust-wrap > .row::before {
    content: "";
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(98, 227, 137, 0.55), rgba(201, 162, 39, 0.55), transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.pe-page .pe-trust-col {
    margin-bottom: 0;
    padding: 10px 28px;
}

.pe-page .pe-trust-copy {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 10px 10px;
    height: auto;
    backdrop-filter: none !important;
}

.pe-page .pe-trust-copy::before,
.pe-page .pe-editorial-card::before {
    display: none !important;
}

.pe-page .pe-trust-copy h2,
.pe-page .pe-editorial-card h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 700;
    color: var(--pe-navy) !important;
    margin-bottom: 18px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.pe-page .pe-trust-copy p,
.pe-page .pe-editorial-card p {
    color: var(--pe-muted) !important;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.pe-page .pe-trust-copy--alt {
    padding-left: 18px;
}

.pe-page .pe-trust-btns {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(16, 28, 61, 0.08);
}

.pe-page .pe-editorial-card,
.pe-page .pe-editorial-card--accent {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    transform: none !important;
}

@media (max-width: 991px) {
    .pe-page .pe-trust-wrap > .row::before {
        display: none;
    }

    .pe-page .pe-trust-col {
        padding: 8px 4px 24px;
    }

    .pe-page .pe-trust-copy--alt {
        padding-left: 0;
        border-top: 1px solid rgba(16, 28, 61, 0.08);
        padding-top: 28px;
    }
}

/* pe-companies side deco animations */
.pe-page .pe-companies {
    overflow: hidden;
}

.pe-page .pe-companies-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pe-page .pe-companies .container {
    position: relative;
    z-index: 1;
}

.pe-page .pe-deco {
    position: absolute;
    display: block;
}

.pe-page .pe-deco-orb {
    border-radius: 50%;
    filter: blur(0.5px);
}

.pe-page .pe-deco-ring {
    border-radius: 50%;
    border: 2px solid rgba(98, 227, 137, 0.35);
    background: transparent;
}

.pe-page .pe-deco-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(7, 14, 34, 0.12);
    color: #1f8f4a;
}

.pe-page .pe-deco-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #62e389;
}

/* Left side */
.pe-page .pe-deco-l1 {
    width: 140px;
    height: 140px;
    left: 2%;
    top: 12%;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.35), transparent 70%);
    animation: peDecoFloat 7s ease-in-out infinite;
}

.pe-page .pe-deco-l2 {
    width: 70px;
    height: 70px;
    left: 6%;
    bottom: 18%;
    background: radial-gradient(circle, rgba(94, 200, 255, 0.4), transparent 70%);
    animation: peDecoFloat 9s ease-in-out infinite reverse;
}

.pe-page .pe-deco-l3 {
    width: 90px;
    height: 90px;
    left: 3%;
    top: 48%;
    border-color: rgba(201, 162, 39, 0.4);
    animation: peDecoSpin 18s linear infinite;
}

.pe-page .pe-deco-l4 {
    left: 5%;
    top: 28%;
    color: #1f8f4a;
    animation: peDecoFloat 6.5s ease-in-out infinite 0.4s;
}

.pe-page .pe-deco-l5 {
    left: 9%;
    top: 62%;
    background: #e0b51c;
    animation: peDecoPulse 3.2s ease-in-out infinite;
}

.pe-page .pe-deco-l6 {
    left: 1.5%;
    bottom: 32%;
    width: 8px;
    height: 8px;
    background: #5ec8ff;
    animation: peDecoPulse 2.8s ease-in-out infinite 0.6s;
}

/* Right side */
.pe-page .pe-deco-r1 {
    width: 160px;
    height: 160px;
    right: 1.5%;
    top: 16%;
    background: radial-gradient(circle, rgba(94, 200, 255, 0.32), transparent 70%);
    animation: peDecoFloat 8s ease-in-out infinite 0.5s;
}

.pe-page .pe-deco-r2 {
    width: 80px;
    height: 80px;
    right: 5%;
    bottom: 14%;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.38), transparent 70%);
    animation: peDecoFloat 10s ease-in-out infinite reverse;
}

.pe-page .pe-deco-r3 {
    width: 110px;
    height: 110px;
    right: 2.5%;
    top: 52%;
    border-color: rgba(98, 227, 137, 0.4);
    animation: peDecoSpin 22s linear infinite reverse;
}

.pe-page .pe-deco-r4 {
    right: 4.5%;
    top: 30%;
    color: #1f6fb5;
    animation: peDecoFloat 7.2s ease-in-out infinite 0.2s;
}

.pe-page .pe-deco-r5 {
    right: 8%;
    top: 68%;
    background: #ff8fab;
    animation: peDecoPulse 3.5s ease-in-out infinite 0.3s;
}

.pe-page .pe-deco-r6 {
    right: 3%;
    bottom: 28%;
    color: #b88910;
    width: 46px;
    height: 46px;
    font-size: 16px;
    animation: peDecoFloat 8.5s ease-in-out infinite reverse;
}

@keyframes peDecoFloat {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-18px) translateX(8px); }
}

@keyframes peDecoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes peDecoPulse {
    0%, 100% { transform: scale(1); opacity: 0.55; }
    50% { transform: scale(1.55); opacity: 1; }
}

@media (max-width: 1199px) {
    .pe-page .pe-deco-l1,
    .pe-page .pe-deco-l3,
    .pe-page .pe-deco-r1,
    .pe-page .pe-deco-r3 {
        opacity: 0.55;
        transform: scale(0.85);
    }
}

@media (max-width: 991px) {
    .pe-page .pe-companies-deco {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pe-page .pe-deco {
        animation: none !important;
    }
}

/* ===== Trust section — premium magazine layout ===== */
.pe-page .pe-trust {
    background:
        radial-gradient(circle at 12% 15%, rgba(98, 227, 137, 0.14), transparent 38%),
        radial-gradient(circle at 88% 85%, rgba(201, 162, 39, 0.12), transparent 40%),
        linear-gradient(180deg, #f4f7fb 0%, #eef6f2 50%, #f7f5ef 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 110px 0 !important;
}

.pe-page .pe-trust-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pe-page .pe-trust-glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    animation: peDecoFloat 9s ease-in-out infinite;
}

.pe-page .pe-trust-glow-blob--a {
    width: 260px;
    height: 260px;
    left: -60px;
    top: 18%;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.28), transparent 70%);
}

.pe-page .pe-trust-glow-blob--b {
    width: 280px;
    height: 280px;
    right: -70px;
    bottom: 12%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.22), transparent 70%);
    animation-delay: 1.2s;
}

.pe-page .pe-trust .container,
.pe-page .pe-trust-stage {
    position: relative;
    z-index: 1;
}

.pe-page .pe-trust-block {
    margin-bottom: 70px;
}

.pe-page .pe-trust-block--reverse {
    margin-bottom: 50px;
}

.pe-page .pe-trust-media {
    position: relative;
    padding: 18px 18px 0 0;
    min-height: 420px;
}

.pe-page .pe-trust-media--alt {
    padding: 18px 0 0 18px;
}

.pe-page .pe-trust-offset {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    border: 1.5px solid rgba(98, 227, 137, 0.55);
    border-radius: 20px;
    z-index: 0;
}

.pe-page .pe-trust-offset--gold {
    left: 0;
    right: auto;
    border-color: rgba(224, 181, 28, 0.55);
}

.pe-page .pe-trust-photo {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 55px rgba(7, 14, 34, 0.18);
    min-height: 420px;
}

.pe-page .pe-trust-photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-page .pe-trust-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 14, 34, 0.28) 100%);
    pointer-events: none;
    z-index: 2;
}

.pe-page .pe-trust-block:hover .pe-trust-photo img {
    transform: scale(1.05);
}

.pe-page .pe-trust-frame {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    z-index: 3;
    pointer-events: none;
}

.pe-page .pe-trust-frame--gold {
    border-color: rgba(224, 181, 28, 0.55);
}

.pe-page .pe-trust-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, #62e389, #2db86a);
    color: #0d1a3a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 14px 30px rgba(98, 227, 137, 0.4);
    animation: peDecoPulse 3.4s ease-in-out infinite;
}

.pe-page .pe-trust-badge--gold {
    background: linear-gradient(145deg, #e0b51c, #b88910);
    color: #fff;
    box-shadow: 0 14px 30px rgba(224, 181, 28, 0.4);
}

.pe-page .pe-trust-copy {
    padding: 20px 10px 10px 34px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.pe-page .pe-trust-copy--alt {
    padding: 20px 34px 10px 10px;
}

.pe-page .pe-trust-copy h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: #101c3d !important;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.pe-page .pe-trust-copy p {
    color: #5d6b84 !important;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.pe-page .pe-trust-btns {
    margin-top: 10px;
    padding-top: 34px;
    border-top: 1px solid rgba(16, 28, 61, 0.1);
}

.pe-page .pe-trust-wrap > .row::before,
.pe-page .pe-trust-glow,
.pe-page .pe-editorial-card::before {
    display: none !important;
}

.pe-page .pe-editorial-card,
.pe-page .pe-editorial-card--accent {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .pe-page .pe-trust {
        padding: 70px 0 !important;
    }

    .pe-page .pe-trust-block {
        margin-bottom: 48px;
    }

    .pe-page .pe-trust-media,
    .pe-page .pe-trust-media--alt {
        padding: 14px 10px 0;
    }

    .pe-page .pe-trust-offset,
    .pe-page .pe-trust-offset--gold {
        width: calc(100% - 10px);
        height: calc(100% - 14px);
        left: 5px;
        right: auto;
    }

    .pe-page .pe-trust-photo,
    .pe-page .pe-trust-photo img {
        min-height: 300px;
    }

    .pe-page .pe-trust-copy,
    .pe-page .pe-trust-copy--alt {
        padding: 28px 4px 8px;
    }

    .pe-page .pe-trust-block--reverse .order-lg-2 {
        margin-bottom: 20px;
    }
}

/* ===== Shared floating design elements ===== */
.pe-page .pe-refine,
.pe-page .pe-matters,
.pe-page .pe-top-editors,
.pe-page .pe-services,
.pe-page .pe-hire,
.pe-page .pe-ghostwriter,
.pe-page .pe-why-hire,
.pe-page .faqs {
    position: relative;
    overflow: hidden;
}

.pe-page .pe-float-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pe-page .pe-refine > .container,
.pe-page .pe-matters > .container,
.pe-page .pe-top-editors > .container,
.pe-page .pe-services > .container,
.pe-page .pe-hire > .container,
.pe-page .pe-ghostwriter > .container,
.pe-page .pe-why-hire > .container,
.pe-page .faqs > .container {
    position: relative;
    z-index: 1;
}

.pe-page .pe-float {
    position: absolute;
    display: block;
}

.pe-page .pe-float-orb {
    border-radius: 50%;
    filter: blur(2px);
    animation: peDecoFloat 8s ease-in-out infinite;
}

.pe-page .pe-float-ring {
    border-radius: 50%;
    border: 1.5px solid rgba(98, 227, 137, 0.35);
    animation: peDecoSpin 18s linear infinite;
}

.pe-page .pe-float-deco--dark .pe-float-ring {
    border-color: rgba(98, 227, 137, 0.28);
}

.pe-page .pe-float-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(98, 227, 137, 0.35);
    color: #1f8f4a;
    font-size: 15px;
    box-shadow: 0 10px 24px rgba(7, 14, 34, 0.08);
    animation: peDecoFloat 7s ease-in-out infinite;
}

.pe-page .pe-float-deco--dark .pe-float-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--pe-green);
    box-shadow: none;
}

.pe-page .pe-float-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pe-gold);
    animation: peDecoPulse 3s ease-in-out infinite;
}

.pe-page .pe-float-deco--dark .pe-float-dot {
    background: var(--pe-green);
}

.pe-page .pe-float-a1 { width: 180px; height: 180px; right: -40px; top: 12%; background: radial-gradient(circle, rgba(98,227,137,0.22), transparent 70%); }
.pe-page .pe-float-a2 { width: 70px; height: 70px; left: 4%; bottom: 18%; animation-duration: 22s; }
.pe-page .pe-float-a3 { left: 6%; top: 22%; animation-delay: 0.4s; }
.pe-page .pe-float-a4 { right: 12%; bottom: 22%; }
.pe-page .pe-float-a5 { width: 120px; height: 120px; left: -30px; bottom: 8%; background: radial-gradient(circle, rgba(201,162,39,0.16), transparent 70%); animation-delay: 1s; }

.pe-page .pe-float-b1 { width: 220px; height: 220px; left: -60px; top: 10%; background: radial-gradient(circle, rgba(98,227,137,0.2), transparent 70%); }
.pe-page .pe-float-b2 { width: 160px; height: 160px; right: -40px; bottom: 12%; background: radial-gradient(circle, rgba(201,162,39,0.14), transparent 70%); animation-delay: 1.2s; }
.pe-page .pe-float-b3 { width: 90px; height: 90px; right: 8%; top: 18%; }
.pe-page .pe-float-b4 { left: 5%; bottom: 20%; }
.pe-page .pe-float-b5 { right: 6%; top: 42%; animation-delay: 0.6s; color: #e0b51c; }
.pe-page .pe-float-b6 { left: 12%; top: 28%; }
.pe-page .pe-float-b7 { right: 15%; bottom: 28%; animation-delay: 0.8s; }

.pe-page .pe-float-c1 { width: 200px; height: 200px; left: -50px; top: 20%; background: radial-gradient(circle, rgba(98,227,137,0.18), transparent 70%); }
.pe-page .pe-float-c2 { width: 64px; height: 64px; right: 6%; top: 16%; border-color: rgba(201,162,39,0.4); }
.pe-page .pe-float-c3 { right: 8%; bottom: 18%; color: #b88910; border-color: rgba(201,162,39,0.4); }
.pe-page .pe-float-c4 { left: 10%; bottom: 16%; }

.pe-page .pe-float-d1 { width: 200px; height: 200px; left: -50px; top: 30%; background: radial-gradient(circle, rgba(98,227,137,0.16), transparent 70%); }
.pe-page .pe-float-d2 { width: 140px; height: 140px; right: -30px; top: 12%; background: radial-gradient(circle, rgba(201,162,39,0.12), transparent 70%); animation-delay: 0.8s; }
.pe-page .pe-float-d3 { width: 80px; height: 80px; left: 7%; bottom: 16%; }
.pe-page .pe-float-d4 { right: 5%; bottom: 22%; }
.pe-page .pe-float-d5 { left: 5%; top: 18%; animation-delay: 0.5s; }
.pe-page .pe-float-d6 { right: 18%; top: 38%; }

.pe-page .pe-float-e1 { width: 210px; height: 210px; left: -55px; top: 8%; background: radial-gradient(circle, rgba(98,227,137,0.2), transparent 70%); }
.pe-page .pe-float-e2 { width: 180px; height: 180px; right: -45px; bottom: 10%; background: radial-gradient(circle, rgba(16,28,61,0.1), transparent 70%); animation-delay: 1s; }
.pe-page .pe-float-e3 { width: 72px; height: 72px; right: 7%; top: 14%; }
.pe-page .pe-float-e4 { left: 4%; bottom: 18%; }
.pe-page .pe-float-e5 { right: 5%; top: 40%; animation-delay: 0.4s; }
.pe-page .pe-float-e6 { left: 14%; top: 22%; }
.pe-page .pe-float-e7 { right: 16%; bottom: 26%; animation-delay: 0.7s; }

.pe-page .pe-float-f1 { width: 190px; height: 190px; right: -40px; top: 15%; background: radial-gradient(circle, rgba(98,227,137,0.18), transparent 70%); }
.pe-page .pe-float-f2 { width: 68px; height: 68px; left: 5%; top: 20%; }
.pe-page .pe-float-f3 { left: 6%; bottom: 20%; }
.pe-page .pe-float-f4 { right: 12%; bottom: 18%; }
.pe-page .pe-float-f5 { width: 120px; height: 120px; left: -30px; bottom: 12%; background: radial-gradient(circle, rgba(201,162,39,0.14), transparent 70%); animation-delay: 1.1s; }

.pe-page .pe-float-g1 { width: 200px; height: 200px; left: -50px; bottom: 8%; background: radial-gradient(circle, rgba(98,227,137,0.16), transparent 70%); }
.pe-page .pe-float-g2 { width: 150px; height: 150px; right: -40px; top: 20%; background: radial-gradient(circle, rgba(201,162,39,0.12), transparent 70%); animation-delay: 0.9s; }
.pe-page .pe-float-g3 { width: 76px; height: 76px; left: 6%; top: 18%; border-color: rgba(201,162,39,0.4); }
.pe-page .pe-float-g4 { right: 6%; bottom: 16%; color: #b88910; border-color: rgba(201,162,39,0.4); }
.pe-page .pe-float-g5 { left: 12%; bottom: 24%; }
.pe-page .pe-float-g6 { right: 14%; top: 30%; animation-delay: 0.5s; }

.pe-page .pe-float-h1 { width: 180px; height: 180px; left: -45px; top: 12%; background: radial-gradient(circle, rgba(98,227,137,0.18), transparent 70%); }
.pe-page .pe-float-h2 { width: 160px; height: 160px; right: -40px; bottom: 10%; background: radial-gradient(circle, rgba(94,200,255,0.14), transparent 70%); animation-delay: 1s; }
.pe-page .pe-float-h3 { width: 70px; height: 70px; right: 8%; top: 20%; }
.pe-page .pe-float-h4 { left: 5%; bottom: 18%; }
.pe-page .pe-float-h5 { right: 16%; bottom: 28%; }

.pe-page .pe-panel--ink,
.pe-page .pe-panel--editorial,
.pe-page .pe-panel--split {
    overflow: visible;
}

.pe-page .pe-media {
    overflow: visible;
}

.pe-page .pe-media img {
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.pe-page .pe-media-offset {
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1.5px solid rgba(98, 227, 137, 0.45);
    border-radius: 8px;
    z-index: 0;
    pointer-events: none;
}

.pe-page .pe-media-offset--gold {
    border-color: rgba(224, 181, 28, 0.5);
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
}

.pe-page .pe-media-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #62e389, #2db86a);
    color: #0d1a3a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 12px 28px rgba(98, 227, 137, 0.4);
    animation: peDecoPulse 3.4s ease-in-out infinite;
}

.pe-page .pe-media-badge--gold {
    background: linear-gradient(145deg, #e0b51c, #b88910);
    color: #fff;
    box-shadow: 0 12px 28px rgba(224, 181, 28, 0.4);
}

.pe-page .pe-media--book .pe-media-badge {
    right: 28px;
    bottom: 28px;
}

.pe-page .pe-media--overlap {
    overflow: visible;
}

.pe-page .pe-hire,
.pe-page .pe-top-editors,
.pe-page .pe-ghostwriter {
    padding: 100px 0;
}

.pe-page .pe-hire .pe-lux-card {
    position: relative;
    z-index: 1;
}

.pe-page .pe-hire .pe-lux-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pe-green), var(--pe-gold));
    opacity: 0.85;
}

.pe-page .pe-hire .pe-lux-card--navy::after {
    background: linear-gradient(90deg, var(--pe-gold), var(--pe-green));
}

@media (max-width: 991px) {
    .pe-page .pe-float-deco {
        display: none;
    }

    .pe-page .pe-media-offset,
    .pe-page .pe-media-offset--gold {
        display: none;
    }

    .pe-page .pe-hire,
    .pe-page .pe-top-editors,
    .pe-page .pe-ghostwriter {
        padding: 70px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pe-page .pe-float {
        animation: none !important;
    }
}

/* Compact checklist lines outside pe-matters */
.pe-page .pe-refine .pe-manuscript-line,
.pe-page .pe-hire .pe-manuscript-line,
.pe-page .pe-ghostwriter .pe-manuscript-line,
.pe-page .pe-trust .pe-manuscript-line {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 10px;
    padding: 10px 12px;
    border: 1px solid rgba(16, 28, 61, 0.08);
    border-radius: 8px;
    background: rgba(98, 227, 137, 0.06);
    box-shadow: none;
    height: auto;
    overflow: visible;
}

.pe-page .pe-refine .pe-manuscript-line::before,
.pe-page .pe-hire .pe-manuscript-line::before,
.pe-page .pe-ghostwriter .pe-manuscript-line::before,
.pe-page .pe-trust .pe-manuscript-line::before {
    display: none;
}

.pe-page .pe-refine .pe-line-head,
.pe-page .pe-hire .pe-line-head,
.pe-page .pe-ghostwriter .pe-line-head,
.pe-page .pe-trust .pe-line-head {
    display: inline-flex;
    width: auto;
}

.pe-page .pe-refine .pe-line-mark,
.pe-page .pe-hire .pe-line-mark,
.pe-page .pe-ghostwriter .pe-line-mark,
.pe-page .pe-trust .pe-line-mark {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    font-size: 11px;
    box-shadow: none;
}

.pe-page .pe-refine .pe-manuscript-line p,
.pe-page .pe-hire .pe-manuscript-line p,
.pe-page .pe-ghostwriter .pe-manuscript-line p,
.pe-page .pe-trust .pe-manuscript-line p {
    margin: 0;
    color: var(--pe-ink) !important;
    font-size: 14.5px !important;
    font-weight: 500;
    line-height: 1.5;
}

.pe-page .pe-lux-card--navy .pe-manuscript-line {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.pe-page .pe-lux-card--navy .pe-manuscript-line p {
    color: rgba(255, 255, 255, 0.92) !important;
}

.pe-page .pe-services .pe-lead,
.pe-page .pe-companies-intro .pe-lead {
    color: #e8c76a !important;
}

.pe-page .pe-services .pe-footer-note {
    color: rgba(255, 255, 255, 0.82) !important;
}

/* ===== pe-matters — premium elegant redesign ===== */
.pe-page .pe-matters {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(98, 227, 137, 0.14), transparent 42%),
        radial-gradient(ellipse at 85% 100%, rgba(201, 162, 39, 0.12), transparent 45%),
        linear-gradient(165deg, #060b1a 0%, #0c1834 42%, #102448 72%, #0a1f38 100%) !important;
    padding: 120px 0 !important;
    overflow: hidden;
}

.pe-page .pe-matters-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) !important;
    background-size: 64px 64px !important;
    mask-image: radial-gradient(ellipse at center, #000 18%, transparent 72%) !important;
    opacity: 0.9;
    animation: peGridDrift 45s linear infinite;
}

.pe-page .pe-matters-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(4, 8, 20, 0.55) 100%);
}

.pe-page .pe-matters-intro {
    max-width: 820px;
    margin: 0 auto 48px;
    position: relative;
}

.pe-page .pe-matters-rule {
    width: 56px;
    height: 2px;
    margin: 0 auto 26px;
    background: linear-gradient(90deg, var(--pe-green), var(--pe-gold));
    box-shadow: 0 0 18px rgba(98, 227, 137, 0.35);
}

.pe-page .pe-matters .heading h2 {
    color: #fff !important;
    font-size: clamp(30px, 3.4vw, 44px);
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.pe-page .pe-matters .heading p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 16.5px;
    line-height: 1.85;
}

.pe-page .pe-matters .pe-lead {
    color: #e8c76a !important;
    font-size: 19px;
    margin: 28px 0 0 !important;
    letter-spacing: -0.01em;
}

.pe-page .pe-manuscript {
    max-width: 1120px !important;
    margin: 0 auto !important;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    padding: 34px 28px 22px !important;
    backdrop-filter: blur(16px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    position: relative;
}

.pe-page .pe-manuscript-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 12px;
    pointer-events: none;
    z-index: 0;
}

.pe-page .pe-manuscript > .row {
    position: relative;
    z-index: 1;
}

.pe-page .pe-matters .pe-manuscript-line {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: calc(100% - 16px);
    margin: 0 0 16px !important;
    padding: 26px 22px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: none !important;
    border-radius: 14px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.4s ease, background 0.35s ease !important;
    position: relative;
    overflow: hidden;
}

.pe-page .pe-matters .pe-manuscript-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pe-green), transparent 70%);
    opacity: 0.75;
}

.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(2) .pe-manuscript-line::before,
.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(5) .pe-manuscript-line::before {
    background: linear-gradient(90deg, #5ec8ff, transparent 70%);
}

.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(3) .pe-manuscript-line::before,
.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(6) .pe-manuscript-line::before {
    background: linear-gradient(90deg, var(--pe-gold), transparent 70%);
}

.pe-page .pe-matters .pe-manuscript-line:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(98, 227, 137, 0.35) !important;
    background:
        linear-gradient(165deg, rgba(98, 227, 137, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.28);
}

.pe-page .pe-matters .pe-line-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.pe-page .pe-matters .pe-line-no {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(135deg, #62e389, #e0b51c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(2) .pe-line-no,
.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(5) .pe-line-no {
    background: linear-gradient(135deg, #5ec8ff, #62e389);
    -webkit-background-clip: text;
    background-clip: text;
}

.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(3) .pe-line-no,
.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(6) .pe-line-no {
    background: linear-gradient(135deg, #e0b51c, #f0d78c);
    -webkit-background-clip: text;
    background-clip: text;
}

.pe-page .pe-matters .pe-line-mark {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(98, 227, 137, 0.35) !important;
    background: radial-gradient(circle, rgba(98, 227, 137, 0.16), transparent 70%);
    color: var(--pe-green) !important;
    font-size: 16px !important;
    margin-top: 0 !important;
    box-shadow: 0 8px 20px rgba(98, 227, 137, 0.12);
    transition: transform 0.35s ease, background 0.35s ease;
}

.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(2) .pe-line-mark,
.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(5) .pe-line-mark {
    border-color: rgba(94, 200, 255, 0.4) !important;
    background: radial-gradient(circle, rgba(94, 200, 255, 0.16), transparent 70%);
    color: #5ec8ff !important;
}

.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(3) .pe-line-mark,
.pe-page .pe-matters .pe-manuscript .col-lg-4:nth-child(6) .pe-line-mark {
    border-color: rgba(224, 181, 28, 0.45) !important;
    background: radial-gradient(circle, rgba(224, 181, 28, 0.16), transparent 70%);
    color: #e0b51c !important;
}

.pe-page .pe-matters .pe-manuscript-line:hover .pe-line-mark {
    transform: scale(1.08);
}

.pe-page .pe-matters .pe-manuscript-line p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    font-size: 15.5px !important;
    line-height: 1.65 !important;
}

.pe-page .pe-matters-note {
    max-width: 760px;
    margin: 42px auto 0;
    text-align: center;
    position: relative;
    padding: 8px 20px 0;
}

.pe-page .pe-matters-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-bottom: 14px;
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: #e0b51c;
    font-size: 14px;
}

.pe-page .pe-matters-note .pe-footer-note {
    margin: 0 auto !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 16.5px;
    line-height: 1.8;
    font-style: italic;
}

.pe-page .pe-matters .heading.text-center h2::after {
    background: linear-gradient(90deg, transparent, var(--pe-green), var(--pe-gold), transparent) !important;
    width: 90px;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .pe-page .pe-matters {
        padding: 80px 0 !important;
    }

    .pe-page .pe-manuscript {
        padding: 22px 14px 10px !important;
        border-radius: 14px !important;
    }

    .pe-page .pe-matters .pe-manuscript-line {
        padding: 22px 18px !important;
    }
}

/* Homepage-style process inside pe-page */
.pe-page .our-process .heading h2,
.pe-page .our-process .heading p {
    color: #fff !important;
}

.pe-page .our-process .heading.text-center h2::after {
    display: none;
}

.pe-page .our-process .box p {
    color: #242424 !important;
}

.pe-page .our-process .box:hover p {
    color: #fff !important;
}

.pe-page .our-process .box p span {
    color: inherit;
}

/* ===== Manuscript page polish (pe-ms) ===== */
.pe-ms .pe-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0 18px;
}

.pe-ms .pe-check-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.pe-ms .pe-check-wide {
    grid-column: 1 / -1;
}

.pe-ms .pe-check-grid .pe-manuscript-line {
    margin: 0 !important;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pe-ms .pe-check-grid .pe-manuscript-line:hover {
    transform: translateY(-3px);
    border-color: rgba(98, 227, 137, 0.45) !important;
    box-shadow: 0 10px 22px rgba(7, 14, 34, 0.08);
}

.pe-ms .pe-lux-card--navy .pe-check-grid .pe-manuscript-line:hover {
    border-color: rgba(98, 227, 137, 0.4) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.pe-ms .pe-hire .pe-lux-card {
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 28px 60px rgba(7, 14, 34, 0.1);
}

.pe-ms .pe-hire .pe-lux-card h2 {
    font-size: clamp(22px, 2.2vw, 26px);
}

.pe-ms .pe-hire .pe-lux-card > p:first-of-type {
    margin-bottom: 14px;
}

.pe-ms .pe-refine .pe-panel-body .row {
    margin-top: 8px;
    margin-bottom: 8px;
}

.pe-ms .pe-refine .pe-manuscript-line {
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(98, 227, 137, 0.08), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(98, 227, 137, 0.18);
}

.pe-ms .pe-refine .pe-manuscript-line:hover {
    transform: translateY(-2px);
    border-color: rgba(98, 227, 137, 0.4);
    box-shadow: 0 10px 20px rgba(7, 14, 34, 0.06);
}

.pe-ms .pe-ghostwriter .pe-panel-body .pe-check-grid {
    margin-top: 10px;
}

.pe-ms .pe-ghostwriter .pe-manuscript-line {
    background: rgba(98, 227, 137, 0.07);
    border-color: rgba(98, 227, 137, 0.2);
}

.pe-ms .pe-trust .pe-trust-copy .pe-lead {
    color: var(--pe-navy) !important;
    margin: 18px 0 12px !important;
    font-size: 17px;
}

.pe-ms .pe-trust .pe-trust-media,
.pe-ms .pe-trust .pe-trust-photo,
.pe-ms .pe-trust .pe-trust-photo img {
    min-height: 460px;
}

.pe-ms .pe-trust .pe-check-grid .pe-manuscript-line {
    background: #fff;
    border: 1px solid rgba(16, 28, 61, 0.08);
    box-shadow: 0 8px 18px rgba(7, 14, 34, 0.04);
}

.pe-ms .pe-matters .pe-manuscript .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pe-ms .pe-services .pe-tab-content {
    border-radius: 16px;
    margin-top: 32px;
}

.pe-ms .pe-services .pe-tabs .nav-link {
    border-radius: 12px;
    min-width: 170px;
}

.pe-ms .pe-companies-board {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 32px 70px rgba(7, 14, 34, 0.14);
}

.pe-ms .pe-eval-row {
    border-radius: 12px;
    margin-bottom: 10px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.pe-ms .pe-eval-row:hover {
    transform: translateX(6px);
}

.pe-ms .pe-eval-row:nth-child(8) .pe-eval-ring {
    color: #b88910;
    background: rgba(224, 181, 28, 0.16);
    border: 1px solid rgba(224, 181, 28, 0.35);
}

.pe-ms .pe-eval-row:nth-child(8) .pe-eval-no {
    color: #b88910;
}

.pe-ms .pe-ms-process {
    position: relative;
    overflow: hidden;
    padding: 96px 0 !important;
}

.pe-ms .pe-ms-process > .container {
    position: relative;
    z-index: 1;
}

/* Legacy step rail carries no labels on these pages — card badges replace it */
.pe-ms .pe-ms-process > .container > ul {
    display: none !important;
}

.pe-ms .pe-ms-process .heading {
    max-width: 860px;
    margin: 0 auto 46px;
}

.pe-ms .pe-ms-process .heading h2 {
    margin: 0 0 16px;
    color: #fff;
    text-shadow: 0 12px 34px rgba(0, 8, 24, .22);
}

.pe-ms .pe-ms-process .heading.text-center h2::after {
    margin-top: 20px;
}

.pe-ms .pe-ms-process .heading p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(229, 239, 252, .72);
    font-size: 14px;
    line-height: 1.8;
}

.pe-ms .pe-ms-process .row {
    align-items: stretch;
    counter-reset: peStep;
}

.pe-ms .pe-ms-process .row > [class*="col-"] {
    display: flex;
    margin-bottom: 16px;
    counter-increment: peStep;
}

.pe-ms .pe-ms-process .box {
    --pe-step-start: #55dc84;
    --pe-step-end: #1da75a;
    --pe-step-soft: rgba(85, 220, 132, .14);
    position: relative;
    display: flex;
    width: 100%;
    min-height: 0;
    flex-direction: column;
    padding: 30px 26px 28px;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #fff;
    text-align: left;
    box-shadow:
        0 26px 58px rgba(0, 8, 24, .26),
        inset 0 0 0 1px rgba(16, 35, 74, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pe-ms .pe-ms-process .row > [class*="col-"]:nth-child(2n) .box {
    --pe-step-start: #e8c45f;
    --pe-step-end: #bd8c2a;
    --pe-step-soft: rgba(232, 196, 95, .16);
}

.pe-ms .pe-ms-process .row > [class*="col-"]:nth-child(3n) .box {
    --pe-step-start: #6da8f0;
    --pe-step-end: #3d71cb;
    --pe-step-soft: rgba(109, 168, 240, .15);
}

.pe-ms .pe-ms-process .box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 26px;
    left: 26px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--pe-step-start), var(--pe-step-end));
}

.pe-ms .pe-ms-process .box::after {
    content: counter(peStep, decimal-leading-zero);
    position: absolute;
    z-index: 1;
    top: 26px;
    right: 24px;
    color: rgba(16, 35, 74, .07);
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.pe-ms .pe-ms-process .box:hover {
    background: #fff;
    transform: translateY(-8px);
    box-shadow:
        0 36px 72px rgba(0, 8, 24, .32),
        inset 0 0 0 1px var(--pe-step-soft);
}

.pe-ms .pe-ms-process .box .img {
    position: relative;
    z-index: 1;
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 0 22px;
    place-items: center;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--pe-step-soft), #fff);
    box-shadow:
        inset 0 1px #fff,
        0 13px 26px var(--pe-step-soft);
    transition: transform .3s ease;
}

.pe-ms .pe-ms-process .box:hover .img {
    transform: translateY(-3px) rotate(-3deg);
}

.pe-ms .pe-ms-process .box .img img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
}

.pe-ms .pe-ms-process .box p {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: column;
    margin: 0;
    color: #12284f;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.3px;
}

.pe-ms .pe-ms-process .box p span {
    display: block;
    margin-top: 12px;
    color: #667792;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.78;
    letter-spacing: 0;
}

.pe-ms .pe-home-cta.cta {
    border-radius: 0;
}

.pe-ms .pe-home-cta.cta .container {
    max-width: 900px;
}

.pe-ms .faqs .card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(16, 28, 61, 0.08);
    box-shadow: 0 10px 28px rgba(7, 14, 34, 0.05);
    margin-bottom: 14px;
    background: #fff;
}

.pe-ms .faqs .card-header {
    background: transparent;
    border: none;
    padding: 0;
}

.pe-ms .faqs .btn-header-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-weight: 600;
    color: var(--pe-navy);
    text-decoration: none;
}

.pe-ms .faqs .card-body {
    padding: 0 20px 18px;
}

.pe-ms .faqs .card-body p {
    margin: 0;
    color: var(--pe-muted);
}

@media (max-width: 767px) {
    .pe-ms .pe-check-grid,
    .pe-ms .pe-check-grid--2 {
        grid-template-columns: 1fr;
    }

    .pe-ms .pe-trust .pe-trust-media,
    .pe-ms .pe-trust .pe-trust-photo,
    .pe-ms .pe-trust .pe-trust-photo img {
        min-height: 280px;
    }

    .pe-ms .pe-ms-process {
        padding: 66px 0 !important;
    }

    .pe-ms .pe-ms-process .heading {
        margin-bottom: 30px;
    }

    .pe-ms .pe-ms-process .box {
        padding: 26px 22px 24px;
    }

    .pe-ms .pe-ms-process .box p {
        font-size: 17px;
    }
}

/* 5-step process for book formatting */
.pe-ms .pe-ms-process--5 ul li { width: 19%; }
.pe-ms .pe-ms-process--5 .row { display: flex; flex-wrap: wrap; }
.pe-ms .pe-ms-process--5 .row > .col-md { flex: 1 1 18%; max-width: 20%; }
@media (max-width: 991px) {
  .pe-ms .pe-ms-process--5 ul li { width: 48%; margin-bottom: 20px; }
  .pe-ms .pe-ms-process--5 .row > .col-md { flex: 1 1 45%; max-width: 50%; margin-bottom: 16px; }
}
@media (max-width: 575px) {
  .pe-ms .pe-ms-process--5 ul li { width: 100%; }
  .pe-ms .pe-ms-process--5 .row > .col-md { flex: 1 1 100%; max-width: 100%; }
}

.pe-ms .pe-hire .pe-lux-card h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    color: var(--pe-navy);
    line-height: 1.35;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.pe-ms .pe-hire .pe-lux-card--navy h3 {
    color: #fff !important;
}

.pe-ms .pe-hire > .container > .pe-lead {
    color: var(--pe-navy) !important;
    margin-bottom: 28px !important;
}

/* Slim light premium CTA between dark sections */
.pe-page .pe-slim-cta {
    padding: 42px 0 !important;
    background:
        radial-gradient(circle at 10% 50%, rgba(98, 227, 137, 0.16), transparent 45%),
        radial-gradient(circle at 90% 50%, rgba(201, 162, 39, 0.12), transparent 42%),
        linear-gradient(90deg, #f3faf6 0%, #f7f9fc 50%, #f8f6ef 100%);
    position: relative;
    overflow: hidden;
}

.pe-page .pe-slim-cta .container {
    position: relative;
    z-index: 1;
}

.pe-page .pe-slim-cta-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    padding: 28px 36px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(16, 28, 61, 0.08);
    box-shadow: 0 20px 50px rgba(7, 14, 34, 0.08);
    position: relative;
}

.pe-page .pe-slim-cta-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, #62e389, #c9a227);
}

.pe-page .pe-slim-cta-copy {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding-left: 14px;
}

.pe-page .pe-slim-cta-copy h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    color: #101c3d !important;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    white-space: normal;
}

.pe-page .pe-slim-cta-copy p {
    margin: 0;
    color: #5d6b84 !important;
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 620px;
    white-space: normal;
}

.pe-page .pe-slim-cta-btns {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0 !important;
    white-space: nowrap;
}

.pe-page .pe-slim-cta-btns .btn {
    margin: 0 !important;
    flex: 0 0 auto;
    width: auto !important;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 991px) {
    .pe-page .pe-slim-cta {
        padding: 32px 0 !important;
    }

    .pe-page .pe-slim-cta-bar {
        flex-direction: column;
        flex-wrap: wrap;
        text-align: center;
        padding: 26px 22px;
        gap: 18px;
    }

    .pe-page .pe-slim-cta-bar::before {
        left: 18px;
        right: 18px;
        top: 0;
        bottom: auto;
        width: auto;
        height: 4px;
        border-radius: 0 0 4px 4px;
    }

    .pe-page .pe-slim-cta-copy {
        padding-left: 0;
        width: 100%;
    }

    .pe-page .pe-slim-cta-copy p {
        max-width: none;
        margin: 0 auto;
    }

    .pe-page .pe-slim-cta-btns {
        width: 100% !important;
        justify-content: center;
        flex-wrap: wrap;
        white-space: normal;
    }
}

.pe-ms .pe-services .pe-check-grid .pe-manuscript-line {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.pe-ms .pe-services .pe-check-grid .pe-manuscript-line p {
    color: rgba(255, 255, 255, 0.92) !important;
}

.pe-ms .pe-services .pe-tab-content .pe-lead {
    color: #e8c76a !important;
    margin: 16px 0 12px !important;
}

.pe-ms .pe-eval-list--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    height: auto;
}

.pe-ms .pe-eval-list--grid .pe-eval-row {
    margin: 0;
    padding: 12px 10px;
    gap: 10px;
}

.pe-ms .pe-eval-list--grid .pe-eval-row:hover {
    transform: translateY(-4px);
}

.pe-ms .pe-eval-list--grid .pe-eval-no {
    flex: 0 0 28px;
    font-size: 13px;
}

.pe-ms .pe-eval-list--grid .pe-eval-ring {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 14px;
}

.pe-ms .pe-eval-list--grid .pe-eval-row p {
    font-size: 13.5px;
    line-height: 1.35;
    margin: 0;
}

.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(9) .pe-eval-ring,
.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(12) .pe-eval-ring {
    color: #b88910;
    background: rgba(224, 181, 28, 0.16);
    border: 1px solid rgba(224, 181, 28, 0.35);
}

.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(10) .pe-eval-ring {
    color: #1f6fb5;
    background: rgba(94, 200, 255, 0.16);
    border: 1px solid rgba(94, 200, 255, 0.35);
}

.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(11) .pe-eval-ring {
    color: #5b4fcf;
    background: rgba(140, 130, 255, 0.16);
    border: 1px solid rgba(140, 130, 255, 0.35);
}

.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(9) .pe-eval-no,
.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(12) .pe-eval-no { color: #b88910; }
.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(10) .pe-eval-no { color: #1f6fb5; }
.pe-ms .pe-eval-list--grid .pe-eval-row:nth-child(11) .pe-eval-no { color: #5b4fcf; }

@media (max-width: 1199px) {
    .pe-ms .pe-eval-list--grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .pe-ms .pe-eval-list--grid {
        grid-template-columns: 1fr;
    }
}

/* Premium top-editors showcase */
.pe-page .pe-top-editors {
    background:
        radial-gradient(circle at 10% 18%, rgba(98, 227, 137, 0.18), transparent 28%),
        radial-gradient(circle at 90% 76%, rgba(224, 181, 28, 0.18), transparent 30%),
        linear-gradient(145deg, #050d20 0%, #0b1b3a 48%, #111e3a 100%) !important;
}

.pe-page .pe-top-editors::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    pointer-events: none;
}

.pe-page .pe-top-editors .pe-panel--ink {
    overflow: hidden !important;
    color: #17213a;
    border: 1px solid rgba(224, 181, 28, 0.42);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 12%, rgba(224, 181, 28, 0.1), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f8f9fd 56%, #eef2f8 100%) !important;
    box-shadow:
        0 38px 100px rgba(0, 0, 0, 0.42),
        0 8px 26px rgba(6, 15, 36, 0.18),
        inset 0 1px 0 #fff;
}

.pe-page .pe-top-editors .pe-panel--ink::before {
    border-color: rgba(224, 181, 28, 0.28);
    border-radius: inherit;
}

.pe-page .pe-top-editors .pe-panel--ink::after {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 3px;
    z-index: 5;
    background: linear-gradient(90deg, transparent, #e0b51c 22%, #62e389 78%, transparent);
    box-shadow: 0 5px 20px rgba(224, 181, 28, 0.28);
}

.pe-page .pe-top-editors .pe-panel-body {
    padding: 58px 50px;
}

.pe-page .pe-top-editors .pe-accent-line {
    width: 76px;
    height: 3px;
    box-shadow: 0 0 22px rgba(224, 181, 28, 0.45);
}

.pe-page .pe-top-editors .heading h2 {
    color: #0b1b3a !important;
    text-shadow: none;
}

.pe-page .pe-top-editors .pe-panel--ink p {
    color: #526078 !important;
}

.pe-page .pe-top-editors .pe-panel-body--light {
    color: #17213a;
}

.pe-page .pe-top-editors .btn-white-border {
    color: #0b1b3a;
    border-color: rgba(11, 27, 58, 0.42);
    background: rgba(255, 255, 255, 0.78);
}

.pe-page .pe-top-editors .btn-white-border:hover {
    color: #fff;
    border-color: #0b1b3a;
    background: #0b1b3a;
}

.pe-page .pe-top-editors .pe-media--overlap {
    min-height: 480px;
    margin: 24px 28px 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    isolation: isolate;
    border: 1px solid rgba(11, 27, 58, 0.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 74% 20%, rgba(224, 181, 28, 0.2), transparent 34%),
        radial-gradient(circle at 16% 82%, rgba(98, 227, 137, 0.2), transparent 38%),
        linear-gradient(145deg, #f8fbff 0%, #eef3fa 55%, #e7edf7 100%);
    box-shadow:
        0 24px 55px rgba(15, 31, 63, 0.18),
        inset 0 1px 0 #fff;
}

.pe-page .pe-top-editors .pe-media--overlap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.72) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: peEditorShine 7s ease-in-out infinite;
}

.pe-page .pe-top-editors .pe-media--overlap img {
    width: 112%;
    height: auto;
    max-width: none;
    padding: 18px 4px 6px;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 22px 26px rgba(20, 38, 72, 0.2));
}

.pe-page .pe-top-editors .pe-media-offset {
    display: none;
}

.pe-page .pe-top-editors .pe-media-badge {
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 14px 34px rgba(224, 181, 28, 0.38);
}

@keyframes peEditorShine {
    0%, 64% { transform: translateX(-100%); }
    82%, 100% { transform: translateX(100%); }
}

@media (max-width: 991px) {
    .pe-page .pe-top-editors .pe-panel-body {
        padding: 44px 34px 24px;
    }

    .pe-page .pe-top-editors .pe-media--overlap {
        min-height: 390px;
        margin: 20px;
    }
}

@media (max-width: 575px) {
    .pe-page .pe-top-editors .pe-panel--ink {
        border-radius: 18px;
    }

    .pe-page .pe-top-editors .pe-panel-body {
        padding: 36px 24px 18px;
    }

    .pe-page .pe-top-editors .pe-media--overlap {
        min-height: 300px;
        margin: 14px;
        border-radius: 15px;
    }

    .pe-page .pe-top-editors .pe-media--overlap img {
        width: 118%;
        padding: 10px 0 0;
    }
}

/* Fill genuine desktop whitespace below company evaluation grids */
@media (min-width: 992px) {
    .pe-page .pe-companies-board .row > [class*="col-"]:has(> .pe-eval-list) {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .pe-page .pe-companies-visual {
        container-type: size;
        position: relative;
        flex: 1 1 0;
        min-height: 0;
        max-height: 280px;
        overflow: hidden;
    }

    .pe-page .pe-companies-visual::before {
        content: "";
        position: absolute;
        left: 12%;
        right: 12%;
        bottom: -46%;
        height: 92%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(98, 227, 137, 0.14), transparent 68%);
    }

    .pe-page .pe-companies-visual img {
        display: none;
        position: relative;
        z-index: 1;
        width: auto;
        max-width: 86%;
        height: calc(100% - 12px);
        margin: 12px auto 0;
        object-fit: contain;
        object-position: center bottom;
        filter: drop-shadow(0 18px 24px rgba(22, 42, 76, 0.14));
    }

    @container (min-height: 150px) {
        .pe-page .pe-companies-visual img {
            display: block;
        }
    }
}

@media (max-width: 991px) {
    .pe-page .pe-companies-visual {
        display: none;
    }
}

/* Premium colorful ghostwriter showcase */
.pe-page .pe-ghostwriter {
    background:
        radial-gradient(circle at 8% 20%, rgba(99, 102, 241, 0.18), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(236, 72, 153, 0.14), transparent 28%),
        radial-gradient(circle at 82% 88%, rgba(45, 212, 191, 0.18), transparent 32%),
        linear-gradient(145deg, #eef2ff 0%, #fff7fb 48%, #edfff9 100%) !important;
}

.pe-page .pe-ghostwriter::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 65%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px);
    background-size: 72px 72px, 96px 96px;
    opacity: 0.5;
}

.pe-page .pe-ghostwriter .pe-panel--editorial {
    overflow: hidden !important;
    border: 1px solid rgba(99, 102, 241, 0.17);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 10%, rgba(236, 72, 153, 0.08), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 255, 0.96)) !important;
    box-shadow:
        0 38px 90px rgba(42, 52, 95, 0.18),
        0 8px 24px rgba(99, 102, 241, 0.08),
        inset 0 1px 0 #fff;
}

.pe-page .pe-ghostwriter .pe-panel--editorial::before {
    inset: 12px;
    border-color: rgba(99, 102, 241, 0.16);
    border-radius: 21px;
}

.pe-page .pe-ghostwriter .pe-panel--editorial::after {
    content: "";
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 4px;
    z-index: 5;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, transparent, #6366f1 16%, #ec4899 48%, #f59e0b 72%, #2dd4bf 88%, transparent);
    box-shadow: 0 5px 22px rgba(99, 102, 241, 0.24);
}

.pe-page .pe-ghostwriter .pe-media--book {
    min-height: 500px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 14%, rgba(236, 72, 153, 0.14), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(45, 212, 191, 0.16), transparent 32%),
        radial-gradient(circle at 76% 88%, rgba(245, 158, 11, 0.12), transparent 32%),
        linear-gradient(145deg, #ffffff 0%, #f7f8ff 52%, #f1fffb 100%);
}

.pe-page .pe-ghostwriter .pe-media--book::before,
.pe-page .pe-ghostwriter .pe-media--book::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

.pe-page .pe-ghostwriter .pe-media--book::before {
    width: 240px;
    height: 240px;
    top: -90px;
    right: -70px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 60px rgba(45, 212, 191, 0.12);
}

.pe-page .pe-ghostwriter .pe-media--book::after {
    width: 170px;
    height: 170px;
    left: -70px;
    bottom: -60px;
    background: rgba(236, 72, 153, 0.12);
    filter: blur(2px);
}

.pe-page .pe-ghostwriter .pe-media--book img {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    border-radius: 16px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(42, 52, 95, 0.16));
}

.pe-page .pe-ghostwriter .pe-media-offset {
    display: none;
}

.pe-page .pe-ghostwriter .pe-media-badge {
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: linear-gradient(145deg, #f59e0b, #ec4899);
    color: #fff;
    box-shadow: 0 16px 36px rgba(236, 72, 153, 0.34);
}

.pe-page .pe-ghostwriter .pe-panel-body {
    padding: 60px 54px;
}

.pe-page .pe-ghostwriter .pe-accent-line {
    width: 82px;
    height: 4px;
    border-radius: 10px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #f59e0b);
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.22);
}

.pe-page .pe-ghostwriter .heading h2 {
    color: #121936 !important;
    letter-spacing: -0.025em;
}

.pe-page .pe-ghostwriter .pe-panel-body p {
    color: #59647b !important;
}

@media (max-width: 991px) {
    .pe-page .pe-ghostwriter .pe-panel--editorial {
        border-radius: 22px;
    }

    .pe-page .pe-ghostwriter .pe-media--book {
        min-height: 390px;
    }

    .pe-page .pe-ghostwriter .pe-media--book img {
        width: min(100%, 520px);
    }

    .pe-page .pe-ghostwriter .pe-panel-body {
        padding: 44px 34px;
    }
}

@media (max-width: 575px) {
    .pe-page .pe-ghostwriter .pe-panel--editorial {
        border-radius: 17px;
    }

    .pe-page .pe-ghostwriter .pe-media--book {
        min-height: 300px;
        padding: 0;
    }

    .pe-page .pe-ghostwriter .pe-media--book img {
        width: 100%;
    }

    .pe-page .pe-ghostwriter .pe-panel-body {
        padding: 36px 24px;
    }
}

/* =========================================================
   Hardcover Book Printing — page polish
   ========================================================= */
.pe-page.pe-hardcover .pe-banner h1::before {
    content: "Hardcover Printing";
}

.pe-hardcover .pe-hardcover-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
    margin: 0 auto;
}

.pe-hardcover .pe-hardcover-process::before {
    right: 14%;
    left: 14%;
}

.pe-hardcover .pe-ms-process .process-stage .box {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.pe-hardcover .pe-ms-process .process-stage .box::after {
    content: none;
}

.pe-hardcover .pe-ms-process .process-stage .box h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #12284f !important;
    font-family: Merriweather, Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.pe-hardcover .pe-ms-process .process-stage .box p {
    flex: 1;
    margin: 0;
    color: #667792 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.78 !important;
    letter-spacing: 0 !important;
}

.pe-hardcover .pe-ms-process .heading h6 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(98, 227, 137, .11);
    color: #91eaaa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.pe-hardcover .pe-ms-process .heading h6 i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #20a962, #0e7c42);
    color: #fff;
    font-size: 10px;
}

.pe-hardcover .pe-ms-process .heading h2 span {
    background: linear-gradient(110deg, #65db89, #a8efba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pe-hardcover .pe-home-cta.cta {
    background:
        radial-gradient(circle at 8% 25%, rgba(58, 204, 108, .17), transparent 27%),
        radial-gradient(circle at 91% 72%, rgba(211, 170, 77, .18), transparent 28%),
        linear-gradient(135deg, #071730 0%, #102b55 55%, #071a35 100%) !important;
    padding: 48px 0 !important;
    text-align: center;
}

.pe-hardcover .pe-home-cta.cta::before {
    background-image: radial-gradient(rgba(255, 255, 255, .13) .8px, transparent .8px);
    background-size: 25px 25px;
    background-color: transparent;
    opacity: .24;
}

.pe-hardcover .pe-home-cta.cta .cta-inner {
    position: relative;
    max-width: 930px;
    margin: 0 auto;
    padding: 58px 65px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 50% 0, rgba(98, 227, 137, .1), transparent 35%),
        rgba(255, 255, 255, .055);
    box-shadow:
        0 36px 80px rgba(0, 5, 20, .3),
        inset 0 1px rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pe-hardcover .pe-home-cta.cta .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(98, 227, 137, .11);
    color: #91eaaa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.pe-hardcover .pe-home-cta.cta .cta-eyebrow i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #20a962, #0e7c42);
    color: #fff;
    font-size: 10px;
}

.pe-hardcover .pe-home-cta.cta h2 {
    max-width: 790px;
    margin: 0 auto 18px !important;
    color: #fff !important;
    font-size: clamp(30px, 3.8vw, 46px) !important;
    line-height: 1.18;
}

.pe-hardcover .pe-home-cta.cta h2 span {
    background: linear-gradient(110deg, #65db89, #a8efba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pe-hardcover .pe-home-cta.cta p.cta-copy {
    max-width: 650px;
    margin: 0 auto 30px !important;
    color: rgba(235, 242, 252, .72) !important;
    font-size: 15px;
    line-height: 1.75;
}

.pe-hardcover .pe-home-cta.cta .btn-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin: 0;
}

.pe-hardcover .pe-matters .heading h6 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(98, 227, 137, .11);
    color: #91eaaa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.pe-hardcover .pe-matters .heading h2 span {
    background: linear-gradient(110deg, #65db89, #a8efba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pe-hardcover .pe-manuscript {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.pe-hardcover .pe-manuscript .row {
    justify-content: center;
}

@media (max-width: 991px) {
    .pe-hardcover .pe-hardcover-process {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pe-hardcover .pe-hardcover-process::before {
        display: none;
    }

    .pe-hardcover .pe-home-cta.cta .cta-inner {
        padding: 42px 28px;
        border-radius: 24px;
    }
}

@media (max-width: 575px) {
    .pe-hardcover .pe-home-cta.cta .cta-inner {
        padding: 34px 20px;
        border-radius: 20px;
    }
}

/* Shared mobile hardening for all PE service templates */
@media (max-width: 991px) {
    .pe-page,
    .pe-page section,
    .pe-page .pe-panel,
    .pe-page .pe-float-deco,
    .pe-page .pe-trust-deco {
        max-width: 100%;
        overflow-x: hidden;
    }

    .pe-page img {
        max-width: 100%;
        height: auto;
    }

    .pe-page .pe-benefit-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-page .pe-slim-cta-bar {
        gap: 24px;
    }

    .pe-page .pe-slim-cta-btns,
    .pe-page .pe-hire-btns,
    .pe-page .pe-trust-btns,
    .pe-page .pe-companies-btns {
        flex-wrap: wrap;
        white-space: normal;
    }

    .pe-page .pe-trust-glow-blob {
        max-width: min(260px, 70vw);
        max-height: min(260px, 70vw);
    }
}

@media (max-width: 767px) {
    .pe-page .pe-banner {
        padding-top: 54px !important;
        padding-bottom: 54px !important;
    }

    .pe-page .pe-banner-copy {
        padding: 30px 24px 32px;
    }

    .pe-page .pe-banner-copy::before {
        right: 24px;
        left: 24px;
    }

    .pe-page .pe-banner h1 {
        font-size: clamp(27px, 8vw, 34px);
    }

    .pe-page .pe-banner p {
        font-size: 13.5px;
        line-height: 1.7;
    }

    .pe-page .pe-banner p.pe-delay-1 {
        display: -webkit-box;
        max-height: 11.9em;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 7;
    }

    .pe-page .pe-banner p.pe-delay-1 ~ p.pe-delay-1 {
        display: none;
    }

    .pe-page .pe-banner .btn-block,
    .pe-page .pe-slim-cta-btns,
    .pe-page .pe-hire-btns,
    .pe-page .pe-trust-btns,
    .pe-page .pe-companies-btns {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .pe-page .pe-banner .btn,
    .pe-page .pe-slim-cta-btns .btn,
    .pe-page .pe-hire-btns .btn,
    .pe-page .pe-trust-btns .btn,
    .pe-page .pe-companies-btns .btn {
        width: 100%;
        max-width: 100%;
    }

    .pe-page .pe-benefit-track {
        grid-template-columns: 1fr;
    }

    .pe-page .pe-cta-lux {
        padding: 32px 20px;
    }

    .pe-page .pe-trust-glow-blob {
        max-width: 210px;
        max-height: 210px;
    }
}

@media (max-width: 575px) {
    .pe-page .pe-banner-copy {
        padding: 27px 18px 29px;
    }

    .pe-page .pe-banner-copy::before {
        right: 18px;
        left: 18px;
    }

    .pe-page .pe-panel-body,
    .pe-page .pe-lux-card,
    .pe-page .pe-editorial-card,
    .pe-page .pe-cta-lux {
        padding-right: 18px;
        padding-left: 18px;
    }
}

/* Homepage process system shared by every PE inner page */
.pe-page .heading h2 span {
    background: linear-gradient(110deg, #0d743f, #20a962);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #168a4c;
}

.pe-page .pe-matters .heading h2 span,
.pe-page .pe-services .heading h2 span,
.pe-page .pe-companies-intro .heading h2 span,
.pe-page .our-process .heading h2 span {
    background: linear-gradient(110deg, #65dd8d, #b3f2c4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #7fe39c;
}

.pe-ms .pe-ms-process .process-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.pe-ms .pe-ms-process .process-grid--3::before {
    right: 14%;
    left: 14%;
}

.pe-ms .pe-ms-process .process-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pe-ms .pe-ms-process .process-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pe-ms .pe-ms-process .process-grid--5::before {
    right: 8%;
    left: 8%;
}

.pe-ms .pe-ms-process .process-stage .box,
.pe-ms .pe-ms-process .process-stage .box:hover {
    --pe-step-start: var(--stage-start);
    --pe-step-end: var(--stage-end);
    --pe-step-soft: var(--stage-fade);
    display: flex;
    width: 100%;
    min-height: 330px;
    flex-direction: column;
    padding: 32px 26px 30px;
    border: 0;
    border-radius: 24px;
    background: #fff !important;
    box-shadow:
        0 28px 60px rgba(0, 8, 24, .28),
        0 8px 20px rgba(0, 8, 24, .12),
        inset 0 1px #fff !important;
    transform: none;
}

.pe-ms .pe-ms-process .process-stage .box:hover {
    box-shadow:
        0 38px 78px rgba(0, 8, 24, .34),
        0 12px 28px rgba(0, 8, 24, .14),
        inset 0 0 0 1px var(--stage-fade),
        inset 0 1px #fff !important;
    transform: translateY(-8px);
}

.pe-ms .pe-ms-process .process-stage .box::before {
    top: 0;
    right: 28px;
    left: 28px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--stage-start), var(--stage-end));
    box-shadow: 0 6px 16px var(--stage-fade);
}

.pe-ms .pe-ms-process .process-stage .box::after {
    content: "";
    top: auto;
    right: -60px;
    bottom: -70px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--stage-fade);
    opacity: .55;
}

.pe-ms .pe-ms-process .process-stage .box .img,
.pe-ms .pe-ms-process .process-stage .box:hover .img {
    width: 78px;
    height: 78px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--stage-soft), #fff) !important;
    box-shadow:
        inset 0 1px #fff,
        0 14px 28px var(--stage-fade) !important;
}

.pe-ms .pe-ms-process .process-stage .box .img img {
    filter: none !important;
    opacity: 1 !important;
}

.pe-ms .pe-ms-process .process-stage .process-card-step {
    top: 28px;
    right: 24px;
    color: rgba(16, 35, 74, .07) !important;
    font-size: 54px;
    letter-spacing: -3px;
}

.pe-ms .pe-ms-process .process-stage .box h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    color: #12284f !important;
    font-family: Merriweather, Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.3px;
}

.pe-ms .pe-ms-process .process-stage .box p,
.pe-ms .pe-ms-process .process-stage .box:hover p {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0;
    color: #667792 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.78 !important;
    letter-spacing: 0 !important;
}

.pe-ms .pe-ms-process .heading h6 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pe-ms .pe-ms-process .heading h2 span {
    background: linear-gradient(110deg, #65dd8d, #a9efbc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 1199px) {
    .pe-ms .pe-ms-process .process-grid--4,
    .pe-ms .pe-ms-process .process-grid--5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-ms .pe-ms-process .process-grid--4::before,
    .pe-ms .pe-ms-process .process-grid--5::before {
        display: none;
    }
}

@media (max-width: 991px) {
    .pe-ms .pe-ms-process .process-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-ms .pe-ms-process .process-grid--3::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .pe-ms .pe-ms-process .process-grid--3,
    .pe-ms .pe-ms-process .process-grid--4,
    .pe-ms .pe-ms-process .process-grid--5 {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pe-ms .pe-ms-process .process-stage .box,
    .pe-ms .pe-ms-process .process-stage .box:hover {
        min-height: 0;
        padding: 28px 22px 26px;
    }
}

