/* ============================================================
   USS — Modern Design Layer (loaded AFTER styles.css)
   Photo-driven heroes, image cards, split features, footer.
   All classes prefixed .m- to avoid collisions with legacy CSS.
   ============================================================ */

/* ---------- Photo Hero (homepage) ---------- */
.m-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.m-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.m-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: mHeroDrift 24s ease-in-out infinite alternate;
}

@keyframes mHeroDrift {
    from { transform: scale(1.05) translateX(0); }
    to   { transform: scale(1.12) translateX(-1.5%); }
}

.m-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg, rgba(5, 11, 20, 0.97) 0%, rgba(5, 11, 20, 0.82) 42%, rgba(5, 11, 20, 0.45) 75%, rgba(5, 11, 20, 0.65) 100%),
        linear-gradient(0deg, var(--color-primary) 0%, transparent 22%);
}

.m-hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 9rem 2rem 6rem;
    width: 100%;
}

.m-hero-content { max-width: 720px; }

/* Centered hero composition */
.m-hero-inner { text-align: center; }
.m-hero-content { margin: 0 auto; max-width: 820px; }
.m-hero-actions { justify-content: center; }
.m-hero-stats { justify-content: center; margin-left: auto; margin-right: auto; }
.m-hero-sub { margin-left: auto; margin-right: auto; }

.m-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    border: 1px solid var(--color-border-hover);
    border-radius: 100px;
    background: rgba(184, 149, 58, 0.12);
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    backdrop-filter: blur(6px);
}

.m-hero h1 {
    font-size: clamp(2.4rem, 5.6vw, 4.4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 1.4rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.m-hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: #c6cfdb;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 2.4rem;
}

.m-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Buttons — modern weight */
.m-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.35s var(--ease-out);
    border: 1px solid transparent;
    cursor: pointer;
}

.m-btn-primary {
    background: var(--color-accent);
    color: #0a0f1a;
    box-shadow: 0 8px 30px rgba(184, 149, 58, 0.35);
}

.m-btn-primary:hover {
    background: #d4af5a;
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(184, 149, 58, 0.5);
    color: #0a0f1a;
}

.m-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.m-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

.m-btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-border-hover);
}

.m-btn-outline:hover {
    background: var(--color-accent-dim);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    color: var(--color-accent);
}

/* Hero stat chips */
.m-hero-stats {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 1.75rem;
    max-width: 640px;
}

.m-hero-stat {
    padding-right: 2.25rem;
    margin-right: 2.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.m-hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.m-hero-stat .num {
    font-family: var(--font-header);
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1.1;
}

.m-hero-stat .lbl {
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #9aa7b8;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ---------- Page banner (sub-pages) ---------- */
.m-pagebanner {
    position: relative;
    padding: 11rem 0 6rem;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.m-pagebanner-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.m-pagebanner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.m-pagebanner-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(5, 11, 20, 0.88) 0%, rgba(5, 11, 20, 0.78) 55%, var(--color-primary) 100%);
}

.m-pagebanner .header-badge { margin-bottom: 1.5rem; }

.m-pagebanner h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.1rem;
    letter-spacing: 3px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}

.m-pagebanner p {
    color: #b9c4d2;
    font-size: 1.08rem;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ---------- Section headings ---------- */
.m-kicker {
    display: block;
    text-align: center;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    font-family: var(--font-main);
}

.m-kicker.left { text-align: left; }

.m-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.m-section-head h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.m-section-head h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1.1rem auto 0;
    border-radius: 2px;
}

.m-section-head.left { text-align: left; margin-left: 0; }
.m-section-head.left h2::after { margin-left: 0; }

.m-section-head p {
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

/* ---------- Image service cards ---------- */
.m-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.m-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.45s var(--ease-out);
}

.m-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--color-border-hover);
}

.m-card-img {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.m-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.m-card:hover .m-card-img img { transform: scale(1.08); }

.m-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 15, 26, 0.9) 100%);
}

.m-card-img i {
    position: absolute;
    bottom: 1rem;
    left: 1.4rem;
    z-index: 2;
    font-size: 1.4rem;
    color: var(--color-accent);
    background: rgba(10, 15, 26, 0.75);
    border: 1px solid var(--color-border-hover);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

.m-card-body { padding: 1.6rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }

.m-card-body h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.7rem;
}

.m-card-body p {
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    flex: 1;
}

.m-card-link {
    margin-top: 1.2rem;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.m-card-link i { transition: transform 0.3s var(--ease-out); }
.m-card:hover .m-card-link i { transform: translateX(6px); }

/* ---------- Split feature rows ---------- */
.m-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.m-split.reverse .m-split-media { order: 2; }

.m-split-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    border: 1px solid var(--color-border);
}

.m-split-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}

.m-split-media:hover img { transform: scale(1.04); }

.m-split-media .m-media-stat {
    position: absolute;
    bottom: 1.4rem;
    left: 1.4rem;
    background: rgba(10, 15, 26, 0.88);
    border: 1px solid var(--color-border-hover);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
}

.m-media-stat .num {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1.1;
}

.m-media-stat .lbl {
    font-size: 0.66rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #9aa7b8;
    font-weight: 600;
    margin-top: 0.2rem;
}

.m-split-body h2 {
    color: #fff;
    font-weight: 800;
    text-align: left;
    margin-bottom: 1.6rem;
}

.m-split-body h2 i { color: var(--color-accent); margin-right: 0.6rem; }

.m-split-body h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin-top: 1rem;
    border-radius: 2px;
}

.m-split-body h3 {
    color: var(--color-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin: 1.5rem 0 0.5rem;
    text-transform: uppercase;
}

.m-split-body p {
    color: var(--color-muted);
    line-height: 1.8;
    font-size: 0.97rem;
}

.m-split-body .m-split-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.m-split-body .equipment-logos { margin-top: 1rem; }

/* ---------- Alternating section backgrounds ---------- */
.m-section { padding: 100px 0; position: relative; }

.m-section.alt {
    background: linear-gradient(180deg, rgba(30, 42, 58, 0.25), rgba(30, 42, 58, 0.08));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* ---------- Stats counter band ---------- */
.m-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.m-stat {
    text-align: center;
    padding: 2.4rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out);
}

.m-stat:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.m-stat .num {
    font-family: var(--font-header);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.m-stat .lbl {
    color: var(--color-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* ---------- Testimonials ---------- */
.m-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.m-quote {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.4rem 2rem 2rem;
    transition: all 0.4s var(--ease-out);
}

.m-quote:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.m-quote .stars { color: var(--color-accent); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 1.1rem; }

.m-quote i.fa-quote-left {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.18;
}

.m-quote p {
    color: #cfd6e0;
    line-height: 1.8;
    font-size: 0.97rem;
    margin-bottom: 1.4rem;
}

.m-quote .author {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ---------- CTA band with photo ---------- */
.m-cta {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.m-cta-bg { position: absolute; inset: 0; z-index: -2; }

.m-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(5, 11, 20, 0.96) 20%, rgba(5, 11, 20, 0.75) 60%, rgba(184, 149, 58, 0.25) 100%);
}

.m-cta h2 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.m-cta p {
    color: #c6cfdb;
    max-width: 620px;
    margin: 0 auto 2.2rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.m-cta .m-hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Modern footer ---------- */
.m-footer {
    background: #060b14;
    border-top: 1px solid var(--color-border);
    padding: 4.5rem 0 0;
    position: relative;
    z-index: 1;
}

.m-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.m-footer-brand img { height: 54px; width: auto; margin-bottom: 1.2rem; }

.m-footer-brand p {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 320px;
}

.m-footer h4 {
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.m-footer ul { list-style: none; }

.m-footer ul li { margin-bottom: 0.7rem; }

.m-footer ul a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.m-footer ul a:hover { color: var(--color-accent); transform: translateX(4px); }

.m-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.m-footer-contact i { color: var(--color-accent); margin-top: 0.2rem; width: 16px; }

.m-footer-contact a { color: var(--color-muted); text-decoration: none; }
.m-footer-contact a:hover { color: var(--color-accent); }

.m-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.m-footer-bottom p {
    color: #5c6a7d;
    font-size: 0.8rem;
    margin: 0;
}

.m-footer-badges {
    display: flex;
    gap: 1.2rem;
    color: #5c6a7d;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.m-footer-badges span i { color: var(--color-accent); margin-right: 0.4rem; }

/* ---------- Trusted-by logo strip ---------- */
.m-trust {
    padding: 2.75rem 0;
    border-bottom: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.35);
}

.m-trust-label {
    text-align: center;
    color: #5c6a7d;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.m-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.m-trust-logos img {
    height: 34px;
    width: auto;
    opacity: 0.55;
    filter: grayscale(1) brightness(1.6);
    transition: all 0.35s ease;
}

.m-trust-logos img:hover {
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .m-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .m-split.reverse .m-split-media { order: 0; }
    .m-footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .m-hero { min-height: auto; }
    .m-hero-inner { padding: 8rem 1.5rem 4rem; }
    .m-hero-stat { padding-right: 1.4rem; margin-right: 1.4rem; }
    .m-hero-stat .num { font-size: 1.5rem; }
    .m-pagebanner { padding: 9rem 0 4rem; }
    .m-section { padding: 64px 0; }
    .m-split-media img { min-height: 280px; }
    .m-footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .m-footer-bottom { flex-direction: column; text-align: center; }
    .m-trust-logos { gap: 2rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .m-hero-bg img { animation: none; transform: none; }
    .m-card, .m-split-media img, .m-stat, .m-quote { transition: none; }
}


/* ============================================================
   V2 — Modern nav, typography refresh, layout variety
   ============================================================ */

/* ---------- Typography refresh ---------- */
h1, h2, h3, .m-hero h1, .m-pagebanner h1 {
    font-family: 'Sora', 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
    text-transform: none;
    font-weight: 700;
}

.m-hero h1, .m-pagebanner h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.m-section-head h2, .m-split-body h2, .m-cta h2 {
    letter-spacing: -0.015em;
    text-transform: none;
}

.m-kicker {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 3px;
}

/* ---------- Modern Nav ---------- */
.main-nav {
    height: 72px;
    padding: 0;
    background: rgba(6, 11, 20, 0.72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.main-nav.scrolled {
    height: 72px;
    background: rgba(6, 11, 20, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Brand */
.nav-brand {
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
    height: auto;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
    text-decoration: none;
    position: relative;
}

.nav-brand::before, .nav-brand::after { content: none !important; }

.nav-brand img {
    height: 44px;
    width: auto;
    display: block;
    background: #f4f1ea;
    border-radius: 6px;
    padding: 4px 8px;
    box-sizing: content-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.nav-brand-text .b1 {
    font-family: 'Chakra Petch', 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--color-accent);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.nav-brand-text .b2 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 0.58rem;
    color: #9aa7b8;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* Links */
.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}

.nav-links-wrapper::before { content: none !important; }

.nav-link-item {
    color: #aeb9c8;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 0.55rem 0.85rem;
    border-left: none;
    border-bottom: 2px solid transparent;
    position: relative;
    transition: color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.nav-link-item::before, .nav-link-item::after { content: none !important; }

.nav-link-item:hover {
    color: #fff;
    transform: none;
    text-shadow: none;
    border-bottom-color: rgba(184, 149, 58, 0.55);
}

.nav-link-item.active {
    color: #fff;
    background: none;
    box-shadow: none;
    border-bottom-color: var(--color-accent);
}

/* Current-page underline for the Hardware dropdown (without opening the menu) */
.dropdown.nav-link-item.current-page > .dropdown-link {
    color: #fff;
    border-bottom: 2px solid var(--color-accent);
}

.nav-trace-container { display: none !important; }

/* Kill legacy duplicate hamburger from styles.css (real toggle is #mobile-toggle) */
.nav-container::after { content: none !important; }

/* Dropdown */
.dropdown.nav-link-item { overflow: visible; }

.dropdown:hover .dropdown-link, .dropdown.active .dropdown-link {
    color: #fff;
    text-shadow: none;
}

.dropdown-link { color: inherit; }

.dropdown-content {
    background: rgba(10, 16, 28, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    padding: 1rem 0;
    margin-top: 0.4rem;
}

.dropdown-content a {
    color: #9aa7b8;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    padding: 9px 22px;
    border-bottom: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(184, 149, 58, 0.1);
    color: var(--color-accent);
    padding-left: 22px;
}

.mega-dropdown {
    border-radius: 16px;
    padding: 1.6rem 1.8rem;
}

.mega-dropdown-column { border-right: 1px solid rgba(255, 255, 255, 0.06); }

.dropdown-header {
    color: var(--color-accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 2.4px;
    border-bottom: 1px solid rgba(184, 149, 58, 0.3);
}

/* CTA pill */
.btn-quote-nav {
    background: var(--color-accent);
    color: #0a0f1a !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: none;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 100px;
    border: none;
    margin-left: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(184, 149, 58, 0.3);
    white-space: nowrap;
}

.btn-quote-nav:hover {
    background: #d4af5a;
    box-shadow: 0 8px 26px rgba(184, 149, 58, 0.5);
    transform: translateY(-1px);
}

/* Offset page content below fixed nav */
.m-hero { margin-top: 0; }
.m-pagebanner { padding-top: 12rem; }

/* Mobile nav — keep legacy toggle mechanics, restyle panel */
@media (max-width: 1024px) {
    .nav-brand-text { display: none; }
}

@media (max-width: 768px) {
    .nav-links-wrapper {
        background: rgba(6, 11, 20, 0.98);
        backdrop-filter: blur(20px);
    }
    .nav-link-item {
        border-bottom: none;
        border-left: 3px solid transparent;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    .nav-link-item.active, .nav-link-item:hover {
        border-left-color: var(--color-accent);
        background: rgba(184, 149, 58, 0.08);
    }
}

/* ---------- Layout variety components ---------- */

/* Numbered process steps */
.m-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.m-step {
    position: relative;
    padding: 1.6rem 1.4rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.35s var(--ease-out);
}

.m-step:hover { border-color: var(--color-border-hover); transform: translateY(-4px); }

.m-step .step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.6rem;
}

.m-step h4 {
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.m-step p { color: var(--color-muted); font-size: 0.86rem; line-height: 1.65; }

/* Checklist grid */
.m-checkgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    margin-top: 1.4rem;
}

.m-checkgrid .chk {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #c6cfdb;
    font-size: 0.9rem;
    line-height: 1.5;
}

.m-checkgrid .chk i { color: var(--color-accent); margin-top: 0.25rem; font-size: 0.8rem; }

@media (max-width: 640px) { .m-checkgrid { grid-template-columns: 1fr; } }

/* Feature band — alternating wide rows, breaks the split repetition */
.m-feature-band {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

.m-feature-band.flip { grid-template-columns: 7fr 5fr; }
.m-feature-band.flip .m-feature-media { order: 2; }

.m-feature-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.m-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out);
}

.m-feature-media:hover img { transform: scale(1.04); }

.m-feature-media .m-media-stat { position: absolute; bottom: 1.4rem; left: 1.4rem; }

@media (max-width: 1024px) {
    .m-feature-band, .m-feature-band.flip { grid-template-columns: 1fr; gap: 2.5rem; }
    .m-feature-band.flip .m-feature-media { order: 0; }
}

/* Service chips (MSP capability list) */
.m-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1.8rem;
}

.m-chips .chip {
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--color-border-hover);
    border-radius: 100px;
    background: rgba(184, 149, 58, 0.08);
    color: #d8c489;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.m-chips .chip:hover { background: rgba(184, 149, 58, 0.18); transform: translateY(-2px); }

/* USS Suite showcase */
.m-suite {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border-hover);
    background: linear-gradient(135deg, rgba(30, 42, 58, 0.6), rgba(10, 15, 26, 0.9));
    padding: 3.5rem;
}

.m-suite-grid {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 3rem;
    align-items: center;
}

.m-suite-shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.m-suite-shots img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s var(--ease-out);
}

.m-suite-shots img:first-child {
    grid-column: 1 / -1;
}

.m-suite-shots img:hover { transform: translateY(-6px) scale(1.02); }

.m-suite-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
    margin: 1.8rem 0 2.2rem;
}

.m-suite-feat { display: flex; gap: 0.7rem; align-items: flex-start; }

.m-suite-feat i { color: var(--color-accent); margin-top: 0.2rem; }

.m-suite-feat div h4 {
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.m-suite-feat div p { color: var(--color-muted); font-size: 0.8rem; line-height: 1.5; }

@media (max-width: 1024px) {
    .m-suite { padding: 2rem; }
    .m-suite-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Before/After comparison */
.m-ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.m-ba {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    aspect-ratio: 4 / 3;
}

.m-ba img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-ba .after {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.15s ease-out;
}

.m-ba .ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--color-accent);
    box-shadow: 0 0 12px rgba(184, 149, 58, 0.8);
    transform: translateX(-1px);
    pointer-events: none;
}

.m-ba .ba-handle::after {
    content: '\f337';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: #0a0f1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.m-ba .ba-tag {
    position: absolute;
    top: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}

.m-ba .ba-tag.before { left: 1rem; background: rgba(211, 47, 47, 0.85); color: #fff; }
.m-ba .ba-tag.after { right: 1rem; background: rgba(16, 185, 129, 0.9); color: #04120c; }

/* ---------- Footer fixes ---------- */
.m-footer-brand img { height: 150px; margin-bottom: 1.4rem; background: #f4f1ea; border-radius: 8px; padding: 8px 12px; box-sizing: content-box; }

/* Partners — commitments: 4 across, balanced */
.commitments-grid { grid-template-columns: repeat(4, 1fr) !important; }
.commitments-grid .m-card { display: flex; flex-direction: column; height: 100%; }
.commitments-grid .m-card-body { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; flex: 1; }
@media (max-width: 1100px) { .commitments-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px) { .commitments-grid { grid-template-columns: 1fr !important; } }

.m-footer-grid > div:last-child { text-align: center; }

.m-footer-grid > div:last-child h4 { text-align: center; }

.m-footer-contact li {
    justify-content: center;
    text-align: center;
}

/* Nav overflow fixes */
.nav-spacer { display: none; }

@media (max-width: 1400px) {
    .nav-link-item { padding: 0.55rem 0.6rem; font-size: 0.8rem; }
    .btn-quote-nav { margin-left: 0.75rem; padding: 0.6rem 1.1rem; font-size: 0.75rem; }
    .nav-brand img { height: 38px; }
}

@media (max-width: 1160px) {
    .nav-link-item { padding: 0.55rem 0.45rem; font-size: 0.76rem; }
    .nav-brand-text { display: none; }
}


/* Nav — tighter under 1400px, guarantee fit */
@media (max-width: 1400px) {
    .nav-link-item { padding: 0.55rem 0.42rem; font-size: 0.78rem; }
    .nav-links-wrapper { gap: 0; }
}
@media (max-width: 1250px) {
    .nav-brand-text { display: none; }
    .nav-link-item { padding: 0.55rem 0.5rem; font-size: 0.82rem; }
}

/* ============================================================
   V3 — Display typography + aggressive layout variety
   ============================================================ */

/* ---------- Display typography: Chakra Petch headlines ---------- */
h1, h2, h3, h4,
.m-hero h1, .m-pagebanner h1,
.m-section-head h2, .m-split-body h2, .m-cta h2,
.m-card-body h3, .m-suite-feat div h4, .m-step h4,
.m-stat .num, .m-hero-stat .num, .m-media-stat .num {
    font-family: 'Chakra Petch', 'Sora', 'Montserrat', sans-serif;
}

.m-hero h1 {
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.m-pagebanner h1 {
    font-weight: 700;
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    text-transform: uppercase;
    letter-spacing: 0.015em;
}

.m-section-head h2, .m-split-body h2, .m-cta h2 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.m-section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* Gold gradient accent on section headings */
.m-section-head h2, .m-cta h2 {
    background: linear-gradient(100deg, #f4e7c3 0%, #d9b45c 45%, #B8953A 70%, #8f6f27 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.m-section-head.left h2 { background: linear-gradient(100deg, #f4e7c3 0%, #d9b45c 45%, #B8953A 70%, #8f6f27 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Stat numbers get the display face, oversized */
.m-stat .num { font-size: 3.4rem; font-weight: 700; letter-spacing: 0; }
.m-hero-stat .num { font-size: 2.2rem; font-weight: 700; }

/* Kicker lines — spaced mono with rule */
.m-kicker { font-size: 0.72rem; }

/* ---------- Marquee strip ---------- */
.m-marquee {
    overflow: hidden;
    padding: 1.4rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.5);
    position: relative;
}
.m-marquee-track {
    display: flex;
    gap: 3.5rem;
    width: max-content;
    animation: m-marquee-scroll 38s linear infinite;
}
.m-marquee:hover .m-marquee-track { animation-play-state: paused; }
.m-marquee-track span {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(216, 196, 137, 0.75);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3.5rem;
}
.m-marquee-track span::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.6rem;
    color: var(--color-accent);
    opacity: 0.6;
}
@keyframes m-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Full-bleed photo band with overlap ---------- */
.m-bleed {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.m-bleed-bg { position: absolute; inset: 0; z-index: -2; }
.m-bleed-bg img { width: 100%; height: 100%; object-fit: cover; }
.m-bleed-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0.72) 45%, rgba(5, 11, 20, 0.25) 100%);
}
.m-bleed.right .m-bleed-bg::after {
    background: linear-gradient(270deg, rgba(5, 11, 20, 0.95) 0%, rgba(5, 11, 20, 0.72) 45%, rgba(5, 11, 20, 0.25) 100%);
}
.m-bleed .container { position: relative; z-index: 1; }
.m-bleed-content { max-width: 560px; padding: 5rem 0; }
.m-bleed.right .m-bleed-content { margin-left: auto; }
.m-bleed-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.m-bleed-content h2 i { color: var(--color-accent); margin-right: 0.6rem; }
.m-bleed-content p { color: #c6cfdb; line-height: 1.8; margin-bottom: 1.1rem; }

/* Floating stat card overlapping band edge */
.m-floatcard {
    background: rgba(10, 16, 28, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-hover);
    border-left: 4px solid var(--color-accent);
    border-radius: 12px;
    padding: 1.4rem 1.8rem;
    display: inline-flex;
    gap: 2.5rem;
    margin-top: 1.6rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.m-floatcard .fc .num {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}
.m-floatcard .fc .lbl {
    color: var(--color-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-top: 0.35rem;
}

/* Full-bleed band + floatcard — mobile fallbacks */
@media (max-width: 768px) {
    .m-bleed { min-height: 0; }
    .m-bleed-content { max-width: 100%; padding: 3.5rem 0; }
    .m-bleed-content .m-checkgrid { grid-template-columns: 1fr; }
    .m-floatcard { flex-direction: column; gap: 1.2rem; padding: 1.2rem 1.4rem; }
}

/* ---------- Asymmetric editorial grid (portfolio) ---------- */
.m-asym {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 110px;
    gap: 1.25rem;
}
.m-asym .asym-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    grid-column: span 4;
    grid-row: span 3;
}
.m-asym .asym-item.tall { grid-row: span 4; }
.m-asym .asym-item.wide { grid-column: span 8; }
.m-asym .asym-item.half { grid-column: span 6; }
.m-asym .asym-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
    display: block;
}
.m-asym .asym-item:hover img { transform: scale(1.06); }
.m-asym .asym-cap {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 2.2rem 1.4rem 1.2rem;
    background: linear-gradient(180deg, transparent, rgba(5, 11, 20, 0.92));
    color: #fff;
}
.m-asym .asym-cap h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}
.m-asym .asym-cap p { color: #aab6c5; font-size: 0.82rem; line-height: 1.5; margin: 0; }
.m-asym .asym-cap .tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    border: 1px solid rgba(184, 149, 58, 0.4);
    border-radius: 100px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.6rem;
}
@media (max-width: 900px) {
    .m-asym { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; }
    .m-asym .asym-item, .m-asym .asym-item.wide, .m-asym .asym-item.half { grid-column: span 6; grid-row: span 3; }
}

/* ---------- Overlapping media + offset card ---------- */
.m-overlap {
    display: grid;
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 0;
}
.m-overlap-media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.m-overlap-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.m-overlap-card {
    position: relative;
    margin-left: -4.5rem;
    background: rgba(10, 16, 28, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-hover);
    border-radius: 16px;
    padding: 2.6rem 2.4rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.m-overlap.flip { grid-template-columns: 5fr 7fr; }
.m-overlap.flip .m-overlap-media { order: 2; }
.m-overlap.flip .m-overlap-card { order: 1; margin-left: 0; margin-right: -4.5rem; }
.m-overlap-card h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-bottom: 1rem;
}
.m-overlap-card h2 i { color: var(--color-accent); margin-right: 0.5rem; }
.m-overlap-card p { color: #c6cfdb; line-height: 1.8; margin-bottom: 1rem; }
@media (max-width: 1024px) {
    .m-overlap, .m-overlap.flip { grid-template-columns: 1fr; }
    .m-overlap-card, .m-overlap.flip .m-overlap-card { margin: -3.5rem 1.2rem 0; order: 2; }
    .m-overlap.flip .m-overlap-media { order: 1; }
}

/* ---------- Pull-quote stat strip (breaks the grid) ---------- */
.m-strip {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.m-strip .cell {
    padding: 2.6rem 2rem;
    border-right: 1px solid var(--color-border);
}
.m-strip .cell:last-child { border-right: none; }
.m-strip .cell.lead {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    line-height: 1.35;
}
.m-strip .cell .num {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}
.m-strip .cell .lbl { color: var(--color-muted); font-size: 0.72rem; letter-spacing: 1.8px; text-transform: uppercase; margin-top: 0.5rem; }
@media (max-width: 900px) {
    .m-strip { grid-template-columns: 1fr 1fr; }
    .m-strip .cell { border-bottom: 1px solid var(--color-border); }
}

/* ---------- Horizontal service scroller ---------- */
.m-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 380px);
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0.5rem 1.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) transparent;
}
.m-scroller > * { scroll-snap-align: start; }
.m-scroller::-webkit-scrollbar { height: 6px; }
.m-scroller::-webkit-scrollbar-thumb { background: rgba(184, 149, 58, 0.4); border-radius: 3px; }

/* ---------- Diagonal accent section edge ---------- */
.m-section.angle-top { clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%); padding-top: calc(100px + 3vw); }
.m-section.angle-both { clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); padding: calc(100px + 3vw) 0; }

/* ---------- Portfolio lightbox polish ---------- */
.portfolio-item { border-radius: 12px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .m-marquee-track { animation: none; }
}
