
/* ---------- Image gallery section ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 190px;
    gap: 16px;
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--fog);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}

    .gallery-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(20,30,60,0.12);
    }

    .gallery-item.tall {
        grid-row: span 2;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
        z-index: 2;
    }

.gallery-ph {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink-faint);
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--paper-dim), var(--fog));
}

    .gallery-ph .ph-icon {
        font-size: 26px;
        opacity: .7;
    }

    .gallery-ph .ph-text {
        font-family: var(--font-mono);
        font-size: 10px;
        letter-spacing: 0.06em;
        direction: ltr;
    }

    .gallery-ph .ph-path {
        font-family: var(--font-mono);
        font-size: 9px;
        color: var(--orange-500);
        direction: ltr;
    }

@media (max-width:980px) {
    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
        grid-auto-rows: 170px;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }
}

@media (max-width:600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.wide, .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Real world map (background silhouette use) */
.map-silhouette {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

    .map-silhouette svg {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: min(1300px,150%);
        height: auto;
        opacity: 1;
    }

    .map-silhouette .landmass path {
        fill: var(--orange-100);
        stroke: none;
    }

    .map-silhouette .routes, .map-silhouette .markers {
        display: none;
    }

/* Interactive world map component */
.world-map-wrap {
    position: relative;
    background: var(--navy-950);
    border: 1px solid var(--navy-700);
    overflow: visible;
    aspect-ratio: 1000/460;
    border-radius: 2px;
    box-shadow: 0 30px 70px -30px rgba(20,30,60,0.35);
}

.world-map-svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 2px;
    overflow: hidden;
}

.landmass path {
    fill: #243363;
    stroke: #3a4a86;
    stroke-width: 0.7;
    transition: fill .25s ease;
}

.route-curve {
    fill: none;
    stroke: var(--orange-400);
    stroke-width: 1.6;
    stroke-dasharray: 4 5;
    opacity: .5;
    stroke-linecap: round;
    transition: opacity .25s ease, stroke-width .25s ease;
    animation: dash-flow 3.2s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -36;
    }
}

.route-curve.active {
    opacity: 1;
    stroke-width: 2.6;
}

.marker {
    cursor: pointer;
}

.marker-hit {
    fill: transparent;
    pointer-events: all;
}

.marker-dot, .marker-pulse, .marker-label {
    pointer-events: none;
}

.marker-dot {
    fill: #fff;
    transition: r .2s ease;
}

.marker.hub .hub-dot {
    fill: var(--orange-500);
}

.marker-pulse {
    fill: none;
    stroke: var(--orange-400);
    stroke-width: 1.4;
    transform-origin: center;
    animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        r: 7;
        opacity: .7;
    }

    100% {
        r: 24;
        opacity: 0;
    }
}

.marker-label {
    font-family: var(--font-mono);
    font-size: 8px;
    fill: rgba(255,255,255,0.6);
    text-anchor: middle;
    pointer-events: none;
}

.marker:hover .marker-dot {
    r: 7;
}

.marker.hub .marker-label {
    fill: rgba(255,255,255,0.85);
    font-weight: 700;
}

.map-tooltip {
    position: absolute;
    z-index: 6;
    transform: translate(-50%,-130%);
    background: #fff;
    border: 1px solid var(--line);
    padding: 7px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy-900);
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .map-tooltip.show {
        opacity: 1;
        transform: translate(-50%,-145%);
    }

.map-hint {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 5;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.4);
    direction: ltr;
}

/* Network intro split */
.network-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

@media (max-width:768px) {
    .network-split {
        display: block;
    }
    .value-prop-body p {
        margin-bottom: 1rem;
    }
}

/* Featured corridor mini map (cropped) */
.corridor-featured-visual .world-map-wrap {
    border: none;
    background: transparent;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
}

.corridor-featured-visual .world-map-svg {
    width: 100%;
    height: auto;
}

/* Flag pills */
.flag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 26px;
}

.flag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--fog);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--navy-900);
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .flag-pill .flag {
        font-size: 17px;
        line-height: 1;
    }

    .flag-pill:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(20,30,60,0.1);
        background: #fff;
    }

/* Featured / primary corridor */
.corridor-featured {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    overflow: hidden;
}

.corridor-featured-visual {
    position: relative;
    background: linear-gradient(150deg, var(--navy-950), var(--navy-800));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.corridor-featured-body {
    padding: 51px 45px;
}

    .corridor-featured-body h3 {
        font-family: var(--font-display);
        font-weight: 700;
        font-size: 23px;
        color: var(--navy-900);
        margin-bottom: 8px;
    }

    .corridor-featured-body .bilingual {
        font-family: var(--font-mono);
        font-size: 11px;
        letter-spacing: 0.08em;
        color: var(--orange-500);
        direction: ltr;
        margin-bottom: 14px;
    }

    .corridor-featured-body .lead-line {
        font-size: 14.5px;
        font-weight: 600;
        color: var(--ink-soft);
        margin-bottom: 6px;
    }

    .corridor-featured-body p.desc {
        margin-top: 16px;
    }

@media (max-width:900px) {
    .corridor-featured {
        grid-template-columns: 1fr;
    }

    .corridor-featured-visual {
        padding: 27px;
    }
}

/* Corridor cards grid */
.corridor-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.corridor-card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 37px 34px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

    .corridor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(20,30,60,0.08);
        background: #fff;
    }

.corridor-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.corridor-flag {
    font-size: 30px;
    line-height: 1;
}

.corridor-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.corridor-card .bilingual {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.07em;
    color: var(--ink-faint);
    direction: ltr;
}

.corridor-card .lead-line {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--orange-500);
    margin-bottom: 10px;
}

.corridor-card p.desc {
    font-size: 16px;
    margin-bottom: 0;
}

.corridor-route-svg {
    width: 100%;
    height: 36px;
    margin-bottom: 16px;
}

@media (max-width:820px) {
    .corridor-grid {
        grid-template-columns: 1fr;
    }
}

/* Dark statement / no-border section */
.statement-band {
    position: relative;
    background: var(--navy-950);
    color: #fff;
    overflow: hidden;
    padding: 106px 0;
}

    .statement-band .route-map-decor {
        opacity: .35;
    }

.statement-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

    .statement-content h2 {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: clamp(24px,3vw,34px);
        margin-bottom: 17px;
        line-height: 1.4;
    }

    .statement-content p {
        color: rgba(255,255,255,0.85);
        font-size: 18.5px;
        line-height: 1.9;
    }

