@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* DeepSea homepage. Bright, airy pages after a real-footage hero (structure after terminal-industries.com). */

:root {
  --ocean: #012F8F; --ocean-2: #012F8F; --ocean-deep: #021F62; --sea: #1C70C8; --orange: #F26B21;
  --ink: #0B1B33; --text: rgba(11, 27, 51, .7); --muted: #7A8597; --line: #E3E8EF; --paper: #FFFFFF; --soft: #F2F5F9; --foam: #F7F9FC;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif; --head: "Montserrat", "Segoe UI", sans-serif; --ui: "Montserrat", "Segoe UI", sans-serif;
  --mono: "Montserrat", "Segoe UI", sans-serif;
  --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px); --ease: cubic-bezier(.22, .7, .15, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 18px/1.4 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1.06; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.mono { font: 600 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #7F7F7F; }
.h2 { font-size: clamp(30px, 3.4vw, 48px); }
.h2 .soft { color: #C3CAD5; }
.h2 .accent { color: var(--sea); }
.lede { font-size: clamp(16px, 1.25vw, 18px); color: var(--text); max-width: 56ch; margin-top: 22px; }
.lede.center { margin-inline: auto; }
.muted { color: var(--muted); }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 20px; border-radius: 8px; border: 0; cursor: pointer;
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; }
.pill svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill:hover { transform: translateY(-1px); }
.pill-orange { background: var(--orange); color: #fff; }
.pill-orange:hover { box-shadow: 0 10px 24px -10px rgba(242, 107, 33, .8); }
.pill-light { background: rgba(255, 255, 255, .86); color: var(--ink); }
.pill-white { background: #fff; color: var(--ink); }
.pill-glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.pill.wide { width: 100%; padding: 16px; }
.mono-link { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ocean); text-decoration: none; }
.mono-link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.mono-link:hover svg { transform: translateX(4px); }

/* nav: floating grey glass bar */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; pointer-events: none; }
.nav-bar { pointer-events: auto; display: flex; align-items: center; gap: 22px; width: 100%; padding: 12px max(var(--gutter), (100% - var(--wrap)) / 2); border-radius: 0;
  background: #012F8F; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 44px -26px rgba(1, 20, 70, .7);
  transition: background .5s var(--ease), box-shadow .5s; }
.nav.light .nav-bar { background: #012F8F; box-shadow: 0 16px 40px -24px rgba(11, 27, 51, .55); }
.nav-logo img { height: 46px; width: auto; display: block; }
@media (max-width: 760px) { .nav-logo img { height: 40px; } }
.nav-links { display: flex; gap: 2px; margin-inline-start: auto; }
.nav-links a { padding: 12px 14px; border-radius: 8px; color: #fff; text-decoration: none; font: 600 14px/1 var(--ui); letter-spacing: 0; opacity: .92; transition: background .25s, opacity .25s; }
.nav-links a:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
.nav-cta { display: flex; gap: 6px; }
.nav-cta .pill { padding: 11px 14px; font-size: 11px; border-radius: 8px; }
.nav-menu { display: none; margin-inline-start: auto; width: 42px; height: 42px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.nav-menu span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .3s; }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; } .nav-menu { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); padding: 8px;
    background: rgba(1, 47, 143, .98); border-radius: 12px; }
  .nav.open .nav-links a { padding: 15px 14px; font-size: 15px; }
  .nav.open .nav-menu span:first-child { transform: translateY(3px) rotate(45deg); } .nav.open .nav-menu span:last-child { transform: translateY(-3px) rotate(-45deg); }
}

/* HERO: full-screen footage, camera settles on load and pushes in on scroll */
.hero { position: relative; height: 230vh; background: var(--ocean); }
.hero-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ocean); }
.hero-frame { position: absolute; inset: 0; transform-origin: 70% 50%; will-change: transform; }
.hero-frame .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; opacity: 0; animation: hs 20s linear infinite; }
.hero-frame .hs:nth-child(1) { animation-delay: -.8s; } .hero-frame .hs:nth-child(2) { animation-delay: 4.2s; } .hero-frame .hs:nth-child(3) { animation-delay: 9.2s; } .hero-frame .hs:nth-child(4) { animation-delay: 14.2s; }
@keyframes hs { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; } 100% { opacity: 0; } }
.hero-texts { display: grid; }
.hero-texts .ht { grid-area: 1 / 1; align-self: end; opacity: 0; animation: hs 20s linear infinite; }
.hero-texts .ht:nth-child(1) { animation-delay: -.8s; } .hero-texts .ht:nth-child(2) { animation-delay: 4.2s; } .hero-texts .ht:nth-child(3) { animation-delay: 9.2s; } .hero-texts .ht:nth-child(4) { animation-delay: 14.2s; }
.no-js .hero-texts .ht, .reduced .hero-texts .ht { animation: none; display: none; } .no-js .hero-texts .ht:first-child, .reduced .hero-texts .ht:first-child { display: block; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-texts .ht { animation: none; display: none; } .hero-texts .ht:first-child { display: block; opacity: 1; } }
.hero-dots { position: absolute; right: 0; bottom: 36px; display: flex; gap: 10px; }
.hero-dots i { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .35; animation: hd 20s linear infinite; }
.hero-dots i:nth-child(1) { animation-delay: -.8s; } .hero-dots i:nth-child(2) { animation-delay: 4.2s; } .hero-dots i:nth-child(3) { animation-delay: 9.2s; } .hero-dots i:nth-child(4) { animation-delay: 14.2s; }
@keyframes hd { 0% { opacity: .35; transform: scale(1); } 4% { opacity: 1; transform: scale(1.35); } 25% { opacity: 1; transform: scale(1.35); } 29% { opacity: .35; transform: scale(1); } 100% { opacity: .35; transform: scale(1); } }
.no-js .hero-dots, .reduced .hero-dots { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-dots { display: none; } }
.no-js .hero-frame .hs, .reduced .hero-frame .hs { animation: none; } .no-js .hero-frame .hs:first-child, .reduced .hero-frame .hs:first-child { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-frame .hs { animation: none; } .hero-frame .hs:first-child { opacity: 1; } }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: var(--ocean); opacity: 0; }
.hero-stick::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 47, 143, .88) 0%, rgba(1, 47, 143, .62) 36%, rgba(1, 47, 143, 0) 72%), linear-gradient(0deg, rgba(1, 47, 143, .55) 0%, rgba(1, 47, 143, 0) 30%); }
.hero-copy { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; color: #fff; will-change: transform, opacity; }
.badge { display: inline-block; width: max-content; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px);
  font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero-title { color: #fff; font-size: clamp(36px, 4.6vw, 68px); line-height: 1; margin: 24px 0 24px; max-width: 15ch; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero-title .accent { color: #BFD8F5; }
.ready .hero-title .ln > span { transform: none; }
.ready .hero-title .ln:nth-child(2) > span { transition-delay: .12s; } .ready .hero-title .ln:nth-child(3) > span { transition-delay: .24s; }
.hero-copy p { color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.25vw, 19px); max-width: 44ch; }
.hero-copy .badge, .hero-copy p, .hero-actions { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease) .5s, transform 1.1s var(--ease) .5s; }
.ready .hero-copy .badge, .ready .hero-copy p, .ready .hero-actions { opacity: 1; transform: none; }
.ready .hero-copy .badge { transition-delay: .1s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-next { position: absolute; z-index: 4; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; padding-inline: var(--gutter); text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; opacity: 0; pointer-events: none; }
.hero-next img { width: clamp(52px, 5vw, 72px); height: auto; margin-bottom: 30px; }
.hn-title { margin: 0; font: 700 clamp(38px, 5.6vw, 88px)/1.02 var(--head); letter-spacing: -.02em; }
.hn-list { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(980px, 100%);
  border-top: 1px solid rgba(255, 255, 255, .22); }
.hn-list li { padding: 20px 14px 0; display: grid; gap: 8px; justify-items: center; font: 600 13px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hn-list li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.hn-list b { color: var(--orange); font-weight: 600; }
@media (max-width: 760px) { .hn-list { grid-template-columns: 1fr 1fr; } .hn-list li { padding: 16px 8px; } .hn-list li:nth-child(3) { border-left: 0; } }
.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end;
  color: rgba(255, 255, 255, .75); font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.hero-scroll { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-scroll i { display: block; width: 1px; height: 54px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.hero-markets b { color: var(--orange); font-weight: 400; padding: 0 4px; }
.no-js .hero, .reduced .hero { height: 100vh; }
.no-js .hero-title .ln > span, .reduced .hero-title .ln > span { transform: none; }
@media (max-width: 760px) {
  .hero { height: 200vh; }
  .hero-frame { transform-origin: 50% 40%; }
  .hero-frame .hs:nth-child(2) { object-position: 78% center; } .hero-frame .hs:nth-child(3) { object-position: 55% center; }
  .hero-stick::after { background: linear-gradient(0deg, rgba(1, 47, 143, .9) 0%, rgba(1, 47, 143, .5) 50%, rgba(1, 47, 143, .15) 80%); }
  .hero-copy { justify-content: flex-end; padding-bottom: 90px; }
  .hero-markets { display: none; }
}

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-words] .w { color: #C9D0DA; transition: color .25s linear; }
.js [data-words] .w.lit { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; } .js [data-words] .w { color: inherit; } .hero-scroll i::after { animation: none; } }

/* INTRO */
.intro { padding: clamp(110px, 14vw, 180px) 0 0; }
.intro-text { font: 700 clamp(30px, 4.2vw, 58px)/1.14 var(--head); letter-spacing: -.02em; color: var(--ink); text-align: center; max-width: 22ch; margin: 26px auto 0; }
.grid-strip { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative;
  background: linear-gradient(var(--line), var(--line)) 25% 0 / 1px 100% no-repeat, linear-gradient(var(--line), var(--line)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--line), var(--line)) 75% 0 / 1px 100% no-repeat; }
.gs-cell { position: relative; padding: 34px clamp(18px, 2.4vw, 34px) 38px; display: grid; gap: 10px; }
.gs-cell::before, .gs-cell::after { content: "+"; position: absolute; top: -11px; font: 300 16px/1 var(--mono); color: #AEB7C4; }
.gs-cell::before { left: -5px; } .gs-cell:last-child::after { right: -5px; }
.gs-cell b { font: 700 clamp(24px, 2.4vw, 32px)/1.1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.gs-cell small { font-size: 14.5px; color: var(--muted); max-width: 30ch; }
@media (max-width: 820px) { .grid-strip { grid-template-columns: 1fr 1fr; background: none; } .gs-cell { border-bottom: 1px solid var(--line); } .gs-cell:nth-child(odd) { border-right: 1px solid var(--line); } .gs-cell::before, .gs-cell::after { display: none; } }

/* PATHS */
.paths { padding: clamp(110px, 13vw, 170px) 0; }
.path-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.path { display: flex; flex-direction: column; padding: 26px; border-radius: 16px; background: var(--soft); transition: background .4s, transform .5s var(--ease); }
.path:hover { background: #EAEFF5; transform: translateY(-4px); }
.path h3 { font-size: 22px; margin: 18px 0 10px; letter-spacing: -.02em; }
.path p { font-size: 15px; color: var(--text); }
.path-pic { margin: 26px 0 22px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.path-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path:hover .path-pic img { transform: scale(1.05); }
.path .mono-link { margin-top: auto; }
.path:nth-child(2) { transition-delay: .08s; } .path:nth-child(3) { transition-delay: .16s; }
@media (max-width: 900px) { .path-cards { grid-template-columns: 1fr; } }

/* notch: the tab cut at the top of dark panels */
.notch { position: relative; }
.notch::before { content: ""; position: absolute; z-index: 2; top: -1px; left: 50%; width: 34%; height: 16px; transform: translateX(-50%); background: var(--notch-bg, #fff); border-radius: 0 0 14px 14px; }

/* BUILDER */
.builder { padding: clamp(80px, 10vw, 140px) 0; background: var(--foam); }
.builder-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; margin-top: clamp(48px, 6vw, 70px); }
.builder-form h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.field { display: grid; gap: 6px; padding: 14px 0 12px; border-bottom: 1px solid #D5DCE6; }
.field > span { font-size: 13px; color: var(--muted); }
.field input, .field select { width: 100%; border: 0; background: transparent; font: 400 17px/1.3 var(--sans); color: var(--ink); padding: 2px 0; outline: none; appearance: none; -webkit-appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A8597' stroke-width='1.6'/%3E%3C/svg%3E") right center no-repeat; padding-right: 20px; cursor: pointer; }
.field:focus-within { border-bottom-color: var(--sea); }
.builder-form > .field { border-bottom: 0; margin-top: 18px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #E6EBF2; width: max-content; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 18px; border-radius: 999px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(11, 27, 51, .08); }
.seg input:focus-visible + span { outline: 2px solid var(--orange); }
.builder-card { --notch-bg: var(--foam); display: flex; flex-direction: column; padding: 40px 34px 30px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 80% at 100% 0%, rgba(28, 112, 200, .55), transparent 60%), linear-gradient(160deg, #0A47B5, var(--ocean)); }
.builder-card > p { font-size: 19px; } .builder-card > p span { color: #8FB8EA; }
.route-big { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; font: 700 clamp(32px, 3.2vw, 46px)/1.05 var(--head); letter-spacing: -.02em; }
.route-big svg { width: 26px; height: 26px; color: var(--orange); flex: 0 0 auto; }
.route-big b { font-weight: 400; transition: opacity .3s; }
.builder-card .sub { color: #B9CDEA; font-size: 15px; }
.builder-card dl { margin: 26px 0; display: grid; gap: 0; }
.builder-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; }
.builder-card dt { color: #9DB6DA; } .builder-card dd { margin: 0; text-align: right; }
.builder-card .pill { margin-top: auto; }
.builder-card small { display: block; margin-top: 12px; color: #9DB6DA; font-size: 12.5px; text-align: center; }
@media (max-width: 900px) { .builder-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }

/* WHY */
.why { padding: clamp(110px, 13vw, 170px) 0 clamp(80px, 10vw, 130px); }
.why .h2 { margin-top: 18px; }
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); margin-top: clamp(60px, 8vw, 100px); }
.why-list { list-style: none; margin: 0; padding: 18vh 0 22vh; }
.why-list li { padding: 7vh 0; opacity: .22; transition: opacity .6s var(--ease); }
.why-list li.on { opacity: 1; }
.why-list h3 { font-size: clamp(28px, 3vw, 42px); margin: 12px 0 14px; }
.why-list p { font-size: clamp(17px, 1.4vw, 21px); color: var(--text); max-width: 30ch; line-height: 1.45; }
.why-panel { position: sticky; top: 14vh; height: 72vh; border-radius: 20px; overflow: hidden; background: var(--ocean-2); }
.why-pic { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.why-pic.on { opacity: 1; transform: scale(1); }
.why-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 47, 143, .55), rgba(1, 47, 143, 0) 40%); }
.why-tag { position: absolute; z-index: 3; left: 22px; bottom: 22px; color: #fff; background: rgba(1, 47, 143, .5); padding: 10px 14px; border-radius: 999px; backdrop-filter: blur(8px); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-panel { order: -1; position: sticky; top: 84px; height: 38vh; z-index: 1; }
  .why-list { padding: 0; } .why-list li { padding: 6vh 0; }
}

/* SERVICES TABS */
.services { padding: clamp(56px, 7vw, 96px) 0; background: var(--foam); }
.services .h2 { margin-top: 18px; }
.ph-plain { height: 62vh; min-height: 380px; }
.ph-plain::after { background: linear-gradient(0deg, rgba(1, 47, 143, .35), rgba(1, 47, 143, .05)); }
.svc-list { display: grid; }
main > .services:first-child { padding-top: calc(70px + clamp(40px, 5vw, 72px)); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.5vw, 48px) 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc-pic { order: 2; }
.svc-pic { --notch-bg: var(--foam); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ocean-2); }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-text h3 { font-size: clamp(26px, 2.8vw, 38px); margin: 12px 0 10px; }
.svc-text p { margin: 0; max-width: 42ch; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; gap: 18px; } .svc:nth-child(even) .svc-pic { order: 0; } }

/* STANDARD */
.standard { position: relative; padding: clamp(120px, 15vw, 200px) 0; overflow: hidden; }
.grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background: linear-gradient(var(--line), var(--line)) 0 22% / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 78% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 160px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.standard .wrap { position: relative; }
.standard-quote { font: 700 clamp(32px, 4.4vw, 62px)/1.12 var(--head); letter-spacing: -.02em; color: var(--ink); text-align: center; max-width: 20ch; margin: 24px auto 26px; }

/* CONTACT */
.contact { padding: clamp(90px, 11vw, 150px) 0; background: var(--foam); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 26px 0 36px; border-left: 2px solid var(--orange); display: grid; gap: 12px; }
.ticks li { padding-left: 18px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); }
.mails { display: grid; gap: 14px; }
.mails a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-size: 17px; }
.mails a:hover { color: var(--sea); }
.contact-form { display: grid; gap: 4px; padding: 36px 32px 28px; border-radius: 18px; background: linear-gradient(160deg, #0A47B5, var(--ocean)); color: #fff; }
.contact-form label { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact-form label > span { font-size: 13px; color: #9DB6DA; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; background: transparent; color: #fff; font: 400 16px/1.4 var(--sans); outline: none; resize: vertical; appearance: none; -webkit-appearance: none; }
.contact-form ::placeholder { color: rgba(255, 255, 255, .4); }
.contact-form select option { color: var(--ink); }
.contact-form label:focus-within { border-bottom-color: var(--orange); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form .pill { margin-top: 22px; }
.cf-note { text-align: center; color: #9DB6DA; font-size: 12.5px; margin-top: 10px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cf-row { grid-template-columns: 1fr; gap: 0; } }

/* FAQ */
.faq { padding: clamp(90px, 11vw, 150px) 0; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(16px, 1.4vw, 19px)/1.35 var(--head); color: var(--ink); letter-spacing: 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--sea); transition: transform .4s var(--ease); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; max-width: 60ch; color: var(--text); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* FOOTER */
.foot { background: var(--ocean); color: #B9CDEA; padding: clamp(56px, 6vw, 84px) 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid > div { display: grid; align-content: start; gap: 10px; }
.foot-grid .mono { color: #fff; margin-bottom: 6px; }
.foot-grid a { text-decoration: none; font-size: 15px; } .foot-grid a:hover { color: #fff; }
.foot-brand img { width: 240px; height: auto; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; font-size: 13px; color: #7F98BF; }
.foot-legal a { text-decoration: none; }

@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* FLOW: one pinned story from trading to marine services */
.flow { position: relative; height: 460vh; background: var(--ocean); }
.flow-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.flow-media { position: absolute; inset: 0; }
.fm { position: absolute; inset: 0; margin: 0; overflow: hidden; will-change: clip-path; }
.fm + .fm { clip-path: inset(100% 0 0 0); }
.fm img, .fm video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.flow-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 47, 143, .82) 0%, rgba(1, 47, 143, .45) 40%, rgba(1, 47, 143, .05) 70%), linear-gradient(0deg, rgba(1, 47, 143, .7) 0%, rgba(1, 47, 143, 0) 32%); }
.flow-copy { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; color: #fff; pointer-events: none; }
.flow-copy > .mono { color: #9DB6DA; margin-bottom: 26px; }
.fc-items { display: grid; }
.fc { grid-area: 1 / 1; max-width: 560px; opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.fc.on { opacity: 1; transform: none; pointer-events: auto; }
.fc .mono { color: var(--orange); }
.fc h2 { color: #fff; font-size: clamp(32px, 3.8vw, 54px); margin: 16px 0 18px; }
.fc p { color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.3vw, 19px); max-width: 42ch; }
.fc .mono-link { margin-top: 28px; color: #fff; }
.flow-rail { position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px; }
.flow-rail ol { position: relative; list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .2); }
.flow-rail .fill { position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--orange); }
.flow-rail li { font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); transition: color .5s; }
.flow-rail li b { display: block; font-weight: 500; color: rgba(255, 255, 255, .35); margin-bottom: 6px; transition: color .5s; }
.flow-rail li.on, .flow-rail li.on b { color: #fff; }
.flow-rail li.on b { color: var(--orange); }
.no-js .flow, .reduced .flow { height: auto; }
.no-js .flow-stick, .reduced .flow-stick { position: relative; }
@media (max-width: 760px) {
  .flow { height: 400vh; }
  .flow-shade { background: linear-gradient(0deg, rgba(1, 47, 143, .94) 0%, rgba(1, 47, 143, .6) 50%, rgba(1, 47, 143, .15) 80%); }
  .flow-copy { justify-content: flex-end; padding-bottom: 120px; }
  .flow-rail li { font-size: 10px; } .flow-rail li span { display: none; }
}

/* inner page header */
.page-hero { position: relative; height: 78vh; min-height: 520px; overflow: hidden; background: var(--ocean); color: #fff; }
.ph-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: phZoom 2.6s var(--ease) forwards; }
@keyframes phZoom { to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 47, 143, .8) 0%, rgba(1, 47, 143, .35) 55%, rgba(1, 47, 143, .1) 100%), linear-gradient(0deg, rgba(1, 47, 143, .6), rgba(1, 47, 143, 0) 40%); }
.ph-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(36px, 6vh, 72px); }
.ph-copy h1 { color: #fff; font-size: clamp(34px, 4.4vw, 64px); margin: 22px 0 18px; max-width: 14ch; }
.ph-copy p { color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.3vw, 19px); max-width: 48ch; }
.ph-copy > * { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.ready .ph-copy > * { opacity: 1; transform: none; }
.ready .ph-copy > :nth-child(2) { transition-delay: .12s; } .ready .ph-copy > :nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .ph-media { animation: none; transform: none; } }

/* about: statement and four reasons */
.about-open { padding: calc(70px + clamp(56px, 8vw, 120px)) 0 clamp(44px, 6vw, 80px); }
.about-open h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; margin: 16px 0 22px; max-width: 14ch; }
.about-open .lede { max-width: 56ch; font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); margin: 0; }
.why-plain { padding: 0 0 clamp(80px, 10vw, 140px); }
.why-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why-cards li { padding: 32px 20px 0 20px; border-left: 1px solid var(--line); }
.why-cards li:first-child { padding-left: 0; border-left: 0; }
.why-cards h3 { font-size: clamp(20px, 1.6vw, 24px); margin: 14px 0 8px; }
.why-cards p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .why-cards { grid-template-columns: 1fr 1fr; row-gap: 8px; } .why-cards li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .why-cards { grid-template-columns: 1fr; } .why-cards li { border-left: 0; padding-left: 0; } }

/* explore: where to go next */
.explore { padding: clamp(100px, 12vw, 160px) 0; }
.explore-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.ex-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: 28px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ocean); }
.ex-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.ex-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1, 47, 143, .9) 10%, rgba(1, 47, 143, .1) 65%); }
.ex-card:hover img { transform: scale(1.06); }
.ex-card .mono { color: #9DB6DA; }
.ex-card h3 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); margin: 12px 0 10px; }
.ex-card p { color: rgba(255, 255, 255, .82); font-size: 15px; }
.ex-card .mono-link { color: #fff; margin-top: 20px; }
.ex-card:nth-child(2) { transition-delay: .08s; } .ex-card:nth-child(3) { transition-delay: .16s; }
@media (max-width: 900px) { .explore-cards { grid-template-columns: 1fr; } .ex-card { min-height: 340px; } }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .16); opacity: 1; }
.fm-sea { background: var(--ocean); }
.fm-sea video { left: 22%; width: 92%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
@media (max-width: 760px) { .fm-sea video { left: 0; width: 100%; height: 62%; -webkit-mask-image: none; mask-image: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* SEQUENCE: dark pinned statement, words light up, the end types itself (after Terminal) */
.seq { position: relative; height: 240vh; background: var(--ocean); }
.seq-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.seq-grid { position: absolute; inset: -2px; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 80px 80px; -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); }
.seq-inner { position: relative; }
.seq-inner .mono { color: #7FA0C9; margin-bottom: 28px; }
.seq-title { color: #fff; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.02; letter-spacing: -.02em; max-width: 19ch; }
.seq-words .w { color: rgba(255, 255, 255, .16); transition: color .3s linear; }
.seq-words .w.lit { color: #fff; }
.seq-type { color: #7FB4EE; }
.caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--orange); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.no-js .seq, .reduced .seq { height: auto; } .no-js .seq-stick, .reduced .seq-stick { position: relative; padding: 140px 0; }

/* MARKETS STRIP (after Terminal's partner logos row) */
.markets-strip { padding: clamp(110px, 13vw, 170px) 0 0; }
.markets-strip .grid-strip { margin-top: clamp(56px, 7vw, 90px); }

/* Terminal's full-width card button */
.path .mono-link { justify-content: center; width: 100%; padding: 22px 0; border-radius: 8px; background: rgba(11, 27, 51, .05); color: var(--ink); font-weight: 600; font-size: 11px; letter-spacing: .1em; transition: background .3s; }
.path .mono-link:hover { background: rgba(11, 27, 51, .1); }
.path { border-radius: 8px; padding: 30px; background: #F3F4F4; }
.path h3 { font-size: 24px; letter-spacing: -.025em; margin: 22px 0 12px; }
.path p { font-size: 18px; line-height: 1.4; }
.path-pic { border-radius: 6px; }
.why-panel .why-pic { background-color: var(--ocean); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status.ok { color: #7FD6A8; } .form-status.err { color: #FFB38A; }
.builder-card button.pill { border: 0; }

/* contact: offices */
.offices { padding: clamp(90px, 11vw, 150px) 0 0; }
.offices-strip { grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 80px); background: none; }
.offices-strip .gs-cell { align-content: start; }
.offices-strip .gs-cell + .gs-cell { border-left: 1px solid var(--line); }
.offices-strip .gs-cell b { margin-bottom: 4px; }
.offices address { font-style: normal; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.offices .tel { margin: 6px 0 0; display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; }
.offices .tel a { color: var(--ink); text-decoration: none; font-weight: 500; }
.offices .tel a:hover { color: var(--orange); }
.offices .tel span { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #25A35A; }
@media (max-width: 820px) { .offices-strip { grid-template-columns: 1fr; } .offices-strip .gs-cell { border-right: 0 !important; } .offices-strip .gs-cell + .gs-cell { border-left: 0; } }

/* home-only header: buttons sit right when there is no menu */
.nav-logo + .nav-cta { margin-inline-start: auto; }

/* HOW WE WORK: four steps, same ruled cards as About */
.how { padding: clamp(110px, 13vw, 170px) 0 clamp(40px, 5vw, 70px); }
.how .h2 { margin-top: 18px; }
.how .why-cards { margin-top: clamp(48px, 6vw, 80px); }
.markets-strip .lede { margin-top: 18px; color: var(--muted); }

/* HOME SERVICES: four cards that lead to the Services page */
.svc-home { padding: clamp(100px, 12vw, 160px) 0; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.svc-head .h2 { margin-top: 16px; max-width: 16ch; }
.svc-head .lede { margin-top: 0; max-width: 40ch; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(44px, 5vw, 68px); }
.svc-cards .ex-card { min-height: 460px; padding: 24px; border-radius: 12px; }
.svc-cards .ex-card .mono { color: var(--orange); }
.svc-cards .ex-card h3 { font-size: clamp(21px, 1.7vw, 25px); margin: 10px 0 8px; }
.svc-cards .ex-card p { font-size: 14.5px; }
.svc-cards .ex-card .mono-link { margin-top: 18px; font-size: 11px; opacity: .85; }
.svc-cards .ex-card:nth-child(4) { transition-delay: .24s; }
@media (max-width: 1000px) { .svc-cards { grid-template-columns: 1fr 1fr; } .svc-cards .ex-card { min-height: 360px; } }
@media (max-width: 560px) { .svc-cards { grid-template-columns: 1fr; } .svc-cards .ex-card { min-height: 300px; } }

/* WHY DEEPSEA: statement on the left, four reasons on Deep Ocean */
.why2 { position: relative; padding: clamp(100px, 12vw, 160px) 0; background: var(--ocean); color: #fff; }
.why2-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.why2-head { position: sticky; top: 120px; }
.why2-head .mono { color: #9DB6DA; }
.why2-head .h2 { color: #fff; margin-top: 18px; }
.why2-head .lede { color: rgba(255, 255, 255, .78); }
.why2-head .pill { margin-top: 34px; }
.why2-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why2-cards li { padding: 30px 28px 34px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.why2-cards li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); transform: translateY(-4px); }
.why2-cards b { display: block; font: 700 clamp(40px, 4vw, 56px)/1 var(--head); letter-spacing: -.03em; color: var(--orange); }
.why2-cards h3 { color: #fff; font-size: clamp(20px, 1.6vw, 24px); margin: 26px 0 10px; }
.why2-cards p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) { .why2-grid { grid-template-columns: 1fr; } .why2-head { position: static; } }
@media (max-width: 560px) { .why2-cards { grid-template-columns: 1fr; } }

/* ABOUT story and Services intro */
.about-open h1 { max-width: 16ch; }
.about-open .lede + .lede { margin-top: 18px; }
.why-cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .why-cards.three { grid-template-columns: 1fr; } .why-cards.three li { border-left: 0; padding-left: 0; } }
.how { padding-bottom: clamp(80px, 10vw, 140px); }

/* tighter join between the process steps and the three ways to start */
.how { padding-bottom: clamp(30px, 4vw, 50px); }
.how + .paths { padding-top: clamp(56px, 7vw, 96px); }

/* OFFICES: a map and a WhatsApp button for each */
.office-map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 10px; margin-bottom: 14px; background: var(--soft); filter: saturate(.85); }
.office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 14px; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 8px; background: #25D366; color: #fff; text-decoration: none; font: 600 13.5px/1 var(--ui); transition: background .3s, transform .4s var(--ease); }
.wa-btn:hover { background: #1DB954; transform: translateY(-2px); }
.wa-btn svg { width: 18px; height: 18px; flex: none; }
.map-link { font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ocean); text-decoration: none; }
.map-link:hover { color: var(--orange); }

/* numbered labels in brand orange */
.why-cards .mono { color: var(--orange); }

/* ABOUT: story, then mission and vision */
.story { padding: clamp(20px, 3vw, 40px) 0 clamp(70px, 9vw, 120px); }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.story .h2 { font-size: clamp(28px, 3vw, 42px); }
.story p { margin: 0 0 20px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--text); }
.story p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.mv .why2-cards .mono { color: var(--orange); }
.mv .why2-cards h3 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 18px; }
.mv .why2-cards p { font-size: 16.5px; max-width: 46ch; }
@media (max-width: 760px) { .mv .why2-cards { grid-template-columns: 1fr; } }

/* footer */
.foot-grid { grid-template-columns: 1.3fr 1fr .7fr 1.1fr; }
.foot-grid .foot-quote { justify-self: start; margin-top: 10px; padding: 12px 18px; border-radius: 8px; background: var(--orange); color: #fff; font: 600 12px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ABOUT: footage, and mission and vision on white */
.about-media { padding: 0 0 clamp(60px, 8vw, 110px); }
.about-media video { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 16px; background: var(--ocean); }
@media (max-width: 700px) { .about-media video { aspect-ratio: 4 / 3; } }
.mv { padding: 0 0 clamp(90px, 11vw, 150px); background: #fff; }
.mv-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mv-cards li { padding: clamp(28px, 3vw, 44px); border-radius: 12px; background: var(--soft); }
.mv-cards .mono { color: var(--orange); }
.mv-cards h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 18px 0 12px; color: var(--ink); }
.mv-cards p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--text); max-width: 46ch; }
@media (max-width: 760px) { .mv-cards { grid-template-columns: 1fr; } }

/* three ways to start: one shared call to action */
.path-pic { margin-bottom: 0; }
.paths-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(36px, 4vw, 56px); }
.pill-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(11, 27, 51, .25); }
.pill-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ABOUT intro: text left, photo right */
.about-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-pic { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 6; background: var(--soft); }
.about-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } .about-pic { aspect-ratio: 4 / 3; } .about-pic img { object-position: center 30%; } }

/* inner pages: picture hero, then the story */
.page-hero + .story { padding-top: clamp(70px, 9vw, 130px); }
.page-hero img.ph-media { object-position: center 30%; }

/* language switch in the header */
@font-face { font-family: "Cairo"; src: url("../fonts/Cairo-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
.nav-links .nav-lang { margin-inline-start: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); }
.nav-links .nav-lang[lang="ar"] { font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; }
.nav-links .nav-lang[lang="en"] { font-family: "Montserrat", "Segoe UI", sans-serif; }

/* contact form: the topic is a row of choices, not a drop-down */
.cf-topic { min-width: 0; margin: 0; padding: 12px 0 18px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.cf-topic legend { padding: 0; margin-bottom: 12px; font-size: 13px; color: #9DB6DA; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-form .chip { display: inline-flex; padding: 0; border: 0; cursor: pointer; }
.contact-form .chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.contact-form .chip > span { padding: 11px 14px; border-radius: 8px; font-size: 14px; line-height: 1.2; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); transition: background .25s, color .25s, box-shadow .25s; }
.contact-form .chip:hover > span { box-shadow: inset 0 0 0 1px #fff; }
.contact-form .chip input:checked + span { background: #fff; color: var(--ocean); box-shadow: none; font-weight: 600; }
.contact-form .chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

/* SERVICES: the eight fields of work */
.eight { padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 7vw, 100px); background: var(--foam); }
.eight .h2 { margin-top: 18px; }
.eight-cards { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.eight-cards li { padding: 30px 26px 34px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .4s; }
.eight-cards li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--sea), 0 18px 40px -24px rgba(1, 47, 143, .45); }
.eight-cards b { display: block; font: 700 clamp(34px, 3vw, 44px)/1 var(--head); letter-spacing: -.03em; color: var(--orange); }
.eight-cards h3 { font-size: clamp(19px, 1.5vw, 22px); margin: 22px 0 10px; }
.eight-cards p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
@media (max-width: 1100px) { .eight-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .eight-cards { grid-template-columns: 1fr; } }
.eight + .how { padding-top: clamp(90px, 11vw, 150px); }
.svc-home .paths-cta { margin-top: clamp(32px, 4vw, 48px); }

/* the eight cards carry a picture each */
.eight-cards li { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.eight-pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.eight-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.eight-cards li:hover .eight-pic img { transform: scale(1.05); }
.eight-body { padding: 24px 24px 30px; }
.eight-cards b { font-size: 14px; letter-spacing: .08em; line-height: 1; }
.eight-cards h3 { margin: 12px 0 10px; }

/* SERVICES: eight scenes instead of four. Shorter scroll per scene, and a rail of eight. */
.flow.flow-8 { height: 680vh; }
.flow-8 .flow-rail ol { grid-template-columns: repeat(8, 1fr); }
.flow-8 .flow-rail li { font-size: 10.5px; padding-inline-end: 8px; }
.flow-8 .fc { max-width: 620px; }
@media (max-width: 1100px) { .flow-8 .flow-rail li span { display: none; } }
@media (max-width: 760px) { .flow.flow-8 { height: 640vh; } }
.no-js .flow.flow-8, .reduced .flow.flow-8 { height: auto; }
.flow + .how { padding-top: clamp(110px, 13vw, 170px); }

/* Bunkering scene: the Libyan ports, in three short groups under the text */
.fc-ports { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .28); display: grid; gap: 10px; max-width: 520px; }
.fc-ports li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; color: #fff; font-size: clamp(14px, 1.05vw, 16px); }
.fc-ports b { font-family: var(--mono, inherit); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #C9DBF5; font-weight: 600; }
@media (max-width: 560px) { .fc-ports li { grid-template-columns: 1fr; gap: 2px; } }
.offices-strip .hq { display: inline-block; justify-self: start; margin: 6px 0 2px; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ocean, #012F8F); padding: 3px 8px; border-radius: 3px; vertical-align: middle; }
