/* ========================================
   Global default line-height (1.2). Inherited by all body text that does not
   set its own line-height; elements with an explicit line-height keep theirs.
======================================== */
body { line-height: 1.2; }

/* ========================================
   Hero Slider Base Styles
======================================== */
/* ── Shared background ───────────────────────────────────────────────
   One persistent video/image behind every slide. The slides themselves go
   transparent so only their copy and icon cross-fade over the top. */
.hero-slider .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slider .hero-bg video,
.hero-slider .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider.has-shared-bg .slide {
    background: transparent;
}

.hero-slider.has-shared-bg .slides-container {
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    /* Changed from 100vw to avoid horizontal scrollbar issues */
    height: 110vh; /* header sections stand 110vh tall site-wide */
    min-height: 600px;
    /* Ensure minimum height on small screens */
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
}

.hero-slider * {
    box-sizing: border-box;
}

/* ========================================
   Slides Container
======================================== */
.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ========================================
   Individual Slide Styles
======================================== */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* ========================================
   Slide Background (Video/Image)
======================================== */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide-bg video,
.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark overlay for better text readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(2, 10, 24, 0.92) 0%,
            rgba(2, 10, 24, 0.75) 50%,
            rgba(2, 10, 24, 0.85) 100%);
    z-index: 1;
}

/* ========================================
   Slide Content
======================================== */
.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
}

/* Small Title with Line */
.small-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.slide.active .small-title {
    opacity: 1;
    transform: translateY(0);
}

.title-line {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.small-title span:last-child {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

/* Big Title */
.big-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
    margin-top: 0;
    /* Reset WP default */
}

.slide.active .big-title {
    opacity: 1;
    transform: translateY(0);
}

/* Description */
.description {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
    margin-bottom: 0;
    /* Reset WP default */
}

.slide.active .description {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Navigation Dots
======================================== */
.slider-dots {
    position: absolute;
    z-index: 99;
    display: flex;
    gap: 16px;
    pointer-events: none;
}

/* Direction */
.slider-dots.dots-dir-vertical   { flex-direction: column; }
.slider-dots.dots-dir-horizontal { flex-direction: row; }

/* Horizontal position */
.slider-dots.dots-h-left   { left: 5%; right: auto; }
.slider-dots.dots-h-center { left: 50%; right: auto; }
.slider-dots.dots-h-right  { right: 5%; left: auto; }

/* Vertical position */
.slider-dots.dots-v-top    { top: 5%; bottom: auto; }
.slider-dots.dots-v-center { top: 50%; bottom: auto; }
.slider-dots.dots-v-bottom { bottom: 5%; top: auto; }

/* Transforms for centering — must handle all combinations */
.slider-dots.dots-h-left.dots-v-top,
.slider-dots.dots-h-left.dots-v-bottom,
.slider-dots.dots-h-right.dots-v-top,
.slider-dots.dots-h-right.dots-v-bottom { transform: none; }

.slider-dots.dots-h-left.dots-v-center,
.slider-dots.dots-h-right.dots-v-center  { transform: translateY(-50%); }

.slider-dots.dots-h-center.dots-v-top,
.slider-dots.dots-h-center.dots-v-bottom { transform: translateX(-50%); }

.slider-dots.dots-h-center.dots-v-center { transform: translate(-50%, -50%); }

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
    position: relative;
    pointer-events: auto;
    /* Re-enable clicks on dots */
    z-index: 100;
}

.dot::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.dot:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.dot.active {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.1);
}

/* ========================================
   Scroll Indicator
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(6px);
    }
}

/* ========================================
   Slide Icon Particles (top-right accent)
   One canvas per slide; the icon is sampled into particles by
   assets/js/hero-particles.js. Position/size come from Elementor
   via the --hp-* custom properties set on .hero-slider.
======================================== */
.hero-slider {
    --hp-size: 300px;
    /* Content width the artwork's right edge lines up with. */
    --hp-container: 1280px;
    /* Minimum breathing room once the viewport is narrower than the container. */
    --hp-gutter: 24px;
    /* Optional nudge up/down from the vertical centre. */
    --hp-nudge: 0px;
}

.hero-particles {
    position: absolute;
    /* Vertically centred; right edge flush with the --hp-container column. */
    top: 50%;
    right: max(var(--hp-gutter), calc((100% - var(--hp-container)) / 2));
    transform: translateY(calc(-50% + var(--hp-nudge)));
    width: var(--hp-size);
    height: var(--hp-size);
    z-index: 2;
    pointer-events: none;
    /* Fades in slightly after the slide so the assemble reads as an entrance. */
    opacity: 0;
    transition: opacity 0.6s ease 0.15s;
}

.slide.active .hero-particles {
    opacity: 1;
}

/* The plain icon — no-JS fallback and the source the sampler reads. */
.hero-particles__src {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero-particles__src svg,
.hero-particles__src img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.hero-particles canvas {
    display: none;
    width: 100%;
    height: 100%;
}

/* Sampled successfully — hand over to the canvas. */
.hero-particles.is-live canvas {
    display: block;
}

.hero-particles.is-live .hero-particles__src {
    display: none;
}

/* Only the active slide's canvas may take the cursor. */
.hero-particles.is-interactive canvas {
    pointer-events: none;
}

.slide.active .hero-particles.is-interactive canvas {
    pointer-events: auto;
}

/* ========================================
   Responsive Styles
======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .slide-content {
        padding: 0 8%;
    }

    .slider-dots {
        right: 3%;
    }

    .big-title {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    }
}

/* Mobile Landscape & Tablets */
@media (max-width: 768px) {
    .slide-content {
        padding: 0 6%;
        align-items: flex-end;
        padding-bottom: 120px;
    }

    .content-wrapper {
        max-width: 100%;
    }

    .small-title {
        gap: 12px;
        margin-bottom: 16px;
    }

    .title-line {
        width: 30px;
    }

    .small-title span:last-child {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .big-title {
        font-size: clamp(1.25rem, 5vw, 2rem);
        margin-bottom: 16px;
    }

    .description {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .slider-dots {
        gap: 12px;
    }

    .scroll-indicator {
        display: none;
    }

    .hp-hide-mobile .hero-particles {
        display: none;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .slide-content {
        padding: 0 5%;
        padding-bottom: 100px;
    }

    .small-title span:last-child {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .big-title {
        font-size: clamp(1.1rem, 6vw, 1.75rem);
    }

    .description {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots {
        gap: 10px;
    }
}

/* Handle safe areas for newer iPhones */
@supports (padding: env(safe-area-inset-bottom)) {
    .slide-content {
        padding-bottom: calc(120px + env(safe-area-inset-bottom));
    }

    @media (max-width: 768px) {
        .slide-content {
            padding-bottom: calc(100px + env(safe-area-inset-bottom));
        }
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .slide,
    .small-title,
    .big-title,
    .description,
    .dot,
    .wheel,
    .hero-particles {
        transition: none;
        animation: none;
    }

    .slide.active .small-title,
    .slide.active .big-title,
    .slide.active .description {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Hover Card Widget
======================================== */
.hover-card {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Default height if not set by Elementor */
    height: 450px;
}

.hc-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
    z-index: 1;
}

.hover-card:hover .hc-bg {
    transform: scale(1.05);
}

.hc-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform 0.6s ease;
}

.hover-card:hover .hc-bg-video {
    transform: scale(1.05);
}

.hc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: background 0.4s ease;
    /* Default gradient if not set by Elementor */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.hover-card:hover .hc-overlay {
    /* Slightly darker default on hover if no custom hover overlay is set */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hc-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.hc-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    transform: translateY(15px);
    transition: transform 0.5s ease;
}

.hover-card:hover .hc-title {
    transform: translateY(0);
}

.hc-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hover-card:hover .hc-hover-content {
    max-height: 300px;
    /* Big enough to fit content */
    opacity: 1;
    margin-top: 15px;
    transform: translateY(0);
}

.hc-desc {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.hc-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #3b82f6;
    /* Blue default matching image 2 */
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.hc-btn:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   Logo Network Widget
======================================== */
.logo-network {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;

    /* CSS variables — overridden by Elementor style controls */
    --ln-line-color:  rgba(100, 140, 255, 0.4);
    --ln-line-width:  1.5;
    --ln-line-dash:   6, 5;
    --ln-pulse-color: #3b82f6;
}

/* SVG canvas — sits behind logos */
.ln-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

/* Center logo box */
.ln-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 120px;
    height: 120px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ln-center-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Satellite (client) logo boxes */
.ln-satellite {
    position: absolute;
    z-index: 2;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ln-satellite:hover {
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.2);
}

.ln-satellite img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ln-satellite {
        transition: none;
    }

    .ln-svg {
        display: none;
    }

    .ln-satellite {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* ========================================
   Innovation Page Widgets
======================================== */
.inno-section,
.inno-hero,
.inno-cta-section {
    --inno-navy:   #1a2740;
    --inno-blue:   #3b6ef5;
    --inno-blue-d: #2a57d4;
    --inno-muted:  rgba(59,110,245,0.08);
    --inno-text:   #4a5568;
    --inno-gray:   #718096;
    --inno-border: #e2e8f0;
    --inno-bcard:  #dce4ef;
    --inno-bg-alt: #f0f4f9;
    --inno-r-sm:   8px;
    --inno-r-md:   12px;
    --inno-r-lg:   16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}
.inno-section *, .inno-hero *, .inno-cta-section * { box-sizing: border-box; }

.inno-container { max-width: 1280px; margin: 0 auto; padding: 0; }
.inno-section { padding: 88px 0; }
.inno-section-alt { background: var(--inno-bg-alt); }

/* Typography */
.inno-label-tag { display: inline-block; font-size: 0.77rem; font-weight: 500; color: var(--inno-blue); letter-spacing: 0.2px; margin-bottom: 14px; }
.inno-section-title { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; color: var(--inno-navy); margin-bottom: 0; }
.inno-section-lead { font-size: clamp(0.88rem, 1.1vw, 0.97rem); color: var(--inno-text); line-height: 1.85; }
.inno-blue { color: var(--inno-blue); }

/* Buttons */
.inno-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--inno-r-sm); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.inno-btn-blue { background: var(--inno-blue); color: #fff; }
.inno-btn-blue:hover { background: var(--inno-blue-d); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(59,110,245,0.3); color: #fff; }
.inno-btn-outline { border: 1px solid var(--inno-bcard); color: var(--inno-navy); background: transparent; }
.inno-btn-outline:hover { border-color: var(--inno-blue); color: var(--inno-blue); background: var(--inno-muted); }

/* ── Hero ── */
.inno-hero { background: var(--inno-bg-alt); border-bottom: 1px solid var(--inno-border); padding: 72px 0 0; overflow: hidden; }
.inno-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.inno-hero-left { padding-bottom: 72px; }
.inno-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.77rem; color: var(--inno-blue); font-weight: 500; margin-bottom: 20px; }
.inno-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--inno-blue); animation: inno-pulse 2.2s ease infinite; }
@keyframes inno-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }
.inno-hero-title { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.045em; color: var(--inno-navy); margin-bottom: 22px; }
.inno-hero-desc { font-size: clamp(0.93rem, 1.2vw, 1.05rem); color: var(--inno-text); line-height: 1.85; max-width: 520px; margin-bottom: 36px; }
.inno-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.inno-stats { display: flex; padding-top: 28px; border-top: 1px solid var(--inno-border); }
.inno-stat { flex: 1; padding-right: 28px; border-right: 1px solid var(--inno-border); }
.inno-stat:last-child { border-right: none; padding-right: 0; padding-left: 28px; }
.inno-stat:nth-child(2) { padding-left: 28px; }
.inno-stat-value { font-size: clamp(1.7rem,2.5vw,2.4rem); font-weight: 800; color: var(--inno-navy); letter-spacing: -0.045em; line-height: 1; }
.inno-stat-label { font-size: 0.75rem; color: var(--inno-gray); margin-top: 4px; font-weight: 500; }
.inno-hero-right { align-self: end; position: relative; }
.inno-hero-img { width: 100%; aspect-ratio: 4/3; border-radius: var(--inno-r-lg) var(--inno-r-lg) 0 0; overflow: hidden; box-shadow: 0 -4px 32px rgba(0,0,0,0.08); }
.inno-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.inno-float-card { position: absolute; bottom: 24px; left: -28px; background: #fff; border: 1px solid var(--inno-border); border-radius: var(--inno-r-md); padding: 14px 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.07); display: flex; align-items: center; gap: 14px; min-width: 220px; z-index: 3; }
.inno-float-icon { width: 38px; height: 38px; background: var(--inno-muted); border-radius: var(--inno-r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inno-float-text strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--inno-navy); }
.inno-float-text span { font-size: 0.72rem; color: var(--inno-gray); }

/* ── Philosophy ── */
.inno-phil-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.inno-phil-left { position: sticky; top: 100px; }
.inno-phil-intro { font-size: 0.96rem; color: var(--inno-text); line-height: 1.82; margin-top: 16px; }
.inno-callout { margin-top: 28px; padding: 18px 20px; background: var(--inno-muted); border-left: 3px solid var(--inno-blue); border-radius: 0 var(--inno-r-sm) var(--inno-r-sm) 0; font-size: 0.9rem; color: var(--inno-navy); line-height: 1.7; }
.inno-phil-img { margin-top: 28px; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--inno-r-lg); }
.inno-journey { display: flex; flex-direction: column; }
.inno-ji { display: flex; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--inno-border); }
.inno-ji:last-child { border-bottom: none; }
.inno-ji:hover .inno-ji-badge { background: var(--inno-blue); color: #fff; border-color: var(--inno-blue); }
.inno-ji-badge { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--inno-bcard); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--inno-blue); flex-shrink: 0; margin-top: 2px; transition: all 0.22s; }
.inno-ji-body { flex: 1; }
.inno-ji-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--inno-blue); margin-bottom: 5px; }
.inno-ji-name { font-size: 1rem; font-weight: 700; color: var(--inno-navy); margin-bottom: 7px; }
.inno-ji-text { font-size: 0.88rem; color: var(--inno-text); line-height: 1.75; }

/* ── IRDH ── */
.inno-irdh-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-bottom: 60px; }
.inno-irdh-text p { font-size: 0.96rem; color: var(--inno-text); line-height: 1.82; margin-top: 16px; }
.inno-irdh-cards { display: flex; flex-direction: column; gap: 16px; }
.inno-irdh-card { background: #fff; border: 1px solid var(--inno-bcard); border-radius: var(--inno-r-md); padding: 24px 26px; }
.inno-irdh-card h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--inno-blue); margin-bottom: 10px; }
.inno-irdh-card p { font-size: 0.9rem; color: var(--inno-text); line-height: 1.75; }
.inno-irdh-img-row { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 32px; }
.inno-irdh-img-row img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--inno-r-lg); }
.inno-domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 10px; margin-bottom: 40px; }
.inno-dc { background: #fff; border: 1px solid var(--inno-border); border-radius: var(--inno-r-md); padding: 16px 18px; display: flex; align-items: center; gap: 12px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.inno-dc:hover { border-color: var(--inno-blue); box-shadow: 0 4px 16px rgba(0,0,0,0.07); transform: translateY(-2px); }
.inno-dc-icon { width: 34px; height: 34px; background: var(--inno-muted); border-radius: var(--inno-r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.inno-dc-name { font-size: 0.82rem; font-weight: 500; color: var(--inno-navy); }
.inno-irdh-closing { border: 1px solid var(--inno-border); border-radius: var(--inno-r-md); padding: 24px 28px; background: #fff; }
.inno-irdh-closing p { font-size: 0.93rem; color: var(--inno-text); line-height: 1.8; }

/* ── Pipeline ── */
.inno-om-hdr { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.inno-pipeline { display: flex; overflow-x: auto; padding-bottom: 4px; margin-bottom: 28px; }
.inno-ps { flex: 1; min-width: 148px; border: 1px solid var(--inno-border); border-right: none; padding: 22px 18px; background: #fff; position: relative; transition: background 0.2s; }
.inno-ps:first-child { border-radius: var(--inno-r-md) 0 0 var(--inno-r-md); }
.inno-ps:last-child { border-radius: 0 var(--inno-r-md) var(--inno-r-md) 0; border-right: 1px solid var(--inno-border); }
.inno-ps:hover { background: var(--inno-bg-alt); }
.inno-ps-num { font-size: 0.64rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--inno-blue); margin-bottom: 10px; }
.inno-ps-name { font-size: 0.88rem; font-weight: 700; color: var(--inno-navy); margin-bottom: 6px; }
.inno-ps-desc { font-size: 0.74rem; color: var(--inno-gray); line-height: 1.55; }
.inno-om-note { border: 1px solid var(--inno-border); border-radius: var(--inno-r-md); padding: 22px 30px; text-align: center; }
.inno-om-note p { font-size: 0.92rem; color: var(--inno-text); line-height: 1.75; }

/* ── Looking Ahead ── */
.inno-la-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.inno-la-content .inno-section-lead { margin-top: 18px; }
.inno-la-quotes { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.inno-la-q { font-size: 1rem; font-weight: 300; color: var(--inno-text); line-height: 1.65; }
.inno-la-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--inno-r-lg); }

/* ── CTA ── */
.inno-cta-section { background: #1a2740; padding: 80px 0; position: relative; overflow: hidden; }
.inno-cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 120% at 0% 50%, rgba(59,110,245,0.2) 0%, transparent 55%), radial-gradient(ellipse 40% 80% at 100% 50%, rgba(59,110,245,0.1) 0%, transparent 55%); pointer-events: none; }
.inno-cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.inno-cta-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.inno-cta-title { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.inno-cta-title span { color: #60a5fa; }
.inno-cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.8; max-width: 500px; }
.inno-cta-right { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.inno-cta-email { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.5); font-size: 0.83rem; text-decoration: none; transition: color 0.18s; }
.inno-cta-email:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .inno-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .inno-hero-right { display: none; }
    .inno-hero-left { padding-bottom: 60px; }
}
@media (max-width: 900px) {
    .inno-phil-grid, .inno-irdh-top, .inno-la-grid { grid-template-columns: 1fr; gap: 40px; }
    .inno-phil-left { position: static; }
    .inno-la-img { display: none; }
    .inno-om-hdr { grid-template-columns: 1fr; }
    .inno-cta-inner { grid-template-columns: 1fr; gap: 32px; }
    .inno-cta-right { align-items: flex-start; }
    .inno-irdh-img-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .inno-container { padding: 0 20px; }
    .inno-section { padding: 60px 0; }
    .inno-hero { padding: 52px 0 0; }
    .inno-pipeline { flex-direction: column; }
    .inno-ps { border-right: 1px solid var(--inno-border); border-bottom: none; border-radius: 0; }
    .inno-ps:first-child { border-radius: var(--inno-r-md) var(--inno-r-md) 0 0; }
    .inno-ps:last-child { border-radius: 0 0 var(--inno-r-md) var(--inno-r-md); border-bottom: 1px solid var(--inno-border); border-right: none; }
    .inno-domain-grid { grid-template-columns: 1fr 1fr; }
    .inno-stats { flex-direction: column; gap: 18px; }
    .inno-stat { border-right: none; padding: 0; }
    .inno-stat:last-child, .inno-stat:nth-child(2) { padding: 0; }
    .inno-cta-inner { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Site Footer Widget  (.sf-*)
───────────────────────────────────────────────────────────────────────────── */
.sf-footer {
    background-color: #0d0d0d;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
.sf-footer * { box-sizing: border-box; }

.sf-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

/* ── Newsletter ────────────────────────────────────────────────────────────── */
.sf-newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 64px 0 56px;
    align-items: start;
}

.sf-nl-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    margin: 0 0 18px;
}

.sf-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #4ade80;
    flex-shrink: 0;
}

.sf-nl-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2.4rem);
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.02em;
}

.sf-nl-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4px;
}

.sf-nl-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 480px;
}

.sf-nl-input {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 13px 18px;
    font-size: 0.9rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.sf-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.sf-nl-input:focus { border-color: rgba(255,255,255,0.3); }

.sf-nl-btn {
    background-color: #4ade80;
    color: #0d0d0d;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 13px 22px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    letter-spacing: 0.01em;
}
.sf-nl-btn:hover { opacity: 0.88; }

/* ── Divider ───────────────────────────────────────────────────────────────── */
.sf-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 0;
}

/* ── Bottom: logo-area (left) + main-area (right) ─────────────────────────── */
.sf-bottom {
    display: grid;
    grid-template-columns: 240px 1fr auto;
    gap: 16px;
    padding: 32px 0 32px;
    align-items: start;
}

/* ── Logo area ─────────────────────────────────────────────────────────────── */
.sf-logo-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sf-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.sf-logo-img {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.sf-logo-texts {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sf-logo-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.sf-logo-subtitle {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sf-logo-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 0;
}

/* ── Columns grid ─────────────────────────────────────────────────────────── */
.sf-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 32px;
}

.sf-col-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.sf-col-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sf-col-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.18s;
    line-height: 1.4;
}
.sf-col-links a:hover { color: #fff; }

/* text-area column (col_type = text) — same reading colour/size as the link lists */
.sf-col-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
}
.sf-col-text :where(p, ul, ol) { margin: 0 0 10px; }
.sf-col-text :where(p, ul, ol):last-child { margin-bottom: 0; }
.sf-col-text ul, .sf-col-text ol { padding-left: 1.1em; }
.sf-col-text a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.35);
    transition: border-color 0.18s, color 0.18s;
}
.sf-col-text a:hover { border-color: #fff; }
.sf-col-text strong, .sf-col-text b { color: #fff; font-weight: 600; }

/* ── ISO Certifications (right column) ────────────────────────────────────── */
.sf-iso-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.sf-iso-heading {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin: 0;
    white-space: nowrap;
}

.sf-iso-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-iso-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.04);
    padding: 8px 10px;
    min-height: 56px;
    min-width: 56px;
    transition: border-color 0.18s, background-color 0.18s;
}

.sf-iso-logo:hover {
    border-color: rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.07);
}

.sf-iso-logo img {
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.sf-iso-logo:hover img { opacity: 1; }

.sf-iso-no-invert .sf-iso-logo img {
    filter: none;
    opacity: 1;
}
.sf-iso-no-invert .sf-iso-logo:hover img { opacity: 0.85; }

.sf-iso-placeholder {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
}

/* ── Social Icons (under logo/tagline) ────────────────────────────────────── */
.sf-social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.sf-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: background-color 0.18s, color 0.18s;
    flex-shrink: 0;
}

.sf-social-icon:hover {
    background-color: rgba(255,255,255,0.16);
    color: #fff;
}

.sf-social-icon svg {
    fill: currentColor;
    display: block;
}

/* ── Copyright bar ────────────────────────────────────────────────────────── */
.sf-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 24px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.sf-legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sf-legal-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.18s;
}
.sf-legal-links a:hover { color: rgba(255,255,255,0.8); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sf-bottom  { grid-template-columns: 200px 1fr; gap: 40px; }
    .sf-iso-area { grid-column: 1 / -1; }
    .sf-iso-logos { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .sf-newsletter  { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 40px; }
    .sf-nl-form     { flex-direction: column; }
    .sf-nl-input    { border-right: 1px solid rgba(255,255,255,0.12); border-radius: 8px; }
    .sf-nl-btn      { border-radius: 8px; }
    .sf-bottom      { grid-template-columns: 1fr; gap: 36px; }
    .sf-columns     { grid-template-columns: repeat(2, 1fr); }
    .sf-iso-area    { grid-column: auto; }
    .sf-iso-logos   { flex-wrap: wrap; }
    .sf-copy        { flex-direction: column; gap: 12px; text-align: center; }
    .sf-legal-links { justify-content: center; }
    .sf-social-icons { justify-content: flex-start; }
    .sf-container   { padding: 0 20px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Logo Carousel Widget  (.lc-*)
   ═══════════════════════════════════════════════════════════════════════════ */

.lc-section {
    padding: 48px 0;
}

.lc-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ── Stage ── */
.lc-stage {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 160px;
}

/* ── Pages ── */
.lc-page {
    display: grid;
    grid-gap: 16px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

.lc-page.lc-page-active {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
    pointer-events: auto;
    position: relative;
    animation: lcFadeIn 0.4s ease forwards;
}

.lc-page.lc-page-leaving {
    animation: lcFadeOut 0.4s ease forwards;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
}

.lc-page.lc-page-entering {
    animation: lcFadeIn 0.4s ease forwards;
}

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

@keyframes lcFadeOut {
    from { opacity: 1; transform: translateY(0);    }
    to   { opacity: 0; transform: translateY(-12px); }
}

/* ── Logo Card ── */
.lc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    height: 160px;
    border: 1px dashed #c8cdd6;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.lc-item:hover {
    border-color: #999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.lc-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lc-img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ── Arrows ── */
.lc-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dde0e6;
    background-color: #fff;
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s;
    padding: 0;
}

.lc-arrow:hover {
    background-color: #f0f2f5;
    border-color: #aaa;
}

/* ── Dots ── */
.lc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.lc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, transform 0.2s;
}

.lc-dot.lc-dot-active {
    background-color: #1a1a2e;
    transform: scale(1.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .lc-wrapper { gap: 8px; }
    .lc-arrow   { width: 32px; height: 32px; font-size: 18px; }
    .lc-page    { grid-gap: 10px; }
    .lc-item    { padding: 16px 12px; height: 120px; }
    .lc-img     { max-height: 60px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Nav Mega Menu Widget  (.nm-*)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Navbar shell ──────────────────────────────────────────────────────────── */
.nm-navbar {
    position: relative;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #e8eaed;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    z-index: 9000;
}

.nm-navbar * { box-sizing: border-box; }

.nm-navbar.nm-sticky {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nm-navbar.nm-scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

/* ── Inner bar ─────────────────────────────────────────────────────────────── */
.nm-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 72px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

/* Full-width mode: no max-width constraint, stretches to section edges */
.nm-full .nm-inner,
.nm-full .nm-mega-inner {
    max-width: none !important;
    width: 100%;
}

/* ── Logo — grid col 1 (left-aligned) ─────────────────────────────────────── */
.nm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-self: start;
}

.nm-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nm-logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f1923;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* ── Nav links list — grid col 2 (centered) ───────────────────────────────── */
.nm-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nm-item { position: static; }

.nm-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #3d4959;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.18s, background-color 0.18s;
    white-space: nowrap;
    line-height: 1;
}

.nm-link:hover,
.nm-item.nm-active .nm-link,
.nm-item.nm-open   .nm-link {
    color: #0e5ef5;
    background-color: rgba(14, 94, 245, 0.06);
}

.nm-chevron {
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.nm-item.nm-open .nm-chevron {
    transform: rotate(180deg);
}

/* ── Right bar — grid col 3 (right-aligned) ───────────────────────────────── */
.nm-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    justify-self: end;
}

.nm-support {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.nm-support-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #8a94a6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
}

.nm-support-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a2535;
    text-decoration: none;
    transition: color 0.18s;
    line-height: 1;
}

.nm-support-phone:hover { color: #0e5ef5; }

/* ── CTA Button ────────────────────────────────────────────────────────────── */
.nm-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background-color: #0e5ef5;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.18s, transform 0.15s;
    letter-spacing: 0.01em;
}

.nm-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── Hamburger (mobile) ────────────────────────────────────────────────────── */
.nm-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid #e0e4eb;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
}

.nm-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #3d4959;
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
}

.nm-hamburger.nm-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nm-hamburger.nm-open span:nth-child(2) { opacity: 0; }
.nm-hamburger.nm-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════════════
   Mega Menu Panel
   ══════════════════════════════════════════════════════════════════════════ */
.nm-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
    border-left: 1px solid #e8eaed;
    border-right: 1px solid #e8eaed;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    /* hidden attr hides it; visibility toggled via class */
    /* When fixed-width is set via scoped style, right:auto allows left/center/right align */
}

.nm-mega.nm-mega-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nm-mega-inner {
    display: grid;
    grid-template-columns: 220px 1fr 200px 220px;
    gap: 0;
    margin: 0 auto;
    padding: 0;
}

/* ── Column shared ─────────────────────────────────────────────────────────── */
.nm-col {
    padding: 28px 24px;
    border-right: 1px solid #f0f2f5;
}

.nm-col:last-child { border-right: none; }

.nm-col-heading {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a8595;
    margin: 0 0 16px;
}

/* ── Column 1: Services list ───────────────────────────────────────────────── */
.nm-svc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nm-svc-item { margin: 0; }

.nm-svc-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #1a2535;
    transition: background-color 0.15s, color 0.15s;
}

.nm-svc-link:hover {
    background-color: rgba(14, 94, 245, 0.05);
    color: #0e5ef5;
}

.nm-svc-arrow {
    flex-shrink: 0;
    font-size: 1rem;
    color: #c0c7d4;
    line-height: 1.3;
    transition: color 0.15s, transform 0.15s;
}

.nm-svc-link:hover .nm-svc-arrow {
    color: #0e5ef5;
    transform: translateX(2px);
}

.nm-svc-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nm-svc-name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.nm-svc-desc {
    font-size: 0.75rem;
    color: #8a94a6;
    line-height: 1.4;
}

/* ── Column 2: Challenges 2×2 grid ────────────────────────────────────────── */
.nm-col-challenges { padding: 28px 32px; }

.nm-ch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.nm-ch-grid.nm-ch-grid-1col {
    grid-template-columns: 1fr;
}

.nm-ch-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background-color: #f5f7fb;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.18s, box-shadow 0.18s, transform 0.15s;
}

.nm-ch-card:hover {
    background-color: #eef2ff;
    box-shadow: 0 2px 12px rgba(14, 94, 245, 0.08);
    transform: translateY(-2px);
}

.nm-ch-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #dce4fd;
    color: #0e5ef5;
    font-size: 0.9rem;
}

.nm-ch-icon i { line-height: 1; }

.nm-ch-icon svg { width: 16px; height: 16px; fill: currentColor; }

.nm-ch-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nm-ch-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a2535;
    line-height: 1.25;
}

.nm-ch-desc {
    font-size: 0.72rem;
    color: #8a94a6;
    line-height: 1.4;
}

/* ── Column 3: Industry list ───────────────────────────────────────────────── */
.nm-ind-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nm-ind-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a2535;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.15s, color 0.15s;
}

.nm-ind-link:hover {
    background-color: rgba(14, 94, 245, 0.05);
    color: #0e5ef5;
}

.nm-ind-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #c0c7d4;
    flex-shrink: 0;
    transition: background-color 0.15s;
}

.nm-ind-link:hover .nm-ind-dot { background-color: #0e5ef5; }

.nm-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0e5ef5;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.15s;
    margin-top: 4px;
}

.nm-view-all:hover { background-color: rgba(14, 94, 245, 0.06); }

/* ── Column 4: Featured card ───────────────────────────────────────────────── */
.nm-col-featured {
    background-color: #f5f7fb;
    border-radius: 0 0 0 0;
    border-left: 1px solid #e8eaed;
}

.nm-featured-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.nm-feat-eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0e5ef5;
    background-color: rgba(14, 94, 245, 0.1);
    border-radius: 4px;
    padding: 3px 8px;
    width: fit-content;
}

.nm-feat-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a2535;
    line-height: 1.35;
    margin: 0;
}

.nm-feat-desc {
    font-size: 0.8rem;
    color: #5e6b7e;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.nm-feat-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0e5ef5;
    text-decoration: none;
    transition: gap 0.15s;
    gap: 4px;
    margin-top: auto;
}

.nm-feat-cta:hover { gap: 8px; }

/* ══════════════════════════════════════════════════════════════════════════
   Mobile drawer
   ══════════════════════════════════════════════════════════════════════════ */
.nm-mobile-drawer {
    border-top: 1px solid #e8eaed;
    background-color: #fff;
    padding: 12px 0 16px;
}

.nm-mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nm-mobile-link {
    display: block;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #3d4959;
    text-decoration: none;
    border-radius: 6px;
    margin: 0 8px;
    transition: background-color 0.15s, color 0.15s;
}

.nm-mobile-link:hover,
.nm-mobile-link.nm-mobile-active {
    color: #0e5ef5;
    background-color: rgba(14, 94, 245, 0.06);
}

.nm-mobile-cta-wrap {
    margin-top: 8px;
    padding: 0 16px;
}

.nm-mobile-cta-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* Mobile accordion (mega items) */
.nm-mobile-acc-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 16px);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.nm-mobile-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nm-mobile-acc-toggle[aria-expanded="true"] .nm-mobile-chevron {
    transform: rotate(180deg);
}

.nm-mobile-acc-panel {
    display: none;
    padding: 4px 8px 8px 24px;
}

.nm-mobile-acc-panel.nm-acc-open {
    display: block;
}

.nm-mobile-acc-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a94a6;
    margin: 10px 0 4px;
    padding: 0 8px;
}

.nm-mobile-acc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nm-mobile-acc-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #3d4959;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.15s, background-color 0.15s;
}

.nm-mobile-acc-link:hover {
    color: #0e5ef5;
    background-color: rgba(14, 94, 245, 0.06);
}

/* ══════════════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .nm-mega-inner { grid-template-columns: 200px 1fr 180px; }
    .nm-col-featured { display: none; }
    .nm-support { display: none; }
}

@media (max-width: 900px) {
    .nm-links    { display: none; }
    .nm-hamburger { display: flex; }
    .nm-mega     { display: none; }
    .nm-support  { display: none; }
}

@media (max-width: 480px) {
    .nm-logo-text { display: none; }
    .nm-cta { padding: 9px 14px; font-size: 0.82rem; }
}

/* ── Elementor Nav Menu: dropdown matches parent width ──────────────────────── */
.elementor-nav-menu .menu-item {
    position: relative !important;
}
.elementor-nav-menu .menu-item > ul.sub-menu,
.elementor-nav-menu .menu-item > .sub-menu {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: auto !important;
    box-sizing: border-box !important;
}

/* ── Elementor Nav Menu: sub-menu hover visible on white backgrounds ─────────── */
.elementor-nav-menu .menu-item > ul.sub-menu,
.elementor-nav-menu .menu-item > .sub-menu {
    background-color: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
.elementor-nav-menu .sub-menu li a {
    display: block !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: background-color 0.15s, color 0.15s !important;
}
.elementor-nav-menu .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.10) !important;
    color: #fff !important;
}
.elementor-nav-menu .sub-menu li.current-menu-item > a,
.elementor-nav-menu .sub-menu li.current-menu-ancestor > a {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   INNOVATION PAGE WIDGETS  (ip- prefix)
   Mirrors the design in itranks-innovation.html
══════════════════════════════════════════════════════════════════════════ */

/* ── Brand tokens ───────────────────────────────────────────────────────── */
.ip-hero, .ip-philosophy, .ip-irdh, .ip-process, .ip-future, .ip-cta {
    --ip-dark:       #0B1222;
    --ip-dark2:      #0A1020;
    --ip-dark3:      #111a2e;
    --ip-navy:       #0f1f3d;
    --ip-blue:       #3b82f6;
    --ip-blue-light: #60a5fa;
    --ip-white:      #ffffff;
    --ip-off-white:  #e8edf5;
    --ip-gray:       #94a3b8;
    --ip-gray-light: #cbd5e1;
    --ip-light-bg:   #F7FAFF;
    --ip-light-card: #EEF3FB;
    --ip-border-d:   rgba(255,255,255,0.07);
    --ip-border-l:   rgba(0,0,0,0.08);
    --ip-font-alt:   'Calibri','Carlito','Segoe UI','Work Sans',sans-serif;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ip-blue { color: var(--ip-blue-light); }

/* ── Shared eyebrow ─────────────────────────────────────────────────────── */
.ip-section-eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
}
.ip-eyebrow-line {
    width: 36px; height: 2px; background: var(--ip-blue); flex-shrink: 0;
}
.ip-eyebrow-text {
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ip-blue);
}

/* ── Shared buttons ─────────────────────────────────────────────────────── */
.ip-btn-blue {
    background: var(--ip-blue);
    color: var(--ip-white);
    padding: 14px 32px;
    font-size: 0.95rem; font-weight: 600;
    letter-spacing: 0.04em;
    border: none; border-radius: 3px;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px;
    cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.ip-btn-blue:hover { background: #2563eb; transform: translateY(-2px); color: var(--ip-white); }
.ip-btn-outline {
    background: transparent;
    color: var(--ip-white);
    padding: 13px 28px;
    font-size: 0.95rem; font-weight: 500;
    letter-spacing: 0.03em;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.ip-btn-outline:hover { border-color: var(--ip-white); background: rgba(255,255,255,0.06); color: var(--ip-white); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.ip-hero {
    position: relative;
    min-height: 110vh;
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--ip-dark);
}
.ip-hero-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}
.ip-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(7,12,20,0.75) 0%, rgba(10,18,34,0.55) 50%, rgba(7,12,20,0.80) 100%);
}
.ip-hero-content {
    position: relative; z-index: 2;
    padding: 0 80px;
    max-width: 760px;
}
.ip-hero-eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 28px;
    opacity: 0; transform: translateY(20px);
}
.ip-hero-eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--ip-blue); border-radius: 50%; flex-shrink: 0;
}
.ip-hero-eyebrow-text {
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ip-blue-light);
}
.ip-hero-title {
    font-size: clamp(32px, 4.6vw, 56px);
    font-weight: 800; line-height: 1.02;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
    overflow: hidden;
}
.ip-line { display: block; overflow: hidden; }
.ip-word-wrap { display: inline-block; }
.ip-hero-desc {
    font-size: 1.1rem; font-weight: 400; line-height: 1.75;
    color: rgba(255,255,255,0.7);
    max-width: 580px; margin-bottom: 48px;
    opacity: 0; transform: translateY(24px);
}
.ip-hero-btns {
    display: flex; align-items: center; gap: 16px;
    opacity: 0; transform: translateY(24px);
}
.ip-hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    display: flex;
    border-top: 1px solid var(--ip-border-d);
    opacity: 0;
}
.ip-hero-stat {
    flex: 1; padding: 32px 48px;
    border-right: 1px solid var(--ip-border-d);
}
.ip-hero-stat:last-child { border-right: none; }
.ip-hero-stat-num {
    font-size: 3.2rem; font-weight: 800;
    line-height: 1; color: var(--ip-white);
    letter-spacing: -0.02em;
}
.ip-hero-stat-num sup { font-size: 1.5rem; color: var(--ip-blue-light); vertical-align: super; }
.ip-hero-stat-label {
    font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ip-gray); margin-top: 6px;
}
.ip-scroll-mouse {
    position: absolute; bottom: 120px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    opacity: 0;
}
.ip-scroll-mouse-icon {
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 13px; position: relative;
}
.ip-scroll-mouse-dot {
    width: 4px; height: 8px;
    background: var(--ip-white); border-radius: 2px;
    position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%);
    animation: ipScrollDot 1.8s infinite;
}
@keyframes ipScrollDot {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

/* ══════════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════════ */
.ip-philosophy {
    background: var(--ip-light-bg);
    padding: 120px 80px;
    color: var(--ip-dark);
}
.ip-philosophy .ip-eyebrow-line { background: var(--ip-blue); }
.ip-philosophy .ip-eyebrow-text { color: var(--ip-blue); }
.ip-phil-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
    margin-top: 8px;
}
.ip-phil-heading {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800; line-height: 1.1;
    color: var(--ip-dark); margin-bottom: 24px;
}
.ip-phil-heading em { font-style: normal; color: var(--ip-blue); }
.ip-phil-body {
    font-size: 1rem; line-height: 1.8;
    color: #4b5563; margin-bottom: 20px;
}
.ip-phil-quote {
    background: var(--ip-light-card);
    border-left: 4px solid var(--ip-blue);
    padding: 24px 28px; margin-top: 32px;
    border-radius: 0 6px 6px 0;
}
.ip-phil-quote p {
    font-size: 1rem; font-weight: 600;
    font-style: italic; color: var(--ip-dark3); line-height: 1.6;
}
.ip-stage-list { display: flex; flex-direction: column; gap: 0; }
.ip-stage-item {
    display: flex; gap: 28px; align-items: flex-start;
    padding: 32px 0;
    border-bottom: 1px solid var(--ip-border-l);
    position: relative; overflow: hidden;
}
.ip-stage-item:first-child { padding-top: 0; }
.ip-stage-item:last-child  { border-bottom: none; }
.ip-stage-bar {
    position: absolute; bottom: 0; left: 0;
    height: 2px; width: 0;
    background: var(--ip-blue);
    transition: width 0.6s cubic-bezier(.4,0,.2,1);
}
.ip-stage-item:hover .ip-stage-bar { width: 100%; }
.ip-stage-badge {
    width: 52px; height: 52px; flex-shrink: 0;
    background: var(--ip-blue); color: var(--ip-white);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800;
    letter-spacing: 0.05em;
    transition: transform 0.2s;
}
.ip-stage-item:hover .ip-stage-badge { transform: scale(1.05); }
.ip-stage-title {
    font-size: 1.2rem; font-weight: 700;
    color: var(--ip-dark); margin-bottom: 8px;
}
.ip-stage-desc { font-size: 0.9rem; line-height: 1.7; color: #6b7280; }

/* ══════════════════════════════════════════
   IRDH ENGINE
══════════════════════════════════════════ */
/* ── IRDH — light "cards" redesign (title+desc | mission · 4-per-row cards · structure) ── */
.ip-irdh {
    background: #F4F7FC;
    padding: clamp(64px,7vw,104px) 80px;
    position: relative; overflow: hidden;
    color: #0B1222;
}
.ip-irdh::before {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 50% 45% at 90% 4%, rgba(59,130,246,0.10), transparent 70%),
        radial-gradient(ellipse 45% 50% at 2% 96%, rgba(37,99,235,0.05), transparent 65%);
}
.ip-irdh-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }

/* header: title & description | mission */
.ip-irdh-header {
    display: grid; grid-template-columns: 1.12fr 0.88fr;
    gap: 56px; align-items: end; margin-bottom: 56px;
}
.ip-irdh-heading {
    font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    font-weight: 300; line-height: 1.1;
    color: #0B1222; margin-bottom: 20px;
}
.ip-irdh-heading .ip-blue { color: var(--ip-blue); }
.ip-irdh-sub { font-size: 1.02rem; line-height: 1.75; color: #5b6b82; max-width: 52ch; }
.ip-irdh-mission {
    position: relative; background: #fff;
    border: 1px solid rgba(15,31,61,0.10); border-radius: 16px;
    padding: 26px 30px 26px 32px;
    box-shadow: 0 20px 50px -32px rgba(15,31,61,0.4);
}
.ip-irdh-mission::before {
    content: ''; position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 3px; border-radius: 3px; background: linear-gradient(#3b82f6, #60a5fa);
}
.ip-irdh-mission-label {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: #2563eb; margin-bottom: 12px;
}
.ip-irdh-mission-label svg { width: 17px; height: 17px; stroke: #2563eb; }
.ip-irdh-mission p { font-size: 0.94rem; line-height: 1.7; color: #0f1f3d; }

/* domain cards, 4 per row */
.ip-domain-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 18px; margin-bottom: 52px;
    background: transparent; border: none; overflow: visible;
}
.ip-domain-card {
    position: relative; overflow: hidden; background: #fff;
    border: 1px solid rgba(15,31,61,0.10); border-radius: 18px;
    padding: 28px 26px; cursor: default;
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .35s;
}
.ip-domain-card::after {
    content: ''; position: absolute; top: 0; bottom: auto; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, var(--ip-blue), var(--ip-blue-light));
    transition: width .45s cubic-bezier(.4,0,.2,1);
}
.ip-domain-card:hover {
    background: #fff; transform: translateY(-6px);
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 24px 54px -30px rgba(15,31,61,0.5);
}
.ip-domain-card:hover::after { width: 100%; }
.ip-domain-icon-wrap {
    width: 48px; height: 48px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; background: rgba(59,130,246,0.10);
    border: 1px solid rgba(59,130,246,0.16);
    transition: background .3s, border-color .3s;
}
.ip-domain-card:hover .ip-domain-icon-wrap { background: rgba(59,130,246,0.16); border-color: rgba(59,130,246,0.4); }
.ip-domain-icon-wrap svg { width: 24px; height: 24px; stroke: #2563eb; }
.ip-domain-name { font-size: 1.02rem; font-weight: 600; color: #0B1222; line-height: 1.3; margin-bottom: 9px; }
.ip-domain-desc { font-size: 0.86rem; line-height: 1.6; color: #5b6b82; }

/* structure card (dark, bookends the light section) */
.ip-irdh-structure {
    position: relative; overflow: hidden;
    background: #0B1222; border: none; border-radius: 20px;
    padding: 44px 46px; display: block;
}
.ip-irdh-structure::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 55% 70% at 92% 15%, rgba(59,130,246,0.28), transparent 70%);
}
.ip-irdh-structure-inner { position: relative; z-index: 1; }
.ip-irdh-structure-label {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--ip-blue-light); margin-bottom: 10px;
}
.ip-irdh-structure-body { font-size: 0.98rem; line-height: 1.7; color: #cbd5e1; max-width: 78ch; margin-bottom: 32px; }
.ip-irdh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ip-irdh-pillar { padding: 2px 34px; }
.ip-irdh-pillar:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.10); }
.ip-irdh-pillar:first-child { padding-left: 0; }
.ip-irdh-pillar-ico {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 14px;
    background: linear-gradient(150deg, var(--ip-blue), #2563eb);
    box-shadow: 0 10px 22px -10px rgba(37,99,235,0.7);
}
.ip-irdh-pillar-ico svg { width: 21px; height: 21px; stroke: #fff; }
.ip-irdh-pillar h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 7px; }
.ip-irdh-pillar p { font-size: 0.88rem; line-height: 1.6; color: #94a3b8; }

/* ══════════════════════════════════════════
   PROCESS / PIPELINE
══════════════════════════════════════════ */
.ip-process {
    background: var(--ip-light-bg);
    padding: 120px 80px;
    color: var(--ip-dark); overflow: hidden;
}
.ip-process .ip-eyebrow-text { color: var(--ip-blue); }
.ip-process .ip-eyebrow-line { background: var(--ip-blue); }
.ip-process-heading {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800; line-height: 1.1;
    color: var(--ip-dark); margin-bottom: 70px;
    max-width: 600px;
}
.ip-timeline { position: relative; }
.ip-timeline::before {
    content: '';
    position: absolute; top: 36px; left: 0; right: 0;
    height: 2px; background: var(--ip-border-l);
}
.ip-timeline-progress {
    position: absolute; top: 36px; left: 0;
    height: 2px; width: 0;
    background: var(--ip-blue);
    transition: width 0.1s; z-index: 1;
}
.ip-timeline-stages {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 0; position: relative; z-index: 2;
}
.ip-ts-item { padding: 0 20px; position: relative; }
.ip-ts-item:first-child { padding-left: 0; }
.ip-ts-dot {
    width: 72px; height: 72px;
    border: 2px solid var(--ip-border-l);
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px; position: relative;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.ip-ts-item.ip-active .ip-ts-dot,
.ip-ts-item:hover .ip-ts-dot {
    border-color: var(--ip-blue); background: var(--ip-blue); transform: scale(1.08);
}
.ip-ts-dot-num {
    font-size: 1.1rem; font-weight: 800;
    color: var(--ip-gray); letter-spacing: 0.05em; transition: color 0.3s;
}
.ip-ts-item.ip-active .ip-ts-dot-num,
.ip-ts-item:hover .ip-ts-dot-num { color: #fff; }
.ip-ts-stage-tag {
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ip-blue); margin-bottom: 8px;
}
.ip-ts-title {
    font-size: 1.15rem; font-weight: 800;
    color: var(--ip-dark); margin-bottom: 12px;
}
.ip-ts-item.ip-active .ip-ts-title { color: var(--ip-blue); }
.ip-ts-desc { font-size: 0.88rem; line-height: 1.7; color: #6b7280; }

/* ══════════════════════════════════════════
   FUTURE / LOOKING AHEAD
══════════════════════════════════════════ */
.ip-future {
    background: var(--ip-dark);
    padding: 120px 80px;
    position: relative; overflow: hidden;
}
.ip-future::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(30,58,138,0.3) 0%, transparent 65%),
        radial-gradient(ellipse 30% 40% at 5% 20%,  rgba(37,99,235,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.ip-future-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 100px; align-items: center;
}
.ip-future-heading {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800; line-height: 1.1;
    color: var(--ip-white); margin-bottom: 28px;
}
.ip-future-body { font-size: 1rem; line-height: 1.8; color: var(--ip-gray); margin-bottom: 20px; }
.ip-future-manifesto {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ip-border-d);
    border-left: 4px solid var(--ip-blue);
    padding: 28px 32px; border-radius: 0 6px 6px 0;
    margin-top: 36px;
}
.ip-future-manifesto p {
    font-size: 1rem; font-weight: 600; font-style: italic;
    color: var(--ip-off-white); line-height: 1.7;
}
/* Capability bars */
.ip-capability-list { display: flex; flex-direction: column; gap: 20px; }
.ip-cap-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.ip-cap-label { font-size: 0.88rem; font-weight: 600; color: var(--ip-off-white); }
.ip-cap-val { font-size: 0.85rem; font-weight: 700; color: var(--ip-blue-light); }
.ip-cap-track {
    height: 4px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px; overflow: hidden;
}
.ip-cap-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--ip-blue) 0%, var(--ip-blue-light) 100%);
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.ip-cta {
    background: var(--ip-dark2);
    padding: 120px 80px;
    text-align: center;
    position: relative; overflow: hidden;
    border-top: 1px solid var(--ip-border-d);
}
.ip-cta::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--ip-blue) 50%, transparent 100%);
}
.ip-cta-badge {
    display: inline-block;
    background: rgba(59,130,246,0.12);
    color: var(--ip-blue-light);
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 8px 20px; border-radius: 100px;
    border: 1px solid rgba(59,130,246,0.3);
    margin-bottom: 28px;
}
.ip-cta-heading {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800; line-height: 1.05;
    color: var(--ip-white); letter-spacing: -0.01em;
    margin-bottom: 24px;
}
.ip-cta-sub {
    font-size: 1.05rem; line-height: 1.75;
    color: var(--ip-gray); max-width: 560px; margin: 0 auto 48px;
}
.ip-cta-actions {
    display: flex; align-items: center; justify-content: center; gap: 16px;
}
.ip-cta-email {
    font-size: 0.88rem; font-weight: 500;
    color: var(--ip-gray); letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid var(--ip-border-d);
    padding: 13px 28px; border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
}
.ip-cta-email:hover { border-color: var(--ip-blue-light); color: var(--ip-white); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .ip-hero-content     { padding: 0 40px; }
    .ip-philosophy,
    .ip-irdh,
    .ip-process,
    .ip-future,
    .ip-cta              { padding: 80px 40px; }
    .ip-phil-grid,
    .ip-irdh-header,
    .ip-future-inner     { grid-template-columns: 1fr; gap: 48px; }
    .ip-domain-grid      { grid-template-columns: repeat(2, 1fr); }
    .ip-irdh-pillars     { grid-template-columns: 1fr; }
    .ip-irdh-pillar      { padding: 22px 0 !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.10); }
    .ip-irdh-pillar:last-child { border-bottom: none; }
    .ip-timeline-stages  { grid-template-columns: 1fr; gap: 32px; }
    .ip-timeline::before,
    .ip-timeline-progress { display: none; }
    .ip-hero-stats        { position: static; flex-wrap: wrap; }
    .ip-hero-stat         { flex: 1 1 50%; }
}
@media (max-width: 640px) {
    .ip-hero-content  { padding: 0 24px; }
    .ip-philosophy,
    .ip-irdh,
    .ip-process,
    .ip-future,
    .ip-cta           { padding: 60px 24px; }
    .ip-domain-grid   { grid-template-columns: 1fr; }
    .ip-hero-stat     { flex: 1 1 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   SCROLL VIDEO WIDGET  (.sv-*)
══════════════════════════════════════════════════════════════════════════ */

/* Section — normal document flow, height driven by Elementor slider control */
.sv-section {
    position: relative;
    width: 100%;
    height: 300vh; /* overridden by Elementor slider control */
    overflow: hidden;
}

/* Video fills the section */
.sv-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
    display: block;
}

/* Colour overlay */
.sv-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* Inner content slot — sits above video + overlay */
.sv-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;      /* overridden per widget */
    justify-content: center;
    width: 100%;
}

/* No-video placeholder (editor only) */
.sv-no-video {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d1421;
    z-index: 0;
}
.sv-no-video span {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    font-family: sans-serif;
    text-align: center;
    padding: 20px;
}

/* Let Elementor widget wrapper not add extra margin */
.elementor-widget-scroll_video {
    margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   STAFFGATEWAY SLIDE WIDGET  (.sg-*)
══════════════════════════════════════════════════════════════════════════ */

/* Slide panel wrapper */
.sg-slide {
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
    position: relative;
    overflow: hidden;
}

/* Top accent bar */
.sg-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 60px; right: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, transparent 100%);
    transform-origin: left;
    transition: transform .6s .3s cubic-bezier(.4, 0, .2, 1);
}
/* Hidden initial state — only when JS has opted this slide into animation */
.sg-slide.sg-will-animate::before { transform: scaleX(0); }
.sg-slide.sg-active::before       { transform: scaleX(1); }

/* Watermark number */
.sg-num {
    position: absolute;
    top: 60px; right: 48px;
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(59, 130, 246, .06);
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
}

/* Eyebrow row */
.sg-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    transition: opacity .5s .1s, transform .5s .1s;
}
.sg-will-animate .sg-eyebrow      { opacity: 0; transform: translateY(16px); }
.sg-slide.sg-active .sg-eyebrow   { opacity: 1; transform: translateY(0); }

.sg-eyebrow-pill {
    background: #eff6ff;
    color: #2563eb;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 235, .15);
}

.sg-eyebrow-num {
    font-size: .75rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: .15em;
}

/* Heading */
.sg-heading {
    font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    color: #1e293b;
    letter-spacing: -.02em;
    margin-bottom: 16px;
    transition: opacity .55s .2s, transform .55s .2s;
}
.sg-will-animate .sg-heading     { opacity: 0; transform: translateY(20px); }
.sg-slide.sg-active .sg-heading  { opacity: 1; transform: translateY(0); }
.sg-accent { color: #3b82f6; }

/* Divider */
.sg-divider {
    width: 40px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
    margin-bottom: 20px;
    transform-origin: left;
    transition: transform .5s .35s cubic-bezier(.4, 0, .2, 1);
}
.sg-will-animate .sg-divider     { transform: scaleX(0); }
.sg-slide.sg-active .sg-divider  { transform: scaleX(1); }

/* Body text */
.sg-body {
    font-size: .97rem;
    line-height: 1.78;
    color: #475569;
    margin-bottom: 24px;
    transition: opacity .5s .35s, transform .5s .35s;
}
.sg-will-animate .sg-body       { opacity: 0; transform: translateY(16px); }
.sg-slide.sg-active .sg-body    { opacity: 1; transform: translateY(0); }

/* Feature list */
.sg-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
    padding: 0;
    transition: opacity .5s .45s, transform .5s .45s;
}
.sg-will-animate .sg-feature-list       { opacity: 0; transform: translateY(16px); }
.sg-slide.sg-active .sg-feature-list    { opacity: 1; transform: translateY(0); }

.sg-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    line-height: 1.55;
    color: #475569;
}
.sg-feature-list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
    margin-top: 6px;
}
.sg-feature-list li strong { color: #1e293b; font-weight: 700; }

/* Tag chips */
.sg-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    transition: opacity .5s .5s, transform .5s .5s;
}
.sg-will-animate .sg-tag-row       { opacity: 0; transform: translateY(14px); }
.sg-slide.sg-active .sg-tag-row    { opacity: 1; transform: translateY(0); }

.sg-tag {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: 5px 12px;
    border-radius: 4px;
    transition: border-color .2s, color .2s;
}
.sg-tag:hover { border-color: #3b82f6; color: #3b82f6; }

/* CTA button */
.sg-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3b82f6;
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    width: fit-content;
    transition: opacity .5s .55s, transform .5s .55s, background .2s;
}
.sg-will-animate .sg-cta       { opacity: 0; transform: translateY(14px); }
.sg-slide.sg-active .sg-cta    { opacity: 1; transform: translateY(0); }
.sg-cta:hover { background: #2563eb; }
.sg-cta svg { transition: transform .2s; }
.sg-cta:hover svg { transform: translateX(4px); }

/* Stats bar */
.sg-stat-row {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    transition: opacity .5s .6s, transform .5s .6s;
}
.sg-will-animate .sg-stat-row       { opacity: 0; transform: translateY(14px); }
.sg-slide.sg-active .sg-stat-row { opacity: 1; transform: translateY(0); }

.sg-stat-val {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: #1e293b;
    letter-spacing: -.02em;
}
.sg-stat-suffix { color: #3b82f6; }
.sg-stat-lbl {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 4px;
}

/* ── Dark variant (.sg-dark) ── */
.sg-slide.sg-dark {
    background: #111827;
    border-left: 1px solid rgba(255, 255, 255, .07);
}
.sg-slide.sg-dark::before {
    background: linear-gradient(90deg, #60a5fa 0%, transparent 100%);
}
.sg-slide.sg-dark .sg-num       { color: rgba(96, 165, 250, .06); }
.sg-slide.sg-dark .sg-heading   { color: #f1f5f9; }
.sg-slide.sg-dark .sg-accent    { color: #60a5fa; }
.sg-slide.sg-dark .sg-divider   { background: #60a5fa; }
.sg-slide.sg-dark .sg-body      { color: #94a3b8; }
.sg-slide.sg-dark .sg-feature-list li         { color: #94a3b8; }
.sg-slide.sg-dark .sg-feature-list li strong  { color: #e2e8f0; }
.sg-slide.sg-dark .sg-tag       { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.07); color: #94a3b8; }
.sg-slide.sg-dark .sg-tag:hover { border-color: #60a5fa; color: #60a5fa; }
.sg-slide.sg-dark .sg-stat-val  { color: #60a5fa; }
.sg-slide.sg-dark .sg-stat-suffix { color: #60a5fa; }
.sg-slide.sg-dark .sg-stat-lbl  { color: #64748b; }
.sg-slide.sg-dark .sg-stat-row  { border-top-color: rgba(255,255,255,.07); }
.sg-slide.sg-dark .sg-eyebrow-pill {
    background: rgba(59,130,246,.12);
    border-color: rgba(96,165,250,.2);
    color: #60a5fa;
}

/* Elementor wrapper reset */
.elementor-widget-staffgateway_slide {
    margin: 0 !important;
}

/* ========================================
   Feature Stack Widget  (.fsk-*)
======================================== */
.fsk-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    user-select: none;
}

/* Clipping viewport — JS sets height via Elementor control */
.fsk-viewport {
    position: relative;
    height: 420px;
    overflow: hidden;
}

/* Individual cards ─ absolutely positioned, centred vertically */
.fsk-card {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 68px;
    margin-top: -34px; /* half of card height */
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transform-origin: center center;
    /* Smooth transitions for all JS-driven properties */
    transition:
        transform   0.45s cubic-bezier(0.34, 1.20, 0.64, 1),
        opacity     0.40s ease,
        box-shadow  0.40s ease;
    will-change: transform, opacity;
}

/* Active card gets a stronger shadow */
.fsk-card.fsk-active {
    box-shadow:
        0  4px 16px rgba(0, 0, 0, 0.10),
        0 12px 40px rgba(0, 0, 0, 0.10);
}

/* Coloured icon box */
.fsk-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    /* color and background set inline per-item */
}

.fsk-icon-box i,
.fsk-icon-box svg {
    display: block;
    width:  18px;
    height: 18px;
    font-size: 17px;
}

/* Label text */
.fsk-label {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Elementor wrapper reset */
.elementor-widget-feature_stack {
    overflow: visible;
}


/* ════════════════════════════════════════════════════════════
   DESIGN-SYSTEM ALIGNMENT — match itranks-innovation.html / the site
   (light Calibri headings · line eyebrows · softer radii · 1280 container ·
    hero pixel-dots · future dotted-bg + globe). Layout & animations kept.
════════════════════════════════════════════════════════════ */
.ip-hero-title,.ip-phil-heading,.ip-irdh-heading,.ip-process-heading,.ip-future-heading,.ip-cta-heading{
  font-family:var(--ip-font-alt);font-weight:300;letter-spacing:-.3px;
}
.ip-hero-title,.ip-cta-heading{line-height:1.08}
.ip-hero-title .ip-blue,.ip-irdh-heading .ip-blue,.ip-future-heading .ip-blue,.ip-cta-heading .ip-blue,.ip-phil-heading em{font-weight:400}
.ip-stage-title,.ip-ts-title,.ip-domain-name,.ip-irdh-structure-title{font-family:inherit;font-weight:600}
.ip-section-eyebrow,.ip-hero-eyebrow{gap:11px}
.ip-eyebrow-line{width:26px}
.ip-eyebrow-text,.ip-hero-eyebrow-text{font-size:14px;font-weight:600;letter-spacing:.08em}
.ip-hero-eyebrow-dot{width:26px;height:2px;border-radius:2px}
.ip-btn-blue,.ip-btn-outline{border-radius:10px;white-space:nowrap;flex-shrink:0}
.ip-btn-blue{font-weight:600}
.ip-hero-btns{flex-wrap:wrap}
.ip-irdh-mission{border-radius:16px}.ip-irdh-structure{border-radius:20px}
.ip-phil-quote,.ip-future-manifesto{border-radius:0 14px 14px 0}
.ip-domain-icon-wrap,.ip-irdh-structure-icon,.ip-stage-num-badge{border-radius:12px}
.ip-hero-stat-num,.ip-ts-dot-num,.ip-cap-val,.ip-domain-idx,.ip-stage-num-badge{font-family:inherit}
.ip-philosophy,.ip-irdh,.ip-process,.ip-future,.ip-cta{padding-inline:max(80px,calc((100% - 1280px)/2))}
.ip-hero-content{padding-inline:0;margin-inline-start:max(80px,calc((100% - 1280px)/2))}
/* Tablet + phone gutters for the four V2 sections: 12px left/right.
   The two padding-inline rules above sit OUTSIDE any media query and come after
   the @media(max-width:1024px)/(640px) blocks earlier in this file, so they win
   at every width — which is why those sections still had 80px gutters on a
   phone. The override therefore has to live here, after them. */
@media (max-width: 1024px) {
    .ip-philosophy,
    .ip-irdh,
    .ip-process        { padding-inline: 12px; }
    .ip-hero-content   { padding-inline: 12px; margin-inline-start: 0; }
}

/* Hero pixel-shimmer dots — same treatment as About / Contact heroes */
.ip-hero-fx{position:absolute;inset:0;width:100%;height:100%;z-index:1;display:block;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 22%,rgba(0,0,0,.55) 56%,#000 100%);
          mask-image:linear-gradient(90deg,transparent 22%,rgba(0,0,0,.55) 56%,#000 100%)}

/* Future-section interactive globe */
.ip-future-globe{position:relative;width:100%;max-width:520px;aspect-ratio:1/1;min-height:400px;margin-inline:auto}
.ip-future-globe canvas{position:absolute;inset:0;cursor:grab}
.ip-future-globe canvas:active{cursor:grabbing}
@media(max-width:980px){.ip-future-globe{max-width:420px;min-height:340px}}

/* Dotted texture behind the Future section */
.ip-future::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:radial-gradient(circle,rgba(127,176,255,0.16) 1px,transparent 1.6px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(ellipse 78% 70% at 50% 42%,#000 32%,transparent 82%);
          mask-image:radial-gradient(ellipse 78% 70% at 50% 42%,#000 32%,transparent 82%)}


/* ── Footer legal modal (Privacy Policy / Terms popup) ───────────────────── */
body.sf-modal-open { position: fixed; width: 100%; overflow: hidden; }

.sf-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sf-modal[hidden] { display: none; }
.sf-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 22, 0.62); opacity: 0; transition: opacity 0.22s ease; }
.sf-modal.is-open .sf-modal__backdrop { opacity: 1; }

.sf-modal__panel {
    position: relative;
    display: flex; flex-direction: column;
    width: 100%; max-width: 920px; max-height: 88vh;
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 40px 90px rgba(8, 12, 22, 0.38);
    opacity: 0; transform: translateY(14px) scale(0.985);
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.sf-modal.is-open .sf-modal__panel { opacity: 1; transform: none; }
.sf-modal__panel:focus { outline: none; }

.sf-modal__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; border-bottom: 1px solid #E7EEF9; background: #fff; flex: none;
}
.sf-modal__title { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: #0B1222; }
.sf-modal__close {
    display: grid; place-items: center; width: 34px; height: 34px; flex: none;
    border: 1px solid #E2E8F0; border-radius: 10px; background: #fff; color: #475569;
    cursor: pointer; transition: 0.18s;
}
.sf-modal__close:hover { background: #F1F5F9; color: #0B1222; }

.sf-modal__body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sf-modal__loading { padding: 60px 24px; text-align: center; font-size: 14px; color: #64748B; }

/* the legal widget ships its own <style>; only its page-level chrome needs trimming */
.sf-modal__body .itr-legal { padding: 28px 30px 34px; }
.sf-modal__body .itr-legal .lg-wrap { max-width: none; }
.sf-modal__body .itr-legal .lg-body { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
.sf-modal__body .itr-legal .lg-toc { display: none; }   /* scrollspy JS can't run from innerHTML */
.sf-modal__body .itr-legal .lg-main { max-width: none; }
.sf-modal__body .itr-legal h1 { font-size: clamp(24px, 3.4vw, 34px); }

@media (max-width: 640px) {
    .sf-modal { padding: 0; }
    .sf-modal__panel { max-width: none; max-height: 100vh; height: 100%; border-radius: 0; }
    .sf-modal__body .itr-legal { padding: 20px 18px 28px; }
}


/* ── Hero dot artwork on phone/tablet ─────────────────────────────────────
   Same treatment as the About/Contact/Services/OCI heroes: vertical mask so the
   dots are not stranded behind the centred copy. See pixIconMasks() in
   itranks-sections.js, which moves the icon into the lower band below 900px. */
@media (max-width: 900px) {
    /* artwork band above the copy — see the note in itranks-sections.css */
    .ip-hero { align-items: flex-end; padding-top: 300px; padding-bottom: 64px; }
    /* the scroll cue is pinned 120px off the bottom, which is now inside the copy */
    .ip-scroll-mouse { display: none; }

    .ip-hero-fx {
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0,0,0,0.30) 52%, rgba(0,0,0,0.22) 100%);
                mask-image: linear-gradient(180deg, #000 0%, #000 34%, rgba(0,0,0,0.30) 52%, rgba(0,0,0,0.22) 100%);
        -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
        -webkit-mask-size: 100% 100%;  mask-size: 100% 100%;
    }
}

/* Hero slider particle icon: the slide copy is BOTTOM-aligned below 768px
   (.slide-content{align-items:flex-end;padding-bottom:120px}), so the icon has to
   move UP — the opposite direction to the other heroes — or it sits behind the
   headline. Centred horizontally, below the sticky header. */
@media (max-width: 768px) {
    .hero-particles {
        top: clamp(76px, 13%, 150px);
        right: 50%;
        transform: translateX(50%);
    }
}
