/* FMH Marine Services — launch landing page «المسار» · T-0019 · v09 (Apple-style scroll scenes; v08 parallax/tilt removed)
   Design: Figma Explor › Landing Page › «المسار» (approved by Mohammad, 16 Oct 2026).
   Brand colours only: Deep Anchor #284682, Horizon #89cbf0, Hull Black #231f20, White (+ tints).
   Font: Elgharib Tajarib Taweel (web licence still to confirm before publishing). */

@font-face { font-family: "Tajarib Taweel"; src: url("/assets/fonts/TajaribTaweel-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajarib Taweel"; src: url("/assets/fonts/TajaribTaweel-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajarib Taweel"; src: url("/assets/fonts/TajaribTaweel-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Tajarib Taweel"; src: url("/assets/fonts/TajaribTaweel-Black.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }

:root {
  --anchor: #284682;
  --horizon: #89cbf0;
  --hull: #231f20;
  --white: #ffffff;
  --bg: #f4f6f9;                       /* white with a 4% Deep Anchor tint */
  --line: rgba(40, 70, 130, .09);
  --muted: rgba(35, 31, 32, .62);
  --font: "Tajarib Taweel", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --grad: linear-gradient(90deg, var(--anchor) 0%, var(--anchor) 35%, var(--horizon) 100%);
  --grad-card: linear-gradient(135deg, var(--horizon) 0%, var(--anchor) 58%, #1f3766 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1344px;
  --gut: clamp(16px, 3.4vw, 48px);
  --sec: clamp(88px, 10vw, 150px);
  --r-lg: clamp(20px, 2vw, 28px);
  --r-md: clamp(16px, 1.6vw, 22px);
  --hdr: 88px;
}
[dir="rtl"] { --grad: linear-gradient(270deg, var(--anchor) 0%, var(--anchor) 35%, var(--horizon) 100%); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--hull); background: var(--bg);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
b { font-weight: 800; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--anchor); outline-offset: 3px; border-radius: 10px; }
.dark :focus-visible, .visit :focus-visible, .hero-chips :focus-visible { outline-color: var(--horizon); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--anchor); color: var(--white);
  padding: 10px 16px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: calc(1080px + var(--gut) * 2); }
.center { text-align: center; }
.sec { padding-block: var(--sec); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); color: var(--anchor); font-size: 14px; font-weight: 600; line-height: 1.3; }
.eyebrow .dot, .hero-tag .dot, .msg-point .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--horizon); flex: none; }
.eyebrow--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--white); }
.eyebrow--glass { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: var(--white);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.h2 { margin-top: 20px; font-size: clamp(34px, 4.3vw, 62px); line-height: 1.18; font-weight: 900; letter-spacing: -.01em; text-wrap: balance; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .grad { background: linear-gradient(90deg, var(--white), var(--horizon)); -webkit-background-clip: text; background-clip: text; }
[dir="rtl"] .dark .grad { background: linear-gradient(270deg, var(--white), var(--horizon)); -webkit-background-clip: text; background-clip: text; }
.lede { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); font-weight: 500; text-wrap: pretty; }
.center .lede { margin-inline: auto; max-width: 720px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  line-height: 1.2; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 11px 16px 11px 20px; font-size: 15px; }
[dir="rtl"] .btn--sm { padding: 11px 20px 11px 16px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--navy { background: var(--anchor); color: var(--white); box-shadow: 0 12px 28px -10px rgba(40, 70, 130, .55); }
.btn--navy:hover { box-shadow: 0 18px 36px -12px rgba(40, 70, 130, .65); }
.btn--glass { background: rgba(255, 255, 255, .72); color: var(--anchor); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .8); }
.btn--white { background: var(--white); color: var(--anchor); }
.btn--glass-dark { background: rgba(255, 255, 255, .1); color: var(--white); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.ico-arrow { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--white); color: var(--anchor); flex: none; }
.btn--white .ico-arrow { background: var(--anchor); color: var(--white); }
.ico-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
[dir="rtl"] .ico-arrow svg { transform: scaleX(-1); }
.btn:hover .ico-arrow svg { transform: translate(1px, -1px); }
[dir="rtl"] .btn:hover .ico-arrow svg { transform: scaleX(-1) translate(1px, -1px); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s; }
.hdr-in { height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr.is-scrolled { background: rgba(244, 246, 249, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line); }
.hdr-logo { color: var(--anchor); flex: none; }
.hdr-logo .logo { width: 92px; height: auto; }
.hdr-nav ul { display: flex; gap: 4px; }
.hdr-nav a { display: block; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--hull);
  background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .25s, color .25s; }
.hdr-nav a:hover, .hdr-nav a[aria-current="true"] { background: var(--white); color: var(--anchor); font-weight: 700; }
.hdr-end { display: flex; align-items: center; gap: 18px; }
.hdr-lang { font-size: 15px; font-weight: 500; color: var(--muted); }
.hdr-lang:hover { color: var(--anchor); }
.hdr-nav .hdr-lang--sheet { display: none; }
.hdr-menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer; padding: 0; place-content: center; gap: 5px; }
.hdr-menu i { display: block; width: 18px; height: 1.8px; border-radius: 2px; background: var(--anchor); transition: transform .3s var(--ease), opacity .2s; }
.hdr-menu[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6.8px) rotate(45deg); }
.hdr-menu[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.hdr-menu[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* ---------- hero: full-bleed scene, ready for motion / video ---------- */
.hero { position: relative; min-height: max(760px, 73.6vw); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero-media picture, .hero-media img, .hero-media video { width: 100%; height: 100%; }
.hero-img, .hero-video { object-fit: cover; object-position: 50% 100%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0 0 auto; height: 34%; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(244, 246, 249, .7) 45%, rgba(244, 246, 249, 0) 100%); }
.hero-in { padding-top: calc(var(--hdr) + clamp(28px, 3vw, 44px)); text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 10px 28px -12px rgba(40, 70, 130, .25); font-size: 15px; font-weight: 500; color: rgba(35, 31, 32, .8); }
.hero-tag b { color: var(--anchor); font-weight: 700; }
.hero-tag .dot { background: var(--anchor); width: 8px; height: 8px; box-shadow: 0 0 0 4px rgba(40, 70, 130, .12); }
.hero-tag .sep { opacity: .45; }
.show-s { display: none; }
.hero-title { margin-top: clamp(14px, 1.4vw, 20px); font-size: clamp(46px, 6.95vw, 104px); line-height: 1.12; font-weight: 900; letter-spacing: -.015em; }
.hero-title .l1, .hero-title .l2 { display: block; }
.hero-title em { font-style: normal; color: var(--anchor); }
html[lang="en"] .hero-title { font-size: clamp(44px, 6.1vw, 90px); line-height: 1.06; letter-spacing: -.025em; }
html[lang="en"] .hero-sub { max-width: 900px; }
.hero-sub { margin-top: clamp(10px, 1vw, 14px); max-width: 760px; line-height: 1.55; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; color: rgba(35, 31, 32, .74); text-wrap: balance; }
.hero-sub span:first-child { display: block; }
.hero-cta { margin-top: clamp(22px, 2.2vw, 32px); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-chips { margin-top: auto; padding-bottom: clamp(20px, 2.4vw, 36px); display: flex; justify-content: space-between; gap: 12px; }
.chip { display: inline-flex; align-items: baseline; gap: 10px; padding: 13px 20px; border-radius: 999px; color: var(--white);
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); white-space: nowrap; }
.chip b { font-size: 20px; font-weight: 900; }
.chip span { font-size: 16px; font-weight: 500; opacity: .9; }

/* ---------- identity ---------- */
.statement { margin-top: 26px; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.34; font-weight: 700; text-wrap: balance; }
.statement .soft { color: rgba(35, 31, 32, .28); }
.affil-label { margin-top: 64px; font-size: 14px; font-weight: 500; color: rgba(40, 70, 130, .6); }
.affil { margin-top: 16px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.affil-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  text-align: start; min-width: min(360px, 100%); }
.affil-mark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(40, 70, 130, .06); color: var(--anchor);
  font-weight: 900; font-size: 13px; flex: none; }
.affil-card b { display: block; font-size: 18px; }
.affil-card small { display: block; font-size: 14px; color: var(--muted); }

/* ---------- services ---------- */
.services { padding-top: 0; }
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc { position: relative; grid-column: span 2; min-height: 400px; border-radius: var(--r-lg); overflow: hidden; color: var(--white); background: var(--hull);
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.svc--lg { grid-column: span 3; min-height: 440px; }
.svc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.svc:hover .svc-img { transform: scale(1.045); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 31, 32, 0) 30%, rgba(35, 31, 32, .82) 100%); }
.svc--grad { background: var(--grad-card); }
.svc--grad::after { background: linear-gradient(180deg, rgba(31, 55, 102, 0) 40%, rgba(31, 55, 102, .5) 100%); }
.svc-depth, .vm-depth { position: absolute; inset: 0; z-index: -1; }
.svc-depth svg, .vm-depth svg { width: 100%; height: 100%; }
.svc-num { position: absolute; top: 22px; inset-inline-start: 22px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.svc-body { padding: 28px; }
.svc h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; font-weight: 900; }
.svc--lg h3 { font-size: clamp(26px, 2.5vw, 38px); }
.svc-desc { margin-top: 8px; max-width: 460px; font-size: 15px; line-height: 1.6; opacity: .8; }
.svc-en { margin-top: 8px; font-size: 13px; color: var(--horizon); font-weight: 500; }

/* ---------- facts ---------- */
.facts { padding-top: 0; }
.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: end; }
.split .lede { margin-top: 0; font-size: 16px; max-width: 460px; justify-self: end; }
.bento { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr);
  grid-template-areas: "year year offices offices" "year year ports ports" "ships ships people clock"; }
.bento-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--white);
  border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 202px; }
.b-year { grid-area: year; background: var(--grad-card); color: var(--white); border: 0; min-height: 420px; }
.b-offices { grid-area: offices; } .b-ports { grid-area: ports; } .b-people { grid-area: people; }
.b-ships { grid-area: ships; color: var(--white); border: 0; background: #0f2244; min-height: 260px; }
.b-clock { grid-area: clock; background: var(--hull); color: var(--white); border: 0; }
.b-depth { position: absolute; inset: 0; z-index: -1; color: var(--white); }
.b-clock .b-depth { color: var(--horizon); }
.b-depth svg { width: 100%; height: 100%; }
.bn { display: block; font-size: clamp(44px, 4.4vw, 64px); line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--anchor); }
.b-year .bn, .b-ships .bn, .b-clock .bn { color: var(--white); }
.bn--xl { font-size: clamp(96px, 11.8vw, 170px); line-height: .95; letter-spacing: -.03em; margin-top: auto; }
.bl { display: block; margin-top: 6px; font-size: 16px; font-weight: 500; color: var(--muted); }
.b-ships .bl { color: var(--horizon); font-weight: 700; }
.b-clock .bl { color: rgba(255, 255, 255, .7); }
.b-top { position: absolute; top: 32px; inset-inline-start: 32px; display: flex; align-items: center; gap: 10px; color: var(--horizon); font-weight: 700; font-size: 18px; }
.b-top .stat-ico { width: 38px; height: 38px; color: var(--white); }
.b-note { margin-top: 18px; max-width: 520px; font-size: 16px; line-height: 1.6; opacity: .82; }
.b-tile { position: absolute; top: 28px; inset-inline-end: 28px; width: 60px; height: 60px; border-radius: 18px; background: rgba(137, 203, 240, .18);
  display: grid; place-items: center; color: var(--anchor); }
.b-people .b-tile { inset-inline-end: auto; inset-inline-start: 28px; }
.b-tile .stat-ico { width: 34px; height: 34px; }
.b-ico { position: absolute; top: 30px; inset-inline-start: 30px; color: var(--horizon); }
.b-ico .stat-ico { width: 36px; height: 36px; }
.mini-map { position: absolute; top: 18px; inset-inline-end: 24px; width: 46%; height: auto; max-height: calc(100% - 36px); }
.mini-map rect { opacity: 1; }
#mini-dots circle { fill: rgba(40, 70, 130, .22); }
.mm-pin { fill: var(--horizon); }
.mm-hq { fill: var(--anchor); stroke: var(--horizon); stroke-width: 3; }
.bento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; }
[dir="ltr"] .bento-img { transform: scaleX(-1); }
.b-ships::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 25, 56, .05), rgba(13, 25, 56, .7)); }

/* ---------- values on the sea ---------- */
.values { padding-top: 0; }
.values-stage { position: relative; margin-top: 48px; border-radius: var(--r-lg); overflow: hidden; min-height: 640px; color: var(--white); isolation: isolate;
  display: flex; align-items: flex-end; }
.values-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.values-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 25, 51, .05) 0%, rgba(15, 25, 51, .78) 100%); }
.glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.values-quote { position: absolute; top: 36px; inset-inline-start: 36px; padding: 20px 24px; border-radius: 20px; max-width: 340px; }
.values-quote small { display: block; font-size: 13px; font-weight: 700; color: var(--horizon); }
.values-quote p { margin-top: 6px; font-size: 21px; line-height: 1.4; font-weight: 700; }
.values-line { position: relative; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0 60px 52px; }
.values-line::before { content: ""; position: absolute; top: 46px; inset-inline: 60px; height: 1.5px; background: rgba(255, 255, 255, .5); }
.value { position: relative; padding-inline-end: 28px; }
.value-num { display: block; font-size: 13px; font-weight: 700; color: var(--horizon); }
.value-dot { display: block; margin-top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); }
.value:first-child .value-dot { width: 18px; height: 18px; margin-top: 11px; background: var(--horizon); box-shadow: 0 0 22px 4px rgba(137, 203, 240, .75); }
.value h3 { margin-top: 26px; font-size: clamp(22px, 2vw, 28px); font-weight: 900; line-height: 1.25; }
.value-line { margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--horizon); }
.value-desc { margin-top: 12px; font-size: 14px; line-height: 1.65; opacity: .74; }

/* ---------- dark: message ---------- */
.dark { background: var(--hull); color: var(--white); }
.dark .lede { color: rgba(255, 255, 255, .62); }
.message { padding-bottom: clamp(64px, 7vw, 96px); overflow: hidden; }
.msg-stage { position: relative; max-width: 1100px; margin: 8px auto 0; }
.msg-img { width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%); }
.msg-points { position: absolute; inset: 0; }
.msg-point { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); white-space: nowrap; }
.mp-1 { top: 22%; inset-inline-start: 2%; } .mp-2 { top: 60%; inset-inline-start: 4%; }
.mp-3 { top: 22%; inset-inline-end: 2%; } .mp-4 { top: 60%; inset-inline-end: 0; }
.msg-text { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.msg-text p { max-width: 460px; font-size: 16px; color: rgba(255, 255, 255, .66); }
.msg-text p:last-child { justify-self: end; }

/* ---------- dark: presence + dotted map ---------- */
.presence { border-top: 1px solid rgba(255, 255, 255, .06); }
.map { position: relative; width: min(820px, 100%); margin: 56px auto 0; aspect-ratio: 400 / 316; }
.map-svg { width: 100%; height: 100%; overflow: visible; }
#map-dots circle { fill: rgba(137, 203, 240, .36); }
.map-leads path { stroke: rgba(137, 203, 240, .5); stroke-width: .5; fill: none; }
.map-leads--m { display: none; }
.pin-halo { fill: rgba(137, 203, 240, .14); }
.pin-ring { fill: rgba(137, 203, 240, .28); }
.pin-dot { fill: var(--white); }
.pin--hq .pin-halo { animation: halo 3.2s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.map-labels { position: absolute; inset: 0; pointer-events: none; }
.map-label { position: absolute; transform: translateY(-50%); display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 999px;
  white-space: nowrap; font-size: 14px; color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.map-label b { font-weight: 700; }
.map-label .en { font-size: 11px; opacity: .5; }
.map-label--hq { background: var(--horizon); color: var(--hull); border-color: transparent; }
.map-label--hq span { font-size: 12px; opacity: .72; }
.office-list { display: none; }
.fleet { margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.fleet b { display: block; font-size: clamp(40px, 4vw, 58px); line-height: 1.1; color: var(--horizon); font-weight: 900; font-variant-numeric: tabular-nums; }
.fleet span { font-size: 15px; color: rgba(255, 255, 255, .62); }

/* ---------- vision / mission / promise ---------- */
.vm-vision { margin-top: 48px; display: grid; grid-template-columns: 1fr 460px; gap: 20px; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.vm-photo { order: 2; border-radius: 20px; overflow: hidden; min-height: 360px; }
[dir="rtl"] .vm-photo { order: 2; }
.vm-img { width: 100%; height: 100%; object-fit: cover; }
.vm-copy { padding: 36px; display: flex; flex-direction: column; }
.vm-label { font-size: 15px; font-weight: 700; color: var(--anchor); }
.vm-copy blockquote { margin-top: 14px; font-size: clamp(22px, 2.2vw, 31px); line-height: 1.5; font-weight: 700; text-wrap: pretty; }
.vm-copy blockquote::before { content: "”"; display: block; font-size: 90px; line-height: .6; height: 40px; color: var(--horizon); font-weight: 900; }
[dir="ltr"] .vm-copy blockquote::before { content: "“"; }
.vm-sign { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.vm-sign b { display: block; font-size: 16px; }
.vm-sign span { font-size: 13px; color: var(--muted); }
.vm-row { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm-card { position: relative; padding: 44px 48px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.vm-card p { margin-top: 14px; font-size: 18px; line-height: 1.75; color: rgba(35, 31, 32, .8); }
.vm-card--promise { background: var(--grad-card); color: var(--white); border: 0; }
.vm-card--promise .vm-label { color: rgba(255, 255, 255, .8); }
.vm-card--promise .promise { color: var(--white); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.38; font-weight: 900; }
.vm-card--promise .btn { margin-top: 28px; }

/* ---------- visit ---------- */
.visit { padding-top: 0; padding-bottom: 0; }
.visit-card { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--white); text-align: center; min-height: 640px; display: grid; place-items: center; }
.visit-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.visit-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 31, 64, .15) 0%, rgba(20, 31, 64, .86) 100%); }
.visit-in { padding: 80px 24px; display: flex; flex-direction: column; align-items: center; }
.visit-title { margin-top: 20px; font-size: clamp(46px, 6vw, 88px); line-height: 1.32; font-weight: 900; }
.visit-title span { color: var(--horizon); }
.visit-when { margin-top: 10px; font-size: clamp(17px, 1.5vw, 21px); opacity: .85; }
.countdown { margin-top: 30px; display: flex; gap: 12px; }
.countdown li { width: 120px; padding: 14px 0 12px; border-radius: 18px; }
.countdown b { display: block; font-size: 42px; line-height: 1.1; font-weight: 900; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 13px; opacity: .72; }
.countdown[hidden] { display: none; }
.visit-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- footer ---------- */
.ftr { padding-top: 96px; overflow: hidden; }
.ftr-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ftr-brand { color: var(--anchor); }
.ftr-brand .logo { width: 120px; height: auto; }
.ftr-brand p { margin-top: 22px; font-size: 18px; font-weight: 700; color: var(--hull); }
.ftr-cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.ftr-cols h3 { font-size: 14px; font-weight: 700; color: rgba(35, 31, 32, .45); }
.ftr-cols ul { margin-top: 12px; display: grid; gap: 8px; font-size: 15px; color: rgba(35, 31, 32, .8); }
.ftr-cols a:hover { color: var(--anchor); }
.ftr-bar { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(35, 31, 32, .55); }
.ftr-draft { opacity: .8; }
.ftr-word { margin-top: 12px; text-align: center; font-size: clamp(80px, 15.6vw, 230px); line-height: .9; font-weight: 900; letter-spacing: -.03em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(40, 70, 130, .14), rgba(40, 70, 130, 0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: -.12em; user-select: none; }

/* ---------- motion ---------- */
.rise { animation: rise 1s var(--ease) both; }
.hero-title.rise { animation-delay: .08s; } .hero-sub.rise { animation-delay: .18s; } .hero-cta.rise { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-img { animation: settle 2.6s var(--ease) both; transform-origin: 50% 100%; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.chip { animation: rise 1.2s var(--apple-out, var(--ease)) backwards; animation-delay: .5s; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .msg-point.reveal { transform: scale(.9); }
.js .msg-point.reveal.is-in { transform: none; }
.depth-line { fill: none; stroke: currentColor; stroke-opacity: .16; stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke-opacity 1.2s; }
.depth-line.idx { stroke-opacity: .3; }
.depth-line.glint { stroke-opacity: .9; transition-duration: .5s; }
.svc-depth, .vm-depth { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .hero-sub .hide-s { display: none; }
}
@media (max-width: 1180px) {
  .hdr-nav a { padding: 9px 13px; font-size: 14px; }
  .hero-chips { flex-wrap: wrap; justify-content: center; }
  .values-line { padding: 0 32px 40px; } .values-line::before { inset-inline: 32px; }
}
@media (max-width: 1100px) {
  .hero { min-height: max(860px, 100svh); }
}
@media (max-width: 960px) {
  :root { --hdr: 76px; }
  .hdr-menu { display: grid; }
  .hdr-end .hdr-lang, .hdr-end .btn { display: none; }
  .hdr-nav { position: fixed; inset: 0 0 auto; padding: 96px var(--gut) 28px; background: rgba(244, 246, 249, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transform: translateY(-104%); transition: transform .5s var(--ease); z-index: -1;
    box-shadow: 0 20px 40px -20px rgba(40, 70, 130, .3); visibility: hidden; }
  .hdr-nav.is-open { transform: none; visibility: visible; }
  .hdr-nav ul { flex-direction: column; gap: 6px; }
  .hdr-nav a { font-size: 22px; font-weight: 700; padding: 12px 18px; background: var(--white); }
  .hdr-nav .hdr-lang--sheet { display: inline-block; margin-top: 18px; padding-inline: 18px; font-size: 17px; }
  .split { grid-template-columns: 1fr; gap: 18px; } .split .lede { justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "year year" "offices ports" "ships ships" "people clock"; }
  .mini-map { width: 52%; }
  .svc, .svc--lg { grid-column: span 3; }
  .svc:last-child { grid-column: span 6; }
  .values-stage { min-height: 0; display: block; }
  .values-quote { position: relative; top: auto; inset-inline-start: auto; margin: 24px; }
  .values-line { grid-template-columns: 1fr; padding: 8px 28px 32px; gap: 26px; }
  .values-line::before { top: 18px; bottom: 40px; inset-inline-start: 34px; inset-inline-end: auto; width: 1.5px; height: auto; }
  .value { padding-inline-start: 40px; padding-inline-end: 0; }
  .value-num { position: absolute; top: 0; inset-inline-start: 40px; }
  .value-dot, .value:first-child .value-dot { position: absolute; top: 5px; inset-inline-start: 0; margin: 0; }
  .value:first-child .value-dot { inset-inline-start: -3px; top: 2px; }
  .value h3 { margin-top: 22px; }
  .msg-text { grid-template-columns: 1fr; gap: 16px; } .msg-text p:last-child { justify-self: start; }
  .vm-vision { grid-template-columns: 1fr; } .vm-photo { order: 0; min-height: 240px; } .vm-copy { padding: 16px 12px 12px; }
  .vm-row { grid-template-columns: 1fr; }
  .fleet { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
/* the map labels need ~1000px; below that the pins stay and the names move to a list by coast */
@media (max-width: 1000px) {
  .map { width: 100%; margin: 36px auto 0; max-width: 640px; }
  .map-labels, .map-leads { display: none !important; }
  .office-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; text-align: start; }
  .office-list h3 { font-size: 13px; font-weight: 700; color: var(--horizon); }
  .office-list ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
  .office-list li { padding: 5px 11px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
  .office-list li.hq { background: var(--horizon); color: var(--hull); border-color: transparent; font-weight: 700; }
  .office-list small { font-weight: 500; opacity: .7; font-size: 11px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: max(820px, 100svh); }
  /* phones wider than the portrait plate (430–700px): crop a little sea instead of the sky, so the ship stays under the button */
  .hero-img { object-position: 50% 72%; }
  .hero-tag { font-size: 13px; padding: 7px 14px; }
  .hero-tag .hide-s { display: none; }
  .hero-tag .show-s { display: inline; }
  .hero-title { font-size: clamp(36px, 11vw, 48px); }
  html[lang="en"] .hero-title { font-size: clamp(32px, 9.6vw, 42px); }
  .hero-cta .btn--glass { display: none; }
  .hero-chips { justify-content: space-between; flex-wrap: nowrap; }
  .chip { padding: 10px 14px; gap: 6px; }
  .chip:nth-child(2), .chip:nth-child(4) { display: none; }
  .chip b { font-size: 16px; } .chip span { font-size: 12px; }
  .svc-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .svc, .svc--lg, .svc:last-child { grid-column: auto; min-height: 280px; }
  .svc-body { padding: 22px; }
  .bento { gap: 10px; grid-template-areas: "year year" "offices offices" "ports people" "ships ships" "clock clock"; margin-top: 32px; }
  .bento-card { padding: 22px; min-height: 170px; }
  .b-year { min-height: 340px; } .b-top { top: 22px; inset-inline-start: 22px; font-size: 16px; }
  .b-tile { top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; border-radius: 14px; }
  .b-people .b-tile { inset-inline-start: 18px; } .b-tile .stat-ico { width: 28px; height: 28px; }
  .b-ico { top: 20px; inset-inline-start: 20px; }
  .bn { font-size: 40px; } .bn--xl { font-size: clamp(84px, 26vw, 112px); } .bl { font-size: 13px; }
  .mini-map { width: 50%; top: 14px; inset-inline-end: 14px; }
  .msg-stage { margin-inline: -20%; }
  .msg-points { position: static; margin: -6% 0 0; padding-inline: 24%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .msg-point { position: static; white-space: normal; font-size: 14px; }
  .visit-title span { display: block; }
  .map-leads--d { display: none; } .map-leads--m { display: inline; }
  .map-label { font-size: 11px; padding: 4px 8px; }
  .map-label .en { display: none; }
  .map-label--hq span { display: none; }
  .fleet b { font-size: 38px; } .fleet span { font-size: 12px; }
  .vm-card { padding: 28px 24px; } .vm-card p { font-size: 15px; }
  .visit-card { min-height: 560px; } .countdown li { width: 96px; } .countdown b { font-size: 32px; }
  .ftr { padding-top: 64px; } .ftr-word { font-size: 44vw; }
}

/* ================= motion (v09): Apple-style scroll scenes =================
   Calm and scroll-linked: content arrives with a soft rise, a few scenes play with the scroll.
   .motion is set by the JS only when reduced motion is off. No tilt, no cursor tricks. */
:root { --apple: cubic-bezier(.25, .1, .25, 1); --apple-out: cubic-bezier(.16, 1, .3, 1); }
.js .reveal { transform: translateY(40px); transition: opacity 1.2s var(--apple-out), transform 1.2s var(--apple-out); }
.motion .rise-in { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--apple-out), transform 1.1s var(--apple-out); }
.motion .rise-in.is-in { opacity: 1; transform: none; }

/* hero: the scene closes into a rounded frame and the copy lifts away as you scroll */
.motion .hero-media { will-change: clip-path; }
.motion .hero-in, .motion .hero-chips { will-change: transform, opacity; }

/* statement: the words light up as you read down */
.motion .statement .w { opacity: .12; transition: opacity .25s linear; }
.motion .statement .strong .w.on { opacity: 1; }
.motion .statement .soft .w.on { opacity: .42; }
.motion .statement .soft { color: var(--hull); }

/* images settle as they arrive */
.motion .svc-img { transform: scale(1.12); transition: transform 1.8s var(--apple-out); }
.motion .svc.is-in .svc-img { transform: none; }
.motion .svc:hover .svc-img { transform: scale(1.04); }
.motion .visit-img { will-change: transform; }

/* values: the stage stays while the five values light one by one */
@media (min-width: 961px) {
  .motion .values-pin { height: calc(640px + 5 * 38vh); }
  .motion .values-pin .values-stage { position: sticky; top: calc(50vh - 320px + var(--hdr) / 2); }
  .motion .values-img { will-change: transform; }
  .motion .value { opacity: .32; transition: opacity .6s var(--apple); }
  .motion .value.on { opacity: 1; }
  .motion .value .value-dot { transition: transform .6s var(--apple-out), background-color .4s, box-shadow .6s; }
  .motion .value.on .value-dot { background: var(--horizon); transform: scale(1.35); box-shadow: 0 0 22px 4px rgba(137, 203, 240, .7); }
  .motion .value:first-child .value-dot { box-shadow: none; transform: none; background: var(--white); width: 12px; height: 12px; margin-top: 14px; }
  .motion .value:first-child.on .value-dot { background: var(--horizon); transform: scale(1.35); box-shadow: 0 0 22px 4px rgba(137, 203, 240, .7); }
  .motion .values-line::after { content: ""; position: absolute; top: 46px; inset-inline-start: 60px; height: 1.5px; width: calc((100% - 120px) * var(--vp, 0));
    background: var(--horizon); box-shadow: 0 0 12px rgba(137, 203, 240, .8); }

  /* message: the camera moves into the lit container, the four points arrive one by one */
  .message { overflow: clip; }
  .motion .msg-pin { height: 220vh; }
  .motion .msg-sticky { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); display: flex; flex-direction: column; justify-content: center; }
  .motion .msg-sticky .wrap { flex: none; }
  .motion .msg-stage { margin-top: 0; width: min(1100px, calc((100vh - var(--hdr) - 230px) * 1.5)); }
  .motion .msg-img { transform-origin: 50% 52%; will-change: transform; }
  .motion .msg-point { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .7s var(--apple-out), transform .7s var(--apple-out); }
  .motion .msg-point.on { opacity: 1; transform: none; }
}

/* map: pins appear west → east, leader lines draw, then the names */
.motion .map .pin circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .8s var(--apple-out); transition-delay: var(--d, 0ms); }
.motion .map.is-live .pin circle { transform: scale(1); }
.motion .map-leads path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--apple-out) .6s; }
.motion .map.is-live .map-leads path { stroke-dashoffset: 0; }
.motion .map-label { opacity: 0; transition: opacity .7s var(--apple-out), transform .7s var(--apple-out); }
.motion .map-label.side-W { transform: translate(10px, -50%); }
.motion .map-label.side-E { transform: translate(-10px, -50%); }
.motion .map.is-live .map-label { opacity: 1; transform: translate(0, -50%); }

/* countdown digits tick in */
.countdown b.tick { animation: tick .6s var(--apple-out); }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } }

/* generated by build-landing_v04: map label positions (svg units → %) */
.ml-duba { top: 31.08%; right: 103.12%; left: auto; }
.ml-yanbu { top: 51.11%; right: 94.53%; left: auto; }
.ml-rabigh { top: 59.02%; right: 88.68%; left: auto; }
.ml-kap { top: 65.03%; right: 88.47%; left: auto; }
.ml-jeddah { top: 71.04%; right: 87.53%; left: auto; }
.ml-jizan { top: 95.28%; right: 71.68%; left: auto; }
.ml-jubail { top: 33.16%; left: 76.15%; right: auto; }
.ml-rastanura { top: 39.18%; left: 79.20%; right: auto; }
.ml-dammam { top: 45.19%; left: 80.18%; right: auto; }
@media (max-width: 760px) {
.ml-duba { top: 31.08%; right: 98.62%; left: auto; }
.ml-yanbu { top: 51.11%; right: 90.03%; left: auto; }
.ml-rabigh { top: 59.02%; right: 84.18%; left: auto; }
.ml-kap { top: 66.61%; right: 83.97%; left: auto; }
.ml-jeddah { top: 74.21%; right: 83.03%; left: auto; }
.ml-jizan { top: 95.28%; right: 67.18%; left: auto; }
.ml-jubail { top: 33.16%; left: 71.65%; right: auto; }
.ml-rastanura { top: 40.76%; left: 74.70%; right: auto; }
.ml-dammam { top: 48.35%; left: 75.68%; right: auto; }
}

