:root {
    --navy: #12125f;
    --navy-deep: #05053f;
    --blue: #2a74b8;
    --red: #e2001a;
    --footer: #142a7a;
    --text: #666;
    --head: #222;
    --wrap: 1080px;
}

* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.9 var(--font-body); color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-ui); color: var(--head); line-height: 1.15; margin: 0 0 .5em; }
h6 { font: 600 11px/1.6 var(--font-ui); letter-spacing: .2em; margin: 0 0 .6em; opacity: .7; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.btn { display: inline-block; background: var(--navy); color: #fff; border: 0; padding: .55em 1.4em; font: 600 12px/1.8 var(--font-ui); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-deep); }

/* Brand loading screen */
html.is-loading { overflow: hidden; }
.preloader[hidden] { display: none; }
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; color: var(--navy); opacity: 1; transition: opacity .5s ease, visibility .5s ease; }
.preloader-brand { display: flex; flex-direction: column; align-items: center; width: min(280px, 62vw); animation: preloader-enter .8s cubic-bezier(.2, .7, .3, 1) both; }
.preloader-logo { display: block; width: 100%; height: auto; }
.preloader-navigation { position: relative; width: 100%; isolation: isolate; }
.preloader-compass { position: absolute; z-index: -1; width: 135%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(6, 75, 139, .09); border-radius: 50%; }
.preloader-compass::before { content: ""; position: absolute; inset: 9px; border: 1px dashed rgba(6, 75, 139, .11); border-radius: 50%; animation: preloader-bearing 32s linear infinite; }
.preloader-compass::after { content: ""; position: absolute; top: -4px; left: calc(50% - 3px); width: 6px; height: 8px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 50% 75%, 0 100%); }
.preloader-compass span { position: absolute; inset: -1px; border-radius: 50%; animation: preloader-bearing 8s linear infinite; }
.preloader-compass span::before { content: ""; position: absolute; top: 50%; left: -3px; width: 5px; height: 5px; border-radius: 50%; background: #064b8b; box-shadow: 0 0 0 5px rgba(6, 75, 139, .06); }
.preloader-vessel { position: relative; overflow: hidden; transform-origin: 50% 65%; animation: preloader-float 3.6s ease-in-out infinite; }
.preloader-vessel::after { content: ""; position: absolute; inset: -15%; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .8) 48%, transparent 61%); transform: translateX(-100%); animation: preloader-glint 3.6s ease-in-out infinite; pointer-events: none; }
.preloader-sea { width: 85%; height: 30px; margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.preloader-sea svg { display: block; width: 100%; height: 100%; overflow: visible; }
.preloader-sea path { stroke: #064b8b; stroke-width: 1.2; opacity: .3; animation: preloader-tide 3.6s linear infinite; }
.preloader-sea path + path { stroke: #2a74b8; opacity: .18; animation-duration: 5.4s; animation-direction: reverse; }
.preloader-track { position: relative; width: 110px; height: 2px; margin-top: 16px; overflow: hidden; background: #eceef3; border-radius: 2px; }
.preloader-track span { position: absolute; inset: 0; background: linear-gradient(90deg, #064b8b 0%, #064b8b 55%, var(--red) 100%); transform: translateX(-100%); animation: preloader-sweep 1.5s cubic-bezier(.65, 0, .35, 1) infinite; }
.preloader-label { margin-top: 17px; font: 500 10px/1.6 var(--font-ui); letter-spacing: .23em; text-transform: uppercase; color: #69758b; text-align: center; }
.preloader-signature { position: absolute; bottom: max(32px, env(safe-area-inset-bottom)); padding: 0 24px; font: 400 10px/1.6 var(--font-ui); letter-spacing: .16em; text-align: center; text-transform: uppercase; color: #8993a4; }
.preloader.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes preloader-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes preloader-sweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes preloader-float { 0%, 100% { transform: translateY(2px) rotate(-.8deg); } 50% { transform: translateY(-5px) rotate(.8deg); } }
@keyframes preloader-bearing { to { transform: rotate(360deg); } }
@keyframes preloader-glint { 0%, 15% { transform: translateX(-100%); } 65%, 100% { transform: translateX(100%); } }
@keyframes preloader-tide { to { transform: translateX(-240px); } }
@media (prefers-reduced-motion: reduce) {
    .preloader, .preloader-brand { animation: none; transition: none; }
    .preloader-track span { animation: none; transform: none; }
    .preloader-vessel, .preloader-compass::before, .preloader-compass span, .preloader-sea path { animation: none; transform: none; }
    .preloader-vessel::after { display: none; }
}

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; display: flex; justify-content: space-between; align-items: flex-start; padding-left: 24px; min-height: 60px; }
.brand img { display: block; height: 52px; width: auto; margin-top: 4px; }
.site-nav ul { display: flex; background: var(--navy); }
.site-nav > ul > li { position: relative; }
.site-nav a { display: block; color: #fff; text-decoration: none; font: 600 11px/1 var(--font-body); padding: 12px 10px; white-space: nowrap; }
.site-nav li.active > a, .site-nav a:hover { background: var(--red); }
.site-nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 160px; flex-direction: column; background: var(--navy-deep); }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { display: flex; }
.site-nav .has-sub > a::after { content: " \25BE"; }
.site-nav { margin-right: 40px; margin-top: 0; }
.site-nav > ul { margin-top: 0; }
.nav-toggle { display: none; }

/* heroes */
.hero { background-size: cover; background-position: center; color: #fff; position: relative; }
.hero-home { height: 713px; overflow: hidden; display: flex; justify-content: center; background: linear-gradient(#173c6a, #6294c1); }
.hero-home video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-logo { position: relative; width: 426px; max-width: 80%; height: fit-content; margin-top: 70px; }
.hero-band { min-height: 582px; display: grid; place-items: center; text-align: center; color: #fff; background-color: var(--blue); background-size: cover; background-position: center; position: relative; }
.hero-band::before { content: ""; position: absolute; inset: 0; background: rgba(42, 116, 184, .93); }
.hero-band > div { position: relative; }
.hero-band h2 { color: #fff; font-size: clamp(32px, 4vw, 44px); margin: 0; text-transform: uppercase; }
.hero-band p { margin: 4px 0 14px; font-size: 11px; }
.hero-band .btn { background: var(--navy); }
.hero-port { min-height: 479px; display: grid; place-items: center; background-color: var(--navy); }
.hero-port::before, .facilities::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10, 12, 80, .35), rgba(10, 12, 90, .75)); }
.hero-port > * { position: relative; }
.hero-port h1, .hero-contact h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); text-align: center; text-transform: uppercase; }
.hero-contact { background: var(--navy); min-height: 220px; display: grid; place-items: center; }

/* home */
.tiles-row { display: grid; grid-template-columns: 2fr 1fr; margin-top: -4px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; }
.tile { display: grid; place-content: center; gap: 12px; justify-items: center; min-height: 190px; color: #fff; text-decoration: none; font: 600 11px/1.4 var(--font-ui); text-align: center; }
.tile-1 { background: #e0301e; } .tile-2 { background: #3d5a80; } .tile-3 { background: #0a0a4a; } .tile-4 { background: #0b7fe0; }
.tiles-photo { width: 100%; height: 100%; object-fit: cover; }
.background { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 50px 0 60px; align-items: center; }
.background-ship { max-height: 640px; width: auto; justify-self: center; }
.background h2 { font-size: 34px; }
.port-list { margin-top: 20px; padding-left: 70px; }
.port-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.port-list .num { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font-size: 11px; }
.port-list strong { display: block; font: 600 16px/1.2 var(--font-display); color: var(--head); }
.port-list small { font-size: 10px; }
.features { background: var(--navy); color: #cfd1f5; padding: 50px 0 40px; }
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-cols h4 { color: #fff; font-size: 14px; margin-top: 18px; }
.feature-cols p { font-size: 11px; line-height: 1.8; }
.video-strip { height: 100px; margin-top: 20px; background-size: cover; background-position: center; display: grid; place-items: center; }
.play { width: 64px; height: 64px; border: 3px solid #fff; border-radius: 50%; position: relative; }
.play::after { content: ""; position: absolute; left: 24px; top: 17px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.logos { overflow: hidden; padding: 30px 0; }
.logos-track { display: flex; width: max-content; animation: logos-scroll 30s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-set { display: flex; flex-shrink: 0; align-items: center; }
.logos-set li { padding: 0 40px; }
.logos img { height: 130px; width: auto; max-width: 240px; object-fit: contain; display: block; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }

/* cta / map */
.cta { position: relative; min-height: 380px; margin: 60px 0 0; }
.cta-map { position: absolute; inset: 0 40% 0 0; border: 1px solid #eee; }
.cta-map iframe { width: 100%; height: 100%; border: 0; }
.cta-card { position: relative; margin: 40px 11% 0 auto; width: 380px; background: var(--navy); color: #fff; padding: 36px 36px 120px; font-size: 12px; line-height: 2; }
.cta-schedule { position: absolute; left: 100px; bottom: -40px; background: var(--red); color: #fff; width: 300px; padding: 40px 30px; font: 400 32px/1 var(--font-display); text-decoration: none; }
.contact-block { background: #fff; padding: 100px 0 80px; }
.contact-block .wrap { background: var(--navy-deep); color: #fff; padding: 60px 70px; width: min(var(--wrap), 100% - 32px); max-width: 740px; margin-left: max(16px, calc((100% - var(--wrap)) / 2)); }
.contact-block h2 { color: #fff; font-size: 40px; margin-bottom: 40px; }
.contact-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.contact-cols a { color: #3da0ff; text-decoration: none; }
.site-footer { background: var(--footer); color: #fff; padding-top: 50px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 500; }
.site-footer li a { text-decoration: none; font-size: 11px; line-height: 2.4; }
.site-footer .wrap { padding-bottom: 70px; }
.copy { background: #0e1d63; margin: 0; padding: 14px 24px; font-size: 10px; color: #8d97c7; text-align: left; }

/* ports */
.hero-ports { min-height: 520px; background-color: var(--navy); display: grid; align-items: center; }
.hero-ports-text { background: rgba(5, 5, 63, .8); padding: 40px; max-width: 600px; margin: 0 0 0 10%; color: #fff; }
.hero-ports-text h1 { color: #fff; }
.port-row { padding: 50px 0; }
.port-row .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.port-row.reverse .wrap { direction: rtl; }
.port-row.reverse .wrap > * { direction: ltr; }
.port-row img { width: 100%; max-height: 520px; object-fit: cover; }
.port-row h2 { font-size: 26px; text-transform: uppercase; }
.port-tabs { background: var(--navy); padding: 40px 0 90px; }
.tab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tab-cards a { display: grid; justify-items: center; gap: 12px; padding: 36px 10px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font: 700 11px/1.4 var(--font-ui); }
.port-section { padding: 40px 0; }
.underlined { font: 700 18px/1.3 var(--font-body); width: min(480px, 100%); padding-bottom: 10px; border-bottom: 3px solid var(--head); margin-bottom: 40px; }
.port-section img.full { width: 100%; }
.facilities { position: relative; min-height: 360px; background-size: cover; background-position: center; background-color: var(--navy); display: grid; align-content: center; text-align: center; color: #fff; padding: 40px 12%; margin-inline: 5%; }
.facilities > * { position: relative; }
.facilities h3 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.expenses { display: block; margin: 0 auto; max-width: 624px; }

/* history */
.hero-history { min-height: 520px; background-color: var(--navy); padding: 50px 0 110px; }
.hero-history::after { content: ""; position: absolute; inset: 0; background: rgba(10, 25, 80, .55); }
.hero-history > * { position: relative; z-index: 1; }
.hero-history-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; }
.hero-history-grid img { width: 300px; justify-self: center; }
.hero-history h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); text-transform: uppercase; }
.hero-history em { color: var(--red); font-style: normal; }
.pill-nav { display: flex; justify-content: space-around; margin-top: 40px; padding: 26px; border: 3px solid rgba(255, 255, 255, .3); border-radius: 60px; font: 600 12px var(--font-body); }
.history-card { background: linear-gradient(var(--navy), var(--navy-deep)); color: #fff; text-align: center; padding: 20px 8% 40px; border-radius: 40px; margin-top: -50px; position: relative; z-index: 2; }
.history-card h2 { color: #fff; font: 400 20px var(--font-display); }
.avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #c8a14a; margin-top: -40px; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 30px 0; font-size: 11px; line-height: 1.8; }
.timeline h3 { font: 600 12px var(--font-display); margin: 6px 0; }
.timeline li:nth-child(even) { margin-top: 30px; }
.growth { background-size: cover; background-position: center; background-color: #2a6ab0; color: #fff; text-align: center; padding: 70px 12%; border-radius: 0 0 0 200px; margin-left: 5%; }
.growth h2 { color: #fff; font: 600 20px var(--font-display); }
.growth p { font-size: 12px; }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: 60px 0; }
.framed { padding: 10px; border: 1px solid #ddd; box-shadow: 0 10px 40px rgba(0, 0, 0, .15); background: #fff; }
.directors { background: linear-gradient(var(--navy), #000020); padding: 60px 0; }
.directors .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.directors h2 { color: #fff; font-size: 24px; }
.people { display: flex; justify-content: space-around; padding: 30px; }
figure { margin: 0; text-align: center; }
figcaption { font: 12px var(--font-display); color: var(--head); margin-top: 8px; }
.people img { border-radius: 50%; width: 109px; height: 130px; object-fit: cover; }
.founders { padding: 60px 0; text-align: center; }
.founders h2 { font: 400 22px var(--font-display); }
.founder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 20px; margin-top: 30px; }
.founder-grid img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; }

/* services */
.hero-services { background: linear-gradient(var(--navy), var(--navy-deep)); padding: 50px 0; }
.hero-services-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-services img { max-width: 320px; }
.hero-services h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.services-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; padding: 60px 0; }
.services-main.reverse { grid-template-columns: 1fr 1.1fr; }
.services-main h2 { font-size: 30px; }
.checks li { position: relative; padding-left: 22px; line-height: 2; }
.checks li::before { content: "\2713"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.expertise { background: var(--navy); color: #d5d7f7; padding: 60px 0; }
.expertise h2 { color: #fff; }
.expertise strong { color: #fff; }
.clients { padding: 60px 0; }
.clients ul { columns: 3; column-gap: 30px; }
.clients li { break-inside: avoid; padding: 2px 0; }

/* contact */
.contact-page { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding: 60px 0; }
.offices { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; font-weight: 600; }
.map { width: 100%; height: 360px; border: 0; }
form label { display: block; font-weight: 600; margin-bottom: 14px; }
form input, form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 1px solid #ccc; font: inherit; }
.error { display: block; color: var(--red); font-size: 12px; margin: -8px 0 12px; }
.notice { background: #e8f6ec; color: #1f6b3a; padding: 10px 14px; }

@media (max-width: 980px) {
    .site-header { flex-wrap: wrap; padding: 0 0 0 16px; }
    .nav-toggle { display: block; background: none; border: 0; font-size: 28px; padding: 10px 16px; color: var(--navy); }
    .site-nav { display: none; width: 100%; margin: 0; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; }
    .site-nav .sub { position: static; display: flex; }
    .site-nav a { padding: 14px 16px; }
    .tiles-row, .background, .port-row .wrap, .about, .directors .wrap, .hero-history-grid, .hero-services-grid, .services-main, .services-main.reverse, .contact-page, .feature-cols, .contact-cols { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .founder-grid { grid-template-columns: 1fr 1fr; }
    .clients ul { columns: 1; }
    .cta-map { position: static; height: 320px; }
    .cta-card { margin: 0; width: auto; padding-bottom: 130px; }
    .cta-schedule { left: 30px; width: 70%; }
    .contact-block .wrap { padding: 40px 24px; margin-inline: 16px; }
    .hero-ports-text { margin: 0 16px; }
}

/* Scroll animations (replicas of the Divi effects of the original site) */
.js [data-reveal] {
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transition-delay: var(--d, 0ms);
}
.js [data-reveal="slide"] { transform: scaleX(.5); }
.js [data-reveal="zoom"] { transform: scale(.5); }
.js [data-reveal="zoom-soft"] { transform: scale(.98); }
.js [data-reveal="zoom-top"] { transform: scale(.5); transform-origin: top; }
.js [data-reveal="zoom-right"] { transform: scale(.98); transform-origin: right; }
.js [data-reveal="slide-right"] { transform: translateX(-50%); }
.js [data-reveal="slide-left"] { transform: translateX(50%); }
.js [data-reveal="from-left"] { transform: translate3d(-4%, 0, 0); }
.js [data-reveal="from-bottom"] { transform: translate3d(0, 100%, 0); }
.js [data-reveal="fade-top"] { transform: translate3d(0, -100%, 0); transition-duration: 1s; transition-timing-function: cubic-bezier(.77, 0, .175, 1); }
.js [data-reveal="rotate-y"] { transform: perspective(2000px) rotateY(-45deg); }
.js [data-reveal="rotate-x"] { transform: perspective(2000px) rotateX(-45deg); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

[data-parallax-y] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    [data-parallax-y] { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .logos-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .logos-set[aria-hidden="true"] { display: none; }
}
