/* ═══════════════════════════════════════════
   MINEXAH — Forge UI · Light Premium
   Angular geometry · Soft Navy · Warm Gold
   ═══════════════════════════════════════════ */

:root {
    --navy:        #4a7a9b;
    --navy-soft:   #6b96b3;
    --navy-light:  #8fb3cc;
    --navy-pale:   #dce9f2;
    --navy-text:   #122f45;
    --navy-heading:#0f1c28;
    --gold:        #ffc966;
    --gold-soft:   #ffe4a8;
    --gold-pale:   #fff8eb;
    --gold-text:   #8a5a00;
    --ink:         #0f1c28;
    --muted:       #3a5068;
    --text-soft:   #4a6175;
    --bg:          #f4f8fb;
    --bg-warm:     #fafcff;
    --white:       #ffffff;
    --radius:      0.5rem;
    --radius-lg:   0.75rem;
    --radius-xl:   1rem;
    --font:        'Figtree', system-ui, -apple-system, sans-serif;
    --font-display:'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
    --font-accent: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --ease:        cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --duration:    0.45s;
    --duration-fast: 0.28s;
    --icon-dark:   #0a1620;
    --shadow-3d:   0 18px 40px rgba(15, 28, 40, 0.14), 0 4px 12px rgba(74, 122, 155, 0.1);
    --shadow-sm:   0 2px 12px rgba(74, 122, 155, 0.07);
    --shadow:      0 8px 32px rgba(74, 122, 155, 0.1);
    --shadow-lg:   0 20px 50px rgba(74, 122, 155, 0.14);
    --shadow-gold: 0 8px 28px rgba(255, 201, 102, 0.35);
    --mx-cut:      polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    --mx-cut-lg:   polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg-warm);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern', 'liga', 'ss01';
    letter-spacing: -0.005em;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 40% at 0% 0%, rgba(255,201,102,0.06) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(143,179,204,0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 84rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    position: relative;
    z-index: 1;
}
@media (min-width: 640px) {
    .container { padding: 0 2rem; }
}
@media (min-width: 1024px) {
    .container { padding: 0 2.5rem; }
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy-heading);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-optical-sizing: auto;
    font-weight: 700;
}

.text-display {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.0;
}

.text-lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--text-soft);
    max-width: 40rem;
}

.text-eyebrow {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-text);
}

.text-accent {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.gradient-text {
    background: linear-gradient(120deg, #122f45 0%, #19405E 45%, #a86800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-text);
    background: transparent;
    padding: 0;
    clip-path: none;
    border: none;
    position: relative;
}
.section-label::before {
    display: block;
    content: '';
    width: 1.25rem;
    height: 2px;
    min-height: 0;
    background: var(--gold);
    border-radius: 1px;
    flex-shrink: 0;
}
.section-label.navy {
    color: var(--navy-text);
    background: transparent;
}
.section-label.navy::before {
    background: var(--navy-soft);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.875rem 1.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    line-height: 1.35;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease), background var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.btn-lg {
    padding: 1.05rem 2.125rem;
    font-size: 0.9375rem;
    min-height: 3.25rem;
    height: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(74,122,155,0.3);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 28px rgba(74,122,155,0.42); }

.btn-accent {
    background: linear-gradient(135deg, #ffd080 0%, var(--gold) 50%, #ffb84d 100%);
    color: var(--navy-heading);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}
.btn-accent:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 40px rgba(255,201,102,0.5); }

.btn-outline {
    background: var(--white);
    color: var(--navy-heading);
    border: 2px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--navy-soft); background: var(--navy-pale); transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-white-outline {
    background: rgba(255,255,255,0.85);
    color: var(--navy-heading);
    border: 2px solid var(--navy-pale);
}
.btn-white-outline:hover { background: white; transform: translateY(-3px); box-shadow: var(--shadow); }

/* ─── Forge Base ─── */
.card {
    background: var(--white);
    border: none;
    box-shadow: none;
    position: relative;
    overflow: visible;
    transition: transform 0.4s var(--ease);
}
.card::before { display: none; }
.card:hover { transform: none; box-shadow: none; border-color: transparent; }

.card-soft {
    clip-path: var(--mx-cut);
    background: linear-gradient(145deg, var(--white) 0%, var(--navy-pale) 100%);
    border: 1px solid rgba(74, 122, 155, 0.12);
    box-shadow: var(--shadow-sm);
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(74, 122, 155, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 122, 155, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Bracket frame utility */
.mx-bracket {
    position: relative;
    padding: 1.25rem;
}
.mx-bracket::before,
.mx-bracket::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: all 0.35s var(--ease);
}
.mx-bracket::before {
    top: 0; left: 0;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}
.mx-bracket::after {
    bottom: 0; right: 0;
    border-bottom: 2px solid var(--navy-soft);
    border-right: 2px solid var(--navy-soft);
}

/* Diamond icon holder */
.mx-diamond {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-pale), white);
    border: 1.5px solid rgba(255, 201, 102, 0.5);
    transform: rotate(45deg) translateZ(0);
    flex-shrink: 0;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.mx-diamond span {
    transform: rotate(-45deg);
    font-size: 1.375rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-heading);
}

.mx-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    flex-shrink: 0;
    color: inherit;
    shape-rendering: geometricPrecision;
    overflow: visible;
}

.mx-diamond .mx-icon {
    width: 1.35rem;
    height: 1.35rem;
    color: var(--navy-heading);
}

.pillar-icon .mx-icon,
.value-icon .mx-icon,
.contact-icon .mx-icon {
    width: 1.35rem;
    height: 1.35rem;
    color: var(--gold-text);
}

.pillar-icon {
    width: 3.25rem; height: 3.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: var(--gold-pale);
    border: 1.5px solid rgba(255, 201, 102, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    color: var(--gold-text);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

/* ─── Service Slab Cards ─── */
.mx-services {
    gap: 1.125rem;
    align-items: stretch;
}
.mx-services .mx-slab {
    height: 100%;
    min-height: 10.5rem;
}

.mx-slab {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 1.25rem;
    padding: 1.5rem 1.5rem 1.5rem 1.75rem;
    background: var(--white);
    clip-path: var(--mx-cut);
    border: 1px solid rgba(220, 233, 242, 0.9);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    overflow: hidden;
    box-sizing: border-box;
}
.mx-slab::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--navy-soft));
}
.mx-slab:nth-child(3n+2)::before { background: linear-gradient(180deg, var(--navy-soft), var(--gold)); }
.mx-slab:nth-child(3n+3)::before { background: linear-gradient(180deg, var(--navy-light), var(--gold-soft)); }

.mx-slab-index {
    position: absolute;
    top: 0.5rem; right: 0.75rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(74, 122, 155, 0.08);
    pointer-events: none;
    user-select: none;
}

.mx-slab-top {
    grid-row: span 2;
    display: flex;
    align-items: center;
    padding-top: 0.25rem;
}

.mx-slab-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.mx-slab-content h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy-heading);
}
.mx-slab-content p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
    flex: 1;
}

.mx-slab:hover {
    transform: translateY(-6px) translateX(4px);
    box-shadow: var(--shadow-lg);
}
.mx-slab:hover .mx-diamond {
    box-shadow: var(--shadow-gold);
    background: linear-gradient(135deg, #e8eef3, #dce6ee);
    border-color: rgba(15, 28, 40, 0.22);
}

/* Legacy bento — map to slab look if used */
.bento-card { display: none; }

.service-icon {
    width: 3.25rem; height: 3.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.375rem;
}
.service-card { padding: 1.75rem; clip-path: var(--mx-cut); background: white; border: 1px solid var(--navy-pale); }
.service-card h3 { margin-top: 1.125rem; font-size: 1rem; font-weight: 700; }
.service-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--text-soft); }

/* ─── Pipeline Process ─── */
.mx-pipeline {
    display: grid;
    gap: 1.25rem;
    position: relative;
    align-items: stretch;
    padding-top: 0.35rem;
}
@media (min-width: 768px) {
    .mx-pipeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.85rem;
    }
    .mx-pipeline-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .mx-pipeline::before {
        content: '';
        position: absolute;
        top: 2.85rem;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(74, 122, 155, 0.2) 8%,
            rgba(255, 201, 102, 0.55) 50%,
            rgba(74, 122, 155, 0.2) 92%,
            transparent 100%
        );
        z-index: 0;
    }
    .mx-pipeline::after {
        content: '';
        position: absolute;
        top: 2.7rem;
        left: 10%;
        right: 10%;
        height: 6px;
        background: repeating-linear-gradient(
            90deg,
            rgba(255, 201, 102, 0.35) 0,
            rgba(255, 201, 102, 0.35) 4px,
            transparent 4px,
            transparent 14px
        );
        opacity: 0.45;
        z-index: 0;
        pointer-events: none;
        mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    }
}

.mx-node {
    position: relative;
    padding: 0.35rem 0.2rem 0.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}
@media (min-width: 768px) {
    .mx-node:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.55rem;
        right: -0.55rem;
        width: 0.5rem;
        height: 0.5rem;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
        background: var(--gold);
        z-index: 2;
        opacity: 0.85;
    }
}

.mx-node-marker {
    width: 3.85rem;
    height: 3.85rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background:
        linear-gradient(165deg, #ffffff 0%, #e8f0f6 55%, #d5e3ee 100%);
    border: 2px solid rgba(74, 122, 155, 0.28);
    box-shadow:
        0 6px 18px rgba(74, 122, 155, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-shrink: 0;
    transform: translateZ(0);
    transform-style: flat;
    backface-visibility: hidden;
    transition:
        background 0.4s var(--ease),
        border-color 0.4s var(--ease),
        box-shadow 0.4s var(--ease);
}
.mx-node-marker span {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy-heading);
    transition: color 0.35s ease;
}

.mx-node-body {
    position: relative;
    margin-top: 1.35rem;
    padding: 1.35rem 1.15rem 1.4rem;
    background:
        linear-gradient(165deg, #ffffff 0%, #f7fafc 48%, #eef4f8 100%);
    clip-path: var(--mx-cut);
    border: 1px solid rgba(74, 122, 155, 0.16);
    box-shadow: 0 4px 18px rgba(74, 122, 155, 0.06);
    text-align: left;
    overflow: hidden;
    transition:
        transform 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        border-color 0.35s ease,
        background 0.4s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    min-height: 13.5rem;
}
.mx-node-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 18px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), rgba(74, 122, 155, 0.45));
    opacity: 0.85;
    transition: opacity 0.35s ease, height 0.35s ease;
}
.mx-node-body::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 18px;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease, width 0.35s ease;
}

.mx-node-watermark {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
    color: rgba(74, 122, 155, 0.09);
    pointer-events: none;
    user-select: none;
    transition: color 0.35s ease;
}

.mx-node-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: var(--gold-text);
    background: linear-gradient(145deg, var(--gold-pale), #fff6e4);
    border: 1px solid rgba(255, 201, 102, 0.45);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.mx-node-icon .mx-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.mx-node-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}
.mx-node-body p {
    margin-top: 0.55rem;
    font-size: 0.8125rem;
    color: var(--text-soft);
    line-height: 1.65;
    letter-spacing: -0.01em;
    flex: 1;
    position: relative;
    z-index: 1;
}

.mx-node:hover .mx-node-marker {
    background: linear-gradient(165deg, var(--gold-pale), var(--gold-soft));
    border-color: rgba(255, 201, 102, 0.75);
    box-shadow:
        0 8px 22px rgba(255, 201, 102, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.mx-node:hover .mx-node-marker span { color: var(--gold-text); }
.mx-node:hover .mx-node-body {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 28, 40, 0.1);
    border-color: rgba(255, 201, 102, 0.5);
    background: linear-gradient(165deg, #ffffff 0%, #fffaf0 55%, #f3f8fc 100%);
}
.mx-node:hover .mx-node-body::before {
    opacity: 1;
    height: 4px;
}
.mx-node:hover .mx-node-body::after {
    opacity: 1;
    width: 4px;
}
.mx-node:hover .mx-node-watermark {
    color: rgba(255, 201, 102, 0.22);
}
.mx-node:hover .mx-node-icon {
    background: linear-gradient(145deg, #e8eef4, #d5e2ec);
    border-color: rgba(15, 28, 40, 0.2);
    color: var(--icon-dark);
}
.mx-node:hover .mx-node-body h3 { color: var(--icon-dark); }

.step-card, .process-grid { display: none; }
.process-num-circle { display: none; }

/* ─── Voice / Testimonial Cards ─── */
.mx-voice {
    position: relative;
    padding: 0.375rem;
    background: linear-gradient(135deg, var(--navy-pale), var(--gold-pale));
    clip-path: var(--mx-cut-lg);
    transition: transform 0.4s var(--ease);
}
.mx-voice-inner {
    padding: 2rem 1.75rem;
    background: var(--white);
    clip-path: var(--mx-cut);
    position: relative;
    min-height: 100%;
}
.mx-voice-inner::before {
    content: '';
    position: absolute;
    top: 1rem; left: 1rem;
    width: 28px; height: 28px;
    border-top: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    opacity: 0.85;
}
.mx-voice:hover { transform: translateY(-6px) rotate(-0.5deg); }
.mx-voice:hover .mx-voice-inner { box-shadow: inset 0 0 0 1px rgba(255, 201, 102, 0.3); }

.quote-card { display: none; }

/* ─── Stats Bar (connected panel) ─── */
.mx-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}
.mx-stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-soft), var(--gold), var(--navy-light));
}
@media (min-width: 640px) {
    .mx-stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.mx-stat-item {
    padding: 1.75rem 1.25rem;
    text-align: center;
    position: relative;
    transition: background 0.3s;
}
.mx-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--navy-pale), transparent);
}
@media (max-width: 639px) {
    .mx-stat-item:nth-child(odd)::after { display: none; }
    .mx-stat-item:nth-child(1),
    .mx-stat-item:nth-child(2) {
        border-bottom: 1px solid var(--navy-pale);
    }
}
.mx-stat-item:hover { background: var(--gold-pale); }

.mx-stat-val {
    display: block;
    font-family: var(--font-display);
    font-size: 2.125rem;
    font-weight: 800;
    color: var(--navy-heading);
    line-height: 1;
}
.mx-stat-item:nth-child(even) .mx-stat-val { color: var(--gold-text); }
.mx-stat-lbl {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-card, .stats-row { display: none; }
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--navy-heading); line-height: 1; }
.stat-label { margin-top: 0.375rem; font-size: 0.6875rem; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.07em; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { padding: 1.5rem; text-align: center; background: white; clip-path: var(--mx-cut); border: 1px solid var(--navy-pale); }

/* ─── Navbar ─── */
.navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 200;
    height: 4.25rem; display: flex; align-items: center;
    transition: all 0.4s var(--ease);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--navy-pale);
}
@media (min-width: 768px) {
    .navbar {
        height: 5.25rem;
        background: rgba(250, 252, 255, 0.85);
        border-bottom: 1px solid transparent;
    }
}
.navbar.scrolled {
    height: 3.75rem;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--navy-pale);
    box-shadow: 0 4px 24px rgba(74,122,155,0.08);
}
@media (min-width: 768px) {
    .navbar.scrolled { height: 4.5rem; }
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 0.75rem; }
.navbar-logo { flex-shrink: 0; line-height: 0; }
.navbar-logo img {
    height: 2.75rem;
    width: auto;
    max-width: 9.5rem;
    object-fit: contain;
    transition: height 0.3s;
}
@media (min-width: 768px) {
    .navbar-logo img { height: 4.1rem; max-width: 14rem; }
}
.navbar.scrolled .navbar-logo img { height: 2.4rem; }
@media (min-width: 768px) {
    .navbar.scrolled .navbar-logo img { height: 3.5rem; }
}

.navbar-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .navbar-nav { display: flex; } }
.navbar-nav a {
    font-size: 0.875rem; font-weight: 500;
    color: var(--text-soft); padding: 0.5rem 1rem;
    border-radius: 9999px; transition: all 0.25s;
}
.navbar-nav a:hover, .navbar-nav a.active {
    color: var(--navy-heading);
    background: var(--navy-pale);
}

.navbar-actions { display: none; }
@media (min-width: 1024px) { .navbar-actions { display: flex; } }

.menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; padding: 0;
    background: var(--navy-pale); border: none;
    border-radius: 0.625rem; cursor: pointer; color: var(--navy-heading);
    flex-shrink: 0;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
    display: none;
    position: fixed;
    top: 4.25rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid var(--navy-pale);
    padding: 1.25rem 1.25rem 2rem;
    z-index: 250;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(15, 28, 40, 0.12);
}
.navbar.scrolled ~ .mobile-menu { top: 3.75rem; }
.mobile-menu.open { display: block; }
.mobile-menu a:not(.btn) {
    display: block;
    padding: 1rem 0.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-heading);
    border-bottom: 1px solid var(--navy-pale);
}
.mobile-menu a:not(.btn):hover { color: var(--gold-text); }
.mobile-menu .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    line-height: 1.4;
    min-height: 3.15rem;
    border-bottom: none;
    white-space: normal;
}
body.menu-open { overflow: hidden; }

/* ─── Hero (Light Airy) ─── */
.hero {
    position: relative; overflow: hidden;
    padding-top: 4.25rem;
    background: linear-gradient(160deg, #eef6fc 0%, var(--bg-warm) 40%, var(--gold-pale) 100%);
    min-height: auto;
    display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 768px) {
    .hero { padding-top: 5.25rem; min-height: 92vh; }
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-warm));
    pointer-events: none; z-index: 2;
}
.hero-bg { position: absolute; inset: 0; opacity: 0.5; }
.hero-glow-gold {
    position: absolute; right: -5%; top: 5%;
    width: 45vw; height: 45vw; max-width: 500px; max-height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,201,102,0.25) 0%, transparent 65%);
    filter: blur(30px); pointer-events: none;
    animation: float 7s ease-in-out infinite;
}
.hero-glow-navy {
    position: absolute; left: -10%; bottom: 10%;
    width: 40vw; height: 40vw; max-width: 450px; max-height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143,179,204,0.3) 0%, transparent 65%);
    filter: blur(40px); pointer-events: none;
    animation: float 9s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 3rem;
    padding-bottom: 4rem;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.45rem 1.125rem; border-radius: 9999px;
    border: 1.5px solid rgba(255,201,102,0.5);
    background: rgba(255,248,235,0.9);
    font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gold-text);
}

.hero h1 {
    margin-top: 1.75rem;
    font-size: clamp(2.5rem, 5.8vw, 3.85rem);
    font-weight: 700;
    color: var(--navy-heading);
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.hero-desc {
    margin-top: 1.5rem; max-width: 32rem;
    font-size: 1.0625rem; color: var(--text-soft); line-height: 1.75;
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.875rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: center; } }
.hero-checklist { margin-top: 2.25rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .hero-checklist { grid-template-columns: 1fr 1fr; } }
.hero-checklist li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--text-soft); }
.check-icon { color: var(--gold-text); flex-shrink: 0; width: 1.125rem; height: 1.125rem; }

.hero-visual { position: relative; }
.hero-visual-glow {
    position: absolute; inset: -1rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255,201,102,0.2), rgba(143,179,204,0.2));
    filter: blur(24px);
}
.hero-image-wrap {
    position: relative; padding: 3px;
    clip-path: var(--mx-cut-lg);
    background: linear-gradient(135deg, var(--gold-soft), var(--navy-pale), var(--gold-pale));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: heroRise 1.1s var(--ease) both;
}
.hero-image-wrap img {
    clip-path: var(--mx-cut-lg);
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
@media (min-width: 1024px) { .hero-image-wrap img { min-height: 420px; aspect-ratio: auto; } }

.hero-float-cards {
    position: absolute; bottom: -1.25rem;
    left: 1rem; right: 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; z-index: 4;
}
.float-card {
    clip-path: var(--mx-cut);
    padding: 0.875rem 1.125rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow);
    position: relative;
}
.float-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--navy-soft));
}
.float-card.gold::before { background: linear-gradient(90deg, var(--gold), #ffb84d); }
.float-card.navy::before { background: linear-gradient(90deg, var(--navy-soft), var(--navy-light)); }
.float-card-label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); }
.float-card.gold .float-card-label { color: var(--gold-text); }
.float-card-value { margin-top: 0.2rem; font-size: 0.9375rem; font-weight: 700; color: var(--navy-heading); font-family: var(--font-display); }

.stats-strip { position: relative; z-index: 4; margin-top: 2.5rem; padding-bottom: 2rem; }
.mx-stats-bar { margin-top: 0; }

/* ─── Sections ─── */
.section {
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    position: relative;
}
.section-alt {
    background: #f7fafc;
    border-top: 1px solid rgba(74, 122, 155, 0.08);
    border-bottom: 1px solid rgba(74, 122, 155, 0.08);
}
.section-header {
    text-align: left;
    max-width: 40rem;
    margin: 0 0 3rem;
}
@media (min-width: 768px) {
    .section-header {
        text-align: center;
        margin: 0 auto 3.75rem;
        max-width: 44rem;
    }
}
.section-header h2 {
    margin-top: 0.875rem;
    font-size: clamp(1.75rem, 3.6vw, 2.625rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--navy-heading);
}
.section-header p,
.section-header .text-lead {
    margin-top: 1rem;
    color: var(--text-soft);
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 38rem;
}
@media (min-width: 768px) {
    .section-header .text-lead { margin-left: auto; margin-right: auto; }
}
.section-sub {
    margin-top: 0.75rem;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 34rem;
}
.section-compact { padding: 2rem 0; }

.section-header-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(74, 122, 155, 0.12);
}
@media (min-width: 640px) {
    .section-header-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}
.section-header-row h2 {
    margin-top: 0.75rem;
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

/* Enterprise eyebrow — no pill chrome */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-text);
    background: transparent;
    padding: 0;
    clip-path: none;
    border: none;
}
.section-label::before {
    content: '';
    width: 1.25rem;
    height: 2px;
    min-height: 0;
    background: var(--gold);
    border-radius: 1px;
}
.section-label.navy {
    color: var(--navy-text);
    background: transparent;
}
.section-label.navy::before {
    background: var(--navy-soft);
}

.reveal-line::after { display: none !important; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    color: var(--navy-heading);
    padding: 0.65rem 1.1rem;
    clip-path: none;
    border-radius: 9999px;
    background: var(--white);
    border: 1px solid rgba(74, 122, 155, 0.18);
    box-shadow: 0 1px 2px rgba(15, 28, 40, 0.04);
    transition: all var(--duration-fast) var(--ease);
}
.link-arrow:hover {
    background: var(--navy-heading);
    border-color: var(--navy-heading);
    color: #fff;
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.services-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ─── Feature Split Panel ─── */
.mx-feature {
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--white);
}
.split-card { border-radius: 0; border: none; }

.split-grid { display: grid; }
@media (min-width: 1024px) {
    .split-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.split-content { padding: 2.5rem; background: white; position: relative; }
.split-content::after { display: none; }
@media (min-width: 640px) { .split-content { padding: 3rem 3.25rem; } }
.split-content h2 { margin-top: 1rem; font-size: clamp(1.625rem, 3vw, 2rem); font-weight: 800; }
.split-content > p { margin-top: 1.125rem; color: var(--text-soft); line-height: 1.7; }

.benefits-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: stretch;
}
@media (min-width: 640px) {
    .benefits-grid { grid-template-columns: 1fr 1fr; }
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    min-height: 3.25rem;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    background: var(--gold-pale);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-heading);
    border: 1px solid rgba(255, 201, 102, 0.4);
    border-left: 3px solid var(--gold);
    transition: background 0.25s, border-color 0.25s;
}
.benefit-item .check-icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
}
.benefit-item:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
}

.split-visual {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}
@media (min-width: 1024px) {
    .split-visual {
        min-height: 100%;
        border-left: 1px solid var(--navy-pale);
    }
}
@media (max-width: 1023px) {
    .split-visual {
        min-height: 240px;
        border-top: 1px solid var(--navy-pale);
    }
}
.split-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.mx-feature:hover .split-visual img { transform: scale(1.04); }
.split-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220,233,242,0.12) 0%, rgba(255,232,168,0.1) 100%);
    pointer-events: none;
}

/* ─── Testimonials grid ─── */
.testimonials-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.testimonials-grid .mx-voice { height: 100%; }
.testimonials-grid .mx-voice-inner { height: 100%; display: flex; flex-direction: column; }
.testimonials-grid .testimonial-author { margin-top: auto; }
.stars { display: flex; gap: 0.2rem; color: var(--gold); font-size: 0.875rem; letter-spacing: 0.05em; }
.testimonial-quote {
    margin-top: 1rem;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--text-soft);
    line-height: 1.7;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}
.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--navy-pale);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.125rem 0.875rem;
    align-items: center;
}
.testimonial-author::before {
    content: attr(data-initial);
    grid-row: span 2;
    width: 2.5rem; height: 2.5rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--gold-pale);
    border: 1.5px solid var(--gold-soft);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 0.75rem; font-weight: 800; color: var(--gold-text);
}
.testimonial-author strong { color: var(--navy-heading); font-size: 0.875rem; }
.testimonial-author span { font-size: 0.75rem; color: var(--text-soft); }

/* ─── CTA Forge Panel ─── */
.cta-banner {
    position: relative; overflow: hidden;
    clip-path: var(--mx-cut-lg);
    background: var(--white);
    padding: 4.5rem 2rem; text-align: center;
    border: 1px solid rgba(255, 201, 102, 0.35);
    box-shadow: var(--shadow);
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, var(--navy-pale) 0%, transparent 40%),
        linear-gradient(225deg, var(--gold-pale) 0%, transparent 45%);
    pointer-events: none;
}
.cta-banner::after {
    content: '';
    position: absolute;
    top: 1.5rem; left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
    border: 1px dashed rgba(74, 122, 155, 0.2);
    pointer-events: none;
}
@media (min-width: 640px) { .cta-banner { padding: 5.5rem 4rem; } }
.cta-glow { display: none; }
.cta-content { position: relative; max-width: 42rem; margin: 0 auto; z-index: 1; }
.cta-content h2 { font-size: clamp(1.875rem, 4vw, 2.375rem); font-weight: 800; color: var(--navy-heading); }
.cta-content p { margin-top: 1rem; color: var(--text-soft); line-height: 1.7; font-size: 1.0625rem; }
.cta-actions { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.875rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; justify-content: center; } }

/* ─── Page Hero ─── */
.page-hero {
    position: relative; overflow: hidden;
    padding-top: 4.25rem;
    background: linear-gradient(160deg, #eef6fc 0%, var(--gold-pale) 100%);
    min-height: 36vh; display: flex; align-items: center;
}
@media (min-width: 768px) {
    .page-hero { padding-top: 5.25rem; min-height: 44vh; }
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 60px; background: linear-gradient(to bottom, transparent, var(--bg-warm));
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 4.5rem;
    padding-bottom: 5rem;
    width: 100%;
}
.page-hero h1 { margin-top: 1.125rem; font-size: clamp(2.125rem, 5vw, 3.25rem); font-weight: 800; color: var(--navy-heading); }
.page-hero p { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; color: var(--text-soft); line-height: 1.7; }

/* ─── Portfolio Forge Cards ─── */
.portfolio-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-grid { align-items: stretch; }
.portfolio-grid .portfolio-card { height: 100%; display: flex; flex-direction: column; }
.portfolio-grid .portfolio-body { flex: 1; }

.portfolio-card {
    clip-path: var(--mx-cut-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
}
.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    width: 24px; height: 24px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    z-index: 3;
    pointer-events: none;
    transition: all 0.35s var(--ease);
}
.portfolio-card:hover {
    transform: translateY(-8px) translateX(3px);
    box-shadow: var(--shadow-lg);
}
.portfolio-card:hover::before { width: 32px; height: 32px; }

.portfolio-image { position: relative; height: 13rem; overflow: hidden; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.portfolio-card:hover .portfolio-image img { transform: scale(1.08); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15, 28, 40, 0.8) 0%, transparent 55%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem;
}
.portfolio-tag {
    display: inline-flex; padding: 0.35rem 0.875rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.625rem; font-weight: 700;
    color: var(--navy-heading); text-transform: uppercase; letter-spacing: 0.08em;
    width: fit-content;
}
.portfolio-body {
    padding: 1.375rem 1.5rem;
    border-top: 2px solid var(--navy-pale);
    position: relative;
}
.portfolio-body::after {
    content: '';
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    width: 16px; height: 16px;
    border-bottom: 2px solid var(--navy-soft);
    border-right: 2px solid var(--navy-soft);
}
.portfolio-body h3 { font-size: 1.0625rem; font-weight: 700; }
.portfolio-result { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--gold-text); font-family: var(--font-display); }

/* ─── Service Full Cards (Services page) ─── */
.service-full {
    clip-path: var(--mx-cut-lg);
    background: var(--white);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: grid;
    grid-template-columns: 4px 1fr;
}
.service-full:hover {
    transform: translateY(-5px) translateX(3px);
    box-shadow: var(--shadow-lg);
}
.service-full-bar {
    width: 4px;
    min-height: 100%;
}
.service-full-body { padding: 2rem 2rem 2rem 1.75rem; position: relative; }
.service-full-body::before {
    content: attr(data-num);
    position: absolute;
    top: 1rem; right: 1.25rem;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(74, 122, 155, 0.07);
    line-height: 1;
}
.service-full .mx-diamond { margin-bottom: 0.25rem; }
.service-full-body h3 { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; }
.service-short { margin-top: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--gold-text); }
.service-desc { margin-top: 0.625rem; font-size: 0.875rem; color: var(--text-soft); line-height: 1.65; }
.service-features {
    margin-top: 1.375rem; padding-top: 1.25rem;
    border-top: 1px solid var(--navy-pale);
    display: grid; gap: 0.5rem;
}
@media (min-width: 640px) { .service-features { grid-template-columns: 1fr 1fr; } }
.service-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-soft); }
.services-full-grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 768px) { .services-full-grid { grid-template-columns: repeat(2, 1fr); } }
.services-full-grid .service-full { height: 100%; }

/* ─── Industries ─── */
.industries-grid { display: grid; gap: 0.625rem; }
@media (min-width: 640px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.125rem 1.375rem;
    background: var(--white);
    clip-path: var(--mx-cut);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}
.industry-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s var(--ease);
}
.industry-item:hover {
    transform: translateX(6px);
    border-color: rgba(255, 201, 102, 0.45);
    background: var(--gold-pale);
}
.industry-item:hover::before { transform: scaleY(1); }
.industry-count {
    padding: 0.3rem 0.75rem;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    background: var(--navy-pale);
    font-size: 0.625rem; font-weight: 700; color: var(--navy-heading);
}

/* ─── Case Study ─── */
.case-study-grid {
    display: grid;
    clip-path: var(--mx-cut-lg);
    overflow: hidden;
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow);
}
@media (min-width: 1024px) { .case-study-grid { grid-template-columns: 1fr 1fr; } }
.case-study-visual {
    padding: 3rem;
    background: linear-gradient(145deg, var(--navy-pale) 0%, #eef6fc 50%, var(--gold-pale) 100%);
    position: relative;
}
.case-study-visual::before {
    content: '';
    position: absolute;
    top: 1.25rem; left: 1.25rem;
    width: 40px; height: 40px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}
.case-study-visual h2 { margin-top: 1rem; font-size: 1.75rem; color: var(--navy-heading); font-weight: 800; }
.case-study-visual p { margin-top: 1rem; color: var(--text-soft); line-height: 1.7; }
.case-metrics { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
.case-metric {
    padding: 1rem 0.5rem;
    clip-path: var(--mx-cut);
    background: white;
    border: 1px solid var(--navy-pale);
    text-align: center;
}
.case-metric-value { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--gold-text); }
.case-metric-label { font-size: 0.625rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.25rem; }
.case-study-content { padding: 3rem; background: white; display: flex; flex-direction: column; justify-content: center; }
.case-study-content h3 { font-size: 1.2rem; font-weight: 700; }
.case-list { margin-top: 1.375rem; display: flex; flex-direction: column; gap: 0.625rem; }
.case-list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--text-soft); }
.case-list li::before {
    content: ''; width: 6px; height: 6px; flex-shrink: 0; margin-top: 0.5rem;
    background: var(--gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.case-list li strong { color: var(--navy-heading); font-weight: 700; }

/* ─── About ─── */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.about-image-wrap {
    padding: 3px;
    clip-path: var(--mx-cut-lg);
    background: linear-gradient(135deg, var(--gold-soft), var(--navy-pale));
    box-shadow: var(--shadow-lg);
}
.about-image-wrap img { clip-path: var(--mx-cut-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.mx-mini-stats {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    clip-path: var(--mx-cut);
    border: 1px solid var(--navy-pale);
    overflow: hidden;
    background: white;
}
.mx-mini-stats > div {
    padding: 1.25rem;
    text-align: center;
}
.mx-mini-stats > div:first-child {
    border-right: 1px solid var(--navy-pale);
}

.values-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
    padding: 2rem 1.375rem;
    text-align: center;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
}
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    width: 14px; height: 14px;
    border-bottom: 2px solid var(--navy-soft);
    border-right: 2px solid var(--navy-soft);
    opacity: 0;
    transition: opacity 0.3s;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 201, 102, 0.45);
}
.value-card:hover::after { opacity: 1; }

.value-icon {
    width: 3.75rem; height: 3.75rem; margin: 0 auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--gold-pale);
    border: 1.5px solid rgba(255, 201, 102, 0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.375rem;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.value-card:hover .value-icon {
    background: var(--gold-soft);
    border-color: rgba(15, 28, 40, 0.28);
    color: var(--icon-dark);
}
.value-card h3 { margin-top: 1rem; font-size: 1rem; font-weight: 700; }
.value-card p { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--text-soft); }

.team-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.team-card {
    padding: 1.75rem;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-soft), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.team-card:hover::before { transform: scaleX(1); }
.team-card:hover {
    transform: translateY(-4px) translateX(3px);
    box-shadow: var(--shadow);
}
.team-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.team-card h3 { font-size: 1.0625rem; font-weight: 700; }
.team-count {
    padding: 0.3rem 0.75rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
    background: var(--gold-pale);
    border: 1px solid rgba(255, 201, 102, 0.4);
    font-size: 0.625rem; font-weight: 700; color: var(--gold-text); white-space: nowrap;
}
.team-card p { margin-top: 0.625rem; font-size: 0.875rem; color: var(--text-soft); }

/* ─── Contact ─── */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.75fr; gap: 3rem; } }

.contact-info-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.125rem 1.25rem;
    background: var(--white);
    clip-path: var(--mx-cut);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease);
    position: relative;
}
.contact-info-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
}
.contact-info-item:hover {
    transform: translateX(6px);
    border-color: rgba(255, 201, 102, 0.45);
    background: var(--gold-pale);
}
.contact-info-item:hover::before { opacity: 1; }

.contact-icon {
    width: 2.75rem; height: 2.75rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--gold-pale);
    border: 1px solid rgba(255, 201, 102, 0.35);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.125rem;
}
.contact-info-item .label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); }
.contact-info-item .value { margin-top: 0.2rem; font-size: 0.9375rem; font-weight: 600; color: var(--navy-heading); }
.contact-info-item a.value:hover { color: var(--gold-text); }

.contact-form {
    padding: 2.5rem;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow);
    position: relative;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: 1rem; left: 1rem;
    width: 32px; height: 32px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    pointer-events: none;
}

.mx-promo-card {
    margin-top: 2rem;
    padding: 1.5rem 1.75rem;
    clip-path: var(--mx-cut);
    background: linear-gradient(135deg, var(--gold-pale), white);
    border: 1px solid rgba(255, 201, 102, 0.4);
    position: relative;
}
.mx-promo-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), #ffb84d);
}
.mx-promo-card p:first-child { font-weight: 700; color: var(--navy-heading); }
.mx-promo-card p:last-child { margin-top: 0.5rem; font-size: 0.875rem; color: var(--text-soft); }
.form-row { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.125rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 700; color: var(--navy-heading); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.875rem 1.125rem; border-radius: var(--radius);
    border: 1.5px solid var(--navy-pale); background: var(--bg-warm);
    font-size: 0.9375rem; font-family: inherit; color: var(--ink); transition: all 0.25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--gold); background: white;
    box-shadow: 0 0 0 4px rgba(255,201,102,0.2);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.required-star {
    color: #dc2626;
    font-weight: 700;
    margin-left: 0.125rem;
}

.form-note {
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-soft);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #dc2626;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-error {
    display: block;
    min-height: 1.125rem;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #dc2626;
}

.form-success { text-align: center; padding: 3rem 0; }
.form-success-icon {
    width: 4rem; height: 4rem; margin: 0 auto; border-radius: 50%;
    background: var(--gold-pale); border: 2px solid var(--gold-soft);
    color: var(--gold-text); display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; font-weight: 700;
}
.form-success h3 { margin-top: 1.5rem; font-size: 1.5rem; font-weight: 800; }
.form-success p { margin-top: 0.75rem; color: var(--text-soft); }

/* ─── Footer ─── */
.footer {
    position: relative;
    padding: 0 0 2rem;
    background: linear-gradient(180deg, #0c1824 0%, #0f1c28 55%, #122636 100%);
    color: rgba(255, 255, 255, 0.82);
    border-top: none;
    overflow: hidden;
}
.footer-accent {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--navy-soft), var(--gold), transparent);
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 40% 60% at 0% 100%, rgba(255, 201, 102, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 35% 50% at 100% 0%, rgba(74, 122, 155, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
@media (min-width: 768px) { .footer { padding-bottom: 2.5rem; } }

.footer-top {
    display: grid;
    gap: 2rem;
    padding-top: 2.75rem;
}
@media (min-width: 1024px) {
    .footer-top {
        grid-template-columns: 1.15fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}
.footer-brand { min-width: 0; }
.footer-logo { display: inline-flex; line-height: 0; }
.footer-logo img {
    height: 3.25rem;
    width: auto;
    max-width: min(100%, 14rem);
    object-fit: contain;
    filter: brightness(1.05);
}
@media (min-width: 768px) {
    .footer-logo img { height: 4.5rem; max-width: 16rem; }
}
.footer-desc {
    margin-top: 1rem;
    max-width: 26rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.75;
}
.footer-slogan {
    margin-top: 0.85rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    line-height: 1.55;
}
.footer-top-nav {
    display: grid;
    gap: 1.75rem;
}
@media (min-width: 640px) {
    .footer-top-nav { grid-template-columns: 1fr 1.2fr; gap: 2rem; }
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 201, 102, 0.25);
}
.footer-col ul { margin-top: 0.85rem; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a,
.footer-col li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold); }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}
.footer-contact-icon {
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 201, 102, 0.14);
    border: 1px solid rgba(255, 201, 102, 0.35);
    border-radius: 50%;
    clip-path: none;
    color: var(--gold);
}
.footer-contact-icon svg { width: 0.95rem; height: 0.95rem; }
.footer-contact-list a,
.footer-contact-list span {
    padding-top: 0.35rem;
    line-height: 1.45;
    word-break: break-word;
}
.footer-col a.footer-cta,
.footer-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 1.15rem;
    padding: 0.65rem 1.15rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #0f1c28 !important;
    background: linear-gradient(135deg, #ffc966, #ffe4a8);
    border-radius: 999px;
    clip-path: none;
    box-shadow: 0 6px 16px rgba(255, 201, 102, 0.25);
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease;
}
.footer-col a.footer-cta:hover,
.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 201, 102, 0.4);
    color: #0f1c28 !important;
    background: linear-gradient(135deg, #ffd57a, #fff0c2);
}
.footer-explore {
    margin-top: 2.25rem;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    clip-path: var(--mx-cut-lg);
}
@media (min-width: 768px) {
    .footer-explore { margin-top: 2.75rem; padding: 1.75rem 1.75rem 1.5rem; }
}
.footer-explore-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
.footer-explore-label {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
}
.footer-explore-head h4 {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.footer-explore-grid {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .footer-explore-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer-explore-col h5 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
}
.footer-explore-col ul {
    display: grid;
    gap: 0.35rem 1rem;
}
@media (min-width: 640px) {
    .footer-explore-col ul { grid-template-columns: 1fr 1fr; }
}
.footer-explore-col a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.45;
    transition: color 0.25s ease;
}
.footer-explore-col a:hover { color: var(--gold); }
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
@media (min-width: 640px) {
    .footer-bottom {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.5;
}
@media (max-width: 639px) {
    .footer-top { padding-top: 2.25rem; text-align: center; }
    .footer-brand .footer-logo { justify-content: center; width: 100%; }
    .footer-logo img { margin: 0 auto; }
    .footer-desc, .footer-slogan { margin-left: auto; margin-right: auto; }
    .footer-desc { max-width: 20rem; font-size: 0.8125rem; }
    .footer-top-nav { text-align: left; }
    .footer-explore-col ul { grid-template-columns: 1fr; }
    .footer-bottom {
        padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }
    .footer-bottom p { max-width: 18rem; }
}

/* ─── Banner ─── */
.banner-image {
    padding: 3px; margin-bottom: 3rem;
    clip-path: var(--mx-cut-lg);
    background: linear-gradient(135deg, var(--gold-soft), var(--navy-pale));
    box-shadow: var(--shadow-lg); overflow: hidden;
    position: relative;
}
.banner-image::before {
    content: '';
    position: absolute;
    top: 1rem; left: 1rem;
    width: 36px; height: 36px;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    z-index: 2;
    pointer-events: none;
}
.banner-image img { clip-path: var(--mx-cut-lg); width: 100%; height: 16rem; object-fit: cover; }
@media (min-width: 640px) { .banner-image img { height: 20rem; } }

.about-grid p, .contact-grid > div > p { color: var(--text-soft); line-height: 1.7; }

/* ─── Trust Strip ─── */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--navy-pale);
    border-bottom: 1px solid var(--navy-pale);
}
.trust-strip-label {
    text-align: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-soft);
    margin-bottom: 1.5rem;
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
}
.trust-logo {
    padding: 0.5rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy-heading);
    background: var(--bg);
    border: 1px solid var(--navy-pale);
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    opacity: 0.75;
    transition: all 0.3s var(--ease);
}
.trust-logo:hover {
    opacity: 1;
    background: var(--gold-pale);
    border-color: rgba(255, 201, 102, 0.45);
    transform: translateY(-3px);
}

/* ─── Solution Pillars ─── */
.pillars-grid {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillars-grid .pillar-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 100%;
}
@media (min-width: 1024px) {
    .pillars-grid .pillar-card:last-child:nth-child(5) {
        grid-column: span 1;
    }
}

.pillar-card {
    padding: 2rem 1.75rem;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-soft), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 201, 102, 0.4);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon {
    width: 3.25rem; height: 3.25rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-pale);
    border: 1.5px solid rgba(255, 201, 102, 0.4);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    color: var(--gold-text);
}
.pillar-card h3 {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.pillar-card > p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.7;
}
.pillar-tags {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pillar-tags li {
    padding: 0.3rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--navy-heading);
    background: var(--navy-pale);
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ─── Problem → Solution Table ─── */
.mx-problem-solution {
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--white);
}
.ps-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 2px solid var(--navy-pale);
}
.ps-header-col {
    padding: 1.25rem 1.5rem;
}
.ps-header-col.challenge { background: #fef8f0; }
.ps-header-col.solution { background: #f0f7fc; border-left: 1px solid var(--navy-pale); }
.ps-badge {
    display: inline-flex;
    padding: 0.35rem 0.875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}
.ps-badge.challenge { background: rgba(255, 201, 102, 0.25); color: var(--gold-text); }
.ps-badge.solution { background: rgba(74, 122, 155, 0.15); color: var(--navy-heading); }

.ps-rows { display: flex; flex-direction: column; }
.ps-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border-bottom: 1px solid var(--navy-pale);
    align-items: stretch;
}
.ps-row:last-child { border-bottom: none; }
.ps-challenge, .ps-solution {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
}
.ps-challenge { background: #fffcf7; }
.ps-solution { background: #f8fbfd; border-left: 1px solid var(--navy-pale); }
.ps-challenge p, .ps-solution p {
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
}
.ps-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gold-text);
    background: var(--white);
    border-left: 1px solid var(--navy-pale);
    border-right: 1px solid var(--navy-pale);
}

.ps-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--navy-pale), var(--gold-pale));
    border-top: 2px solid var(--navy-pale);
}
@media (min-width: 640px) {
    .ps-footer { flex-direction: row; justify-content: space-between; }
}
.ps-results {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.ps-result { text-align: center; }
.ps-result-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gold-text);
    line-height: 1;
}
.ps-result-lbl {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-soft);
}

/* ─── Principles Grid ─── */
.principles-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 640px) { .principles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }

.principle-item {
    padding: 1.75rem 1.5rem;
    background: var(--white);
    clip-path: var(--mx-cut);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease);
    position: relative;
}
.principle-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--navy-soft));
    opacity: 0;
    transition: opacity 0.3s;
}
.principle-item:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 201, 102, 0.4);
}
.principle-item:hover::before { opacity: 1; }
.principle-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-text);
    letter-spacing: 0.05em;
}
.principle-item h3 {
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}
.principle-item p {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-soft);
    line-height: 1.65;
}

/* ─── Engagement Models ─── */
.engagement-grid {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 768px) { .engagement-grid { grid-template-columns: repeat(3, 1fr); } }

.engagement-card {
    padding: 2rem 1.75rem;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}
.engagement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 201, 102, 0.45);
}
.engagement-card.featured {
    border-color: rgba(255, 201, 102, 0.5);
    background: linear-gradient(145deg, var(--white), var(--gold-pale));
}
.engagement-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-text);
}
.engagement-card h3 {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.engagement-card > p {
    margin-top: 0.625rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.65;
    flex: 1;
}
.engagement-price {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--navy-pale);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy-heading);
}
.engagement-features {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.engagement-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-soft);
}

.industries-grid-wide {
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .industries-grid-wide { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industries-grid-wide { grid-template-columns: repeat(3, 1fr); } }

/* ─── About Credentials ─── */
.credentials-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .credentials-grid { grid-template-columns: repeat(4, 1fr); } }
.credential-item {
    padding: 1.5rem 1rem;
    text-align: center;
    background: var(--white);
    clip-path: var(--mx-cut);
    border: 1px solid var(--navy-pale);
    transition: all 0.3s var(--ease);
}
.credential-item:hover {
    background: var(--gold-pale);
    border-color: rgba(255, 201, 102, 0.45);
    transform: translateY(-3px);
}
.credential-val {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy-heading);
    line-height: 1;
}
.credential-item:nth-child(even) .credential-val { color: var(--gold-text); }
.credential-lbl {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-soft);
}

/* ─── Insights ─── */
.insights-grid {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 768px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .insights-grid { grid-template-columns: repeat(3, 1fr); } }

.insight-card {
    padding: 1.75rem;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 201, 102, 0.45);
}
.insight-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.insight-tag {
    padding: 0.3rem 0.75rem;
    background: var(--gold-pale);
    color: var(--gold-text);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}
.insight-card h3 {
    margin-top: 1rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}
.insight-card > p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    line-height: 1.7;
    flex: 1;
}
.insight-link {
    margin-top: 1.25rem;
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy-heading);
    transition: color 0.25s, transform 0.25s;
}
.insight-link:hover {
    color: var(--gold-text);
    transform: translateX(4px);
}

/* ─── Branding Cards ─── */
.brand-cards-grid {
    display: grid;
    gap: 1.25rem;
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
    overflow: visible;
}
@media (min-width: 640px) { .brand-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .brand-cards-grid { grid-template-columns: repeat(4, 1fr); } }

.brand-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 17rem;
    padding: 1.75rem 1.5rem;
    background: var(--white);
    clip-path: var(--mx-cut-lg);
    border: 1px solid var(--navy-pale);
    box-shadow: var(--shadow-sm);
    overflow: visible;
    text-decoration: none;
    color: inherit;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 40%, rgba(255, 201, 102, 0.18) 100%);
    opacity: 0;
    transition: opacity 0.45s var(--ease);
}
.brand-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-soft), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 201, 102, 0.5);
}
.brand-card:hover::before { opacity: 1; }
.brand-card:hover::after { transform: scaleX(1); }

.brand-card-mark {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-pale);
    border: 1.5px solid rgba(255, 201, 102, 0.45);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    color: var(--gold-text);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.brand-card:hover .brand-card-mark {
    background: var(--gold-soft);
    border-color: rgba(15, 28, 40, 0.22);
    color: var(--icon-dark);
}
.brand-card-mark .mx-icon { width: 1.25rem; height: 1.25rem; }

.brand-card-index {
    position: absolute;
    top: 1rem;
    right: 1.15rem;
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(74, 122, 155, 0.1);
    pointer-events: none;
}

.brand-card h3 {
    margin-top: 1.25rem;
    font-size: 1.1875rem;
    font-weight: 700;
    letter-spacing: -0.028em;
    position: relative;
    z-index: 1;
}
.brand-card p {
    margin-top: 0.625rem;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.7;
    letter-spacing: -0.01em;
    flex: 1;
    position: relative;
    z-index: 1;
}
.brand-card-cta {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-heading);
    position: relative;
    z-index: 1;
    transition: color 0.3s, transform 0.3s var(--ease);
}
.brand-card:hover .brand-card-cta {
    color: var(--gold-text);
    transform: translateX(4px);
}

.brand-card.tone-navy .brand-card-mark {
    background: var(--navy-pale);
    border-color: rgba(74, 122, 155, 0.35);
    color: var(--navy-heading);
}
.brand-card.tone-navy::after {
    background: linear-gradient(90deg, var(--gold), var(--navy-soft));
}

/* ─── Trust marquee ─── */
.trust-marquee {
    overflow: hidden;
    padding: 0.75rem 0 0.85rem;
    margin: -0.15rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trust-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0.75rem;
    padding: 0.35rem 0;
    animation: marquee 32s linear infinite;
}
.trust-marquee:hover .trust-marquee-track { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── Animations ─── */
/* Visible by default — only hide when JS is active (prevents blank server pages) */
.fade-in,
.fade-in-left,
.fade-in-scale {
    opacity: 1;
    transform: none;
}

html.js .fade-in {
    opacity: 0;
    transform: translateY(1.75rem);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html.js .fade-in-left {
    opacity: 0;
    transform: translateX(-1.5rem);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js .fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

html.js .fade-in-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger > .fade-in,
.stagger > .fade-in-scale,
.stagger > .brand-card {
    transition-delay: calc(var(--i, 0) * 70ms);
}

.float-card.gold { animation: floatSoft 5.5s ease-in-out infinite; }
.float-card.navy { animation: floatSoft 6.5s ease-in-out infinite reverse; animation-delay: 0.4s; }
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes heroRise {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.section-header h2,
.section-header-row h2 {
    position: relative;
}
.reveal-line::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--gold), var(--navy-soft));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.7s var(--ease) 0.2s;
}
.section-header-row .reveal-line::after {
    margin-left: 0;
    transform-origin: left;
}
.fade-in.visible .reveal-line::after,
.reveal-line.visible::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-left, .fade-in-scale,
    html.js .fade-in, html.js .fade-in-left, html.js .fade-in-scale,
    .trust-marquee-track, .float-card.gold, .float-card.navy,
    .hero-image-wrap, .brand-card, .reveal-line::after {
        animation: none !important;
        transition: none !important;
    }
    .fade-in, .fade-in-left, .fade-in-scale,
    html.js .fade-in, html.js .fade-in-left, html.js .fade-in-scale {
        opacity: 1 !important;
        transform: none !important;
    }
    .reveal-line::after { transform: scaleX(1); }
}

.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

.about-grid h2, .contact-grid h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy-heading); }
.industry-item span:first-child { font-weight: 600; color: var(--navy-heading); }

.card-soft .stat-value {
    font-size: 1.75rem; font-weight: 800; color: var(--navy-heading);
}

.text-center p { color: var(--text-soft); }
.contact-grid .card p { color: var(--navy-heading); font-weight: 700; }
.contact-grid .card p + p { color: var(--text-soft); font-weight: 400; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--navy-soft), var(--gold)); border-radius: 3px; }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {
    .container {
        padding-left: max(1.75rem, env(safe-area-inset-left));
        padding-right: max(1.75rem, env(safe-area-inset-right));
    }
    .navbar .container {
        padding-left: max(1.35rem, env(safe-area-inset-left));
        padding-right: max(1.35rem, env(safe-area-inset-right));
    }
    .mobile-menu {
        padding-left: max(1.75rem, env(safe-area-inset-left));
        padding-right: max(1.75rem, env(safe-area-inset-right));
    }

    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2rem; }
    .section-header h2,
    .section-header-row h2 { font-size: 1.625rem; }

    .badge {
        max-width: 100%;
        white-space: normal;
        text-align: left;
        line-height: 1.4;
        letter-spacing: 0.06em;
        font-size: 0.625rem;
        padding: 0.45rem 0.85rem;
    }

    .hero-content {
        padding-top: 1.75rem;
        padding-bottom: 2.5rem;
        padding-left: max(1.75rem, env(safe-area-inset-left));
        padding-right: max(1.75rem, env(safe-area-inset-right));
    }
    .hero-grid { gap: 2rem; }
    .hero h1 {
        margin-top: 1.25rem;
        font-size: clamp(1.75rem, 7.5vw, 2.15rem);
        line-height: 1.18;
        letter-spacing: -0.02em;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .hero-desc {
        margin-top: 1rem;
        font-size: 0.9375rem;
        line-height: 1.65;
        max-width: 100%;
    }
    .hero-actions {
        margin-top: 1.5rem;
        gap: 0.75rem;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        white-space: normal;
        height: auto;
        min-height: 3.25rem;
        padding: 1rem 1.5rem;
        line-height: 1.4;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .btn,
    .btn-lg {
        display: inline-flex;
        height: auto !important;
        min-height: 3.15rem;
        padding: 1rem 1.5rem !important;
        font-size: 0.875rem;
        line-height: 1.4;
        text-align: center;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    .btn-outline,
    .btn-white-outline {
        padding: calc(1rem - 2px) 1.5rem !important;
    }
    .page-hero .btn,
    .section .btn,
    .cta-actions .btn {
        padding: 1rem 1.5rem !important;
        line-height: 1.4;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .hero-checklist { margin-top: 1.5rem; gap: 0.625rem; }
    .hero-float-cards {
        position: static;
        margin-top: 1rem;
        left: auto; right: auto; bottom: auto;
    }
    .stats-strip { margin-top: 1.75rem; padding-bottom: 0.5rem; }
    .mx-stat-val { font-size: 1.5rem; }
    .mx-stat-item { padding: 1.25rem 0.75rem; }

    .mx-slab {
        grid-template-columns: auto 1fr;
        padding: 1.25rem 1.15rem 1.25rem 1.35rem;
        min-height: 0;
    }
    .mx-slab-index { font-size: 2.25rem; }
    .mx-diamond { width: 2.75rem; height: 2.75rem; }
    .mx-diamond span { font-size: 1.125rem; }

    .mx-pipeline { gap: 0.85rem; }
    .mx-node { padding: 0.25rem 0; }
    .mx-node-body { min-height: 0; padding: 1.25rem 1.1rem 1.3rem; }
    .mx-node:not(:last-child)::after { display: none; }

    .split-content { padding: 1.75rem 1.25rem; }
    .benefits-grid { gap: 0.625rem; }
    .benefit-item {
        min-height: 2.85rem;
        padding: 0.75rem 0.875rem;
        font-size: 0.75rem;
    }

    .cta-banner {
        padding: 2.5rem 1.25rem;
        clip-path: none;
    }
    .cta-banner::after { display: none; }
    .cta-content h2 { font-size: 1.5rem; }
    .cta-actions .btn {
        width: 100%;
        padding: 1rem 1.5rem !important;
        line-height: 1.4;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .page-hero-content {
        padding-top: 2.75rem;
        padding-bottom: 3rem;
        padding-left: max(1.75rem, env(safe-area-inset-left));
        padding-right: max(1.75rem, env(safe-area-inset-right));
    }
    .page-hero h1 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
    .page-hero p { font-size: 1rem; }

    .contact-form {
        padding: 1.75rem 1.15rem;
        clip-path: none;
    }
    .contact-form::before { display: none; }

    .service-full {
        clip-path: none;
        grid-template-columns: 3px 1fr;
    }
    .service-full-body { padding: 1.5rem 1.15rem; }
    .service-full-body::before { font-size: 1.75rem; }

    .portfolio-card,
    .value-card,
    .team-card,
    .mx-voice,
    .case-study-grid,
    .banner-image,
    .banner-image img,
    .about-image-wrap,
    .about-image-wrap img,
    .hero-image-wrap,
    .hero-image-wrap img,
    .mx-slab,
    .mx-node-body,
    .industry-item {
        clip-path: none;
    }

    .portfolio-card::before,
    .value-card::after,
    .banner-image::before { display: none; }

    .case-study-visual,
    .case-study-content { padding: 1.75rem 1.25rem; }
    .case-metrics { gap: 0.5rem; }
    .case-metric { padding: 0.75rem 0.35rem; }
    .case-metric-value { font-size: 1rem; }

    .ps-header { grid-template-columns: 1fr; }
    .ps-header-col.solution { border-left: none; border-top: 1px solid var(--navy-pale); }
    .ps-row { grid-template-columns: 1fr; }
    .ps-arrow { display: none; }
    .ps-solution { border-left: none; border-top: 1px solid var(--navy-pale); }
    .ps-challenge, .ps-solution { padding: 1rem 1.25rem; }
    .ps-footer { padding: 1.5rem 1.25rem; }
    .mx-pipeline-5 { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .principles-grid { grid-template-columns: 1fr; }
    .engagement-grid { grid-template-columns: 1fr; }
    .trust-logos { gap: 0.5rem; }
    .trust-logo { font-size: 0.75rem; padding: 0.4rem 0.875rem; }
    .brand-card { clip-path: none; min-height: 0; }
    .brand-cards-grid { grid-template-columns: 1fr; }

    /* Footer — stack & spacing for phones */
    .footer-top { grid-template-columns: 1fr; }
    .footer-top-nav { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-col.footer-contact,
    .footer-col { text-align: left; }
    .footer-cta {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .footer-explore { padding: 1.25rem 1rem; }
    .footer {
        padding-bottom: max(5.5rem, calc(2rem + env(safe-area-inset-bottom)));
    }

    /* Contact & forms */
    .contact-info-item { clip-path: none; }
    .contact-grid { gap: 2rem; }
    .form-group input,
    .form-group select,
    .form-group textarea,
    .mx-chat-form input {
        font-size: 16px;
    }

    /* Section links & CTAs */
    .section-header-row .link-arrow {
        align-self: stretch;
        width: 100%;
        justify-content: center;
        min-height: 3rem;
    }
    .ps-footer .btn { width: 100%; }

    /* Grids — explicit single column */
    .testimonials-grid { grid-template-columns: 1fr; }
    .services-full-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .about-grid { gap: 2rem; }
    .mx-stats-bar { clip-path: none; }

    /* Chatbot — fit small screens (panel only; icon rules at end of chat CSS) */
    .mx-chatbot {
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        max-width: calc(100vw - 1.5rem);
    }
    .mx-chat-launcher { max-width: 100%; }
    .mx-chat-panel {
        width: min(22rem, calc(100vw - 1.5rem));
        right: 0;
        height: min(34rem, calc(100dvh - 7rem));
        max-height: min(34rem, calc(100dvh - 7rem));
    }

    .split-content { padding: 1.75rem 1.25rem; }
    .mx-promo-card { clip-path: none; }
    .mx-chat-choice { min-height: 2.75rem; }
}

@media (max-width: 767px) {
    .insight-card { clip-path: none; padding: 1.5rem 1.25rem; }
}

@media (max-width: 380px) {
    .navbar-logo img { max-width: 8rem; height: 2.4rem; }
    .navbar.scrolled .navbar-logo img { height: 2.15rem; }
    .hero h1 { font-size: 1.7rem; }
    .mx-stats-bar { grid-template-columns: 1fr 1fr; }
    .hero-float-cards { grid-template-columns: 1fr; }
    .float-card-value { font-size: 0.875rem; }
    .mx-node-watermark { font-size: 2.25rem; }
}

/* ═══════════════════════════════════════════
   HOVER · DARK ICONS · 3D · TRANSITIONS
   ═══════════════════════════════════════════ */
.mx-icon,
.brand-card-mark,
.pillar-icon,
.value-icon,
.contact-icon,
.mx-diamond,
.mx-diamond .mx-icon,
.brand-card-mark .mx-icon,
.pillar-icon .mx-icon,
.value-icon .mx-icon,
.contact-icon .mx-icon {
    transition:
        color var(--duration-fast) var(--ease),
        background var(--duration) var(--ease),
        border-color var(--duration) var(--ease),
        box-shadow var(--duration) var(--ease),
        filter var(--duration-fast) ease;
}

/* Clip-path icons: never scale/rotate on hover — prevents tear/pixelation */
.brand-card-mark,
.pillar-icon,
.value-icon,
.contact-icon,
.mx-node-marker {
    transform: translateZ(0);
    transform-style: flat;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mx-diamond {
    transform-style: flat;
}

.brand-cards-grid,
.pillars-grid,
.mx-services,
.services-full-grid,
.portfolio-grid,
.engagement-grid,
.principles-grid,
.testimonials-grid,
.insights-grid {
    perspective: 1200px;
}

/* Service slabs — 3D lift + dark icon */
.mx-slab {
    transform-style: preserve-3d;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}
.mx-slab:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(255, 201, 102, 0.55);
    background: linear-gradient(165deg, #fff 0%, #fffaf0 100%);
}
.mx-slab:hover .mx-diamond {
    background: linear-gradient(135deg, #e8eef3, #d5e2ec);
    border-color: rgba(15, 28, 40, 0.25);
    box-shadow: 0 8px 20px rgba(15, 28, 40, 0.12);
}
.mx-slab:hover .mx-diamond span,
.mx-slab:hover .mx-diamond .mx-icon {
    color: var(--icon-dark);
}
.mx-slab:hover .mx-slab-content h3 { color: var(--icon-dark); }
.mx-slab::before {
    transition: width var(--duration) var(--ease), opacity var(--duration) ease;
}
.mx-slab:hover::before { width: 6px; }

/* Brand cards — soft lift + dark icons (flat: avoids clip-path tear) */
.brand-card {
    transform-style: flat;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}
.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(15, 28, 40, 0.18);
    background: linear-gradient(165deg, #ffffff 0%, #f3f7fa 100%);
}
.brand-card:hover .brand-card-mark {
    background: #dce6ee;
    border-color: rgba(15, 28, 40, 0.28);
    color: var(--icon-dark);
    box-shadow: none;
}
.brand-card:hover .brand-card-mark .mx-icon {
    color: var(--icon-dark);
}
.brand-card:hover h3 { color: var(--icon-dark); }
.brand-card:hover .brand-card-cta {
    color: var(--icon-dark);
    transform: translateX(6px);
}
.brand-card:hover .brand-card-index {
    color: rgba(15, 28, 40, 0.12);
    transition: color var(--duration) ease;
}
.brand-card-index { transition: color var(--duration) ease; }

/* Pillars */
.pillar-card {
    transform-style: flat;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}
.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(15, 28, 40, 0.16);
    background: linear-gradient(165deg, #fff, #f5f8fb);
}
.pillar-card:hover .pillar-icon {
    background: #d5e0ea;
    border-color: rgba(15, 28, 40, 0.3);
    color: var(--icon-dark);
}
.pillar-card:hover .pillar-icon .mx-icon { color: var(--icon-dark); }
.pillar-card:hover h3 { color: var(--icon-dark); }

/* Service full cards */
.service-full {
    transform-style: preserve-3d;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease;
}
.service-full:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(255, 201, 102, 0.5);
}
.service-full:hover .mx-diamond {
    background: linear-gradient(135deg, #e4ecf2, #cfdce6);
    border-color: rgba(15, 28, 40, 0.28);
}
.service-full:hover .mx-diamond span,
.service-full:hover .mx-diamond .mx-icon {
    color: var(--icon-dark);
}
.service-full:hover .service-full-body h3 { color: var(--icon-dark); }
.service-full-bar { transition: width var(--duration) var(--ease); }
.service-full:hover .service-full-bar { width: 6px; }

/* Portfolio — depth */
.portfolio-card {
    transform-style: preserve-3d;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(15, 28, 40, 0.18);
}
.portfolio-card:hover .portfolio-body h3 { color: var(--icon-dark); }

/* Engagement / principle / insight / voice */
.engagement-card,
.principle-item,
.insight-card {
    transform-style: preserve-3d;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease,
        background var(--duration-fast) ease;
}
.engagement-card:hover,
.principle-item:hover,
.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
    border-color: rgba(15, 28, 40, 0.16);
}
.engagement-card:hover h3,
.principle-item:hover h3,
.insight-card:hover h3 {
    color: var(--icon-dark);
}

.mx-voice {
    transform-style: preserve-3d;
    transition: transform var(--duration) var(--ease-out);
}
.mx-voice:hover {
    transform: translateY(-8px);
}

/* Process nodes */
.mx-node-marker,
.mx-node-body,
.mx-node-icon {
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease,
        background var(--duration) var(--ease),
        color var(--duration-fast) ease;
}
.mx-node:hover .mx-node-marker {
    background: linear-gradient(165deg, var(--gold-pale), var(--gold-soft));
    border-color: rgba(255, 201, 102, 0.75);
    box-shadow:
        0 8px 22px rgba(255, 201, 102, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.mx-node:hover .mx-node-marker span { color: var(--gold-text); }
.mx-node:hover .mx-node-body {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 28, 40, 0.1);
    border-color: rgba(255, 201, 102, 0.5);
    background: linear-gradient(165deg, #ffffff 0%, #fffaf0 55%, #f3f8fc 100%);
}
.mx-node:hover .mx-node-body h3 { color: var(--icon-dark); }
.mx-node:hover .mx-node-icon {
    background: linear-gradient(145deg, #e8eef4, #d5e2ec);
    border-color: rgba(15, 28, 40, 0.2);
    color: var(--icon-dark);
}

/* Industry / contact / trust / value */
.industry-item {
    transition:
        transform var(--duration) var(--ease-out),
        background var(--duration-fast) ease,
        border-color var(--duration-fast) ease,
        box-shadow var(--duration) var(--ease);
}
.industry-item:hover {
    transform: translateX(8px) translateY(-2px) rotateY(-2deg);
    border-color: rgba(15, 28, 40, 0.2);
    background: #eef3f7;
    box-shadow: var(--shadow);
}
.industry-item:hover span:first-child { color: var(--icon-dark); }

.contact-info-item {
    transition:
        transform var(--duration) var(--ease-out),
        background var(--duration-fast) ease,
        border-color var(--duration-fast) ease,
        box-shadow var(--duration) var(--ease);
}
.contact-info-item:hover {
    transform: translateX(8px) rotateY(-2deg);
    background: #eef3f7;
    border-color: rgba(15, 28, 40, 0.2);
    box-shadow: var(--shadow);
}
.contact-info-item:hover .contact-icon {
    background: #d5e0ea;
    border-color: rgba(15, 28, 40, 0.3);
    color: var(--icon-dark);
}
.contact-info-item:hover .contact-icon .mx-icon { color: var(--icon-dark); }
.contact-info-item:hover .value { color: var(--icon-dark); }

.trust-logo {
    transition:
        transform var(--duration-fast) var(--ease-out),
        opacity var(--duration-fast) ease,
        background var(--duration-fast) ease,
        border-color var(--duration-fast) ease,
        color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}
.trust-logo:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
    background: #e4ecf3;
    border-color: rgba(15, 28, 40, 0.22);
    color: var(--icon-dark);
    box-shadow: 0 6px 16px rgba(15, 28, 40, 0.08);
}

.value-card {
    transform-style: flat;
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d);
}
.value-card:hover .value-icon {
    background: #d5e0ea;
    border-color: rgba(15, 28, 40, 0.3);
    color: var(--icon-dark);
}
.value-card:hover .value-icon .mx-icon { color: var(--icon-dark); }
.value-card:hover h3 { color: var(--icon-dark); }

.team-card:hover h3 { color: var(--icon-dark); }
.team-card {
    transition:
        transform var(--duration) var(--ease-out),
        box-shadow var(--duration) var(--ease),
        border-color var(--duration-fast) ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-3d);
}

.link-arrow {
    transition:
        transform var(--duration-fast) var(--ease-out),
        background var(--duration-fast) ease,
        border-color var(--duration-fast) ease,
        color var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}
.link-arrow:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
    color: var(--icon-dark);
}

.check-icon {
    transition: color var(--duration-fast) ease;
}
.benefit-item:hover .check-icon,
.service-features li:hover .check-icon,
.hero-checklist li:hover .check-icon {
    color: var(--icon-dark);
}
.benefit-item,
.hero-checklist li,
.service-features li {
    transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease);
}
.hero-checklist li:hover { transform: translateX(4px); }
.service-features li:hover { color: var(--icon-dark); }

/* Interactive 3D tilt (JS) */
.mx-tilt {
    transform-style: preserve-3d;
    will-change: transform;
}
.mx-tilt-inner {
    transform: translateZ(24px);
    transition: transform var(--duration) var(--ease);
}

@media (hover: none) {
    .mx-slab:hover,
    .brand-card:hover,
    .pillar-card:hover,
    .service-full:hover,
    .portfolio-card:hover,
    .engagement-card:hover,
    .principle-item:hover,
    .insight-card:hover,
    .mx-voice:hover,
    .value-card:hover,
    .team-card:hover {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mx-slab:hover,
    .brand-card:hover,
    .pillar-card:hover,
    .service-full:hover,
    .portfolio-card:hover,
    .engagement-card:hover,
    .principle-item:hover,
    .insight-card:hover,
    .mx-voice:hover,
    .value-card:hover,
    .team-card:hover,
    .mx-node:hover .mx-node-body,
    .mx-node:hover .mx-node-marker {
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════
   SECTION POLISH — keep cut-card forge style
   ═══════════════════════════════════════════ */
.brand-card {
    clip-path: var(--mx-cut-lg);
    border-radius: 0;
    min-height: 15.25rem;
    padding: 1.75rem;
}
.brand-card-mark {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
}
.brand-card h3 { margin-top: 1.15rem; font-size: 1.1875rem; letter-spacing: -0.028em; }
.brand-card-cta {
    margin-top: auto;
    padding-top: 1.25rem;
    text-transform: none;
    letter-spacing: -0.01em;
    font-size: 0.8125rem;
}

.pillar-card {
    clip-path: var(--mx-cut-lg);
    border-radius: 0;
}
.pillar-icon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
}
.pillar-tags li {
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    border-radius: 0;
}

.mx-slab,
.service-full,
.portfolio-card,
.engagement-card,
.principle-item,
.insight-card,
.team-card,
.value-card,
.mx-node-body,
.mx-stats-bar,
.mx-problem-solution,
.mx-feature,
.cta-banner,
.contact-form,
.industry-item,
.float-card,
.hero-image-wrap,
.about-image-wrap,
.banner-image,
.case-study-grid {
    border-radius: 0;
}

.mx-voice {
    clip-path: var(--mx-cut-lg);
    border-radius: 0;
}
.mx-voice-inner {
    clip-path: var(--mx-cut);
    border-radius: 0;
}

.trust-strip {
    background: #fff;
    border-top: 1px solid rgba(74, 122, 155, 0.1);
    border-bottom: 1px solid rgba(74, 122, 155, 0.1);
}
.trust-logo {
    clip-path: none;
    border-radius: 9999px;
    background: #f4f8fb;
    border: 1px solid rgba(74, 122, 155, 0.12);
    font-weight: 600;
    color: var(--navy-text);
    opacity: 0.9;
}

.mx-problem-solution {
    border: 1px solid rgba(74, 122, 155, 0.12);
    box-shadow: 0 12px 40px rgba(15, 28, 40, 0.06);
}
.ps-header-col.challenge { background: #fbfcfd; }
.ps-header-col.solution { background: #f7fafc; }
.ps-badge {
    clip-path: none;
    border-radius: 9999px;
    padding: 0.4rem 0.9rem;
}
.ps-challenge { background: #fff; }
.ps-solution { background: #fbfcfd; }
.ps-footer {
    background: #0f1c28;
    border-top: none;
}
.ps-result-val { color: var(--gold); }
.ps-result-lbl { color: rgba(255,255,255,0.65); }
.ps-footer .btn-primary {
    background: var(--gold);
    color: var(--navy-heading);
}

.principle-item {
    padding: 1.5rem;
    box-shadow: none;
}
.principle-item::before {
    width: 2px;
    background: var(--navy-heading);
}
.principle-num { color: var(--navy-soft); }

.industry-item {
    border-radius: 0;
    padding: 1.15rem 1.25rem;
    box-shadow: none;
    clip-path: var(--mx-cut);
}
.industry-count {
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    border-radius: 0;
    background: #f0f5f9;
}

.mx-voice {
    padding: 0.375rem;
    background: linear-gradient(135deg, var(--navy-pale), var(--gold-pale));
    clip-path: var(--mx-cut-lg);
}
.mx-voice-inner {
    padding: 1.75rem;
    border: none;
    box-shadow: none;
    clip-path: var(--mx-cut);
}
.mx-voice-inner::before {
    display: block;
}
.testimonial-author::before {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0;
}

.mx-feature {
    border: 1px solid rgba(74, 122, 155, 0.12);
    box-shadow: 0 12px 40px rgba(15, 28, 40, 0.06);
}
.benefit-item {
    background: #f7fafc;
    border: 1px solid rgba(74, 122, 155, 0.1);
    border-left: 2px solid var(--navy-heading);
    border-radius: 0.5rem;
}

.cta-banner {
    border: 1px solid rgba(74, 122, 155, 0.12);
    background: linear-gradient(145deg, #0f1c28 0%, #19405e 55%, #2a5470 100%);
    box-shadow: 0 20px 50px rgba(15, 28, 40, 0.18);
    padding: 3.5rem 2rem;
}
.cta-banner::before,
.cta-banner::after { display: none; }
.cta-content h2 { color: #fff; }
.cta-content p { color: rgba(255,255,255,0.72); }
.cta-banner .text-accent { color: var(--gold-soft); }
.cta-banner .btn-white-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.28);
}
.cta-banner .btn-white-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.hero {
    background: linear-gradient(180deg, #f4f8fb 0%, #fafcff 45%, #ffffff 100%);
}
.hero::after {
    background: linear-gradient(to bottom, transparent, #fff);
}
.page-hero {
    background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
    min-height: 32vh;
}
.float-card {
    backdrop-filter: blur(16px);
    border-radius: 0;
    clip-path: var(--mx-cut);
    box-shadow: 0 10px 30px rgba(15, 28, 40, 0.1);
}

/* Soft lift hover — 3D tilt JS handles interactive cards */
.mx-slab:hover,
.brand-card:hover,
.pillar-card:hover,
.service-full:hover,
.portfolio-card:hover,
.engagement-card:hover,
.principle-item:hover,
.insight-card:hover,
.value-card:hover,
.team-card:hover,
.mx-voice:hover {
    box-shadow: 0 18px 44px rgba(15, 28, 40, 0.12);
}

.mx-tilt {
    transform-style: flat;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.mx-tilt.is-tilting {
    transition: transform 0.08s linear, box-shadow 0.25s ease;
}
.mx-tilt::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mx-glow-x, 50%) var(--mx-glow-y, 50%), rgba(255,255,255,0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.mx-tilt.is-tilting::after {
    opacity: 0.55;
}
@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .pillars-grid .pillar-card:nth-child(1),
    .pillars-grid .pillar-card:nth-child(2),
    .pillars-grid .pillar-card:nth-child(3) {
        grid-column: span 2;
    }
    .pillars-grid .pillar-card:nth-child(4),
    .pillars-grid .pillar-card:nth-child(5) {
        grid-column: span 3;
    }
    .pillars-grid .pillar-card:last-child:nth-child(5) {
        grid-column: span 3;
        max-width: none;
    }
}

.section + .section {
    scroll-margin-top: 5rem;
}

/* ═══════════════════════════════════════════
   CHATBOT — lead capture assistant
   ═══════════════════════════════════════════ */
.mx-chatbot {
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 9990;
    font-family: var(--font);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow: visible;
}

.mx-chat-launcher {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    overflow: visible;
}

.mx-chat-teaser {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    background: var(--white);
    border: 1px solid rgba(74, 122, 155, 0.2);
    border-left: 3px solid var(--gold);
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(15, 28, 40, 0.14);
    cursor: pointer;
    transform: translateX(12px);
    transition:
        max-width 0.55s var(--ease),
        opacity 0.45s var(--ease),
        padding 0.45s var(--ease),
        transform 0.45s var(--ease);
    pointer-events: none;
}
.mx-chatbot.mx-chat-teaser-visible .mx-chat-teaser {
    max-width: 18rem;
    opacity: 1;
    padding: 0.6rem 1rem 0.6rem 0.75rem;
    transform: translateX(0);
    pointer-events: auto;
}
.mx-chatbot.mx-chat-teaser-compact .mx-chat-teaser {
    max-width: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
}
.mx-chatbot.is-open .mx-chat-teaser,
.mx-chatbot.mx-chat-teaser-dismissed .mx-chat-teaser {
    max-width: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
}
.mx-chat-teaser-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.65);
    flex-shrink: 0;
    animation: mx-chat-badge-pulse 2s ease-in-out infinite;
}
.mx-chat-teaser-text {
    font-size: 0.75rem;
    color: var(--text-soft);
    letter-spacing: -0.01em;
}
.mx-chat-teaser-text strong {
    color: var(--navy-heading);
    font-weight: 700;
}

.mx-chat-toggle {
    position: relative;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    min-height: 3.75rem;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%);
    color: var(--navy-heading);
    border-radius: 999px;
    clip-path: none;
    overflow: visible;
    box-shadow:
        0 12px 32px rgba(15, 28, 40, 0.2),
        0 0 0 1px rgba(74, 122, 155, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    animation: mx-chat-float 4s ease-in-out infinite;
}
.mx-chat-toggle:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 36px rgba(15, 28, 40, 0.24),
        0 0 0 2px rgba(255, 201, 102, 0.55),
        0 0 24px rgba(255, 201, 102, 0.2);
    animation: none;
}
.mx-chatbot.is-open .mx-chat-toggle {
    width: 3.25rem;
    height: 3.25rem;
    min-height: 0;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    animation: none;
    background: var(--navy-heading);
    color: #fff;
}

.mx-chat-toggle-open {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.mx-chat-bot-head {
    position: relative;
    width: 2.85rem;
    height: 2.85rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--navy-heading), #245a7a);
    color: #fff;
    border-radius: 50%;
    clip-path: none;
    overflow: visible;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.mx-chat-bot-svg {
    width: 1.65rem;
    height: 1.65rem;
}
.mx-chat-bot-badge {
    position: absolute;
    bottom: -0.15rem;
    right: -0.15rem;
    padding: 0.1rem 0.3rem;
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--navy-heading);
    background: var(--gold);
    border-radius: 4px;
    border: 1.5px solid #fff;
    line-height: 1.2;
}
.mx-chat-toggle-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
    padding-right: 0.15rem;
}
.mx-chat-toggle-label strong {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy-heading);
}
.mx-chat-toggle-label small {
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #16a34a;
}
.mx-chat-toggle-label small::before {
    content: '';
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-right: 0.25rem;
    border-radius: 50%;
    background: #4ade80;
    vertical-align: middle;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

.mx-chat-toggle-close {
    display: none;
    align-items: center;
    justify-content: center;
}
.mx-chat-toggle-close svg {
    width: 1.25rem;
    height: 1.25rem;
}
.mx-chatbot.is-open .mx-chat-toggle-open { display: none; }
.mx-chatbot.is-open .mx-chat-toggle-close { display: flex; }

.mx-chat-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(255, 201, 102, 0.65);
    border-radius: 999px;
    animation: mx-chat-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
.mx-chat-pulse-2 {
    animation-delay: 1.2s;
    border-color: rgba(74, 122, 155, 0.35);
}
.mx-chatbot.is-open .mx-chat-pulse { display: none; }
@keyframes mx-chat-pulse {
    0% { opacity: 0.75; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.15); }
}
@keyframes mx-chat-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.mx-chat-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.85rem);
    width: min(22rem, calc(100vw - 2rem));
    height: min(34rem, calc(100vh - 7rem));
    max-height: min(34rem, calc(100vh - 7rem));
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(74, 122, 155, 0.2);
    border-radius: 1rem;
    clip-path: none;
    box-shadow: 0 20px 50px rgba(15, 28, 40, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
    overflow: hidden;
}
.mx-chatbot.is-open .mx-chat-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mx-chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem;
    background: linear-gradient(135deg, var(--navy-heading), #1e4560);
    color: #fff;
    border-bottom: 2px solid rgba(255, 201, 102, 0.35);
    flex-shrink: 0;
}

.mx-chat-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}
.mx-chat-avatar {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.875rem;
    background: var(--gold);
    color: var(--navy-heading);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    flex-shrink: 0;
}
.mx-chat-avatar-bot {
    background: linear-gradient(145deg, var(--gold-pale), var(--gold-soft));
    color: var(--navy-heading);
    clip-path: none;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.mx-chat-avatar-bot svg {
    width: 1.35rem;
    height: 1.35rem;
}
.mx-chat-title {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.mx-chat-status {
    margin-top: 0.15rem;
    font-size: 0.6875rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.mx-chat-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #6ee7a0;
    box-shadow: 0 0 6px rgba(110, 231, 160, 0.6);
}
.mx-chat-close {
    margin-left: auto;
    width: 2rem;
    height: 2rem;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease;
}
.mx-chat-close:hover { background: rgba(255, 255, 255, 0.22); }

.mx-chat-messages {
    padding: 1rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
}

.mx-chat-msg {
    max-width: 88%;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
}
.mx-chat-msg-bot {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid var(--navy-pale);
    color: var(--ink);
    border-radius: 0.75rem 0.75rem 0.75rem 0.25rem;
    clip-path: none;
    box-shadow: var(--shadow-sm);
}
.mx-chat-msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--navy-heading), #245a7a);
    color: #fff;
    border-radius: 0.75rem 0.75rem 0.25rem 0.75rem;
    clip-path: none;
}

.mx-chat-typing {
    display: flex;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
}
.mx-chat-typing span {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--navy-soft);
    animation: mx-chat-dot-bounce 1.2s ease-in-out infinite;
}
.mx-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.mx-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes mx-chat-dot-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.mx-chat-input-area {
    padding: 0.65rem 1rem 1.15rem;
    border-top: 1px solid var(--navy-pale);
    background: var(--white);
    padding-bottom: max(1.15rem, env(safe-area-inset-bottom));
}

.mx-chat-choices {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.mx-chat-choice {
    width: 100%;
    padding: 0.6rem 0.75rem;
    text-align: left;
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy-heading);
    background: var(--gold-pale);
    border: 1px solid rgba(255, 201, 102, 0.45);
    border-radius: 0.5rem;
    clip-path: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.mx-chat-choice:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-text);
}

.mx-chat-form {
    display: flex;
    gap: 0.5rem;
}
.mx-chat-form input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    font-family: var(--font);
    font-size: 0.8125rem;
    border: 1px solid var(--navy-pale);
    border-radius: 0.5rem;
    background: var(--bg-warm);
    color: var(--ink);
    clip-path: none;
    outline: none;
    transition: border-color 0.25s ease;
}
.mx-chat-form input:focus {
    border-color: var(--navy-soft);
}
.mx-chat-form input.mx-chat-invalid {
    border-color: #c44;
}
.mx-chat-send {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--navy-heading);
    border-radius: 0.5rem;
    clip-path: none;
    transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.mx-chat-send:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow-gold);
}
.mx-chat-send svg {
    width: 1.1rem;
    height: 1.1rem;
}

.contact-form.mx-chat-prefilled {
    animation: mx-form-highlight 0.6s ease;
    box-shadow: 0 0 0 2px rgba(255, 201, 102, 0.55), var(--shadow-lg);
}
@keyframes mx-form-highlight {
    0% { box-shadow: 0 0 0 0 rgba(255, 201, 102, 0.6); }
    100% { box-shadow: 0 0 0 2px rgba(255, 201, 102, 0.55), var(--shadow-lg); }
}

/* Mobile — icon only, no label/teaser (must come after base chat styles) */
@media (max-width: 767px) {
    .mx-chat-teaser {
        display: none !important;
    }
    .mx-chat-toggle-label {
        display: none !important;
    }
    .mx-chat-toggle-open {
        gap: 0;
    }
    .mx-chat-toggle {
        padding: 0;
        width: auto;
        height: auto;
        min-height: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        animation: mx-chat-float 4s ease-in-out infinite;
    }
    .mx-chat-toggle:hover {
        box-shadow: none;
        transform: translateY(-4px);
    }
    .mx-chat-bot-head {
        width: 3.5rem;
        height: 3.5rem;
        box-shadow:
            0 12px 28px rgba(15, 28, 40, 0.28),
            0 0 0 2px rgba(255, 255, 255, 0.85);
    }
    .mx-chatbot.is-open .mx-chat-toggle {
        width: 3.25rem;
        height: 3.25rem;
        background: var(--navy-heading);
        border-radius: 50%;
        box-shadow: 0 10px 24px rgba(15, 28, 40, 0.25);
    }
    .mx-chat-pulse {
        border-radius: 50%;
        inset: -3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mx-chat-pulse,
    .mx-chat-toggle,
    .mx-chat-teaser-dot { animation: none; }
    .mx-chat-panel { transition: none; }
}
