/* Reference-led layout: an integrated port scene and connected diagonal strips. */
:root { --section-space: clamp(48px, 4.6vw, 72px); }
h2 { font-size: clamp(36px, 4vw, 58px); }
.section-heading { margin-bottom: 32px; gap: 32px; }
.section-kicker { margin-bottom: 17px; }


/* Ship-only hero. Both X layers share one silhouette, size, and color;
   revealing the front arm before the crossing keeps the shape connected. */
.hero { padding-block: 22px 58px; }
.hero-grid-pattern { display: none; }
.hero-inner { grid-template-columns: .97fr 1.03fr; min-height: 570px; gap: 25px; }
.hero-copy { padding-block: 28px 24px; }
.hero h1 { font-size: clamp(76px, 7.5vw, 108px); line-height: 1.17; letter-spacing: -5px; margin-bottom: 18px; }
.eyebrow { margin-bottom: 19px; }
.hero-subtitle { font-size: 22px; line-height: 1.8; margin-bottom: 13px; }
.hero-description { font-size: 14px; max-width: 470px; }
.hero-actions { margin-top: 26px; gap: 29px; }
.hero-footnote { margin-top: 25px; }
/* Hero copy: a tidy stack. Brand chip, two-line headline, one-line promise, then actions. */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 8px 20px 8px 16px; background: #eaf0ff; color: var(--blue); clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .18em; }
.eyebrow-mark { width: 18px; height: 3px; background: var(--blue); flex-shrink: 0; }
.eyebrow-text { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-divider { width: 5px; height: 5px; padding: 0; background: #9aa3b2; transform: rotate(45deg); }
.hero h1 { letter-spacing: -2px; }
.hero-subtitle { max-width: none; white-space: nowrap; }
.hero-description { max-width: 470px; text-wrap: balance; }
@media (max-width:1023px) { .hero-subtitle { white-space: normal; text-wrap: balance; } }
.hero-visual { width: calc(100% + 78px); min-height: 570px; transform: none; margin-inline-start: -4px; }
.hero-orbit { display: none; }
.hero-photo-backdrop { display: none; }
/* Enlarge toward the left edge while keeping the bow clear of the copy. */
.hero-ship {
  width: 155%;
  left: -45%;
  top: -27px;
  z-index: 2;
  filter: drop-shadow(0 14px 14px rgb(7 21 46 / 10%));
}
/* The X is traced from the mark (same proportions, cuts and colours) and sits behind the ship;
   the blue lower arm runs on past the hull and under the ticker. */
.hero-x { position: absolute; left: -10%; top: -70px; width: 124%; height: auto; aspect-ratio: 640 / 459; overflow: visible; pointer-events: none; }
.hero-x--back { z-index: 1; }
/* A little life. The ship image is split in two (scripts/split-ship.py): the hull rides a slow swell
   while the wave stays put on top of it. The hull carries extra paint below the waterline and only ever
   lifts within the solid water, so no gap opens and no hull shows below the wave. One sheen sweeps the X and the ship together. */
.hero-ship-hull,.hero-ship-shine { transform-origin: 4% 84%; animation: hero-swell 6s ease-in-out infinite; }
.hero-ship-wave { z-index: 3; filter: none; pointer-events: none; }
.hero-ship-shine { z-index: 2; aspect-ratio: 1536 / 1024; height: auto; filter: none; overflow: hidden; pointer-events: none; -webkit-mask: var(--hull) center / 100% 100% no-repeat; mask: var(--hull) center / 100% 100% no-repeat; }
.hero-ship-shine span { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 34%) 50%, transparent 62%); transform: translateX(-70%); animation: hero-ship-sheen 7s ease-in-out infinite; }
.hx-sheen { animation: hero-sheen 7s ease-in-out infinite; }
/* Pitching about the stern's waterline: the stern stays seated, the bow lifts ~13 image rows,
   always less than the hidden hull below the cut. */
@keyframes hero-swell { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-.6deg); } }
@keyframes hero-sheen { 0%,55% { transform: translateX(0); } 100% { transform: translateX(760px); } }
@keyframes hero-ship-sheen { 0%,55% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
@media (prefers-reduced-motion: reduce) { .hero-ship-hull,.hero-ship-shine,.hero-ship-shine span,.hx-sheen { animation: none; } .hero-ship-shine { display: none; } }
.route-coordinate { top: 28px; left: auto; right: 30px; z-index: 5; }
.hero-visual-label { display: none; }
.hero-bottom-label { display: none; }  /* the blue arm now runs through this corner */
.visual-index { display: none; }
.hero-bottom { padding-top: 7px; }
.hero-bottom-label { color: #8b97aa; text-shadow: none; }
.brand-ticker { position: relative; z-index: 2; margin-block: -34px 0; padding-block: 11px; transform: rotate(-1.7deg); }  /* overlaps the hero so the blue arm runs in under it */

/* Three pieces from the reference: copy / slanted photograph / margin notes. */
.services h2 > span + span,.offices h2 > span + span { margin-inline-start: .16em; }

/* Eight services in a tight three-row diagonal composition, in reading order. */
.services { padding-block: 28px 40px; background: var(--paper); }
.services .section-heading { align-items: center; margin-bottom: 28px; }
.services h2 { font-size: 51px; }
.services h2 br { display: none; }
.services h2 > span + span::before { content: none; }
.services .section-intro { font-size: 13px; max-width: 320px; }
.services-mosaic { grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: 250px 220px 220px; gap: 10px; margin-inline: 22px; }
.service-card { margin-block: 0; margin-inline: -22px; width: calc(100% + 44px); min-height: 0; padding: 24px 56px 24px 36px; height: 100%; clip-path: polygon(44px 0,100% 0,calc(100% - 44px) 100%,0 100%); }
.service-card:hover { transform: translateY(-3px); }
.service-card--trade { grid-column: 1 / 6; grid-row: 1; background: var(--blue); }
.service-card--customs { grid-column: 6 / 10; grid-row: 1; background: linear-gradient(120deg,#f4f6fa,#d5dce6); color: var(--navy); }
.service-card--containers { grid-column: 10 / 13; grid-row: 1; }
.service-card--shipping { grid-column: 1 / 6; grid-row: 2; }
.service-card--transport { grid-column: 6 / 10; grid-row: 2; background: #e9eef5; }
.service-card--consulting { grid-column: 10 / 13; grid-row: 2 / 4; background: linear-gradient(125deg,#f0f3f8,#d8e0ec); }
.service-card--logistics { grid-column: 1 / 6; grid-row: 3; background: var(--blue); color: #fff; }
.service-card--ports { grid-column: 6 / 10; grid-row: 3; background: #eef2f9; color: var(--navy); }
.service-category { display: none; }
.service-number { position: static; display: block; font: 800 36px/1 Arial,sans-serif; -webkit-text-stroke: 0; color: inherit; letter-spacing: -.06em; margin-bottom: 11px; }
.service-content { margin-top: 0; max-width: 285px; }
.service-title { font-size: 26px; line-height: 1.5; letter-spacing: -.8px; }
.service-description { font-size: 11px; line-height: 1.85; margin-top: 9px; padding-inline-end: 14px; max-width: 240px; }
.service-open { bottom: 22px; left: 24px; width: 30px; height: 30px; font-size: 12px; }
.service-image { object-position: center; }
.service-card--trade .service-image { opacity: .8; object-position: 70% center; }
.service-card--trade::before { background: linear-gradient(270deg,#0754ff 9%,rgb(7 84 255 / 94%) 46%,rgb(7 84 255 / 8%) 100%) !important; }
.service-card--containers .service-title { font-size: 24px; }
.service-card--containers::before { background: linear-gradient(270deg,rgb(7 21 46 / 94%),rgb(7 21 46 / 75%) 52%,rgb(7 21 46 / 20%)) !important; }
.service-card--transport::before { background: linear-gradient(270deg,rgb(7 21 46 / 94%),rgb(7 21 46 / 75%) 55%,rgb(7 21 46 / 10%)) !important; }
.service-card--customs .service-description,.service-card--ports .service-description { color: #566680; }
.service-card--logistics .service-description { color: rgb(255 255 255 / 80%); }
.service-card--customs .service-open,.service-card--ports .service-open,.service-card--consulting .service-open { background: var(--navy); border-color: var(--navy); color: #fff; }
.service-card--logistics .service-open { background: transparent; color: #fff; border-color: #fff; }
.service-card--customs .service-art-icon,.service-card--ports .service-art-icon { font-size: 110px; color: rgb(7 21 46 / 6%); left: 20px; bottom: 15px; }
.service-card--consulting { display: flex; flex-direction: column; justify-content: center; padding-inline: 56px 36px; }
.service-card--consulting .service-title { font-size: 25px; }
.service-card--consulting .service-content { max-width: 205px; }
.service-card--consulting .service-description { padding-inline-end: 0; }
.services-tail { margin-top: 22px; }
.services-tail p,.services-tail .text-link { font-size: 10px; }

/* A visible port landscape directly below services, with the six route nodes. */
.network { padding-block: 30px 0; overflow: clip; }
.network-shape { bottom: 65px; background: var(--navy); clip-path: polygon(0 18px,36% 18px,calc(36% + 18px) 0,100% 0,100% 100%,0 100%); }
.network::before { display: none; }
.network-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 36px; align-items: center; min-height: 355px; }
.network-copy { padding-block: 25px; }
.network-copy .section-kicker { font-size: 10px; margin-bottom: 17px; }
.network h2 { font-size: clamp(37px,3.8vw,55px); line-height: 1.48; letter-spacing: -2px; }
.network-summary { font-size: 13px; margin-top: 15px; color: #d8e4f9; }
.network .port-detail { height: auto; clip-path: none; padding: 15px 0 0; overflow: visible; margin-top: 15px; border-top: 1px solid #34415a; min-height: 96px; }
.network .port-detail-code { position: static; display: block; color: #85adf9; font-size: 9px; letter-spacing: .12em; }
.network .port-detail h3 { font-size: 13px; margin-block: 6px 4px; }
.network .port-detail > p { font-size: 10px; line-height: 1.85; color: #9fb1cd; max-width: 410px; }
.network-map { min-height: 355px; position: relative; isolation: isolate; margin-inline-end: -55px; overflow: hidden; }
.network-map-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 28% center; z-index: -3; }
.network-map-tint { position: absolute; inset: 0; z-index: -2; background: linear-gradient(270deg,#07152e 0%,rgb(7 21 46 / 50%) 22%,rgb(7 21 46 / 25%) 75%,rgb(7 21 46 / 40%)); }
.network-route-lines { position: absolute; top: 24px; left: 20px; width: calc(100% - 30px); height: calc(100% - 48px); z-index: -1; }
.network-map .port-tabs { position: absolute; inset: 40px 35px 38px 90px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: 1fr 1fr; gap: 13px; }
.network-map .port-tab { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; border: 0; color: #e8f0ff; font-size: 15px; font-weight: 800; padding: 10px 0; }
.port-node { width: 10px; height: 10px; border: 2px solid #fff; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 3px rgb(7 84 255 / 30%); }
.network-map .port-tab.is-active { color: #fff; }
.network-map .port-tab.is-active .port-node { box-shadow: 0 0 0 6px rgb(135 181 255 / 30%); background: #fff; border-color: var(--blue); }
.network-map .port-tab:hover { color: #a9cbff; }
.network-x { position: absolute; top: -22px; bottom: -22px; left: -127px; width: 285px; z-index: 1; background: linear-gradient(130deg,#0754ff 0 20%,#fff 25% 42%,#0754ff 48% 61%,#fff 68%); clip-path: polygon(0 0,20% 0,100% 100%,80% 100%,0 0,0 100%,20% 100%,100% 0,80% 0,0 100%); pointer-events: none; }
.network-map .port-photo-note { bottom: 8px; inset-inline-start: auto; left: 100px; color: #c0cfe2; font-size: 7px; }
.global-network { position: relative; margin: 0; padding-block: 16px; min-height: 65px; border: 0; background: var(--paper); color: var(--navy); justify-content: center; gap: 28px; }
.global-network .small-label { color: var(--blue); font-size: 12px; margin: 0; }
.market-list { gap: 24px; }
.market-list li { font-size: 12px; color: #3c4c65; gap: 8px; }
.market-dot { width: 3px; height: 3px; border: 0; background: #94a5c2; }

/* Bring the remaining sections into the same more concise rhythm. */
.why { padding-block: 25px; }
.why > .container { display: block; }
.why-intro { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.trust-lines { display: flex; justify-content: center; gap: 34px; padding: 0; }
.trust-lines article,.trust-lines article:first-child { display: flex; padding: 0; border: 0; align-items: center; gap: 12px; }
.trust-lines article::before { content: ''; width: 4px; height: 4px; background: var(--blue); border-radius: 50%; }
.trust-lines h3 { font-size: 14px; font-weight: 600; }
.trust-lines p,.trust-index { display: none; }
.offices { padding-block: 46px 58px; }
.offices .section-heading { margin-bottom: 30px; }
.offices h2 { font-size: 49px; }
.offices h2 br { display: none; }
.offices h2 span + span::before { content: none; }
.offices .section-intro { font-size: 13px; }
.office-image { height: 240px; }
.office-slide:nth-child(2) { padding-top: 18px; }
.office-slide:nth-child(3) { padding-top: 36px; }
.contact { padding-block: 54px 60px; }
.contact-inner { min-height: 345px; }
.contact-copy h2 { font-size: 54px; }
.contact-sculpture { width: 310px; height: 360px; }
.contact-orb { top: 140px; left: 50px; width: 80px; height: 80px; }
.contact-direct { margin-top: 90px; }

html[dir="ltr"] .hero h1 { font-size: clamp(60px,6.4vw,92px); }
html[dir="ltr"] .service-title { font-size: 24px; }
html[dir="ltr"] .service-number { left: auto; right: auto; }
html[dir="ltr"] .hero-visual { width: calc(100% + 20px); }
html[dir="ltr"] .network-map { margin-inline-end: 0; }
html[dir="ltr"] .service-card--consulting .service-title { font-size: 22px; }

@media (max-width:1199px) {
  .hero h1 { font-size: 92px; }
  .hero-subtitle { font-size: 20px; }
  .hero-visual { transform: scale(.9); transform-origin: center center; width: calc(100% + 70px); margin-inline-start: -25px; }
  .service-card { padding-inline: 50px 30px; }
  .service-title { font-size: 24px; }
  .service-card--containers .service-title,.service-card--consulting .service-title { font-size: 22px; }
  .service-open { left: 20px; bottom: 17px; }
  .network h2 { font-size: 43px; }
  .network-map .port-tab { font-size: 13px; }
}
@media (max-width:1023px) {
  :root { --section-space: 56px; }
  .hero-inner { min-height: 530px; }
  .hero-visual { min-height: 530px; transform: scale(.8); width: 125%; margin-inline-start: -45px; }
  .hero h1 { font-size: 79px; }
  .hero-subtitle { font-size: 18px; }
  .hero-actions { gap: 24px; }
  .hero-actions .text-link { font-size: 11px; }
  .services { padding-top: 32px; }
  .services h2 { font-size: 42px; }
  .services .section-heading { margin-bottom: 25px; }
  .services-mosaic { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; gap: 12px; margin-inline: 12px; }
  .service-card { grid-column: auto; grid-row: auto; width: calc(100% + 24px); min-height: 245px; height: auto; margin-block: 0; margin-inline: -12px; padding: 26px 50px 26px 30px; }
  .service-card--consulting { display: block; }
  .service-card--consulting .service-content { max-width: none; }
  .service-title,.service-card--containers .service-title,.service-card--consulting .service-title { font-size: 25px; }
  .service-description { font-size: 12px; max-width: 250px; }
  .service-card--logistics .service-description { color: rgb(255 255 255 / 80%); }
  .network-layout { gap: 20px; grid-template-columns: 1fr 1fr; }
  .network h2 { font-size: 35px; letter-spacing: -1px; }
  .network-summary { font-size: 11px; }
  .network-map { min-height: 370px; margin-inline-end: -28px; }
  .network-map .port-tabs { inset: 45px 10px 40px 33px; gap: 14px 7px; }
  .network-map .port-tab { font-size: 12px; }
  .network-x { width: 230px; left: -165px; }
  .network-route-lines { left: 0; width: 100%; }
  .global-network { gap: 23px; }
  .global-network .small-label { font-size: 11px; }
  .market-list { gap: 20px; }
  .trust-lines { gap: 24px; }
  .trust-lines h3 { font-size: 12px; }
  .offices h2 { font-size: 42px; }
  .office-image { height: 230px; }
  .contact-copy h2 { font-size: 46px; }
}
@media (max-width:767px) {
  :root { --section-space: 48px; }
  html { scroll-padding-top: 98px; }
  .hero { padding-top: 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 20px 0; }
  .hero h1 { font-size: clamp(74px,15vw,95px); line-height: 1.15; }
  .hero-subtitle { font-size: 19px; }
  .hero-description { font-size: 13px; }
  .hero-actions { margin-top: 24px; }
  .hero-footnote { margin-top: 24px; }
  .hero-visual { width: 100%; min-height: 425px; transform: none; margin: 22px auto 0; max-width: 540px; }
  .hero-ship { top: 76px; width: 125%; left: -12%; }
  .hero-visual-label { bottom: 4px; left: 7px; }
  .route-coordinate { top: 13px; left: auto; right: 0; }
  .hero-bottom { padding-top: 12px; }
  .brand-ticker { margin-top: -34px; }
  .services { padding-block: 29px 36px; }
  .services .section-heading { align-items: flex-start; gap: 17px; margin-bottom: 22px; }
  .services h2 { font-size: 38px; }
  .services .section-intro { font-size: 12px; }
  .services-mosaic { grid-template-columns: 1fr; gap: 10px; margin-inline: 0; }
  .service-card { grid-column: auto; grid-row: auto; width: 100%; margin: 0; min-height: 228px; padding: 25px 40px 25px 32px; clip-path: polygon(30px 0,100% 0,calc(100% - 30px) 100%,0 100%); }
  .service-title,.service-card--containers .service-title,.service-card--consulting .service-title { font-size: 27px; }
  .service-number { font-size: 32px; margin-bottom: 10px; }
  .service-description { margin-top: 9px; font-size: 12px; max-width: 250px; padding-inline-end: 12px; }
  .service-open { bottom: 20px; left: 22px; width: 31px; height: 31px; }
  .service-card--consulting { min-height: 230px; }
  .service-card--ports { min-height: 210px; }
  .services-tail { margin-top: 22px; }
  .services-tail p { font-size: 10px; }
  .services-tail .text-link { font-size: 11px; }
  .network { padding-top: 25px; }
  .network-shape { bottom: 112px; clip-path: polygon(0 13px,40% 13px,calc(40% + 13px) 0,100% 0,100% 100%,0 100%); }
  .network-layout { grid-template-columns: 1fr; gap: 12px; }
  .network-copy { padding-block: 24px 0; }
  .network-copy .section-kicker { margin-bottom: 15px; font-size: 9px; }
  .network h2 { font-size: clamp(32px,7.2vw,44px); line-height: 1.5; }
  .network-summary { font-size: 12px; margin-top: 14px; }
  .network .port-detail { padding-top: 12px; margin-top: 13px; min-height: 104px; }
  .network .port-detail > p { font-size: 10px; }
  .network-map { min-height: 270px; margin-inline: -24px; }
  .network-map .port-tabs { inset: 12px 35px 23px 42px; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,1fr); gap: 5px 26px; }
  .network-map .port-tab { font-size: 14px; gap: 8px; padding: 5px 0; }
  .network-route-lines { display: none; }
  .network-x { width: 190px; left: -151px; }
  .network-map .port-photo-note { bottom: 4px; left: 45px; font-size: 6px; }
  .global-network { flex-direction: column; gap: 13px; min-height: 112px; margin-inline: -24px; padding: 15px 20px; }
  .market-list { justify-content: center; gap: 20px; margin: 0; }
  .market-list li { font-size: 11px; }
  .global-network .small-label { font-size: 11px; }
  .why { padding-block: 23px; }
  .trust-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 15px; }
  .trust-lines article { gap: 10px; }
  .trust-lines h3 { font-size: 12px; }
  .offices { padding-block: 34px 42px; }
  .offices h2 { font-size: 38px; }
  .offices .section-heading { margin-bottom: 24px; gap: 20px; }
  .offices .section-intro { font-size: 12px; }
  .office-slide:nth-child(2),.office-slide:nth-child(3) { padding-top: 0; }
  .office-image { height: 255px; }
  .contact { padding-block: 43px 42px; }
  .contact-inner { min-height: 0; gap: 20px; }
  .contact-copy h2 { font-size: 43px; }
  .contact-direct { margin-top: 15px; }
  .contact-sculpture { width: 245px; height: 310px; top: auto; bottom: -20px; }
  .contact-orb { top: 125px; left: 40px; width: 70px; height: 70px; }
  html[dir="ltr"] .hero h1 { font-size: clamp(60px,13vw,82px); }
  html[dir="ltr"] .hero-visual { width: 100%; }
  html[dir="ltr"] .service-title,html[dir="ltr"] .service-card--consulting .service-title { font-size: 25px; }
  html[dir="ltr"] .network-map { margin-inline: -24px; }
}
@media (max-width:389px) {
  .hero h1 { font-size: 73px; }
  .hero-subtitle { font-size: 17px; }
  .hero-visual { min-height: 365px; }
  .hero-ship { top: 68px; }
  .services h2 { font-size: 34px; }
  .service-title,.service-card--containers .service-title,.service-card--consulting .service-title { font-size: 25px; }
  .network-map { margin-inline: -20px; }
  .global-network { margin-inline: -20px; }
  .network h2 { font-size: 31px; }
  .market-list { gap: 13px; }
  .offices h2 { font-size: 34px; }
}

/* Place the X so its blue lower arm always runs in under the ticker (measured per width). */
@media (max-width:1319px) { .hero-x { left: 0; } }
@media (max-width:1199px) { .hero-x { top: 70px; left: 14%; width: 100%; } }
@media (max-width:1023px) { .hero-x { top: 170px; left: 14%; } }
@media (max-width:767px) { .hero-x { top: 80px; left: 4%; width: 114%; } }
