/* Aviation Website Design — reusable Project UI Blocks */
:root {
    --apb-bg: #f2f2f2;
    --apb-card: #fff;
    --apb-text: #171717;
    --apb-muted: #656565;
    --apb-line: #d9d9d9;
    --apb-dark: #1b1b1b;
    --apb-radius: 30px;
}

.aviation-project-builder {
    background: #fff;
    overflow: clip;
}

.aviation-project-builder.at-header-offset {
    padding-top: calc(var(--at-header-height, 90px) + 28px);
}

.aviation-project-builder .ck-content {
    max-width: none;
}

.apb {
    padding: 0 12px 18px;
    color: var(--apb-text);
}

.apb + .apb {
    padding-top: 2px;
}

.apb-shell {
    width: min(100%, 2200px);
    margin: 0 auto;
}

.apb-surface {
    background: var(--apb-bg);
    border-radius: var(--apb-radius);
    padding: clamp(28px, 4vw, 72px);
}

.apb-kicker-row,
.apb-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.apb-kicker,
.apb-code,
.apb-label,
.apb-caption {
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.apb-code,
.apb-caption,
.apb-label {
    color: var(--apb-muted);
}

.apb-kicker--light,
.apb-title--light,
.apb-lead--light {
    color: #fff !important;
}

.apb-display {
    max-width: 1280px;
    margin: 0;
    font-size: clamp(56px, 8vw, 142px);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.apb-title {
    max-width: 1100px;
    margin: 12px 0 0;
    font-size: clamp(42px, 5.8vw, 92px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.apb-title--sm {
    font-size: clamp(30px, 3.4vw, 56px);
}

.apb-lead {
    max-width: 820px;
    margin-top: 24px;
    color: #292929;
    font-size: clamp(18px, 1.5vw, 25px);
    line-height: 1.35;
}

.apb-lead--narrow {
    max-width: 690px;
}

.apb-section-head {
    padding: clamp(38px, 5vw, 88px) clamp(18px, 2vw, 34px) clamp(28px, 3vw, 54px);
}

.apb-section-head--compact {
    padding-top: 24px;
    padding-bottom: 22px;
}

.apb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.apb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.apb-btn:hover {
    transform: translateY(-2px);
}

.apb-btn--dark {
    background: #171717;
    border-color: #171717;
    color: #fff !important;
}

.apb-btn--light {
    background: #fff;
    color: #171717 !important;
}

.apb-btn--white {
    background: #fff;
    color: #171717 !important;
    border-color: #fff;
}

.apb-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255,255,255,.35);
}

/* Hero */
.apb-hero__surface {
    padding-top: clamp(24px, 3vw, 46px);
}

.apb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(32px, 6vw, 110px);
    padding-top: clamp(60px, 8vw, 130px);
}

.apb-hero__actions {
    min-width: 240px;
    justify-content: flex-end;
}

/* Snapshot */
.apb-snapshot__grid,
.apb-metrics__grid {
    display: grid;
    grid-template-columns: repeat(var(--apb-items, 5), minmax(0, 1fr));
    border: 1px solid var(--apb-line);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.apb-snapshot__item,
.apb-metric {
    min-height: 145px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    border-right: 1px solid var(--apb-line);
}

.apb-snapshot__item:last-child,
.apb-metric:last-child { border-right: 0; }

.apb-snapshot__item span,
.apb-metric span {
    color: var(--apb-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.apb-snapshot__item strong {
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.15;
}

/* Large visual */
.apb-browser {
    overflow: hidden;
    border: 1px solid var(--apb-line);
    border-radius: var(--apb-radius);
    background: #fff;
}

.apb-browser__bar {
    min-height: 60px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--apb-line);
}

.apb-browser__dots {
    display: flex;
    gap: 7px;
}

.apb-browser__dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bdbdbd;
}

.apb-browser__url {
    color: var(--apb-muted);
    font-size: 12px;
}

.apb-browser__bar .apb-code { text-align: right; }
.apb-browser img { width: 100%; height: auto; display: block; }
.apb-caption { padding: 12px 6px 0; }

/* Challenge */
.apb-two-col {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 14px;
}

.apb-copy-card,
.apb-goals {
    border-radius: 24px;
    background: var(--apb-bg);
    padding: clamp(28px, 4vw, 60px);
}

.apb-body {
    margin-top: clamp(40px, 6vw, 100px);
    max-width: 680px;
    font-size: clamp(20px, 1.8vw, 30px);
    line-height: 1.25;
    letter-spacing: -.02em;
}

.apb-goal {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #cfcfcf;
}

.apb-goal:last-child { border-bottom: 0; }
.apb-goal__num { color: var(--apb-muted); font-size: 13px; }
.apb-goal h3 { margin: 0; font-size: clamp(21px, 2vw, 32px); line-height: 1.1; }
.apb-goal p { margin: 8px 0 0; color: var(--apb-muted); font-size: 15px; line-height: 1.45; }

/* Bento */
.apb-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0,1fr));
    gap: 12px;
}

.apb-bento__card {
    position: relative;
    grid-column: span 4;
    min-height: 260px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
}

.apb-bento__card:nth-child(1) { grid-column: span 7; }
.apb-bento__card:nth-child(2) { grid-column: span 5; }
.apb-bento__card:nth-child(3) { grid-column: span 5; }
.apb-bento__card:nth-child(4) { grid-column: span 7; }
.apb-bento__card:nth-child(5) { grid-column: span 7; }
.apb-bento__card:nth-child(6) { grid-column: span 5; }

.apb-bento__card h3 { margin: 48px 0 8px; font-size: clamp(24px, 2.2vw, 38px); line-height: 1; letter-spacing: -.04em; }
.apb-bento__card p { margin: 0; max-width: 540px; color: var(--apb-muted); line-height: 1.45; }
.apb-bento__index { position: absolute; top: 18px; right: 20px; color: #a7a7a7; font-size: 13px; }

/* Metrics */
.apb-metrics__grid {
    gap: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

.apb-metric {
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--apb-line) !important;
    border-radius: 22px;
    background: var(--apb-bg);
}

.apb-metric strong { font-size: clamp(52px, 6vw, 96px); line-height: .9; letter-spacing: -.055em; }
.apb-metric span { max-width: 170px; }

/* Showcase */
.aviation-project-builder .apb-showcase__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, .75fr);
    grid-template-rows: repeat(2, 330px);
    gap: 16px;
}

.apb-media-card {
    position: relative;
    margin: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: var(--apb-bg);
}

.apb-media-card:first-child {
    grid-row: 1 / span 2;
    min-height: 0;
}

.apb-media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.apb-media-card figcaption,
.apb-gallery figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: #171717;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Responsive */
.aviation-project-builder .apb-responsive__grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 16px;
    align-items: stretch;
}

.apb-responsive__desktop,
.apb-responsive__phones img {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(0,0,0,.08);
}

.apb-responsive__desktop {
    min-height: 0;
    height: 100%;
    aspect-ratio: 16 / 10;
}

.apb-responsive__desktop img,
.apb-responsive__phones img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apb-responsive__phones {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    height: 100%;
    min-height: 0;
}

/* Dark technical */
.apb-tech__surface {
    border-radius: var(--apb-radius);
    background: var(--apb-dark);
    color: #fff;
    padding: clamp(28px, 4vw, 72px);
}

.apb-tech__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(24px, 5vw, 90px);
    align-items: stretch;
}

.apb-tech__image { min-height: 540px; border-radius: 22px; overflow: hidden; background: #101010; }
.apb-tech__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apb-tech__item { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.apb-tech__item > span { color: #8c8c8c; font-size: 12px; }
.apb-tech__item h3 { margin: 0; color: #fff; font-size: clamp(22px, 2vw, 31px); }
.apb-tech__item p { margin: 7px 0 0; color: #a9a9a9; line-height: 1.4; }

/* Search cards */
.apb-search__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.apb-search__card {
    min-height: 300px;
    padding: 26px;
    border-radius: 22px;
    background: var(--apb-bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.apb-search__card h3 { margin: 70px 0 10px; font-size: clamp(25px, 2.1vw, 35px); line-height: 1; }
.apb-search__card p { margin: 0; color: var(--apb-muted); line-height: 1.45; }

/* Gallery */
.apb-gallery__grid { columns: 2; column-gap: 12px; }
.apb-gallery figure { position: relative; break-inside: avoid; margin: 0 0 12px; overflow: hidden; border-radius: 22px; background: var(--apb-bg); }
.apb-gallery img { width: 100%; height: auto; display: block; }

/* FAQ */
.apb-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.apb-faq__items { padding-top: clamp(38px, 5vw, 88px); }
.apb-faq details { border-top: 1px solid var(--apb-line); }
.apb-faq details:last-child { border-bottom: 1px solid var(--apb-line); }
.apb-faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px 1fr 22px; gap: 12px; align-items: center; padding: 24px 0; }
.apb-faq summary::-webkit-details-marker { display: none; }
.apb-faq summary span { color: var(--apb-muted); font-size: 12px; }
.apb-faq summary strong { font-size: clamp(18px, 1.5vw, 24px); }
.apb-faq summary i { font-style: normal; font-size: 22px; transition: transform .2s ease; }
.apb-faq details[open] summary i { transform: rotate(45deg); }
.apb-faq__answer { padding: 0 34px 26px 64px; max-width: 860px; color: var(--apb-muted); line-height: 1.55; }

/* Next project */
.apb-next__card {
    position: relative;
    min-height: 560px;
    padding: clamp(30px, 5vw, 78px);
    border-radius: var(--apb-radius);
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1a1a1a;
    isolation: isolate;
}
.apb-next__card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--apb-next-image); background-size: cover; background-position: center; }
.apb-next__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.18)); }
.apb-next__card h2 { max-width: 1000px; margin: 16px 0; color: #fff; font-size: clamp(48px, 7vw, 112px); line-height: .92; letter-spacing: -.055em; }
.apb-next__card p { max-width: 620px; color: rgba(255,255,255,.75); font-size: 18px; }
.apb-next__link { font-size: 14px; font-weight: 700; text-transform: uppercase; }

/* CTA */
.apb-cta__surface {
    padding: clamp(40px, 6vw, 100px);
    border-radius: var(--apb-radius);
    background: var(--apb-dark);
    color: #fff;
}
.apb-cta__surface h2 { max-width: 1150px; margin: 18px 0; color: #fff; font-size: clamp(50px, 7.5vw, 124px); line-height: .92; letter-spacing: -.06em; }
.apb-cta__surface p { max-width: 720px; margin: 0 0 32px; color: #bcbcbc; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; }

@media (max-width: 1199.98px) {
    .apb-hero__grid,
    .apb-two-col,
    .apb-faq__grid,
    .apb-tech__grid { grid-template-columns: 1fr; }
    .apb-hero__actions { justify-content: flex-start; }
    .apb-snapshot__grid,
    .apb-metrics__grid { grid-template-columns: repeat(3, 1fr); }
    .apb-snapshot__item:nth-child(3n), .apb-metric:nth-child(3n) { border-right: 0; }
    .apb-snapshot__item, .apb-metric { border-bottom: 1px solid var(--apb-line); }
    .apb-bento__card, .apb-bento__card:nth-child(n) { grid-column: span 6; }
    .apb-search__grid { grid-template-columns: repeat(2, 1fr); }
    .apb-tech__image { min-height: 420px; }
}

@media (max-width: 767.98px) {
    .aviation-project-builder.at-header-offset { padding-top: calc(var(--at-header-height, 76px) + 14px); }
    .apb { padding: 0 6px 10px; }
    .apb-surface, .apb-tech__surface, .apb-cta__surface { border-radius: 20px; padding: 22px 16px; }
    .apb-hero__grid { padding-top: 52px; }
    .apb-display { font-size: clamp(44px, 14vw, 72px); }
    .apb-title { font-size: clamp(38px, 11vw, 58px); }
    .apb-section-head { padding: 34px 10px 22px; }
    .apb-kicker-row { align-items: flex-start; }
    .apb-code { text-align: right; }
    .apb-actions { width: 100%; }
    .apb-btn { width: 100%; }
    .apb-snapshot__grid,
    .apb-metrics__grid { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
    .apb-snapshot__item,
    .apb-metric { min-height: 120px; padding: 16px; border-right: 1px solid var(--apb-line); }
    .apb-snapshot__item:nth-child(2n), .apb-metric:nth-child(2n) { border-right: 0; }
    .apb-browser { border-radius: 18px; }
    .apb-browser__bar { grid-template-columns: auto 1fr; min-height: 48px; padding: 10px 12px; }
    .apb-browser__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .apb-browser__bar .apb-code { display: none; }
    .apb-caption { font-size: 10px; }
    .apb-copy-card, .apb-goals { padding: 22px 16px; border-radius: 18px; }
    .apb-body { margin-top: 48px; }
    .apb-goal { grid-template-columns: 42px 1fr; }
    .apb-bento { grid-template-columns: 1fr; }
    .apb-bento__card, .apb-bento__card:nth-child(n) { grid-column: auto; min-height: 220px; border-radius: 18px; }
    .aviation-project-builder .apb-showcase__grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
    .apb-media-card, .apb-media-card:first-child { grid-row: auto; min-height: 320px; height: auto; border-radius: 18px; }
    .apb-media-card img { min-height: 320px; }
    .aviation-project-builder .apb-responsive__grid { grid-template-columns: 1fr; gap: 12px; }
    .apb-responsive__desktop { height: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 18px; }
    .apb-responsive__phones { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; height: auto; }
    .apb-responsive__phones img { height: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
    .apb-tech__image { min-height: 280px; border-radius: 18px; }
    .apb-search__grid { grid-template-columns: 1fr; }
    .apb-search__card { min-height: 240px; border-radius: 18px; }
    .apb-gallery__grid { columns: 1; }
    .apb-faq__items { padding-top: 0; }
    .apb-faq summary { grid-template-columns: 36px 1fr 20px; padding: 18px 0; }
    .apb-faq__answer { padding: 0 8px 20px 48px; }
    .apb-next__card { min-height: 420px; border-radius: 20px; padding: 24px 18px; }
    .apb-next__card h2 { font-size: clamp(44px, 13vw, 68px); }
    .apb-cta__surface h2 { font-size: clamp(44px, 13vw, 72px); }
}

/* Project hero — animated global route map */
.apb-hero__surface {
    position: relative;
    min-height: clamp(470px, 42vw, 720px);
    overflow: hidden;
    isolation: isolate;
}

.apb-hero__content-layer {
    position: relative;
    z-index: 5;
}

.apb-project-map,
.apb-project-map__veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.apb-project-map {
    z-index: 1;
    overflow: hidden;
}

.apb-project-map__world,
.apb-project-map__routes {
    position: absolute;
    left: -1%;
    top: 1%;
    width: 104%;
    height: 98%;
}

.apb-project-map__world {
    object-fit: contain;
    opacity: .235;
    filter: grayscale(1) contrast(1.02) brightness(.82);
    transform: translateX(3.5%) scale(1.025);
    transform-origin: center;
}

.apb-project-map__routes {
    overflow: visible;
    transform: translateX(3.5%) scale(1.025);
    transform-origin: center;
    -webkit-mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, .08) 0%,
        rgba(0, 0, 0, .10) 28%,
        rgba(0, 0, 0, .18) 39%,
        rgba(0, 0, 0, .46) 50%,
        rgba(0, 0, 0, .82) 59%,
        rgba(0, 0, 0, 1) 66%,
        rgba(0, 0, 0, 1) 100%
    );
    mask-image: linear-gradient(
        90deg,
        rgba(0, 0, 0, .08) 0%,
        rgba(0, 0, 0, .10) 28%,
        rgba(0, 0, 0, .18) 39%,
        rgba(0, 0, 0, .46) 50%,
        rgba(0, 0, 0, .82) 59%,
        rgba(0, 0, 0, 1) 66%,
        rgba(0, 0, 0, 1) 100%
    );
}

.apb-project-route__path {
    fill: none;
    stroke: rgba(23, 23, 23, .21);
    stroke-width: 1.05;
    stroke-linecap: round;
    stroke-dasharray: 4 6;
    vector-effect: non-scaling-stroke;
    opacity: .82;
    transition: opacity .3s ease, stroke .3s ease, stroke-width .3s ease;
}

.apb-project-route.is-active .apb-project-route__path {
    stroke: rgba(222, 52, 38, .72);
    stroke-width: 1.6;
    opacity: 1;
    animation: apbProjectRouteDash 1.15s linear infinite;
}

@keyframes apbProjectRouteDash {
    to { stroke-dashoffset: -20; }
}

.apb-project-map-node {
    fill: rgba(23, 23, 23, .46);
    stroke: rgba(255, 255, 255, .95);
    stroke-width: 1.35;
    vector-effect: non-scaling-stroke;
    transition: fill .3s ease, opacity .3s ease, transform .3s ease;
}

.apb-project-map-node--strong {
    fill: rgba(23, 23, 23, .62);
}

.apb-project-map-node.is-route-endpoint {
    fill: rgba(222, 52, 38, .9);
    opacity: 1;
    transform-box: fill-box;
    transform-origin: center;
    animation: apbProjectNodePulse 1.8s ease-in-out infinite;
}

@keyframes apbProjectNodePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.16); }
}

.apb-project-route-label {
    fill: rgba(23, 23, 23, .40);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: fill .3s ease, opacity .3s ease;
}

.apb-project-route-label.is-active {
    fill: rgba(23, 23, 23, .72);
}

.apb-project-route-plane {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: visible;
    will-change: transform;
    transition: opacity .24s ease;
}

.apb-project-route-plane.is-visible {
    opacity: .88;
}

.apb-project-route-plane.is-visible.is-copy-protected {
    opacity: 0;
}

.apb-project-route-plane__icon {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: clamp(31px, 2.4vw, 48px);
    height: clamp(31px, 2.4vw, 48px);
    max-width: none;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transform-origin: center;
    opacity: .86;
    filter: drop-shadow(0 4px 7px rgba(20, 20, 20, .12));
    will-change: transform;
}

.apb-project-route-plane__label {
    position: absolute;
    left: 20px;
    top: -29px;
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 7px 2px;
    border: 1px solid rgba(23, 23, 23, .58);
    border-radius: 6px;
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(4px);
    color: rgba(23, 23, 23, .8);
    box-shadow: 0 3px 10px rgba(20, 20, 20, .05);
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .045em;
    white-space: nowrap;
}

.apb-project-map__veil {
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(242, 242, 242, .82) 0%,
            rgba(242, 242, 242, .78) 18%,
            rgba(242, 242, 242, .62) 32%,
            rgba(242, 242, 242, .34) 44%,
            rgba(242, 242, 242, .10) 54%,
            rgba(242, 242, 242, 0) 64%
        );
}

.apb-hero__surface .apb-display {
    max-width: 1040px;
}

.apb-hero__surface .apb-lead {
    max-width: 720px;
}

@media (max-width: 991px) {
    .apb-hero__surface {
        min-height: 540px;
    }

    .apb-project-map__world,
    .apb-project-map__routes {
        width: 118%;
        left: -5%;
        transform: translateX(9%) scale(1.04);
    }

    .apb-project-map__world {
        opacity: .21;
    }

    .apb-project-map__routes {
        -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.08) 36%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.58) 61%, #000 72%, #000 100%);
        mask-image: linear-gradient(90deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.08) 36%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.58) 61%, #000 72%, #000 100%);
    }

    .apb-project-map__veil {
        background:
            linear-gradient(
                90deg,
                rgba(242, 242, 242, .87) 0%,
                rgba(242, 242, 242, .82) 34%,
                rgba(242, 242, 242, .62) 54%,
                rgba(242, 242, 242, .24) 74%,
                rgba(242, 242, 242, 0) 100%
            );
    }
}

@media (max-width: 767px) {
    .apb-hero__surface {
        min-height: 520px;
    }

    .apb-project-map__world,
    .apb-project-map__routes {
        width: 150%;
        height: 100%;
        left: -12%;
        top: 4%;
        transform: translateX(18%) scale(1.08);
    }

    .apb-project-map__world {
        opacity: .18;
    }

    .apb-project-map__routes {
        -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.06) 46%, rgba(0,0,0,.12) 60%, rgba(0,0,0,.48) 74%, #000 88%, #000 100%);
        mask-image: linear-gradient(90deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.06) 46%, rgba(0,0,0,.12) 60%, rgba(0,0,0,.48) 74%, #000 88%, #000 100%);
    }

    .apb-project-route[data-mobile="0"],
    .apb-project-route-label[data-route-label="2"],
    .apb-project-route-label[data-route-label="4"],
    .apb-project-route-label[data-route-label="5"] {
        display: none;
    }

    .apb-project-route-plane__icon {
        width: 29px;
        height: 29px;
    }

    .apb-project-route-plane__label {
        left: 15px;
        top: -24px;
        min-height: 20px;
        padding: 2px 5px;
        font-size: 8px;
    }

    .apb-project-route-label {
        font-size: 8px;
    }

    .apb-project-map__veil {
        background:
            linear-gradient(
                90deg,
                rgba(242, 242, 242, .90) 0%,
                rgba(242, 242, 242, .86) 42%,
                rgba(242, 242, 242, .68) 62%,
                rgba(242, 242, 242, .30) 82%,
                rgba(242, 242, 242, .06) 100%
            );
    }
}

@media (prefers-reduced-motion: reduce) {
    .apb-project-route.is-active .apb-project-route__path,
    .apb-project-map-node.is-route-endpoint {
        animation: none !important;
    }
}
