@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../vendor/livewire/livewire/dist/**/*.js';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';

    --color-xpert-red: #e52e3d;
    --color-xpert-red-dark: #c41f2d;
    --color-xpert-violet: #3a103b;
    --color-xpert-plum: #220d23;
    --color-xpert-slate: #f8fafc;
    --color-xpert-muted: #f1f5f9;
    --color-xpert-ink: #1a0a1b;
}

@layer base {
    html {
        scroll-behavior: smooth;
        overflow-x: clip;
        max-width: 100%;
    }

    body {
        @apply bg-white text-xpert-ink antialiased;
        overflow-x: clip;
        max-width: 100%;
    }

    [x-cloak] {
        display: none !important;
    }

    .form-spam-trap {
        position: absolute !important;
        left: -10000px !important;
        top: auto !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html.nav-drawer-open,
    html.nav-drawer-open body {
        overflow: hidden !important;
        overscroll-behavior: none;
        touch-action: none;
        height: 100%;
    }

    html.nav-drawer-open #mobile-nav-drawer nav {
        touch-action: pan-y;
    }
}

@layer utilities {
    /* Top-level primary nav — mega menus keep their own styles */
    .nav-main {
        gap: 0.15rem;
        padding: 0.28rem;
        border-radius: 9999px;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        border: 1px solid rgba(58, 16, 59, 0.08);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.9),
            0 1px 2px rgba(34, 13, 35, 0.04);
    }

    .nav-main > .relative,
    .nav-main > a.nav-main-link {
        position: relative;
    }

    .nav-main > .relative:not(:first-child)::before,
    .nav-main > a.nav-main-link:not(:first-child)::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 1px;
        height: 1rem;
        transform: translateY(-50%);
        background: rgba(58, 16, 59, 0.12);
        pointer-events: none;
    }

    .nav-main-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        height: 2.45rem;
        padding: 0 1.15rem;
        border-radius: 9999px;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        color: #3a103b;
        background: transparent;
        transition:
            color 0.2s ease,
            background 0.2s ease,
            box-shadow 0.2s ease;
    }

    .nav-main-link:hover,
    .nav-main-link.is-open,
    .nav-main-link.is-active {
        color: #e52e3d;
        background: #ffffff;
        box-shadow:
            0 1px 2px rgba(34, 13, 35, 0.06),
            0 4px 12px rgba(34, 13, 35, 0.06);
    }

    .nav-main-link.is-active {
        box-shadow:
            0 1px 2px rgba(34, 13, 35, 0.06),
            0 4px 12px rgba(34, 13, 35, 0.06),
            inset 0 -2px 0 #e52e3d;
    }

    .nav-main-caret {
        width: 0.55rem;
        height: 0.35rem;
        opacity: 0.45;
        transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
    }

    .nav-main-link:hover .nav-main-caret,
    .nav-main-link.is-open .nav-main-caret,
    .nav-main-link.is-active .nav-main-caret {
        opacity: 1;
        color: #e52e3d;
    }

    .nav-main-link.is-open .nav-main-caret {
        transform: rotate(180deg);
    }

    /* Mega / submenu active states */
    .nav-mega-link {
        display: flex;
        gap: 0.75rem;
        border-radius: 0.75rem;
        padding: 0.75rem;
        transition: background 0.2s ease;
    }

    .nav-mega-link:hover,
    .nav-mega-link.is-active {
        background: #f8fafc;
    }

    .nav-mega-link.is-active {
        background: rgba(229, 46, 61, 0.06);
        box-shadow: inset 3px 0 0 #e52e3d;
    }

    .nav-mega-link__icon {
        display: flex;
        height: 2.5rem;
        width: 2.5rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        background: rgba(58, 16, 59, 0.08);
        color: #3a103b;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-mega-link:hover .nav-mega-link__icon,
    .nav-mega-link.is-active .nav-mega-link__icon {
        background: #e52e3d;
        color: #fff;
    }

    .nav-mega-link__title {
        display: block;
        font-weight: 700;
        color: #1a0a1b;
        transition: color 0.2s ease;
    }

    .nav-mega-link:hover .nav-mega-link__title,
    .nav-mega-link.is-active .nav-mega-link__title {
        color: #e52e3d;
    }

    .nav-mega-link__desc {
        display: block;
        margin-top: 0.125rem;
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.35;
        color: #64748b;
    }

    .nav-service-link {
        display: flex;
        gap: 0.75rem;
        border-radius: 0.75rem;
        padding: 0.625rem;
        border: 1px solid transparent;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .nav-service-link:hover,
    .nav-service-link.is-active {
        background: #f8fafc;
        border-color: rgb(226 232 240);
    }

    .nav-service-link.is-active {
        background: rgba(229, 46, 61, 0.05);
        border-color: rgba(229, 46, 61, 0.35);
    }

    .nav-service-link__media {
        position: relative;
        height: 3.5rem;
        width: 3.5rem;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 0.75rem;
        background: #f1f5f9;
        border: 1px solid rgb(226 232 240);
    }

    .nav-service-link:hover .nav-service-link__media img,
    .nav-service-link.is-active .nav-service-link__media img {
        transform: scale(1.1);
    }

    .nav-service-link__icon {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(58, 16, 59, 0.35);
        transition: background 0.2s ease;
    }

    .nav-service-link:hover .nav-service-link__icon,
    .nav-service-link.is-active .nav-service-link__icon {
        background: rgba(229, 46, 61, 0.45);
    }

    .nav-service-link__title {
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.35;
        color: #1a0a1b;
        transition: color 0.2s ease;
    }

    .nav-service-link:hover .nav-service-link__title,
    .nav-service-link.is-active .nav-service-link__title {
        color: #e52e3d;
    }

    .nav-service-link__desc {
        margin-top: 0.125rem;
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.35;
        color: #64748b;
    }

    /* Full-screen mobile navigation */
    .mobile-nav {
        position: fixed;
        inset: 0;
        z-index: 210;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100dvh;
        background:
            linear-gradient(180deg, #faf8fb 0%, #ffffff 28%, #f8f5f9 100%);
        color: #1a0a1b;
        overscroll-behavior: contain;
    }

    .mobile-nav__hero {
        position: relative;
        flex-shrink: 0;
        overflow: hidden;
        padding: 0.85rem 1.1rem 1.25rem;
        background: linear-gradient(145deg, #220d23 0%, #3a103b 48%, #4a1530 100%);
        color: #fff;
    }

    .mobile-nav__hero-mesh {
        position: absolute;
        inset: 0;
        opacity: 0.55;
        background:
            radial-gradient(ellipse 80% 70% at 88% 0%, rgba(229, 46, 61, 0.45), transparent 55%),
            radial-gradient(ellipse 50% 55% at 0% 100%, rgba(255, 255, 255, 0.08), transparent 50%);
        pointer-events: none;
        animation: mobile-nav-mesh 8s ease-in-out infinite alternate;
    }

    @keyframes mobile-nav-mesh {
        from {
            transform: scale(1) translate(0, 0);
        }
        to {
            transform: scale(1.06) translate(-2%, 1%);
        }
    }

    .mobile-nav__hero-bar {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .mobile-nav__brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        padding: 0.35rem 0.65rem;
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    }

    .mobile-nav__logo {
        height: 2.15rem;
        width: auto;
        max-width: 10.5rem;
        object-fit: contain;
        object-position: left center;
    }

    .mobile-nav__close {
        display: inline-flex;
        height: 2.5rem;
        width: 2.5rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        backdrop-filter: blur(8px);
        transition:
            background 0.2s ease,
            transform 0.2s ease;
    }

    .mobile-nav__close:active {
        transform: scale(0.94);
        background: rgba(229, 46, 61, 0.85);
    }

    .mobile-nav__intro {
        position: relative;
        z-index: 1;
        margin-top: 1.15rem;
        padding-left: 0.15rem;
    }

    .mobile-nav__eyebrow {
        margin: 0;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: #e52e3d;
    }

    .mobile-nav__tagline {
        margin: 0.35rem 0 0;
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.2;
        color: #fff;
    }

    .mobile-nav__body {
        flex: 1;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.85rem 1rem 1.25rem;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav__group {
        margin-bottom: 0.35rem;
    }

    .mobile-nav__item {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 0.85rem;
        padding: 0.85rem 0.9rem;
        border-radius: 1rem;
        text-align: left;
        background: #fff;
        border: 1px solid rgba(58, 16, 59, 0.07);
        box-shadow: 0 1px 2px rgba(34, 13, 35, 0.03);
        color: #3a103b;
        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            background 0.2s ease;
    }

    .mobile-nav__item.is-open,
    .mobile-nav__item.is-active,
    .mobile-nav__item:active {
        border-color: rgba(229, 46, 61, 0.28);
        box-shadow: 0 8px 22px rgba(34, 13, 35, 0.08);
    }

    .mobile-nav__item.is-active {
        background: rgba(229, 46, 61, 0.04);
    }

    .mobile-nav__item.is-active .mobile-nav__title {
        color: #e52e3d;
    }

    .mobile-nav__item.is-active .mobile-nav__icon {
        background: rgba(229, 46, 61, 0.12);
        color: #e52e3d;
    }

    a.mobile-nav__item--link {
        text-decoration: none;
        margin-bottom: 0.35rem;
    }

    .mobile-nav__icon {
        display: inline-flex;
        height: 2.55rem;
        width: 2.55rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 0.85rem;
        background: linear-gradient(160deg, rgba(58, 16, 59, 0.1), rgba(58, 16, 59, 0.04));
        color: #3a103b;
        font-size: 0.95rem;
    }

    .mobile-nav__icon--red {
        background: linear-gradient(160deg, rgba(229, 46, 61, 0.16), rgba(229, 46, 61, 0.05));
        color: #e52e3d;
    }

    .mobile-nav__label {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    .mobile-nav__title {
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .mobile-nav__hint {
        font-size: 0.7rem;
        font-weight: 500;
        color: #64748b;
        line-height: 1.3;
    }

    .mobile-nav__caret,
    .mobile-nav__arrow {
        flex-shrink: 0;
        font-size: 0.65rem;
        color: rgba(58, 16, 59, 0.4);
        transition: transform 0.25s ease, color 0.2s ease;
    }

    .mobile-nav__item.is-open .mobile-nav__caret {
        transform: rotate(180deg);
        color: #e52e3d;
    }

    .mobile-nav__item--link:active .mobile-nav__arrow {
        color: #e52e3d;
        transform: translateX(3px);
    }

    .mobile-nav__panel {
        margin: 0.35rem 0 0.55rem;
        padding: 0.35rem;
        border-radius: 1rem;
        background: rgba(58, 16, 59, 0.035);
        border: 1px solid rgba(58, 16, 59, 0.06);
    }

    .mobile-nav__link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 0.8rem;
        border-radius: 0.75rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: #334155;
        text-decoration: none;
        transition:
            background 0.15s ease,
            color 0.15s ease;
    }

    .mobile-nav__link i {
        width: 1.1rem;
        text-align: center;
        font-size: 0.8rem;
        color: #e52e3d;
        opacity: 0.85;
    }

    .mobile-nav__link:active,
    .mobile-nav__link:hover,
    .mobile-nav__link.is-active {
        background: #fff;
        color: #e52e3d;
    }

    .mobile-nav__link.is-active {
        background: rgba(229, 46, 61, 0.08);
        font-weight: 800;
        box-shadow: inset 3px 0 0 #e52e3d;
    }

    .mobile-nav__link.is-active i {
        opacity: 1;
    }

    .mobile-nav__phone {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        margin-top: 0.65rem;
        padding: 0.95rem 1rem;
        border-radius: 1rem;
        text-decoration: none;
        background: linear-gradient(135deg, #3a103b 0%, #220d23 100%);
        color: #fff;
        box-shadow: 0 12px 28px rgba(34, 13, 35, 0.22);
    }

    .mobile-nav__phone-icon {
        display: inline-flex;
        height: 2.4rem;
        width: 2.4rem;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        background: #e52e3d;
        color: #fff;
        font-size: 0.85rem;
        animation: mobile-nav-pulse 2.4s ease-in-out infinite;
    }

    @keyframes mobile-nav-pulse {
        0%,
        100% {
            box-shadow: 0 0 0 0 rgba(229, 46, 61, 0.45);
        }
        50% {
            box-shadow: 0 0 0 8px rgba(229, 46, 61, 0);
        }
    }

    .mobile-nav__phone-label {
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
    }

    .mobile-nav__phone-num {
        display: block;
        margin-top: 0.15rem;
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: -0.01em;
    }

    .mobile-nav__footer {
        flex-shrink: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.92);
        border-top: 1px solid rgba(58, 16, 59, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -10px 30px rgba(34, 13, 35, 0.06);
    }

    .mobile-nav__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 3rem;
        padding: 0.7rem 0.65rem;
        border-radius: 9999px;
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none;
        color: #fff;
        transition: transform 0.15s ease, filter 0.15s ease;
    }

    .mobile-nav__cta:active {
        transform: scale(0.97);
    }

    .mobile-nav__cta--violet {
        background: linear-gradient(135deg, #3a103b, #5a1848);
        box-shadow: 0 8px 18px rgba(58, 16, 59, 0.28);
    }

    .mobile-nav__cta--red {
        background: linear-gradient(135deg, #e52e3d, #c41f2d);
        box-shadow: 0 8px 18px rgba(229, 46, 61, 0.28);
    }

    .glass-panel {
        background: rgba(255, 255, 255, 0.86);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(255, 255, 255, 0.55);
        box-shadow: 0 24px 60px rgba(34, 13, 35, 0.2);
    }

    .hero-mesh {
        background:
            radial-gradient(ellipse 70% 55% at 70% 40%, rgba(229, 46, 61, 0.28), transparent 60%),
            radial-gradient(ellipse 50% 40% at 10% 80%, rgba(58, 16, 59, 0.45), transparent 55%),
            linear-gradient(120deg, #220d23 0%, #3a103b 42%, #4a1530 100%);
    }

    .hero-photo {
        background-image:
            linear-gradient(105deg, rgba(34, 13, 35, 0.92) 0%, rgba(34, 13, 35, 0.72) 42%, rgba(34, 13, 35, 0.35) 100%),
            url('/images/graphics/hero-bg-geometric.png');
        background-size: cover;
        background-position: center;
    }

    .hero-graphic {
        background: #ffffff;
    }

    /* Brand-only right accent (violet → plum, no yellow) */
    .hero-wedge {
        background: linear-gradient(155deg, #3a103b 0%, #5a1848 42%, #e52e3d 160%);
        clip-path: polygon(22% 0%, 100% 0%, 100% 100%, 0% 100%);
        opacity: 0.12;
    }

    .hero-action-bar {
        box-shadow: 0 16px 40px rgba(34, 13, 35, 0.14);
    }

    .hero-iso-img {
        /* no multiply — brand scene sits on white / soft violet wash */
    }

    .freight-stage {
        position: relative;
        isolation: isolate;
    }

    .freight-stage::before {
        content: '';
        position: absolute;
        inset: 8% 4% 6% 4%;
        border-radius: 1.5rem;
        background: linear-gradient(145deg, rgba(58, 16, 59, 0.05), rgba(229, 46, 61, 0.07));
        z-index: 0;
    }

    /* ========== Photoreal people loading sequence ========== */
    .freight-3d {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 40rem;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        border-radius: 1.25rem;
        background: #e8edf3;
        box-shadow: 0 20px 48px rgba(34, 13, 35, 0.16);
    }

    .freight-3d__stage {
        position: absolute;
        inset: 0;
    }

    .freight-3d__frame,
    .freight-3d__fallback {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 45%;
        opacity: 0;
        transform: scale(1.03);
        transition: opacity 1.05s ease, transform 2.8s ease;
        pointer-events: none;
        user-select: none;
        z-index: 0;
    }

    .freight-3d__frame.is-active,
    .freight-3d__fallback {
        opacity: 1;
        transform: scale(1);
        z-index: 1;
    }

    .freight-3d__badge {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        z-index: 4;
        display: flex;
        align-items: center;
        padding: 0.35rem 0.55rem;
        border-radius: 0.55rem;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 20px rgba(34, 13, 35, 0.12);
    }

    .freight-3d__logo {
        height: 1.35rem;
        width: auto;
        display: block;
    }

    .freight-3d__caption {
        position: absolute;
        left: 50%;
        bottom: 0.85rem;
        transform: translateX(-50%);
        z-index: 4;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.4rem 0.85rem;
        border-radius: 999px;
        background: rgba(58, 16, 59, 0.92);
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        white-space: nowrap;
        box-shadow: 0 8px 18px rgba(34, 13, 35, 0.25);
    }

    .freight-3d__live {
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 999px;
        background: #e52e3d;
        animation: captionPulse 1s ease-in-out infinite;
    }

    @keyframes captionPulse {
        0%,
        100% {
            opacity: 1;
            transform: scale(1);
        }
        50% {
            opacity: 0.45;
            transform: scale(0.85);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .freight-3d__live {
            animation: none !important;
        }
    }

    .partners-scroll {
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        overscroll-behavior-x: contain;
    }

    .partners-scroll::-webkit-scrollbar {
        display: none;
    }

    .section-label {
        @apply text-xpert-red font-bold text-xs uppercase tracking-[0.22em];
    }

    /* Desk response SLA */
    .desk-sla--chip {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.4rem 0.85rem;
        border-radius: 9999px;
        background: rgba(229, 46, 61, 0.1);
        color: #e52e3d;
        font-size: 0.75rem;
        font-weight: 800;
    }

    .desk-sla--banner {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        margin-top: 1.25rem;
        padding: 0.95rem 1.1rem;
        border-radius: 1rem;
        background: linear-gradient(135deg, rgba(229, 46, 61, 0.08), rgba(58, 16, 59, 0.05));
        border: 1px solid rgba(229, 46, 61, 0.2);
    }

    .desk-sla__icon {
        display: inline-flex;
        height: 2.25rem;
        width: 2.25rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 0.7rem;
        background: #e52e3d;
        color: #fff;
        font-size: 0.8rem;
        box-shadow: 0 8px 18px -10px rgba(229, 46, 61, 0.8);
    }

    .desk-sla__label {
        margin: 0;
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #e52e3d;
    }

    .desk-sla__text {
        margin: 0.2rem 0 0;
        font-size: 0.875rem;
        font-weight: 700;
        line-height: 1.45;
        color: #3a103b;
    }

    .desk-sla--inline {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        margin: 0;
        font-size: 0.8rem;
        font-weight: 700;
        color: #3a103b;
    }

    .desk-sla--inline i {
        color: #e52e3d;
    }

    /* ========== About — Mission · Vision · Values · Clarity ========== */
    .about-purpose {
        background: linear-gradient(180deg, #ffffff 0%, #f8f5f9 48%, #ffffff 100%);
    }

    .about-purpose__wash {
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            radial-gradient(ellipse 55% 50% at 8% 20%, rgba(229, 46, 61, 0.07), transparent 60%),
            radial-gradient(ellipse 45% 45% at 92% 80%, rgba(58, 16, 59, 0.06), transparent 55%);
    }

    .about-purpose__grid {
        display: grid;
        gap: 1rem;
    }

    @media (min-width: 768px) {
        .about-purpose__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.15rem;
        }
    }

    .about-purpose__tile {
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 100%;
        padding: 1.5rem 1.35rem 1.6rem;
        border-radius: 1.25rem;
        overflow: hidden;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (min-width: 640px) {
        .about-purpose__tile {
            padding: 1.75rem 1.65rem 1.85rem;
        }
    }

    .about-purpose__tile:hover {
        transform: translateY(-3px);
    }

    .about-purpose__tile--dark {
        background: linear-gradient(145deg, #220d23 0%, #3a103b 55%, #4a1530 100%);
        color: #fff;
        box-shadow: 0 24px 50px -30px rgba(34, 13, 35, 0.7);
    }

    .about-purpose__tile--dark::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(229, 46, 61, 0.35), transparent 55%);
        opacity: 0.85;
    }

    .about-purpose__tile--light {
        background: #fff;
        border: 1px solid rgba(58, 16, 59, 0.08);
        box-shadow: 0 16px 40px -32px rgba(58, 16, 59, 0.35);
        color: #1a0a1b;
    }

    .about-purpose__tile--accent {
        background: linear-gradient(160deg, #fff 0%, #fff8f8 100%);
        border: 1px solid rgba(229, 46, 61, 0.18);
        box-shadow: 0 16px 40px -32px rgba(229, 46, 61, 0.35);
        color: #1a0a1b;
    }

    .about-purpose__top {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.35rem;
    }

    .about-purpose__index {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        font-variant-numeric: tabular-nums;
    }

    .about-purpose__tile--dark .about-purpose__index {
        color: rgba(255, 255, 255, 0.4);
    }

    .about-purpose__tile--light .about-purpose__index,
    .about-purpose__tile--accent .about-purpose__index {
        color: rgb(148 163 184);
    }

    .about-purpose__icon {
        position: relative;
        z-index: 1;
        display: inline-flex;
        height: 2.65rem;
        width: 2.65rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.85rem;
        font-size: 0.95rem;
    }

    .about-purpose__tile--dark .about-purpose__icon {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #fff;
    }

    .about-purpose__tile--light .about-purpose__icon {
        background: rgba(58, 16, 59, 0.08);
        color: #3a103b;
    }

    .about-purpose__tile--accent .about-purpose__icon {
        background: rgba(229, 46, 61, 0.12);
        color: #e52e3d;
    }

    .about-purpose__title {
        position: relative;
        z-index: 1;
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    .about-purpose__body {
        position: relative;
        z-index: 1;
        margin-top: 0.75rem;
        font-size: 0.9rem;
        line-height: 1.65;
        flex: 1;
    }

    .about-purpose__tile--dark .about-purpose__body {
        color: rgba(255, 255, 255, 0.72);
    }

    .about-purpose__tile--light .about-purpose__body,
    .about-purpose__tile--accent .about-purpose__body {
        color: rgb(71 85 105);
    }

    .marquee-track {
        animation: marquee 36s linear infinite;
    }

    .marquee-track:hover {
        animation-play-state: paused;
    }

    @keyframes marquee {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-50%);
        }
    }

    .fade-up {
        animation: fadeUp 0.7s ease-out both;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(18px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .float-y {
        animation: floatY 4.5s ease-in-out infinite;
    }

    @keyframes floatY {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }

    /* ========== Why Choose Us / SFPM live icons ========== */
    .why-sfpm__points {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 0.75rem;
    }

    .why-sfpm__points li {
        position: relative;
        padding-left: 1.35rem;
        font-size: 0.95rem;
        line-height: 1.55;
        font-weight: 600;
        color: #475569;
    }

    .why-sfpm__points li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.55rem;
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 9999px;
        background: #e52e3d;
        box-shadow: 0 0 0 3px rgba(229, 46, 61, 0.15);
    }

    .why-sfpm__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    @media (min-width: 640px) {
        .why-sfpm__grid {
            grid-template-columns: 1fr 1fr;
            gap: 1.15rem;
        }

        .why-sfpm__card:nth-child(2) {
            transform: translateY(1.25rem);
        }

        .why-sfpm__card:nth-child(4) {
            transform: translateY(1.25rem);
        }

        .why-sfpm__card:nth-child(2):hover,
        .why-sfpm__card:nth-child(4):hover {
            transform: translateY(calc(1.25rem - 6px));
        }
    }

    .why-sfpm__card {
        background: #ffffff;
        border-radius: 1.15rem;
        padding: 1.35rem 1.4rem 1.5rem;
        box-shadow: 0 14px 34px rgba(34, 13, 35, 0.08);
        border: 1px solid rgba(226, 232, 240, 0.9);
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.35s ease,
            border-color 0.35s ease;
    }

    .why-sfpm__card:hover {
        border-color: rgba(229, 46, 61, 0.35);
        box-shadow: 0 20px 44px rgba(34, 13, 35, 0.12);
    }

    .why-sfpm__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 4.25rem;
        height: 4.25rem;
        border-radius: 1rem;
        background: rgba(229, 46, 61, 0.06);
        color: #3a103b;
    }

    .why-sfpm__icon lord-icon {
        display: block;
    }

    .xpert-live-icon {
        display: inline-flex;
        width: 3.35rem;
        height: 3.35rem;
    }

    .xpert-live-icon__svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .xli-glow {
        transform-origin: left center;
        animation: xliScan 2.4s ease-in-out infinite;
    }

    .xli-bar--1 { animation: xliBar 2.2s ease-in-out infinite; }
    .xli-bar--2 { animation: xliBar 2.2s ease-in-out 0.25s infinite; }
    .xli-bar--3 { animation: xliBar 2.2s ease-in-out 0.5s infinite; }

    .xli-pulse {
        transform-origin: center;
        animation: xliPulse 1.5s ease-in-out infinite;
    }

    .xli-head--left,
    .xli-head--right {
        transform-origin: center;
        animation: xliBob 2.8s ease-in-out infinite;
    }

    .xli-head--right {
        animation-delay: -1.2s;
    }

    .xli-body--main {
        animation: xliBreath 3s ease-in-out infinite;
        transform-origin: 32px 48px;
    }

    .xli-pin {
        transform-origin: 32px 52px;
        animation: xliPin 2.4s ease-in-out infinite;
    }

    .xli-pin-core {
        transform-origin: 32px 24px;
        animation: xliPulse 1.8s ease-in-out infinite;
    }

    .xli-ripple {
        transform-origin: 32px 24px;
        opacity: 0;
        animation: xliRipple 2.4s ease-out infinite;
    }

    .xli-ripple--2 {
        animation-delay: 1.2s;
    }

    .xli-win--1 { animation: xliBlink 2s ease-in-out infinite; }
    .xli-win--2 { animation: xliBlink 2s ease-in-out 0.4s infinite; }
    .xli-win--3 { animation: xliBlink 2s ease-in-out 0.8s infinite; }

    .xli-door {
        animation: xliDoor 3.2s ease-in-out infinite;
        transform-origin: left center;
    }

    @keyframes xliScan {
        0%,
        100% {
            transform: scaleX(0.55);
            opacity: 0.55;
        }
        50% {
            transform: scaleX(1);
            opacity: 1;
        }
    }

    @keyframes xliBar {
        0%,
        100% {
            transform: scaleX(0.7);
            opacity: 0.35;
        }
        50% {
            transform: scaleX(1);
            opacity: 0.85;
        }
    }

    @keyframes xliPulse {
        0%,
        100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.25);
            opacity: 0.55;
        }
    }

    @keyframes xliBob {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-2px);
        }
    }

    @keyframes xliBreath {
        0%,
        100% {
            transform: scaleY(1);
        }
        50% {
            transform: scaleY(1.03);
        }
    }

    @keyframes xliPin {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-3px);
        }
    }

    @keyframes xliRipple {
        0% {
            transform: scale(0.7);
            opacity: 0.55;
        }
        100% {
            transform: scale(2.2);
            opacity: 0;
        }
    }

    @keyframes xliBlink {
        0%,
        100% {
            opacity: 0.35;
        }
        50% {
            opacity: 0.95;
        }
    }

    @keyframes xliDoor {
        0%,
        100% {
            transform: scaleX(1);
        }
        50% {
            transform: scaleX(0.72);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .xli-glow,
        .xli-bar--1,
        .xli-bar--2,
        .xli-bar--3,
        .xli-pulse,
        .xli-head--left,
        .xli-head--right,
        .xli-body--main,
        .xli-pin,
        .xli-pin-core,
        .xli-ripple,
        .xli-win--1,
        .xli-win--2,
        .xli-win--3,
        .xli-door {
            animation: none !important;
        }
    }

    /* ========== Multimodal service horizontal scroll ========== */
    .service-scroll {
        -ms-overflow-style: none;
        scrollbar-width: none;
        max-width: 100%;
        overscroll-behavior-x: contain;
    }

    .service-scroll::-webkit-scrollbar {
        display: none;
    }

    .service-scroll__card {
        width: min(78vw, 17.5rem);
    }

    @media (min-width: 640px) {
        .service-scroll__card {
            width: 17.5rem;
        }
    }

    .service-scroll-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 999px;
        background: #ffffff;
        color: #3a103b;
        border: 1px solid #e2e8f0;
        transition:
            background 0.25s ease,
            color 0.25s ease,
            border-color 0.25s ease,
            transform 0.25s ease;
    }

    .service-scroll-btn:hover {
        background: #e52e3d;
        border-color: #e52e3d;
        color: #fff;
        transform: scale(1.05);
    }

    /* ========== Challenge → Solution cards ========== */
    .challenge-marquee {
        overflow: hidden;
        width: 100%;
        mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    }

    .challenge-marquee__track {
        display: flex;
        width: max-content;
        gap: 1rem;
        padding: 0.35rem 1rem;
        animation: challengeMarquee 38s linear infinite;
        will-change: transform;
    }

    .challenge-marquee--reverse .challenge-marquee__track {
        animation-name: challengeMarqueeReverse;
        animation-duration: 42s;
    }

    .challenge-marquee:hover .challenge-marquee__track {
        animation-play-state: paused;
    }

    @keyframes challengeMarquee {
        from {
            transform: translateX(0);
        }
        to {
            transform: translateX(-50%);
        }
    }

    @keyframes challengeMarqueeReverse {
        from {
            transform: translateX(-50%);
        }
        to {
            transform: translateX(0);
        }
    }

    .challenge-card {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        width: min(86vw, 20rem);
        padding: 1.15rem 1.2rem;
        border-radius: 1.1rem;
        background: #fff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 12px 28px rgba(34, 13, 35, 0.07);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .challenge-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 34px rgba(34, 13, 35, 0.12);
    }

    .challenge-card--pain {
        border-color: rgba(229, 46, 61, 0.18);
        background: linear-gradient(180deg, #fff 0%, #fff5f6 100%);
    }

    .challenge-card--solve {
        border-color: rgba(58, 16, 59, 0.14);
        background: linear-gradient(180deg, #fff 0%, #f8f5f9 100%);
    }

    .challenge-card__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.1rem;
        height: 2.1rem;
        border-radius: 999px;
        flex-shrink: 0;
        font-size: 0.8rem;
    }

    .challenge-card__icon--pain {
        background: #e52e3d;
        color: #fff;
    }

    .challenge-card__icon--solve {
        background: #3a103b;
        color: #fff;
    }

    .challenge-card__text {
        font-size: 0.92rem;
        font-weight: 650;
        line-height: 1.4;
        color: #3a103b;
    }

    @media (prefers-reduced-motion: reduce) {
        .challenge-marquee__track {
            animation: none !important;
            flex-wrap: wrap;
            width: 100%;
            max-width: 80rem;
            margin-inline: auto;
            justify-content: center;
        }
    }

    .side-rail {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }

    /* ========== Cinematic About band ========== */
    .about-cinematic {
        min-height: 34rem;
    }

    .about-cinematic__media {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .about-cinematic__bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 70% center;
        opacity: 0;
        transform: scale(1.04);
        transition: opacity 0.85s ease, transform 6s ease;
        z-index: 0;
    }

    .about-cinematic__bg.is-active {
        opacity: 1;
        transform: scale(1.08);
        z-index: 1;
        animation: aboutKen 22s ease-in-out infinite alternate;
    }

    /* First frame visible before Alpine hydrates */
    .about-cinematic__media > .about-cinematic__bg:first-of-type {
        opacity: 1;
        z-index: 1;
    }

    .about-cinematic__media > .about-cinematic__bg:first-of-type:not(.is-active) {
        opacity: 0;
        z-index: 0;
        animation: none;
    }

    @keyframes aboutKen {
        from {
            transform: scale(1);
        }
        to {
            transform: scale(1.08) translate3d(-1.5%, 1%, 0);
        }
    }

    @keyframes aboutDash {
        to {
            stroke-dashoffset: -280;
        }
    }

    .about-cinematic__wash {
        position: absolute;
        inset: 0;
        z-index: 2;
        background:
            linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.35) 58%, rgba(34, 13, 35, 0.28) 100%),
            linear-gradient(180deg, rgba(248, 250, 252, 0.2), rgba(34, 13, 35, 0.25));
    }

    .about-cinematic__grain {
        position: absolute;
        inset: 0;
        z-index: 3;
        opacity: 0.08;
        pointer-events: none;
        background-image: radial-gradient(rgba(58, 16, 59, 0.35) 0.6px, transparent 0.6px);
        background-size: 3px 3px;
    }

    .about-cinematic__panel {
        max-width: 34rem;
    }

    .about-cinematic__rule {
        display: block;
        width: 3.5rem;
        height: 3px;
        margin-top: 1rem;
        border-radius: 999px;
        background: linear-gradient(90deg, #e52e3d, #3a103b);
        transform-origin: left center;
        animation: aboutRule 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    @keyframes aboutRule {
        from {
            transform: scaleX(0);
            opacity: 0;
        }
        to {
            transform: scaleX(1);
            opacity: 1;
        }
    }

    .about-mode {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.85rem;
        border-radius: 999px;
        font-size: 0.75rem;
        font-weight: 700;
        color: #3a103b;
        background: rgba(255, 255, 255, 0.72);
        border: 1px solid rgba(58, 16, 59, 0.12);
        transition:
            background 0.3s ease,
            color 0.3s ease,
            border-color 0.3s ease,
            transform 0.3s ease,
            box-shadow 0.3s ease;
    }

    .about-mode:hover {
        transform: translateY(-2px);
    }

    .about-mode.is-on {
        color: #fff;
        background: #e52e3d;
        border-color: #e52e3d;
        box-shadow: 0 10px 22px rgba(229, 46, 61, 0.28);
    }

    .about-cinematic__cta {
        padding: 0.7rem 1.35rem;
        border-radius: 999px;
        border: 1.5px solid #1a0a1b;
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #1a0a1b;
        background: transparent;
        transition:
            background 0.3s ease,
            color 0.3s ease,
            border-color 0.3s ease,
            transform 0.3s ease,
            box-shadow 0.3s ease;
    }

    .about-cinematic__cta:hover {
        background: #e52e3d;
        border-color: #e52e3d;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(229, 46, 61, 0.28);
    }

    .about-cinematic__cta i {
        transition: transform 0.25s ease;
    }

    .about-cinematic__cta:hover i {
        transform: translateX(4px);
    }

    .about-cinematic__route {
        display: none;
    }

    .about-map {
        position: absolute;
        right: 0;
        top: 0;
        width: min(100%, 36rem);
        height: 15rem;
        z-index: 2;
        pointer-events: none;
    }

    .about-map__grid {
        position: absolute;
        inset: 0;
        border-radius: 1.25rem;
        background:
            linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
        background-size: 28px 28px;
        mask-image: radial-gradient(ellipse 80% 70% at 60% 45%, #000 20%, transparent 75%);
        opacity: 0.55;
    }

    .about-map__svg {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .about-map__soft {
        fill: none;
        stroke: rgba(255, 255, 255, 0.35);
        stroke-width: 6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .about-map__path {
        fill: none;
        stroke: #e52e3d;
        stroke-width: 2.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 10 12;
        filter: drop-shadow(0 0 8px rgba(229, 46, 61, 0.55));
        animation: aboutDash 16s linear infinite;
    }

    .about-map__hub {
        fill: rgba(255, 255, 255, 0.92);
        stroke: #e52e3d;
        stroke-width: 2.5;
    }

    .about-map__hub-core {
        fill: #3a103b;
    }

    .about-map__pill {
        fill: rgba(34, 13, 35, 0.78);
        stroke: rgba(255, 255, 255, 0.14);
        stroke-width: 1;
    }

    .about-map__label {
        fill: #ffffff;
        font-size: 10px;
        font-weight: 700;
        font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
        letter-spacing: 0.02em;
    }

    .about-map__legend {
        position: absolute;
        left: 0.75rem;
        bottom: 0.35rem;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.3rem 0.65rem;
        border-radius: 999px;
        background: rgba(34, 13, 35, 0.72);
        color: #fff;
        font-size: 0.68rem;
        font-weight: 700;
        backdrop-filter: blur(8px);
    }

    .about-map__legend-dot {
        width: 0.45rem;
        height: 0.45rem;
        border-radius: 999px;
        background: #e52e3d;
        animation: captionPulse 1s ease-in-out infinite;
    }

    .about-float-grid {
        position: relative;
        min-height: 18rem;
        margin-top: 2rem;
    }

    @media (min-width: 1024px) {
        .about-float-grid {
            min-height: 22rem;
            margin-top: 0;
        }
    }

    .about-float {
        position: absolute;
        padding: 1rem 1.15rem;
        border-radius: 1rem;
        background: rgba(34, 13, 35, 0.72);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 18px 40px rgba(34, 13, 35, 0.28);
        animation: floatY 5s ease-in-out infinite;
    }

    .about-float--a {
        right: 8%;
        top: 12%;
    }

    .about-float--b {
        left: 8%;
        top: 42%;
    }

    .about-float--c {
        right: 14%;
        bottom: 8%;
    }

    .about-live-dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 999px;
        background: #e52e3d;
        box-shadow: 0 0 0 0 rgba(229, 46, 61, 0.55);
        animation: aboutLive 1.6s ease-out infinite;
    }

    @keyframes aboutLive {
        0% {
            box-shadow: 0 0 0 0 rgba(229, 46, 61, 0.55);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(229, 46, 61, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(229, 46, 61, 0);
        }
    }

    @media (max-width: 639px) {
        .about-float--a {
            right: 0;
            top: 0;
            position: relative;
            margin-bottom: 0.75rem;
        }

        .about-float--b,
        .about-float--c {
            position: relative;
            left: auto;
            right: auto;
            top: auto;
            bottom: auto;
            margin-bottom: 0.75rem;
            animation: none;
        }

        .about-float-grid {
            min-height: 0;
            display: grid;
            gap: 0.75rem;
        }
    }

    .math-captcha__question {
        font-size: 0.875rem;
        color: #334155;
        line-height: 1.4;
    }

    .math-captcha__question strong {
        color: #3a103b;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.02em;
    }

    /* ========== Tracking page ========== */

    /* --- Search card --- */
    .track-search {
        position: relative;
        margin-top: -2.5rem;
        overflow: hidden;
        padding: 1.5rem 1.25rem;
        background: #fff;
        border: 1px solid rgb(226 232 240);
        border-radius: 1.5rem;
        box-shadow:
            0 1px 2px rgba(34, 13, 35, 0.04),
            0 30px 60px -34px rgba(58, 16, 59, 0.4);
    }

    @media (min-width: 640px) {
        .track-search {
            margin-top: -3.25rem;
            padding: 2.25rem 2.25rem 2rem;
        }
    }

    .track-search__glow {
        position: absolute;
        top: -45%;
        right: -12%;
        width: 22rem;
        height: 22rem;
        border-radius: 9999px;
        background: radial-gradient(circle, rgba(229, 46, 61, 0.12), transparent 62%);
        pointer-events: none;
    }

    .track-search__eyebrow {
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: #e52e3d;
    }

    .track-search__title {
        margin-top: 0.5rem;
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.15;
        color: #1a0a1b;
    }

    @media (min-width: 640px) {
        .track-search__title {
            font-size: 1.875rem;
        }
    }

    .track-search__lead {
        margin-top: 0.6rem;
        max-width: 34rem;
        font-size: 0.875rem;
        line-height: 1.6;
        color: rgb(71 85 105);
    }

    .track-search__toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.75rem;
        font-weight: 700;
        color: #3a103b;
        transition: color 0.2s ease;
    }

    .track-search__toggle:hover {
        color: #e52e3d;
    }

    .track-search__toggle i {
        font-size: 0.6rem;
    }

    /* --- Input --- */
    .track-field {
        position: relative;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.4rem 0.4rem 0.4rem 2.85rem;
        background: #f8fafc;
        border: 1.5px solid rgb(226 232 240);
        border-radius: 1rem;
        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            background 0.2s ease;
    }

    .track-field:focus-within {
        background: #fff;
        border-color: rgba(229, 46, 61, 0.55);
        box-shadow: 0 0 0 4px rgba(229, 46, 61, 0.1);
    }

    .track-field__icon {
        position: absolute;
        left: 1.1rem;
        font-size: 0.95rem;
        color: rgb(148 163 184);
        pointer-events: none;
    }

    .track-field:focus-within .track-field__icon {
        color: #e52e3d;
    }

    .track-field__input {
        flex: 1;
        min-width: 0;
        padding: 0.75rem 0;
        background: transparent;
        border: 0;
        outline: none;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #1a0a1b;
        font-variant-numeric: tabular-nums;
    }

    .track-field__input::placeholder {
        font-weight: 500;
        letter-spacing: 0.02em;
        text-transform: none;
        color: rgb(148 163 184);
    }

    .track-field__clear {
        display: inline-flex;
        height: 1.75rem;
        width: 1.75rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        font-size: 0.7rem;
        color: rgb(148 163 184);
        transition: background 0.2s ease, color 0.2s ease;
    }

    .track-field__clear:hover {
        background: rgb(241 245 249);
        color: #e52e3d;
    }

    .track-field__submit {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 2.9rem;
        padding: 0 1.35rem;
        border-radius: 0.8rem;
        background: linear-gradient(135deg, #e52e3d, #c41f2d);
        color: #fff;
        font-size: 0.875rem;
        font-weight: 800;
        box-shadow: 0 8px 20px -8px rgba(229, 46, 61, 0.7);
        transition: filter 0.2s ease, transform 0.15s ease;
    }

    .track-field__submit:hover:not(:disabled) {
        filter: brightness(1.06);
    }

    .track-field__submit:active:not(:disabled) {
        transform: scale(0.98);
    }

    .track-field__submit:disabled {
        opacity: 0.65;
    }

    .track-field__ref {
        width: 100%;
        padding: 0.8rem 1rem;
        background: #f8fafc;
        border: 1.5px solid rgb(226 232 240);
        border-radius: 0.85rem;
        outline: none;
        font-size: 0.875rem;
        font-weight: 600;
        color: #1a0a1b;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .track-field__ref:focus {
        background: #fff;
        border-color: rgba(229, 46, 61, 0.55);
        box-shadow: 0 0 0 4px rgba(229, 46, 61, 0.1);
    }

    /* --- Status card --- */
    .track-card {
        position: relative;
        overflow: hidden;
        padding: 1.5rem 1.35rem;
        border-radius: 1.5rem;
        background: linear-gradient(145deg, #220d23 0%, #3a103b 52%, #4a1530 100%);
        color: #fff;
        box-shadow: 0 26px 55px -30px rgba(34, 13, 35, 0.75);
    }

    @media (min-width: 640px) {
        .track-card {
            padding: 2rem 2.25rem;
        }
    }

    .track-card__mesh {
        position: absolute;
        inset: 0;
        opacity: 0.6;
        background:
            radial-gradient(ellipse 70% 80% at 92% 0%, rgba(229, 46, 61, 0.45), transparent 58%),
            radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.07), transparent 55%);
        pointer-events: none;
    }

    .track-card.is-success .track-card__mesh {
        background:
            radial-gradient(ellipse 70% 80% at 92% 0%, rgba(16, 185, 129, 0.4), transparent 58%),
            radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255, 255, 255, 0.07), transparent 55%);
    }

    .track-card__label {
        font-size: 0.62rem;
        font-weight: 800;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.45);
    }

    .track-card__awb {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        line-height: 1.1;
        font-variant-numeric: tabular-nums;
        word-break: break-all;
    }

    @media (min-width: 640px) {
        .track-card__awb {
            font-size: 1.875rem;
        }
    }

    .track-copy {
        display: inline-flex;
        height: 1.9rem;
        width: 1.9rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 0.6rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.75);
        font-size: 0.7rem;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .track-copy:hover {
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
    }

    .track-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 0.95rem;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.22);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .track-card.is-success .track-pill {
        background: #10b981;
        border-color: #10b981;
        box-shadow: 0 8px 20px -10px rgba(16, 185, 129, 0.9);
    }

    .track-card.is-alert .track-pill {
        background: #f59e0b;
        border-color: #f59e0b;
        color: #3a103b;
    }

    .track-card.is-active .track-pill {
        background: #e52e3d;
        border-color: #e52e3d;
        box-shadow: 0 8px 20px -10px rgba(229, 46, 61, 0.9);
    }

    /* --- Route strip --- */
    .track-route {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0.85rem;
        padding-top: 1.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .track-route__tag {
        display: block;
        font-size: 0.6rem;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
    }

    .track-route__place {
        margin-top: 0.3rem;
        font-size: 0.8rem;
        font-weight: 700;
        line-height: 1.35;
        color: rgba(255, 255, 255, 0.92);
    }

    @media (min-width: 640px) {
        .track-route__place {
            font-size: 0.9rem;
        }
    }

    .track-route__end--to {
        text-align: right;
    }

    .track-route__line {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 3.5rem;
        height: 2rem;
    }

    @media (min-width: 640px) {
        .track-route__line {
            min-width: 7rem;
        }
    }

    .track-route__dash {
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        border-radius: 9999px;
        background: repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.4) 0 6px,
            transparent 6px 12px
        );
    }

    .track-route__vehicle {
        position: relative;
        display: inline-flex;
        height: 1.85rem;
        width: 1.85rem;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        background: #e52e3d;
        color: #fff;
        font-size: 0.7rem;
        box-shadow: 0 0 0 5px rgba(229, 46, 61, 0.18);
        animation: track-glide 3.4s ease-in-out infinite;
    }

    @keyframes track-glide {
        0%,
        100% {
            transform: translateX(-14%);
        }
        50% {
            transform: translateX(14%);
        }
    }

    /* --- Panels --- */
    .track-panel {
        padding: 1.35rem 1.25rem;
        background: #fff;
        border: 1px solid rgb(226 232 240);
        border-radius: 1.35rem;
        box-shadow: 0 18px 45px -34px rgba(58, 16, 59, 0.4);
    }

    @media (min-width: 640px) {
        .track-panel {
            padding: 1.75rem 2rem;
        }
    }

    .track-panel__title {
        margin-bottom: 1.35rem;
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: rgb(148 163 184);
    }

    .track-count {
        display: inline-flex;
        align-items: center;
        padding: 0.25rem 0.7rem;
        border-radius: 9999px;
        background: rgb(241 245 249);
        font-size: 0.65rem;
        font-weight: 800;
        color: #3a103b;
    }

    /* --- Milestone rail --- */
    .track-rail {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0;
    }

    .track-rail__step {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        text-align: center;
    }

    .track-rail__connector {
        position: absolute;
        top: 1.3rem;
        right: 50%;
        left: -50%;
        height: 3px;
        border-radius: 9999px;
        background: rgb(226 232 240);
        transition: background 0.4s ease;
    }

    .track-rail__step.is-done .track-rail__connector,
    .track-rail__step.is-current .track-rail__connector {
        background: linear-gradient(90deg, #e52e3d, #e52e3d);
    }

    .track-rail__node {
        position: relative;
        z-index: 1;
        display: inline-flex;
        height: 2.6rem;
        width: 2.6rem;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        border: 2px solid rgb(226 232 240);
        background: #fff;
        color: rgb(148 163 184);
        font-size: 0.85rem;
        transition:
            background 0.35s ease,
            border-color 0.35s ease,
            color 0.35s ease,
            box-shadow 0.35s ease;
    }

    .track-rail__step.is-done .track-rail__node {
        background: #3a103b;
        border-color: #3a103b;
        color: #fff;
    }

    .track-rail__step.is-current .track-rail__node {
        background: #e52e3d;
        border-color: #e52e3d;
        color: #fff;
        box-shadow: 0 0 0 6px rgba(229, 46, 61, 0.14);
        animation: track-node-pulse 2.2s ease-in-out infinite;
    }

    @keyframes track-node-pulse {
        0%,
        100% {
            box-shadow: 0 0 0 6px rgba(229, 46, 61, 0.14);
        }
        50% {
            box-shadow: 0 0 0 11px rgba(229, 46, 61, 0.04);
        }
    }

    .track-rail__label {
        font-size: 0.6rem;
        font-weight: 700;
        line-height: 1.25;
        color: rgb(148 163 184);
        padding: 0 0.15rem;
    }

    @media (min-width: 640px) {
        .track-rail__label {
            font-size: 0.72rem;
        }
    }

    .track-rail__step.is-done .track-rail__label,
    .track-rail__step.is-current .track-rail__label {
        color: #3a103b;
        font-weight: 800;
    }

    .track-rail__note {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.4rem;
        margin-top: 1.5rem;
        padding-top: 1.1rem;
        border-top: 1px dashed rgb(226 232 240);
        font-size: 0.8rem;
        font-weight: 600;
        color: rgb(71 85 105);
    }

    /* --- Facts grid --- */
    .track-facts {
        display: grid;
        gap: 0.75rem;
    }

    @media (min-width: 640px) {
        .track-facts {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .track-facts {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .track-fact {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.85rem 0.9rem;
        background: #f8fafc;
        border: 1px solid rgb(241 245 249);
        border-radius: 0.9rem;
        transition: border-color 0.2s ease, background 0.2s ease;
    }

    .track-fact:hover {
        background: #fff;
        border-color: rgba(229, 46, 61, 0.22);
    }

    .track-fact__icon {
        display: inline-flex;
        height: 2.1rem;
        width: 2.1rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 0.65rem;
        background: rgba(58, 16, 59, 0.08);
        color: #3a103b;
        font-size: 0.75rem;
    }

    .track-fact__label {
        font-size: 0.6rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgb(148 163 184);
    }

    .track-fact__value {
        margin-top: 0.2rem;
        font-size: 0.825rem;
        font-weight: 700;
        line-height: 1.4;
        color: #1a0a1b;
        overflow-wrap: anywhere;
    }

    /* --- Scan timeline --- */
    .track-scans {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .track-scan {
        position: relative;
        display: flex;
        gap: 0.9rem;
        padding-bottom: 1.35rem;
    }

    .track-scan::before {
        content: '';
        position: absolute;
        top: 2.35rem;
        bottom: 0.1rem;
        left: 1.09rem;
        width: 2px;
        background: rgb(226 232 240);
    }

    .track-scan:last-child {
        padding-bottom: 0;
    }

    .track-scan:last-child::before {
        display: none;
    }

    .track-scan__node {
        position: relative;
        z-index: 1;
        display: inline-flex;
        height: 2.25rem;
        width: 2.25rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        border: 1.5px solid rgb(226 232 240);
        background: #fff;
        color: rgb(148 163 184);
        font-size: 0.72rem;
    }

    .track-scan.is-latest .track-scan__node {
        border-color: #e52e3d;
        background: #e52e3d;
        color: #fff;
        box-shadow: 0 0 0 5px rgba(229, 46, 61, 0.12);
    }

    .track-scan__body {
        min-width: 0;
        padding-top: 0.2rem;
    }

    .track-scan__detail {
        font-size: 0.9rem;
        font-weight: 800;
        color: #1a0a1b;
        line-height: 1.3;
    }

    .track-scan__now {
        display: inline-flex;
        padding: 0.15rem 0.5rem;
        border-radius: 9999px;
        background: rgba(229, 46, 61, 0.1);
        color: #e52e3d;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .track-scan__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 1rem;
        margin-top: 0.35rem;
        font-size: 0.75rem;
        font-weight: 600;
        color: rgb(100 116 139);
    }

    .track-scan__meta i {
        margin-right: 0.3rem;
        color: rgba(229, 46, 61, 0.7);
        font-size: 0.68rem;
    }

    .track-scan__remarks {
        margin-top: 0.35rem;
        font-size: 0.8rem;
        color: rgb(71 85 105);
    }

    .track-more {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
        padding: 0.6rem 1.1rem;
        border-radius: 9999px;
        background: rgb(248 250 252);
        border: 1px solid rgb(226 232 240);
        font-size: 0.75rem;
        font-weight: 800;
        color: #3a103b;
        transition: border-color 0.2s ease, color 0.2s ease;
    }

    .track-more:hover {
        border-color: rgba(229, 46, 61, 0.4);
        color: #e52e3d;
    }

    /* --- POD --- */
    .track-pod {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.35rem 1.25rem;
        border-radius: 1.35rem;
        background: linear-gradient(135deg, #f8fafc, #fff);
        border: 1px solid rgb(226 232 240);
    }

    @media (min-width: 640px) {
        .track-pod {
            flex-direction: row;
            align-items: center;
            padding: 1.75rem 2rem;
        }
    }

    .track-pod__thumb {
        position: relative;
        flex-shrink: 0;
        width: 100%;
        height: 11rem;
        overflow: hidden;
        border-radius: 1rem;
        background: rgb(241 245 249);
        border: 1px solid rgb(226 232 240);
    }

    @media (min-width: 640px) {
        .track-pod__thumb {
            width: 9.5rem;
            height: 9.5rem;
        }
    }

    .track-pod__thumb img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .track-pod__title {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 800;
        color: #1a0a1b;
    }

    .track-pod__body {
        margin-top: 0.5rem;
        font-size: 0.85rem;
        line-height: 1.6;
        color: rgb(71 85 105);
    }

    /* --- Buttons --- */
    .track-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.7rem 1.25rem;
        border-radius: 9999px;
        font-size: 0.8rem;
        font-weight: 800;
        transition: filter 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .track-btn--violet {
        background: linear-gradient(135deg, #3a103b, #5a1848);
        color: #fff;
        box-shadow: 0 10px 24px -12px rgba(58, 16, 59, 0.8);
    }

    .track-btn--violet:hover {
        filter: brightness(1.12);
    }

    .track-btn--ghost {
        background: #fff;
        border: 1.5px solid rgb(226 232 240);
        color: #3a103b;
    }

    .track-btn--ghost:hover {
        border-color: rgba(229, 46, 61, 0.45);
        color: #e52e3d;
    }

    .track-btn--white {
        background: #fff;
        color: #3a103b;
    }

    /* --- States --- */
    .track-alert {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
        padding: 1.15rem 1.35rem;
        border-radius: 1.25rem;
        background: linear-gradient(135deg, #fffbeb, #fef3c7);
        border: 1px solid rgb(253 230 138);
        color: #78350f;
    }

    .track-alert > i {
        font-size: 1.15rem;
        color: #d97706;
    }

    .track-alert > div {
        flex: 1;
        min-width: 12rem;
    }

    .track-empty {
        margin-top: 2rem;
        padding: 2.75rem 1.5rem;
        text-align: center;
        background: #fff;
        border: 1px solid rgb(226 232 240);
        border-radius: 1.35rem;
        box-shadow: 0 18px 45px -34px rgba(58, 16, 59, 0.4);
    }

    .track-empty__icon {
        display: inline-flex;
        height: 3.25rem;
        width: 3.25rem;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        background: rgba(229, 46, 61, 0.1);
        color: #e52e3d;
        font-size: 1.15rem;
    }

    .track-empty__title {
        margin-top: 1.15rem;
        font-size: 1.15rem;
        font-weight: 800;
        color: #1a0a1b;
    }

    .track-empty__body {
        margin: 0.5rem auto 0;
        max-width: 28rem;
        font-size: 0.875rem;
        line-height: 1.6;
        color: rgb(71 85 105);
    }

    /* --- Skeleton --- */
    .track-skeleton {
        margin-top: 2rem;
        padding: 1.75rem;
        background: #fff;
        border: 1px solid rgb(226 232 240);
        border-radius: 1.35rem;
    }

    .track-skeleton__bar,
    .track-skeleton__rail {
        border-radius: 9999px;
        background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
        background-size: 400% 100%;
        animation: track-shimmer 1.4s ease infinite;
    }

    .track-skeleton__bar {
        height: 0.85rem;
    }

    .track-skeleton__rail {
        height: 2.75rem;
        margin: 1.5rem 0;
        border-radius: 1rem;
    }

    .track-skeleton__grid {
        display: grid;
        gap: 0.85rem;
    }

    @media (min-width: 640px) {
        .track-skeleton__grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @keyframes track-shimmer {
        from {
            background-position: 100% 50%;
        }
        to {
            background-position: 0 50%;
        }
    }

    /* --- Idle hint --- */
    .track-hint {
        margin-top: 2rem;
    }

    .track-hint__row {
        display: grid;
        gap: 1rem;
    }

    @media (min-width: 768px) {
        .track-hint__row {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .track-hint__card {
        padding: 1.35rem;
        background: #fff;
        border: 1px solid rgb(226 232 240);
        border-radius: 1.15rem;
        transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .track-hint__card:hover {
        border-color: rgba(229, 46, 61, 0.3);
        transform: translateY(-2px);
    }

    .track-hint__icon {
        display: inline-flex;
        height: 2.5rem;
        width: 2.5rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.8rem;
        background: linear-gradient(160deg, #3a103b, #220d23);
        color: #fff;
        font-size: 0.85rem;
    }

    .track-hint__title {
        margin-top: 0.9rem;
        font-size: 0.925rem;
        font-weight: 800;
        color: #1a0a1b;
    }

    .track-hint__body {
        margin-top: 0.4rem;
        font-size: 0.8rem;
        line-height: 1.6;
        color: rgb(71 85 105);
    }

    /* ========== Pickup page ========== */
    .pickup-tips {
        display: grid;
        gap: 1rem;
    }

    @media (min-width: 768px) {
        .pickup-tips {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.15rem;
        }
    }

    @media (min-width: 1100px) {
        .pickup-tips {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    .pickup-tip {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.85rem;
        align-items: start;
        padding: 1.15rem 1rem;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgb(226 232 240);
        border-radius: 1rem;
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.25s ease;
    }

    .pickup-tip:hover {
        transform: translateY(-2px);
        border-color: rgb(229 46 61 / 0.35);
    }

    .pickup-tip__icon {
        display: flex;
        width: 2.4rem;
        height: 2.4rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.7rem;
        background: #3a103b;
        color: #fff;
        font-size: 0.8rem;
        transition: background 0.25s ease;
    }

    .pickup-tip:hover .pickup-tip__icon {
        background: #e52e3d;
    }

    .pickup-steps {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgb(226 232 240);
    }

    .pickup-steps__item {
        display: grid;
        grid-template-columns: 2.5rem 1fr;
        gap: 0.75rem;
        align-items: center;
        padding: 0.95rem 0;
        border-bottom: 1px solid rgb(226 232 240);
    }

    .pickup-steps__num {
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        color: #e52e3d;
    }

    .pickup-steps__text {
        font-size: 0.9rem;
        font-weight: 700;
        color: #1a0a1b;
    }

    /* ========== Contact page ========== */
    .contact-channels {
        display: grid;
        gap: 1rem;
    }

    @media (min-width: 768px) {
        .contact-channels {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.1rem;
        }
    }

    @media (min-width: 1100px) {
        .contact-channels {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    .contact-channel {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.9rem;
        align-items: start;
        padding: 1.1rem 1rem;
        border-radius: 1rem;
        background: #f8fafc;
        border: 1px solid rgb(226 232 240);
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.25s ease,
            background 0.25s ease;
    }

    a.contact-channel:hover {
        transform: translateY(-2px);
        border-color: rgb(229 46 61 / 0.35);
        background: #fff;
    }

    .contact-channel--static {
        cursor: default;
    }

    .contact-channel__icon {
        display: flex;
        width: 2.5rem;
        height: 2.5rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.7rem;
        background: #3a103b;
        color: #fff;
        font-size: 0.85rem;
        transition: background 0.25s ease;
    }

    a.contact-channel:hover .contact-channel__icon {
        background: #e52e3d;
    }

    .contact-channel__label {
        display: block;
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #e52e3d;
    }

    .contact-channel__value {
        display: block;
        margin-top: 0.3rem;
        font-size: 0.875rem;
        font-weight: 700;
        color: #1a0a1b;
        line-height: 1.35;
        word-break: break-word;
    }

    .contact-channel__value--wrap {
        font-weight: 600;
        color: rgb(71 85 105);
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .contact-links {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgb(226 232 240);
    }

    .contact-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.95rem 0.15rem;
        border-bottom: 1px solid rgb(226 232 240);
        transition: background 0.2s ease;
    }

    .contact-link:hover {
        background: linear-gradient(90deg, rgba(229, 46, 61, 0.04), transparent 60%);
    }

    .contact-link__title {
        display: block;
        font-size: 0.9rem;
        font-weight: 800;
        color: #1a0a1b;
        transition: color 0.2s ease;
    }

    .contact-link:hover .contact-link__title {
        color: #e52e3d;
    }

    .contact-link__hint {
        display: block;
        margin-top: 0.2rem;
        font-size: 0.75rem;
        color: rgb(148 163 184);
    }

    /* ========== Career page ========== */
    .career-pillars {
        display: grid;
        gap: 1rem;
    }

    @media (min-width: 768px) {
        .career-pillars {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.25rem;
        }
    }

    .career-pillar {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem;
        align-items: start;
        padding: 1.35rem 1.25rem;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgb(226 232 240);
        border-radius: 1rem;
        transition:
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.25s ease;
    }

    .career-pillar:hover {
        transform: translateY(-2px);
        border-color: rgb(229 46 61 / 0.35);
    }

    .career-pillar__icon {
        display: flex;
        width: 2.75rem;
        height: 2.75rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        background: #3a103b;
        color: #fff;
        font-size: 0.95rem;
        transition: background 0.25s ease;
    }

    .career-pillar:hover .career-pillar__icon {
        background: #e52e3d;
    }

    .career-roles {
        display: flex;
        flex-direction: column;
        border-top: 1px solid rgb(226 232 240);
    }

    .career-role {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.65rem 1rem;
        align-items: center;
        padding: 1.35rem 0.25rem 1.35rem 0.85rem;
        border-bottom: 1px solid rgb(226 232 240);
        position: relative;
        transition: background 0.25s ease;
    }

    .career-role::before {
        content: '';
        position: absolute;
        left: 0;
        top: 1.25rem;
        bottom: 1.25rem;
        width: 3px;
        border-radius: 9999px;
        background: transparent;
        transition: background 0.25s ease;
    }

    .career-role:hover {
        background: linear-gradient(90deg, rgba(229, 46, 61, 0.04), transparent 55%);
    }

    .career-role:hover::before {
        background: #e52e3d;
    }

    @media (min-width: 768px) {
        .career-role {
            grid-template-columns: 9.5rem 1fr auto auto;
            gap: 1rem 1.25rem;
            padding-left: 1rem;
        }
    }

    .career-role__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
        grid-column: 1 / -1;
    }

    @media (min-width: 768px) {
        .career-role__meta {
            grid-column: auto;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.3rem;
        }
    }

    .career-role__dept {
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #e52e3d;
    }

    .career-role__loc {
        font-size: 0.7rem;
        font-weight: 600;
        color: rgb(148 163 184);
    }

    .career-role__title {
        font-size: 1.05rem;
        font-weight: 800;
        color: #1a0a1b;
        line-height: 1.3;
        transition: color 0.2s ease;
    }

    @media (min-width: 768px) {
        .career-role__title {
            font-size: 1.15rem;
        }
    }

    .career-role:hover .career-role__title {
        color: #e52e3d;
    }

    .career-role__badge {
        display: inline-flex;
        align-items: center;
        padding: 0.3rem 0.55rem;
        border-radius: 0.4rem;
        background: rgba(229, 46, 61, 0.1);
        color: #e52e3d;
        font-size: 0.6rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .career-role__arrow {
        display: flex;
        width: 2.25rem;
        height: 2.25rem;
        align-items: center;
        justify-content: center;
        border-radius: 9999px;
        color: #e52e3d;
        background: rgba(229, 46, 61, 0.08);
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            background 0.25s ease,
            color 0.25s ease;
    }

    .career-role:hover .career-role__arrow {
        transform: translateX(4px);
        background: #e52e3d;
        color: #fff;
    }

    /* ========== Franchise partner page ========== */
    .franchise-benefits {
        display: grid;
        gap: 1rem;
    }

    @media (min-width: 768px) {
        .franchise-benefits {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 1.25rem;
        }
    }

    .franchise-benefit {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem;
        align-items: start;
        padding: 1.35rem 1.25rem;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid rgb(226 232 240);
        border-radius: 1rem;
        transition:
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.25s ease;
    }

    .franchise-benefit:hover {
        transform: translateY(-2px);
        border-color: rgb(229 46 61 / 0.35);
    }

    .franchise-benefit__icon {
        display: flex;
        width: 2.75rem;
        height: 2.75rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        background: #3a103b;
        color: #fff;
        font-size: 0.95rem;
        transition: background 0.25s ease;
    }

    .franchise-benefit:hover .franchise-benefit__icon {
        background: #e52e3d;
    }

    .franchise-path {
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid rgb(226 232 240);
    }

    .franchise-path__step {
        display: grid;
        grid-template-columns: 3rem 1fr;
        gap: 1rem;
        padding: 1.35rem 0;
        border-bottom: 1px solid rgb(226 232 240);
    }

    .franchise-path__num {
        font-size: 0.85rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        color: #e52e3d;
        padding-top: 0.15rem;
    }

    .franchise-form {
        padding: 1.5rem 1.35rem;
        background: #fff;
        border: 1px solid rgb(226 232 240);
        border-radius: 1.15rem;
        box-shadow: 0 20px 50px -32px rgba(58, 16, 59, 0.35);
    }

    @media (min-width: 640px) {
        .franchise-form {
            padding: 2rem;
        }
    }

    .franchise-form__input {
        width: 100%;
        border-radius: 0.75rem;
        border: 1px solid rgb(226 232 240);
        background: #f8fafc;
        padding: 0.85rem 1rem;
        font-size: 0.875rem;
        color: #1a0a1b;
        outline: none;
        transition:
            border-color 0.2s ease,
            background 0.2s ease,
            box-shadow 0.2s ease;
    }

    .franchise-form__input:focus {
        border-color: #e52e3d;
        background: #fff;
        box-shadow: 0 0 0 3px rgb(229 46 61 / 0.12);
    }

    /* ========== Blog desk stream ========== */
    .blog-spotlight {
        box-shadow: 0 24px 60px -32px rgba(58, 16, 59, 0.45);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .blog-spotlight:hover {
        transform: translateY(-3px);
    }

    .blog-stream {
        display: flex;
        flex-direction: column;
    }

    .blog-stream__item {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.75rem 1.25rem;
        padding: 1.5rem 0.25rem 1.5rem 0.85rem;
        border-bottom: 1px solid rgb(226 232 240);
        position: relative;
        transition: background 0.25s ease;
    }

    .blog-stream__item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 1.35rem;
        bottom: 1.35rem;
        width: 3px;
        border-radius: 9999px;
        background: transparent;
        transition: background 0.25s ease;
    }

    .blog-stream__item:hover {
        background: linear-gradient(90deg, rgba(229, 46, 61, 0.04), transparent 55%);
    }

    .blog-stream__item:hover::before {
        background: #e52e3d;
    }

    .blog-stream__item:first-child {
        border-top: 1px solid rgb(226 232 240);
    }

    .blog-stream__meta {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.65rem;
    }

    @media (min-width: 640px) {
        .blog-stream__item {
            grid-template-columns: 8.5rem 1fr auto;
            align-items: start;
            gap: 1rem 1.5rem;
            padding-left: 1rem;
        }

        .blog-stream__meta {
            grid-column: auto;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.35rem;
            padding-top: 0.2rem;
        }
    }

    .blog-stream__tag {
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #e52e3d;
    }

    .blog-stream__date {
        font-size: 0.7rem;
        font-weight: 600;
        color: rgb(148 163 184);
    }

    .blog-stream__title {
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1.3;
        color: #1a0a1b;
        transition: color 0.2s ease;
    }

    @media (min-width: 640px) {
        .blog-stream__title {
            font-size: 1.25rem;
        }
    }

    .blog-stream__item:hover .blog-stream__title {
        color: #e52e3d;
    }

    .blog-stream__excerpt {
        margin-top: 0.45rem;
        font-size: 0.9rem;
        line-height: 1.6;
        color: rgb(100 116 139);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-stream__arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 9999px;
        color: #e52e3d;
        background: rgba(229, 46, 61, 0.08);
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            background 0.25s ease,
            color 0.25s ease;
        align-self: center;
    }

    .blog-stream__item:hover .blog-stream__arrow {
        transform: translateX(4px);
        background: #e52e3d;
        color: #fff;
    }

    .prose-xpert p {
        @apply text-slate-600 leading-relaxed text-base sm:text-[1.05rem];
        margin-bottom: 1.15rem;
    }

    .prose-xpert p:first-child {
        @apply text-lg text-xpert-ink font-medium;
    }

    /* About page uses shared Tailwind / page-hero patterns */

    /* ========== Site motion system ========== */
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--d, 0ms);
        will-change: opacity, transform;
    }

    .reveal.is-in {
        opacity: 1;
        transform: none;
    }

    .reveal-left {
        transform: translateX(-32px);
    }

    .reveal-right {
        transform: translateX(32px);
    }

    .reveal-scale {
        transform: scale(0.94);
    }

    .reveal-left.is-in,
    .reveal-right.is-in,
    .reveal-scale.is-in {
        transform: none;
    }

    .hero-enter-label {
        animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .hero-enter-title {
        animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    }

    .hero-enter-copy {
        animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
    }

    .hero-enter-visual {
        animation: heroVisualIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
    }

    .hero-enter-bar {
        animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
    }

    @keyframes heroVisualIn {
        from {
            opacity: 0;
            transform: translateX(28px) scale(0.96);
        }
        to {
            opacity: 1;
            transform: none;
        }
    }

    .hover-lift {
        transition:
            transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.35s ease,
            border-color 0.35s ease,
            background-color 0.35s ease;
    }

    .hover-lift:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(34, 13, 35, 0.14);
    }

    .hover-glow {
        position: relative;
        overflow: hidden;
    }

    .hover-glow::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
        transform: translateX(-120%);
        transition: transform 0.7s ease;
        pointer-events: none;
    }

    .hover-glow:hover::after {
        transform: translateX(120%);
    }

    .btn-motion {
        transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    }

    .btn-motion:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(229, 46, 61, 0.28);
    }

    .btn-motion i {
        transition: transform 0.25s ease;
    }

    .btn-motion:hover i {
        transform: translateX(4px);
    }

    .cta-chip {
        transition:
            background-color 0.3s ease,
            transform 0.3s ease,
            box-shadow 0.3s ease;
    }

    .cta-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(34, 13, 35, 0.1);
    }

    .cta-chip .cta-chip__icon {
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, color 0.3s ease;
    }

    .cta-chip:hover .cta-chip__icon {
        transform: scale(1.08);
    }

    .cta-chip .cta-chip__arrow {
        transition: transform 0.3s ease;
    }

    .cta-chip:hover .cta-chip__arrow {
        transform: translateX(4px);
    }

    .list-pop li {
        opacity: 0;
        transform: translateX(-12px);
        transition:
            opacity 0.45s ease,
            transform 0.45s ease;
        transition-delay: var(--d, 0ms);
    }

    .reveal.is-in .list-pop li,
    .list-pop.is-in li {
        opacity: 1;
        transform: none;
    }

    .market-tile {
        transition:
            transform 0.3s ease,
            background-color 0.3s ease,
            box-shadow 0.3s ease;
    }

    .market-tile:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    }

    .stat-pop {
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .stat-pop.is-in {
        animation: statPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: var(--d, 0ms);
    }

    @keyframes statPop {
        from {
            opacity: 0;
            transform: translateY(16px) scale(0.92);
        }
        to {
            opacity: 1;
            transform: none;
        }
    }

    .partner-chip {
        transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    }

    .partner-chip:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(34, 13, 35, 0.1);
        color: #3a103b;
    }

    .img-zoom {
        transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .group:hover .img-zoom {
        transform: scale(1.07);
    }

    .quote-shell {
        transition: box-shadow 0.35s ease, transform 0.35s ease;
    }

    .quote-shell:hover {
        box-shadow: 0 20px 40px rgba(34, 13, 35, 0.1);
        transform: translateY(-3px);
    }

    @media (prefers-reduced-motion: reduce) {
        .about-cinematic__bg,
        .about-cinematic__path,
        .about-cinematic__dot--end,
        .about-cinematic__rule,
        .about-float,
        .about-live-dot,
        .about-map__path,
        .about-map__legend-dot {
            animation: none !important;
            transition: none !important;
            transform: none !important;
        }

        .reveal,
        .reveal-left,
        .reveal-right,
        .reveal-scale,
        .hero-enter-label,
        .hero-enter-title,
        .hero-enter-copy,
        .hero-enter-visual,
        .hero-enter-bar,
        .list-pop li,
        .stat-pop,
        .float-y,
        .marquee-track,
        .freight-3d__live {
            animation: none !important;
            transition: none !important;
            opacity: 1 !important;
            transform: none !important;
        }

        .pickup-tip:hover,
        .pickup-tip:hover .pickup-tip__icon,
        .contact-channel:hover,
        a.contact-channel:hover .contact-channel__icon,
        .career-pillar:hover,
        .career-pillar:hover .career-pillar__icon,
        .career-role:hover .career-role__arrow,
        .franchise-benefit:hover,
        .franchise-benefit:hover .franchise-benefit__icon,
        .blog-spotlight:hover,
        .blog-spotlight:hover img,
        .blog-stream__item:hover .blog-stream__arrow {
            animation: none !important;
            transition: none !important;
            transform: none !important;
        }

        .hover-lift:hover,
        .btn-motion:hover,
        .cta-chip:hover,
        .market-tile:hover {
            transform: none;
        }

        .mobile-nav__hero-mesh,
        .mobile-nav__phone-icon,
        .track-route__vehicle,
        .track-rail__step.is-current .track-rail__node,
        .track-skeleton__bar,
        .track-skeleton__rail {
            animation: none !important;
        }

        .track-hint__card:hover {
            transform: none;
        }

        .about-purpose__tile:hover {
            transform: none;
        }
    }
}

/* ── Coverage / network map ───────────────────────────────── */
.network-loc-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(58, 16, 59, 0.25) transparent;
}

.network-loc-scroll::-webkit-scrollbar {
    width: 6px;
}

.network-loc-scroll::-webkit-scrollbar-thumb {
    background: rgba(58, 16, 59, 0.22);
    border-radius: 999px;
}

.network-map__state {
    transition: fill 0.2s ease;
}

.network-map__state:hover {
    fill: #b7d5aa;
}

.network-map__popup {
    will-change: transform, opacity;
}

.network-map__pin.is-active circle:not([fill='transparent']) {
    filter: drop-shadow(0 0 6px rgba(229, 46, 61, 0.45));
}

.network-map__border {
    pointer-events: none;
}

.network-map__line.is-dim {
    opacity: 0.12;
}

.network-map__line.is-on {
    opacity: 0.9;
    stroke-width: 2.25;
}

.network-map__pin {
    transition: transform 0.2s ease;
}

.network-map__pin.is-active .network-map__label {
    fill: #e52e3d;
}

.network-map__label {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    pointer-events: none;
}

.network-map__pulse {
    animation: network-pulse 2.4s ease-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes network-pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.7);
    }
    70% {
        opacity: 0;
        transform: scale(1.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .network-map__pulse {
        animation: none !important;
    }
}

