@font-face {
    font-family: "Barlow Condensed";
    src: url("fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-display: swap;
}

.departure {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: #1a2432;
}

.departure-media,
.departure-media > *,
.departure::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.departure-media { z-index: -2; overflow: hidden; }
.departure-media > * { object-fit: cover; object-position: 57% 53%; }
.departure-media video { opacity: 0; }
.departure-media video.is-visible { opacity: 1; }

.departure::before {
    content: "";
    z-index: -1;
    background:
        linear-gradient(0deg, #0a121ee8, transparent 27%),
        linear-gradient(90deg, #0b1323f2 0%, #101b2ade 26%, #131d2b83 54%, #0d172719 85%);
}

.departure-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(36rem, calc(100vh - 112px), 59rem);
    min-height: clamp(36rem, calc(100svh - 112px), 59rem);
}

.departure-copy {
    margin-block: auto;
    padding-block: clamp(3.3rem, 7vh, 6rem) 3rem;
    max-inline-size: min(60%, 44rem);
    overflow-wrap: anywhere;
}

.cargo-kicker {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #4b5363;
    font-size: .88rem;
    font-weight: 720;
}
:lang(en) .cargo-kicker {
    text-transform: uppercase;
    letter-spacing: .115em;
    font-size: .79rem;
}
.cargo-kicker > span {
    width: 2rem;
    height: .23rem;
    border-radius: 2px;
    background: var(--orange);
}
.departure .cargo-kicker { color: #fff; }
.departure h1 {
    margin-block: .65rem .9rem;
    font-size: clamp(3.1rem, 6.5vw, 6.7rem);
    font-weight: 900;
    line-height: 1.27;
}
.departure h1 span { display: block; color: #ffad5e; }
:lang(en) .departure h1 {
    font: 800 clamp(4.5rem, 8.9vw, 8.9rem)/.89 "Barlow Condensed", Impact, sans-serif;
    letter-spacing: -.025em;
    text-transform: uppercase;
}
.departure-description {
    max-inline-size: 42ch;
    color: #f4f5f8;
    line-height: 1.62;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    text-shadow: 0 1px 8px #050c1590;
}
.departure-actions { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-block-start: 1.35rem; }
.departure-primary, .departure-secondary, .guide-link {
    display: inline-flex;
    min-block-size: 46px;
    align-items: center;
    font-weight: 700;
}
.departure-primary {
    border: 1.5px solid transparent;
    color: var(--navy);
    background: var(--orange);
    padding: .55rem 1.45rem;
    border-radius: 99px;
}
.departure-primary:hover { background: var(--orange-hover); }
.departure-secondary, .guide-link {
    text-decoration: underline;
    text-underline-offset: .35em;
    text-decoration-thickness: 2px;
}
.guide-link { color: var(--navy); text-decoration-color: #b4bac8; }
.departure-secondary { color: #fff; text-decoration-color: #ffffff80; }
.departure-secondary:hover, .guide-link:hover { text-decoration-color: var(--orange); }
.departure :focus-visible { outline-color: #ffb366; }
.departure-rail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #ffffff60;
    padding-block: .85rem 1.1rem;
}
.airline-ticket {
    color: #fff;
    display: inline-flex;
    align-items: center;
    min-inline-size: 0;
    gap: .85rem;
}
.ticket-mark {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    padding: .5rem .7rem;
    background: #fff;
    border-radius: .32rem;
}
.ticket-mark img { width: clamp(60px, 6vw, 90px); height: auto; }
.ticket-caption { display: grid; line-height: 1.35; }
.ticket-caption strong { font: 750 .86rem/1.5 Arial,sans-serif; letter-spacing: .11em; }
.ticket-caption span { font-size: .84rem; color: #e0e6ed; }
.airline-ticket:hover .ticket-caption strong { text-decoration: underline; text-underline-offset: .22em; }
.film-control {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
    padding: .3rem;
    min-height: 44px;
    color: #fff;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: .87rem;
}
.film-control[hidden] { display: none; }
.film-control-icon {
    display: grid;
    place-items: center;
    border: 1px solid #fffc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}
.film-control-icon::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border-block: 5px solid transparent;
    border-left: 8px solid currentColor;
}
.film-control[data-playing="true"] .film-control-icon::before {
    width: 9px;
    height: 11px;
    margin: 0;
    border: solid currentColor;
    border-width: 0 3px;
    box-sizing: border-box;
}
.film-control:hover .film-control-icon { background: #ffffff30; }

@media (max-width: 700px) {
    .departure-layout { min-height: clamp(32rem, calc(100svh - 98px), 47rem); }
    .departure::before {
        background: linear-gradient(0deg, #0b1324f5 0%, #101a2be8 18%, #101a2bb8 51%, #101a2b18 84%);
    }
    .departure-copy {
        max-inline-size: 34rem;
        margin-block: auto 0;
        padding-block: clamp(7rem, 24svh, 13rem) 1.7rem;
    }
    .departure h1 { margin-block: .6rem; font-size: clamp(2.7rem, 10.1vw, 4.2rem); }
    :lang(en) .departure h1 { font-size: clamp(3.25rem, 11.6vw, 5rem); }
    .departure-rail { gap: .45rem; padding-block: .65rem; }
    .film-control-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .film-control-icon { width: 40px; height: 40px; }
}

/* Keep the copy on the shaded side of the footage in every language. */
@media (min-width: 701px) {
    [dir="rtl"] .departure-copy { align-self: flex-end; }
}

/* Keep the aircraft and the handover above the text on portrait screens. */
@media (max-width: 700px) and (orientation: portrait) {
    .departure-media { background: #111c2c; }
    .departure.film-visible .departure-media > img { opacity: 0; }
    .departure-media [data-film-poster="flight"],
    .departure-media video[data-film-scene="flight"],
    .departure-media video[data-film-scene="delivery"] {
        height: 66%;
        mask-image: linear-gradient(to bottom, black 78%, transparent);
    }
    .departure-media [data-film-poster="flight"] { height: 60%; object-position: 28% 58%; }
    .departure-media video[data-film-scene="flight"] { object-position: 68% 58%; }
}

.cargo-services { padding-block: clamp(2.7rem, 5.3vw, 5.2rem); }
.cargo-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .75fr);
    align-items: end;
    gap: 2rem;
    margin-block-end: 1.65rem;
}
.cargo-services h2, .dispatch-guide h2 {
    color: var(--navy);
    margin-block-start: .55rem;
    font-weight: 780;
    font-size: clamp(2rem, 3.35vw, 3.5rem);
    text-wrap: balance;
    line-height: 1.26;
}
:lang(en) .cargo-services h2, :lang(en) .dispatch-guide h2 { letter-spacing: -.043em; }
.cargo-section-head > p { color: var(--muted); max-width: 43ch; }
.parcel-feature {
    background: #ffdfbb;
    color: var(--navy);
}
.parcel-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
    padding-block: clamp(2rem, 4.6vw, 4.4rem);
}
.parcel-feature-copy { max-inline-size: 32rem; }
.parcel-feature-copy h2, .home-agency-copy h2 {
    margin-block: .65rem .85rem;
    font-size: clamp(2rem, 3.7vw, 3.85rem);
    line-height: 1.18;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
:lang(en) :is(.parcel-feature-copy, .home-agency-copy) h2 { letter-spacing: -.04em; }
[dir="rtl"] :is(.parcel-feature-copy, .home-agency-copy) h2 { line-height: 1.45; }
.parcel-feature-copy > p:not(.cargo-kicker) { color: #484c58; }
.parcel-feature-image {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 1.85;
    object-fit: cover;
    border-radius: .8rem;
}
.feature-action {
    display: inline-flex;
    gap: .8rem;
    align-items: center;
    min-block-size: 46px;
    padding-inline: 1.2rem;
    margin-block-start: 1.25rem;
    border-radius: 1.8rem;
    font-weight: 700;
    background: var(--navy);
    color: white;
}
.feature-action:hover { background: #353c63; }
.home-agency { color: white; background: var(--deep); }
.home-agency-layout {
    display: grid;
    grid-template-columns: minmax(11rem, .68fr) minmax(0, 1.4fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    padding-block: clamp(2.75rem, 5.5vw, 5.6rem);
}
.home-agency-logo {
    display: grid;
    justify-items: start;
    gap: 1rem;
    padding-inline-end: clamp(1rem, 4vw, 4rem);
    border-inline-end: 1px solid #63677d;
}
.home-agency-logo img {
    inline-size: min(100%, 13rem);
    block-size: auto;
    padding: .8rem 1.4rem;
    background: white;
    border-radius: .45rem;
}
.home-agency-logo bdi { font: 700 .83rem/1.4 Arial, sans-serif; letter-spacing: .12em; color: #ffba75; }
.home-agency-copy { max-inline-size: 45rem; }
.home-agency-copy h2 { margin-block-start: 0; }
.home-agency-copy p { max-inline-size: 60ch; color: #e3e5eb; }
.home-agency .feature-action { color: var(--navy); background: white; }
.home-agency .feature-action:hover { background: #ffdbb7; }
.dispatch-guide {
    background: #f3f5f7;
    border-block-start: 1px solid #dde2e7;
    padding-block: clamp(2.75rem, 5vw, 5rem);
}
.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 8vw, 7rem);
    align-items: start;
}
.guide-link { margin-block-start: .75rem; }
.guide-copy { align-self: center; min-inline-size: 0; }
.guide-copy .guide-steps { margin-block-start: 1.4rem; }
.office-globe {
    margin: 0;
    min-inline-size: 0;
    overflow: hidden;
    border: 1px solid #263950;
    border-radius: 1.15rem;
    background: #14263c;
    color: white;
}
.office-globe-stage {
    position: relative;
    height: clamp(240px, 26vw, 345px);
    background:
        radial-gradient(ellipse at 50% 38%, #385776 0%, #243b55 38%, transparent 72%),
        linear-gradient(145deg, #1d314c, #101f35);
}
.office-globe-stage canvas, .office-globe-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}
.office-globe-stage canvas { opacity: 0; }
.office-globe-stage.has-webgl canvas { opacity: 1; }
.office-globe-stage.has-webgl .office-globe-fallback { visibility: hidden; }
.office-globe figcaption {
    display: flex;
    align-items: center;
    gap: .9rem;
    border-block-start: 1px solid #4f647d;
    padding: 1.05rem clamp(1rem, 2.3vw, 1.8rem);
}
.office-globe-pin {
    color: #ffa94e;
    font-size: 1.35rem;
    flex-shrink: 0;
    line-height: 1;
}
.office-globe figcaption a { font-weight: 750; }
.office-globe figcaption a:hover { text-decoration: underline; }
.office-globe figcaption a:focus-visible { outline-color: #ffb76b; }
.office-globe-address { display: block; color: #d8e5ef; font-size: .92rem; }
.guide-steps { border-block-start: 1px solid #b7c1ca; }
.guide-steps details { border-block-end: 1px solid #c7cfd6; }
.guide-steps summary {
    list-style: none;
    display: grid;
    align-items: baseline;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    padding-block: 1rem;
    color: var(--navy);
    font-weight: 680;
}
.guide-steps summary::-webkit-details-marker { display: none; }
.guide-steps summary::after { content: "+"; font: 400 1.35rem/1 Arial,sans-serif; }
.guide-steps details[open] summary::after { content: "−"; }
.guide-steps details p { color: #4d5766; padding-inline-start: 2.3rem; padding-block-end: 1rem; }
.step-index { font: 600 .83rem/1.5 ui-monospace,monospace; color: #934309; }

@media(max-width:850px) {
    .cargo-section-head { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); }
}
@media(max-width:690px) {
    .cargo-section-head, .guide-layout, .parcel-feature-layout, .home-agency-layout { grid-template-columns: minmax(0,1fr); }
    .cargo-section-head { gap: .8rem; }
    .parcel-feature-layout, .home-agency-layout { gap: 1.6rem; }
    .parcel-feature-image { order: -1; }
    .home-agency-logo { border-inline-end: 0; padding-inline-end: 0; }
    .home-agency-logo img { inline-size: 9rem; }
    .guide-layout { gap: 1.3rem; }
}
@media(prefers-reduced-motion:reduce) {
    .departure-primary { transition: none; }
}

