/* =====================================================
   Modern Portfolio — all styles scoped under .mp-wrapper
   so they never collide with the legacy stylesheet.
   ===================================================== */

:root {
    --mp-bg: #0B0B0F;
    --mp-alt: #111116;
    --mp-card: #18181B;
    --mp-card-2: #27272A;
    --mp-fg: #FAFAFA;
    --mp-muted: #A1A1AA;
    --mp-subtle: #71717A;
    --mp-border: rgba(255, 255, 255, 0.08);
    --mp-border-strong: rgba(255, 255, 255, 0.14);
    --mp-accent: #34D399;
    --mp-accent-soft: rgba(52, 211, 153, 0.15);
    --mp-pink: #F472B6;
    --mp-yellow: #FACC15;
    --mp-radius: 14px;
    --mp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --mp-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.45), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --mp-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

body { background: var(--mp-bg); }

.mp-wrapper {
    color: var(--mp-fg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--mp-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.mp-wrapper *,
.mp-wrapper *::before,
.mp-wrapper *::after {
    box-sizing: border-box;
}

.mp-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.mp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mp-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mp-section__head {
    max-width: 640px;
    margin-bottom: 48px;
}

.mp-section__title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 12px;
    color: var(--mp-fg);
}

.mp-accent {
    color: #34D399;
}

.mp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1;
    text-decoration: none;
}

.mp-btn--primary {
    background: #34D399;
    color: #0B0B0F;
    border-color: #34D399;
    font-weight: 600;
}
.mp-btn--primary:hover {
    background: #6EE7B7;
    border-color: #6EE7B7;
    color: #0B0B0F;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -10px rgba(52, 211, 153, 0.5);
}

.mp-btn--ghost {
    background: transparent;
    color: var(--mp-fg);
    border-color: var(--mp-border);
}
.mp-btn--ghost:hover {
    background: var(--mp-card);
    border-color: var(--mp-border-strong);
    color: var(--mp-fg);
}

.mp-btn--block {
    width: 100%;
    justify-content: center;
}

/* ============================ HERO ============================ */
.mp-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background:
        radial-gradient(circle at 20% 20%, rgba(52, 211, 153, 0.15), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(52, 211, 153, 0.08), transparent 55%);
}
.mp-hero > .mp-container { position: relative; z-index: 2; }

.mp-hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-muted);
    margin-bottom: 20px;
    box-shadow: var(--mp-shadow-sm);
}
.mp-hero__badge .mp-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.mp-hero__title {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--mp-fg);
}

.mp-hero__subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--mp-accent);
    margin: 0 0 20px;
}

.mp-hero__description {
    font-size: 18px;
    color: var(--mp-muted);
    margin: 0 0 32px;
    max-width: 540px;
}

.mp-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.mp-hero__social {
    display: flex;
    gap: 14px;
}
.mp-hero__social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 10px;
    color: var(--mp-muted);
    font-size: 16px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.mp-hero__social a:hover {
    background: var(--mp-accent);
    color: #0B0B0F;
    border-color: var(--mp-accent);
    transform: translateY(-2px);
}

.mp-hero__visual {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin-left: auto;
}

.mp-hero__imgwrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mp-alt);
    box-shadow: var(--mp-shadow-lg);
}
.mp-hero__imgwrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.mp-hero__imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-hero__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--mp-card);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mp-fg);
    box-shadow: var(--mp-shadow-md);
    border: 1px solid var(--mp-border);
    z-index: 2;
}
.mp-hero__chip i { font-size: 16px; }
.mp-hero__chip .fa-wordpress { color: #21759B; }
.mp-hero__chip .fa-react { color: #61DAFB; }
.mp-hero__chip .fa-php { color: #777BB4; }
.mp-hero__chip .fa-node-js { color: #8CC84B; }
.mp-hero__chip .fa-wand-magic-sparkles { color: #A855F7; }

.mp-hero__chip--tl { top: 24px; left: -32px; animation: mp-float 4s ease-in-out infinite; }
.mp-hero__chip--tr { top: 72px; right: -36px; animation: mp-float 4s ease-in-out infinite 1s; }
.mp-hero__chip--bl { bottom: 110px; left: -48px; animation: mp-float 4s ease-in-out infinite 2s; }
.mp-hero__chip--br { bottom: 40px; right: -28px; animation: mp-float 4s ease-in-out infinite 3s; }

@keyframes mp-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ============================ ABOUT ============================ */
.mp-about {
    padding: 100px 0;
    background: var(--mp-alt);
}

.mp-about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.mp-about__visual {
    position: relative;
    max-width: 460px;
}
.mp-about__imgwrap {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    overflow: hidden;
    background: var(--mp-card);
    box-shadow: var(--mp-shadow-lg);
}
.mp-about__imgwrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mp-about__stat {
    position: absolute;
    bottom: -24px;
    right: -20px;
    background: var(--mp-bg);
    color: var(--mp-fg);
    border: 1px solid var(--mp-border-strong);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--mp-shadow-lg);
    min-width: 120px;
}
.mp-about__stat strong {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    font-weight: 800;
    line-height: 1;
}
.mp-about__stat .mp-counter {
    font-size: 46px;
    line-height: 0.9;
    display: inline-block;
    color: var(--mp-accent);
}
.mp-about__stat .mp-plus {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.45);
}
.mp-about__stat-label {
    display: block;
    font-size: 13px;
    margin-top: 6px;
    color: var(--mp-muted);
    line-height: 1.3;
}

.mp-about__content p {
    font-size: 17px;
    color: var(--mp-muted);
    margin: 0 0 16px;
}
.mp-about__content p strong {
    color: var(--mp-fg);
    font-weight: 600;
}

.mp-about__list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}
.mp-about__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--mp-fg);
    font-weight: 500;
}
.mp-about__list li i {
    width: 28px;
    height: 28px;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ============================ TECH STACK ============================ */
.mp-stack { padding: 100px 0; }

.mp-stack__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.mp-stack__item {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.mp-stack__item:hover {
    transform: translateY(-4px);
    border-color: var(--mp-accent);
    box-shadow: var(--mp-shadow-md);
}
.mp-stack__item i {
    font-size: 34px;
    color: var(--mp-fg);
    transition: color 0.25s ease;
}
.mp-stack__item:hover i { color: var(--mp-accent); }
.mp-stack__item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-muted);
}

/* ============================ SERVICES ============================ */
.mp-services {
    padding: 100px 0;
    background: var(--mp-alt);
}
.mp-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.mp-service {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mp-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--mp-shadow-lg);
    border-color: transparent;
}
.mp-service__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    font-size: 22px;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(52, 211, 153, 0.25);
}
.mp-service h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--mp-fg);
}
.mp-service p {
    font-size: 15px;
    color: var(--mp-muted);
    margin: 0;
}

/* ============================ PROJECTS ============================ */
.mp-projects { padding: 100px 0; }

.mp-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mp-project {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mp-project:hover {
    transform: translateY(-4px);
    box-shadow: var(--mp-shadow-lg);
    border-color: transparent;
}
.mp-project__tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mp-project h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--mp-fg);
}
.mp-project p {
    font-size: 15px;
    color: var(--mp-muted);
    margin: 0 0 20px;
    flex: 1;
}
.mp-project__meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--mp-subtle);
    margin-bottom: 18px;
}
.mp-project__meta i { margin-right: 6px; }
.mp-project__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mp-accent);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mp-project__link:hover { color: #6EE7B7; }

/* ============================ CONTACT ============================ */
.mp-contact {
    padding: 100px 0;
    background: var(--mp-alt);
    color: var(--mp-fg);
}

.mp-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.mp-contact__info p {
    color: var(--mp-muted);
    font-size: 17px;
    margin: 0 0 24px;
}
.mp-contact__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mp-contact__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    color: var(--mp-fg);
    font-size: 15px;
}
.mp-contact__list li i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-card);
    color: var(--mp-accent);
    border-radius: 10px;
    font-size: 14px;
    flex-shrink: 0;
}
.mp-contact__list a {
    color: var(--mp-fg);
    text-decoration: none;
    transition: color 0.2s ease;
}
.mp-contact__list a:hover { color: var(--mp-accent); }

.mp-contact__form {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    padding: 32px;
}
.mp-contact__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    margin-top: 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.mp-contact__notice[hidden] { display: none; }
.mp-btn.is-loading { opacity: 0.7; cursor: progress; }
.mp-btn[disabled]  { cursor: not-allowed; }
.mp-contact__notice i { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.mp-contact__notice--ok {
    background: var(--mp-accent-soft);
    color: #6EE7B7;
    border: 1px solid rgba(52, 211, 153, 0.35);
}
.mp-contact__notice--err {
    background: rgba(239, 68, 68, 0.12);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}
.mp-field { margin-bottom: 18px; }
.mp-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mp-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.mp-field input,
.mp-field textarea {
    width: 100%;
    background: var(--mp-bg);
    border: 1px solid var(--mp-border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--mp-fg);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.mp-field input::placeholder,
.mp-field textarea::placeholder { color: var(--mp-subtle); }
.mp-field input:focus,
.mp-field textarea:focus {
    outline: none;
    border-color: var(--mp-accent);
    background: var(--mp-card-2);
}
.mp-field textarea {
    resize: vertical;
    min-height: 120px;
}


/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
    .mp-hero__grid,
    .mp-about__grid,
    .mp-contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .mp-hero__visual {
        margin: 0 auto;
        max-width: 400px;
    }
    .mp-about__visual {
        margin: 0 auto;
    }
    .mp-stack__grid { grid-template-columns: repeat(4, 1fr); }
    .mp-stack-cats { grid-template-columns: 1fr; gap: 18px; }
    .mp-services__grid,
    .mp-projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .mp-hero,
    .mp-about,
    .mp-stack,
    .mp-services,
    .mp-projects,
    .mp-contact {
        padding: 64px 0;
    }
    .mp-hero__title   { font-size: clamp(30px, 8vw, 40px); }
    .mp-section__title { font-size: clamp(26px, 7vw, 32px); }
    .mp-stack__grid    { grid-template-columns: repeat(3, 1fr); }
    .mp-services__grid,
    .mp-projects__grid { grid-template-columns: 1fr; }
    .mp-hero__chip     { display: none; }
    .mp-about__stat    { right: 16px; bottom: -16px; padding: 14px 18px; min-width: 100px; }
    .mp-about__stat strong { font-size: 30px; }
    .mp-contact__form  { padding: 24px; }
}

/* =====================================================
   ANIMATIONS & MODERN TOUCHES
   Progressive enhancement — scroll-reveal classes only
   activate when body.mp-js is set by home-v2.js, so the
   page stays fully visible if JS is disabled or fails.
   ===================================================== */

/* -------- Scroll reveal (opt-in via body.mp-js) -------- */
body.mp-js .mp-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(.16,1,.3,1),
                transform 0.75s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
}
body.mp-js .mp-reveal.is-visible {
    opacity: 1;
    transform: none;
}
.mp-reveal--d1 { transition-delay: 0.08s; }
.mp-reveal--d2 { transition-delay: 0.16s; }
.mp-reveal--d3 { transition-delay: 0.24s; }
.mp-reveal--d4 { transition-delay: 0.32s; }
.mp-reveal--d5 { transition-delay: 0.40s; }

/* -------- Hero dot grid -------- */
.mp-hero__dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(52, 211, 153, 0.28) 1px, transparent 0);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

/* -------- Hero morphing blob (behind the portrait) -------- */
.mp-hero__visual { position: relative; }
.mp-hero__blob {
    position: absolute;
    inset: -12% -12% -12% -12%;
    background: #34D399;
    filter: blur(80px);
    opacity: 0.22;
    border-radius: 50% 60% 40% 50%;
    z-index: -1;
    animation: mp-morph 12s ease-in-out infinite;
}
@keyframes mp-morph {
    0%, 100% {
        border-radius: 50% 60% 40% 50% / 50% 40% 60% 50%;
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
        transform: translate(-8px, 10px) rotate(120deg);
    }
    66% {
        border-radius: 60% 40% 30% 70% / 30% 50% 70% 50%;
        transform: translate(10px, -8px) rotate(240deg);
    }
}

/* -------- Typing effect -------- */
.mp-typed {
    color: var(--mp-accent);
    display: inline-block;
    min-height: 1em;
}
.mp-typed::after {
    content: '|';
    display: inline-block;
    margin-left: 2px;
    font-weight: 400;
    color: var(--mp-accent);
    animation: mp-blink 1s ease-in-out infinite;
}
@keyframes mp-blink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* -------- Floating chip sway (more pronounced) -------- */
.mp-hero__chip {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mp-hero__chip:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.4);
}

/* -------- Primary button — dark elevated, subtle border sheen -------- */
.mp-btn--primary { position: relative; isolation: isolate; }

/* -------- Tech stack: categorized panels -------- */
.mp-stack { position: relative; overflow: hidden; }
.mp-stack::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 720px;
    height: 720px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(52, 211, 153, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.mp-stack .mp-container { position: relative; z-index: 1; }

.mp-stack-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.mp-stack-cat {
    position: relative;
    padding: 28px;
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.mp-stack-cat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.55), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.mp-stack-cat::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.16) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}
.mp-stack-cat:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
}
.mp-stack-cat:hover::before { transform: scaleX(1); }
.mp-stack-cat:hover::after { opacity: 1; }

.mp-stack-cat__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.mp-stack-cat__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-accent-soft);
    color: var(--mp-accent);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 12px;
    font-size: 20px;
    transition: transform 0.3s ease;
}
.mp-stack-cat:hover .mp-stack-cat__icon { transform: rotate(-6deg) scale(1.06); }

.mp-stack-cat__heading { flex: 1; min-width: 0; }
.mp-stack-cat__heading h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--mp-fg);
    margin: 0 0 2px;
    letter-spacing: -0.01em;
}
.mp-stack-cat__caption {
    font-size: 13px;
    color: var(--mp-muted);
    font-weight: 500;
}
.mp-stack-cat__count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--mp-accent);
    padding: 4px 10px;
    background: var(--mp-accent-soft);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
}

.mp-stack-cat__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mp-stack-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--mp-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--mp-fg);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: default;
}
.mp-stack-chip i {
    font-size: 14px;
    color: var(--mp-muted);
    transition: color 0.2s ease;
}
.mp-stack-chip:hover {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.4);
    color: #FAFAFA;
    transform: translateY(-2px);
}
.mp-stack-chip:hover i { color: var(--mp-accent); }

/* -------- Service card shine on hover -------- */
.mp-service {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mp-service::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    top: -80px;
    right: -80px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.22) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s ease;
    pointer-events: none;
    z-index: 0;
}
.mp-service > * { position: relative; z-index: 1; }
.mp-service:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

/* -------- Project card gradient border on hover -------- */
.mp-project {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.mp-project::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: var(--mp-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.mp-project:hover::before { opacity: 1; }
.mp-project > * { position: relative; z-index: 1; }

/* -------- Scroll progress bar -------- */
.mp-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--mp-accent);
    z-index: 999;
    transition: width 0.1s linear;
}
body.admin-bar .mp-progress { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .mp-progress { top: 46px; }
}

/* -------- Stack section: let the marquee breathe edge-to-edge -------- */
.mp-stack {
    overflow: hidden;
}
.mp-stack .mp-marquee__track {
    padding-right: 16px;
}

/* -------- Reduced motion: kill all the fancy stuff -------- */
@media (prefers-reduced-motion: reduce) {
    body.mp-js .mp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mp-accent,
    .mp-hero__blob,
    .mp-marquee__track,
    .mp-hero__chip--tl,
    .mp-hero__chip--tr,
    .mp-hero__chip--bl,
    .mp-hero__chip--br,
    .mp-typed::after {
        animation: none !important;
    }
    .mp-typed::after { opacity: 1; }
}

/* =====================================================
   Modern header + footer overrides.
   Legacy theme chrome (header.php, footer.php) still
   uses .nt-* class names — these rules bring it in
   line with the new palette & layout.
   ===================================================== */

/* -------- HEADER -------- */
html, body { margin: 0; padding: 0; }
.nt-header-section {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 11, 15, 0.55);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border: 0;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nt-header-section::after { content: none; }
/* When the page is scrolled, deepen the surface and add a soft drop shadow
   so the header stays readable over scrolled content. */
body.mp-scrolled .nt-header-section {
    background: rgba(11, 11, 15, 0.85);
    box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.7);
}

/* Offset sticky header below the WordPress admin bar when logged in */
body.admin-bar .nt-header-section {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .nt-header-section {
        top: 46px;
    }
}
.nt-header-section .nt-hero-section,
.nt-header-section .nt-header-inner-section {
    min-height: 0 !important;
    background: transparent !important;
    overflow: visible;
    position: static;
}
.nt-header-section .nt-header-navbar {
    position: static !important;
    top: auto !important;
    width: 100%;
    padding: 12px 0;
}
.nt-header-section .nt-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
}
.nt-header-section .nt-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

/* Logo with inline mark glyph */
.nt-header-section .nt-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FAFAFA;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.nt-header-section .nt-logo a::before {
    content: "</>";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0.06));
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 10px;
    color: #34D399;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.04em;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.05),
                0 8px 20px -8px rgba(52, 211, 153, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nt-header-section .nt-logo a:hover::before {
    transform: rotate(-6deg);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08),
                0 10px 28px -8px rgba(52, 211, 153, 0.6);
}
.nt-header-section .nt-logo a:hover {
    opacity: 0.92;
}

/* Centered pill nav */
.nt-header-section nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.nt-header-section nav ul {
    display: flex;
    gap: 2px;
    list-style: none;
    padding: 5px;
    margin: 0;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.nt-header-section nav ul li {
    display: inline-block;
}
.nt-header-section nav ul li a {
    display: inline-block;
    padding: 8px 18px !important;
    font-size: 14px;
    font-weight: 500;
    color: #A1A1AA !important;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.nt-header-section nav ul li a:hover {
    color: #FAFAFA !important;
}
.nt-header-section nav ul li.nt-active a,
.nt-header-section nav ul li.current-menu-item a {
    color: #0B0B0F !important;
    background: #34D399;
    box-shadow: 0 6px 16px -6px rgba(52, 211, 153, 0.55);
    font-weight: 600;
}

/* Right side button — ghost style so it doesn't outshout the hero CTA */
.nt-header-section .nt-header-wrap-right {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.nt-header-section .nt-get-started-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px !important;
    background: transparent !important;
    color: #FAFAFA !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 999px !important;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nt-header-section .nt-get-started-btn::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: mp-pulse-dot 2s infinite;
}
.nt-header-section .nt-get-started-btn::after {
    content: "\2192";
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    color: #34D399;
    transition: transform 0.25s ease;
}
.nt-header-section .nt-get-started-btn:hover {
    background: rgba(52, 211, 153, 0.08) !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
    color: #FAFAFA !important;
    transform: translateY(-1px);
}
.nt-header-section .nt-get-started-btn:hover::after {
    transform: translateX(3px);
}

@keyframes mp-pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Tablet / narrow desktop: drop the absolute-centered nav back into flow */
@media (max-width: 1023px) {
    .nt-header-section nav {
        position: static;
        transform: none;
    }
}

/* Mobile header (shown < 768px) */
@media (max-width: 767px) {
    .nt-header-section .nt-header-navbar { display: none; }
    .nt-header-section .nt-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 14px 24px;
    }
    .nt-header-section .nt-mobile-header-left a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -0.02em;
        color: #FAFAFA;
        text-decoration: none;
    }
    .nt-header-section .nt-mobile-header-left a::before {
        content: "</>";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        background: linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(52, 211, 153, 0.06));
        border: 1px solid rgba(52, 211, 153, 0.35);
        border-radius: 10px;
        color: #34D399;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: -0.04em;
        box-shadow: 0 8px 20px -8px rgba(52, 211, 153, 0.45);
    }
    .nt-header-section .nt-mobile-header-right {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #34D399;
        color: #0B0B0F;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        cursor: pointer;
    }
    .nt-nav-bar-wrapper {
        position: fixed !important;
        inset: 0;
        background: rgba(11, 11, 15, 0.94);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 200;
        padding: 80px 32px 32px;
    }
    body.admin-bar .nt-nav-bar-wrapper {
        top: 46px;
    }
    .nt-nav-bar-wrapper .nt-mobile-nav-cross {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-radius: 10px;
        cursor: pointer;
        font-size: 18px;
    }
    .nt-nav-bar-wrapper nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .nt-nav-bar-wrapper nav ul li a {
        display: block;
        padding: 14px 18px !important;
        color: #F1F5F9 !important;
        font-size: 18px !important;
        background: transparent;
        border-radius: 10px;
    }
    .nt-nav-bar-wrapper nav ul li a:hover,
    .nt-nav-bar-wrapper nav ul li.nt-active a,
    .nt-nav-bar-wrapper nav ul li.current-menu-item a {
        background: rgba(255, 255, 255, 0.08);
        color: #fff !important;
    }
    .nt-nav-bar-wrapper .nt-see-report {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        padding: 12px 20px;
        background: #34D399;
        color: #0B0B0F;
        font-weight: 600;
        border: none;
        border-radius: 10px;
        text-decoration: none;
    }
}

/* -------- FOOTER -------- */
.nt-footer-section {
    background: #0B0B0F !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #A1A1AA;
    padding: 56px 0 32px !important;
}
.nt-footer-section .nt-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    text-align: center;
}
.nt-footer-section .nt-container + .nt-container {
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nt-footer-section .nt-social-icons {
    margin: 0 0 4px;
}
.nt-footer-section .nt-social-icons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 12px;
}
.nt-footer-section .nt-social-icons ul li {
    display: inline-block;
}
.nt-footer-section .nt-social-icons ul li a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #18181B;
    color: #A1A1AA;
    border-radius: 10px;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nt-footer-section .nt-social-icons ul li a:hover {
    background: #34D399;
    color: #0B0B0F;
    transform: translateY(-2px);
}

.nt-footer-section .nt-footer-bottom p {
    font-size: 14px !important;
    color: #71717A !important;
    margin: 0;
    line-height: 1.4;
}

/* =====================================================
   EXTRA POLISH ANIMATIONS
   Subtle, emerald-toned, tasteful — adds life without
   shouting. All respect prefers-reduced-motion.
   ===================================================== */

/* -------- Ambient aurora drifting behind the page -------- */
.mp-wrapper {
    position: relative;
}
.mp-wrapper::before {
    content: "";
    position: fixed;
    inset: -10% -10% -10% -10%;
    background:
        radial-gradient(circle at 20% 30%, rgba(52, 211, 153, 0.10) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(52, 211, 153, 0.06) 0%, transparent 40%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: mp-aurora 22s ease-in-out infinite alternate;
}
.mp-wrapper > * { position: relative; z-index: 1; }

@keyframes mp-aurora {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.05); }
    100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}

/* -------- Hero portrait gentle float -------- */
.mp-hero__visual {
    animation: mp-hero-float 7s ease-in-out infinite;
}
@keyframes mp-hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* -------- Accent name: moving emerald shimmer -------- */
.mp-accent {
    background: linear-gradient(
        100deg,
        var(--mp-accent) 0%,
        #6EE7B7 35%,
        #FAFAFA 50%,
        #6EE7B7 65%,
        var(--mp-accent) 100%
    );
    background-size: 250% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: mp-shimmer 5s ease-in-out infinite;
}
@keyframes mp-shimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* -------- Hero badge: subtle sweep light -------- */
.mp-hero__badge {
    position: relative;
    overflow: hidden;
}
.mp-hero__badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(52, 211, 153, 0.18),
        transparent
    );
    animation: mp-badge-sweep 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes mp-badge-sweep {
    0%   { left: -50%; }
    60%  { left: 110%; }
    100% { left: 110%; }
}

/* -------- Section title: animated underline accent -------- */
.mp-section__head { position: relative; padding-bottom: 18px; }
.mp-section__head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--mp-accent), transparent);
    border-radius: 2px;
    transition: width 0.9s cubic-bezier(.16,1,.3,1) 0.25s;
}
body.mp-js .mp-reveal.mp-section__head::after { width: 0; }
body.mp-js .mp-reveal.mp-section__head.is-visible::after { width: 80px; }
.mp-section__head:not(.mp-reveal)::after { width: 80px; }

/* -------- Stack chips: cascade in when card becomes visible -------- */
body.mp-js .mp-stack-cat .mp-stack-chip {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
body.mp-js .mp-stack-cat.is-visible .mp-stack-chip {
    opacity: 1;
    transform: none;
}
.mp-stack-cat .mp-stack-chip:nth-child(1) { transition-delay: 0.15s; }
.mp-stack-cat .mp-stack-chip:nth-child(2) { transition-delay: 0.22s; }
.mp-stack-cat .mp-stack-chip:nth-child(3) { transition-delay: 0.29s; }
.mp-stack-cat .mp-stack-chip:nth-child(4) { transition-delay: 0.36s; }
.mp-stack-cat .mp-stack-chip:nth-child(5) { transition-delay: 0.43s; }
.mp-stack-cat .mp-stack-chip:nth-child(6) { transition-delay: 0.50s; }

/* -------- Service icon: micro-pop when revealed -------- */
body.mp-js .mp-service.is-visible .mp-service__icon {
    animation: mp-icon-pop 0.7s cubic-bezier(.34,1.56,.64,1) 0.2s both;
}
@keyframes mp-icon-pop {
    0%   { transform: scale(0.6) rotate(-12deg); opacity: 0; }
    60%  { transform: scale(1.12) rotate(4deg);  opacity: 1; }
    100% { transform: scale(1)    rotate(0);     opacity: 1; }
}
.mp-service__icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mp-service:hover .mp-service__icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 12px 28px -10px rgba(52, 211, 153, 0.5);
}

/* -------- About stat: ambient pulse glow -------- */
.mp-about__stat {
    animation: mp-stat-glow 4s ease-in-out infinite;
}
@keyframes mp-stat-glow {
    0%, 100% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6),
                    0 0 0 0 rgba(52, 211, 153, 0);
    }
    50% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6),
                    0 0 28px 4px rgba(52, 211, 153, 0.18);
    }
}

/* -------- Primary CTA: glow trail follows hover -------- */
.mp-btn--primary {
    overflow: hidden;
}
.mp-btn--primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}
.mp-btn--primary:hover::before { left: 130%; }
.mp-btn--primary > * { position: relative; z-index: 2; }

/* -------- Project card: gentle lift + tilt on hover -------- */
.mp-project {
    transition: transform 0.4s cubic-bezier(.16,1,.3,1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}
.mp-project:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

/* -------- Hero social icons: stagger entrance -------- */
body.mp-js .mp-hero__social.is-visible a {
    animation: mp-social-in 0.5s cubic-bezier(.16,1,.3,1) both;
}
.mp-hero__social a:nth-child(1) { animation-delay: 0.05s; }
.mp-hero__social a:nth-child(2) { animation-delay: 0.12s; }
.mp-hero__social a:nth-child(3) { animation-delay: 0.19s; }
.mp-hero__social a:nth-child(4) { animation-delay: 0.26s; }
@keyframes mp-social-in {
    0%   { opacity: 0; transform: translateY(8px) scale(0.9); }
    100% { opacity: 1; transform: none; }
}

/* -------- Cursor-following spotlight in hero -------- */
.mp-hero { isolation: isolate; }
.mp-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        420px circle at var(--mp-x, 50%) var(--mp-y, 50%),
        rgba(52, 211, 153, 0.18),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}

/* -------- 3D tilt smoothing -------- */
.mp-service,
.mp-project,
.mp-stack-cat,
.mp-hero__imgwrap,
.mp-about__imgwrap {
    transition: transform 0.4s cubic-bezier(.16,1,.3,1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

/* Hero portrait responds to scroll + mouse — float handled by parent */
.mp-hero__imgwrap {
    transform: translateY(var(--mp-py, 0));
}

/* -------- Magnetic primary buttons (smooth out the snap-back) -------- */
.mp-btn--primary,
.nt-get-started-btn {
    transition: transform 0.25s cubic-bezier(.16,1,.3,1),
                background 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                color 0.2s ease;
}

/* -------- Click ripple -------- */
.mp-stack-chip,
.mp-hero__chip,
.mp-hero__social a {
    position: relative;
    overflow: hidden;
}
.mp-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.45);
    transform: scale(0);
    animation: mp-ripple-out 0.7s ease-out;
    pointer-events: none;
}
@keyframes mp-ripple-out {
    to { transform: scale(1); opacity: 0; }
}

/* -------- Hero blob: slightly stronger color travel -------- */
.mp-hero__blob {
    will-change: transform;
}

/* -------- Reduced motion: kill the new animations -------- */
@media (prefers-reduced-motion: reduce) {
    .mp-wrapper::before,
    .mp-hero__imgwrap,
    .mp-accent,
    .mp-hero__badge::before,
    .mp-about__stat,
    .mp-service.is-visible .mp-service__icon,
    .mp-hero__social.is-visible a,
    .mp-spotlight,
    .mp-ripple {
        animation: none !important;
    }
    .mp-accent {
        background: var(--mp-accent);
        -webkit-text-fill-color: var(--mp-accent);
        color: var(--mp-accent);
    }
    body.mp-js .mp-stack-cat .mp-stack-chip {
        opacity: 1;
        transform: none;
    }
    .mp-section__head::after { transition: none; width: 80px; }
}
