/* =========================================================
   PRO STAR GROUP — styles
   Navy primary · light grey secondary · white ground · yellow accent · DM Sans
   Soft version: rounded surfaces, floating sections, gentle shadows
   ========================================================= */

:root {
  --navy-950: #071426;
  --navy-900: #0A1C33;
  --navy-800: #0F2744;
  --navy-700: #0C4283; /* logo blue */
  --navy-500: #3D5C82;
  --navy-300: #8EA3BD;
  --navy-100: #E3EAF3;

  --grey-50: #F7F8FA;
  --grey-100: #EEF1F5;
  --grey-200: #E1E6EC;
  --grey-300: #CBD2DB;
  --grey-500: #8792A2;
  --grey-700: #515C6B;

  /* yellow accent: fills (buttons, chips) use --accent; small marks on white use the deeper --accent-ink */
  --accent: #FFC247;
  --accent-hover: #FFD571;
  --accent-ink: #EBA300;
  --amber: #FFC247;
  --accent-glow: rgba(235, 163, 0, .45);

  --ink: #0E1A2B;
  --white: #FFFFFF;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --edge: clamp(8px, 1vw, 14px);          /* gap between floating sections and window edge */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: clamp(24px, 3vw, 40px);
  --shadow: 0 1px 2px rgba(15, 39, 68, .04), 0 16px 40px -22px rgba(15, 39, 68, .28);
  --shadow-lift: 0 2px 4px rgba(15, 39, 68, .05), 0 28px 60px -28px rgba(15, 39, 68, .35);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 76px;
  --section: clamp(80px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
strong { font-weight: 600; }
::selection { background: var(--amber); color: var(--navy-950); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* floating rounded section */
.surface {
  margin-left: var(--edge);
  margin-right: var(--edge);
  border-radius: var(--r-xl);
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 3px; border-radius: 6px; }

/* ---------- type ---------- */
.h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--navy-800);
}
.h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 12px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  margin-bottom: 24px;
}
.section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 0 0 4px rgba(255, 194, 71, .3);
}
.section-label--light { color: var(--navy-100); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
  transition: gap .35s var(--ease), color .3s;
}
.link-arrow::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grey-100);
  transition: background .3s, color .3s;
}
.link-arrow:hover { gap: 14px; color: var(--navy-700); }
.link-arrow:hover::after { background: var(--accent); color: var(--navy-950); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 24px;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-1px); }
.btn--line { border: 1px solid var(--grey-300); color: var(--navy-800); background: var(--white); }
.btn--line:hover { border-color: var(--navy-800); background: var(--navy-800); color: var(--white); }
.btn--solid { border: 1px solid var(--navy-800); background: var(--navy-800); color: var(--white); }
.btn--solid:hover { background: var(--navy-700); border-color: var(--navy-700); box-shadow: 0 12px 24px -12px rgba(12, 66, 131, .6); }
.btn--accent { border: 1px solid var(--accent); background: var(--accent); color: var(--navy-950); font-weight: 600; }
.btn--accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: 0 14px 28px -14px var(--accent-glow); }
.btn--arrow::after { content: "→"; margin-left: 10px; transition: transform .35s var(--ease); }
.btn--arrow:hover::after { transform: translateX(4px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.header__cta { padding: 8px 18px; font-size: 14px; }

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .4s;
}
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(15, 39, 68, .35); }
.header__inner { display: flex; align-items: center; height: var(--header-h); gap: 36px; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy-800); flex-shrink: 0; }
.brand__logo { height: 38px; width: auto; }
.brand__divider { width: 1px; height: 26px; background: var(--grey-300); margin: 0 2px; }
.brand__region { font-size: 15px; color: var(--grey-700); }
.brand--footer { flex-direction: column; align-items: flex-start; gap: 10px; }
.brand--footer .brand__logo { height: 34px; }
.brand__legal { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-300); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-size: 15px;
  text-decoration: none;
  color: var(--navy-800);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .3s, color .3s;
}
.nav a:hover { background: var(--grey-100); }
.nav a.is-current { background: var(--navy-100); color: var(--navy-700); }

.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero__media {
  display: grid;
  grid-template-columns: 2.35fr 1fr;
  gap: 10px;
  height: min(64vh, 640px);
  min-height: 380px;
  padding: 4px var(--edge) 0;
}
.hero__media figure { position: relative; overflow: hidden; background: var(--navy-900); border-radius: var(--r-xl); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__main img { animation: slowzoom 18s var(--ease) both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__side img { object-position: 40% center; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: end;
  padding: 64px 0 var(--section);
}
.hero__title {
  font-size: clamp(54px, 8vw, 124px);
  line-height: .95;
  letter-spacing: -0.04em;
  color: var(--navy-800);
  font-weight: 400;
}
.hero__title em { font-style: normal; color: var(--navy-700); }
.hero__title b { font-weight: inherit; color: var(--accent-ink); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--i) * 130ms + 150ms); }
@keyframes rise { from { transform: translateY(105%); } }
.hero__copy { justify-self: end; max-width: 460px; padding-bottom: 10px; color: var(--grey-700); }
.hero__sub { font-size: 20px; line-height: 1.45; color: var(--navy-800); font-weight: 500; margin-bottom: 16px; }
.hero__copy .btn { margin-top: 24px; }
.ticker { display: inline-grid; overflow: hidden; }
.ticker > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .6s; }
.ticker > .is-current { opacity: 1; transform: none; }
.ticker > .is-leaving { opacity: 0; transform: translateY(-100%); }

/* ---------- who we are ---------- */
.who { padding: 0 0 var(--section); }
.who__story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.who__media {
  position: relative;
  min-height: 480px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-900);
}
.who__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.who__media:hover img { transform: scale(1.04); }
.who__content { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.statement {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.022em;
  font-weight: 300;
  color: var(--navy-800);
  margin-bottom: 44px;
}
.statement span { color: var(--navy-700); }
/* usual voyage vs the loop, drawn with the same line language as the map */
.voyages { color: var(--grey-700); }
.voyage {
  display: grid;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--grey-200);
}
.voyage:last-child { padding-bottom: 0; }
.voyage__kicker { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--grey-500); }
.voyage .h3 { font-size: 18px; margin-bottom: 6px; }
.voyage__text p:last-child { margin: 0; font-size: 15.5px; line-height: 1.65; }
.voyage__map { display: flex; align-items: center; gap: 8px; max-width: 560px; padding-top: 14px; }
.voyage__map .port { flex: none; font-size: 13.5px; font-weight: 500; color: var(--navy-800); white-space: nowrap; }
.voyage__pair { flex: 1; display: grid; gap: 22px; padding: 4px 0; }
.seg { position: relative; flex: 1; min-width: 58px; height: 2px; background: var(--navy-700); }
.seg::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-left: 7px solid var(--navy-700);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.seg i { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); font-style: normal; font-size: 11.5px; color: var(--grey-500); white-space: nowrap; }
.seg--empty { height: 4px; background: radial-gradient(circle, var(--grey-500) 1.3px, transparent 1.8px) 0 50% / 8px 4px repeat-x; }
.seg--empty::after { border-left-color: var(--grey-500); top: -3px; }
.seg--back::after { right: auto; left: -1px; transform: scaleX(-1); }
.seg--empty i { bottom: auto; top: 9px; }

.figures {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  gap: 12px;
  margin: 72px 0 0;
}
.figure {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 240px;
  padding: 24px 24px 26px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--grey-200);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .4s, transform .4s var(--ease);
}
.figure:hover { box-shadow: inset 0 0 0 1px var(--grey-200), var(--shadow); transform: translateY(-3px); }
.figure__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.figure__label { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--grey-700); max-width: 140px; }
.figure__num {
  margin: 0 0 8px;
  font-size: clamp(48px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 300;
  color: var(--navy-800);
  white-space: nowrap;
}
.figure__num small { font-size: .42em; letter-spacing: 0; margin-left: 4px; color: var(--navy-700); }
.figure__desc { font-size: 13.5px; line-height: 1.5; color: var(--grey-500); margin: 0; max-width: 240px; }

/* featured figure */
.figure--feature { background: var(--navy-800); box-shadow: none; color: var(--white); }
.figure--feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/images/ocean-texture.jpg") center / cover;
  opacity: .22;
  mix-blend-mode: luminosity;
}
.figure--feature:hover { box-shadow: var(--shadow-lift); }
.figure--feature .figure__label { color: var(--white); max-width: 200px; }
.figure--feature .figure__num { color: var(--white); font-size: clamp(60px, 6vw, 92px); }
.figure--feature .figure__num small { color: var(--accent); }
.figure--feature .figure__desc { color: var(--navy-100); opacity: .8; max-width: 300px; }
.figure__chip {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--white);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* icon that explains each number */
.figure__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
  transition: background .3s, color .3s;
}
.figure__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.figure__icon circle { fill: var(--navy-100); transition: fill .3s; }
.figure:hover .figure__icon { background: var(--accent); color: var(--navy-950); }
.figure:hover .figure__icon circle { fill: var(--accent); }

/* ---------- loop / map ---------- */
.loop { background: var(--grey-100); padding: var(--section) 0; }
.loop__head, .commodities__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.loop__head > p, .commodities__head > p {
  justify-self: end;
  max-width: 460px;
  margin: 0;
  color: var(--grey-700);
}
.loop__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) 1.5fr;
  gap: 24px;
  align-items: stretch;
}
.loop__text { display: flex; flex-direction: column; }

.legs { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.leg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  align-content: start;
  padding: 20px 22px;
  border-radius: var(--r-md);
  cursor: pointer;
  outline: none;
  flex: 0 0 auto;
  transition: background .4s, box-shadow .4s, flex-grow .6s var(--ease);
}
.leg:hover { background: rgba(255, 255, 255, .55); }
.leg.is-active { background: var(--white); box-shadow: var(--shadow); flex-grow: 1; }
.leg:focus-visible { box-shadow: 0 0 0 2px var(--navy-700); }
.leg__no {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-500);
  background: rgba(255, 255, 255, .8);
  transition: background .3s, color .3s;
}
.leg.is-active .leg__no { background: var(--accent); color: var(--navy-950); }
.leg h3 { font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--grey-700); padding-top: 2px; transition: color .3s; }
.leg h3 i { font-style: normal; color: var(--grey-500); }
.leg__cargo { font-size: 14px; color: var(--grey-500); margin: 4px 0 0; }
.leg__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-700);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height .6s var(--ease), opacity .4s, margin .4s;
}
.leg.is-active h3 { color: var(--navy-800); }
.leg.is-active .leg__cargo { color: var(--navy-700); font-weight: 500; }
.leg.is-active .leg__desc { max-height: 160px; opacity: 1; margin-top: 10px; }
.leg:hover h3 { color: var(--navy-800); }

.loop__map {
  background: var(--white);
  padding: 18px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.map-slot { aspect-ratio: 1200 / 757; border-radius: var(--r-md); overflow: hidden; }
.loop-map { width: 100%; height: auto; display: block; font-family: var(--font); }
.loop-map .grat { stroke: var(--grey-50); stroke-width: 1; }
.loop-map .land path { fill: var(--grey-100); stroke: var(--white); stroke-width: .8; }
.loop-map .land-hi path { fill: var(--grey-200); stroke: var(--white); stroke-width: .8; transition: fill .4s; }
.loop-map .sea { fill: var(--grey-300); font-size: 13px; font-style: italic; letter-spacing: .04em; }
.loop-map .route-ext { fill: none; stroke: var(--grey-500); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: .7; }
.loop-map .node--ext .node-halo { stroke: var(--grey-500); stroke-dasharray: 3 3; }
.loop-map .node--ext .node-dot { fill: var(--grey-500); }
.loop-map .hub-star { fill: var(--accent-ink); stroke: var(--white); stroke-width: 2; }
.loop-map .legend text { fill: var(--grey-700); font-size: 13px; }
.loop-map .legend path:not(.hub-star) { fill: none; stroke-width: 2.5; }
.loop-map .lg-leg { stroke: var(--navy-700); }
.loop-map .lg-repo { stroke: var(--grey-300); stroke-dasharray: 2 6; stroke-linecap: round; }
.loop-map .lg-ext { stroke: var(--grey-500); stroke-dasharray: 6 6; opacity: .7; }

.loop-map .route {
  fill: none;
  stroke: var(--grey-300);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke .4s, stroke-width .4s;
}
.loop-map .route-repo { stroke-dasharray: 2 6; stroke-width: 1.5; }
.loop-map .route.is-active { stroke: var(--navy-700); stroke-width: 3; }
.loop-map .route-flow path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 2 14;
  opacity: 0;
  transition: opacity .4s;
  animation: flow 1.6s linear infinite;
}
.loop-map .route-flow path.is-active { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -32; } }

.loop-map .node-dot { fill: var(--navy-800); }
.loop-map .node-halo { fill: var(--white); stroke: var(--navy-800); stroke-width: 1; }
.loop-map .node-name { fill: var(--navy-800); font-size: 17px; font-weight: 600; }
.loop-map .node-note { fill: var(--grey-700); font-size: 13px; }
.loop-map .node text { paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 4px; stroke-linejoin: round; }
.loop-map .leg-tag rect { fill: var(--white); stroke: var(--grey-300); rx: 13px; transition: fill .4s, stroke .4s; }
.loop-map .leg-tag text { fill: var(--grey-700); font-size: 13px; font-weight: 600; transition: fill .4s; }
.loop-map .leg-tag.is-active rect { fill: var(--navy-700); stroke: var(--navy-700); }
.loop-map .leg-tag.is-active text { fill: var(--white); }
.loop-map .vessel-dot { fill: var(--accent-ink); stroke: var(--white); stroke-width: 2; }
.loop-map .vessel-ring { fill: rgba(235, 163, 0, .28); transform-box: fill-box; transform-origin: center; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- strategy ---------- */
.strategy { padding: var(--section) 0; }
.strategy__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.strategy__text .h2 { margin-bottom: 28px; }
.strategy__text p { color: var(--grey-700); max-width: 520px; }
.hl {
  color: var(--navy-800);
  font-weight: 600;
  background: linear-gradient(transparent 58%, rgba(255, 194, 71, .65) 58%) no-repeat 0 0 / 100% 100%;
  transition: background-size 1.2s var(--ease) .6s;
}
.js .reveal:not(.is-in) .hl { background-size: 0% 100%; }

.compare__cases { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 26px;
  border-radius: var(--r-lg);
  background: var(--grey-50);
}
.case--ours { background: var(--white); box-shadow: var(--shadow-lift); }
.case__tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}
.case__art { width: 100%; height: auto; margin: 6px 0 14px; overflow: visible; font-family: var(--font); }
.case h3 { font-size: 17px; font-weight: 500; color: var(--navy-800); margin-bottom: 6px; }
.case--old h3 { color: var(--grey-700); }
.case p { font-size: 14px; line-height: 1.55; color: var(--grey-500); }
.case--ours p { color: var(--grey-700); }

.case__art .ln { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.case__art .ln--laden { stroke: var(--grey-500); }
.case__art .ln--empty { stroke: var(--grey-300); stroke-width: 2; stroke-dasharray: 3 7; }
.case__art .ln--ours { stroke: var(--navy-700); }
.case__art .arrow { fill: none; stroke: var(--navy-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.case__art .arrow--muted { stroke: var(--grey-500); }
.case__art .lbl { font-size: 11px; fill: var(--grey-500); }
.case__art .lbl--strong { font-weight: 600; fill: var(--grey-700); }
.case--ours .lbl--strong { fill: var(--navy-700); }
.case__art .port { fill: var(--white); stroke: var(--grey-500); stroke-width: 2; }
.case__art .port--ours { stroke: var(--navy-800); }
.case__art .port-lbl { font-size: 11px; font-weight: 500; fill: var(--navy-800); }
.case--old .port-lbl { fill: var(--grey-500); }
.case__art .ship { fill: var(--accent-ink); stroke: var(--white); stroke-width: 2; }
.case__art .ship--muted { fill: var(--grey-500); }

/* draw the lines when the card scrolls in */
.js .compare .ln--laden, .js .compare .ln--ours { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.js .compare .ln--empty, .js .compare .arrow, .js .compare .lbl { opacity: 0; transition: opacity .8s 1s; }
.js .compare.is-in .ln--laden, .js .compare.is-in .ln--ours { stroke-dashoffset: 0; }
.js .compare.is-in .ln--empty, .js .compare.is-in .arrow, .js .compare.is-in .lbl { opacity: 1; }


/* ---------- commodities ---------- */
/* ---------- how we execute ---------- */
.exec { padding: 0 0 var(--section); }
.exec__head { margin-bottom: 48px; }
.exec__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.exec__item {
  position: relative;
  padding: 24px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--grey-200);
  transition: box-shadow .4s, transform .4s var(--ease);
}
.exec__item:hover { box-shadow: inset 0 0 0 1px var(--grey-200), var(--shadow); transform: translateY(-3px); }
.exec__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
  transition: background .3s, color .3s;
}
.exec__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.exec__item:hover .exec__icon { background: var(--accent); color: var(--navy-950); }
.exec__top { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.exec__step { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-700); }
/* arrows between steps */
.exec__item:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 35px;
  right: -20px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 600;
}
.exec__item h3 { font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--navy-800); margin-bottom: 10px; }
.exec__item p { font-size: 14.5px; line-height: 1.6; color: var(--grey-700); }

.commodities { padding: var(--section) 0; background: var(--grey-100); }

.cm { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.cm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cm__group { padding: 18px 22px 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-500); }
.cm__group:first-child { padding-top: 0; }
.cm__item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--r-md);
  cursor: default;
  transition: background .4s, box-shadow .4s;
}
.cm__item:hover { background: rgba(255, 255, 255, .55); }
.cm__no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-500);
  background: rgba(255, 255, 255, .8);
  align-self: start;
  transition: background .3s, color .3s;
}
.cm__main h3 {
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--grey-700);
  transition: color .3s;
}
.cm__main p {
  font-size: 15px;
  color: var(--grey-700);
  max-width: 470px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height .5s var(--ease), opacity .4s, margin .4s;
}
.cm__flow {
  font-size: 12px;
  color: var(--grey-500);
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  align-self: start;
  transition: background .3s, color .3s;
}
.cm__flow i { font-style: normal; }
.cm__item.is-active { background: var(--white); box-shadow: var(--shadow); }
.cm__item.is-active .cm__no { background: var(--accent); color: var(--navy-950); }
.cm__item.is-active h3 { color: var(--navy-800); }
.cm__item.is-active p { max-height: 120px; opacity: 1; margin-top: 8px; }
.cm__item.is-active .cm__flow { background: var(--navy-100); color: var(--navy-700); font-weight: 500; }

.cm__visual {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grey-200);
  box-shadow: var(--shadow);
}
.cm__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .7s, transform 1.4s var(--ease);
}
.cm__visual img.is-shown { opacity: 1; transform: none; }

/* ---------- vision ---------- */
.vision {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
  margin: var(--section) var(--edge) 0;
  border-radius: var(--r-xl);
  isolation: isolate;
}
.vision__bg { position: absolute; inset: 0; }
.vision__bg img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.vision__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 38, .85) 0%, rgba(7, 20, 38, .5) 50%, rgba(7, 20, 38, .1) 100%);
}
.vision__inner { position: relative; padding-top: 120px; padding-bottom: 100px; }
.vision__title { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; color: var(--amber); margin: -8px 0 20px; }
.vision__quote {
  margin: 0;
  max-width: 880px;
  font-size: clamp(27px, 3.2vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.022em;
  font-weight: 300;
}
.vision__quote mark { background: none; color: var(--amber); }
.vision__values { margin: 36px 0 0; font-size: 16px; color: var(--white); }
.vision__values span { margin-right: 16px; font-size: 13px; color: var(--navy-100); opacity: .75; }
.js .vision__quote .w { opacity: .18; transition: opacity .4s; }
.js .vision__quote .w.is-lit { opacity: 1; }

.pillars { padding: 72px 0 var(--section); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.pillar { position: relative; padding-top: 28px; border-top: 1px solid var(--grey-200); }
.pillar::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--accent-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) .4s, width .6s var(--ease);
}
.pillar.is-in::before { transform: scaleX(1); }
.pillar:hover::before { width: 100%; }
.pillar__word b { font-weight: inherit; color: var(--accent-ink); display: inline-block; transition: transform .5s var(--ease); }
.pillar:hover .pillar__word b { transform: translateY(-.12em) scale(1.3); }
.pillar__word {
  display: block;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy-800);
  margin-bottom: 28px;
}
.pillar:nth-child(3) .pillar__word { color: var(--navy-700); }
.pillar h3 { font-size: 15px; font-weight: 600; color: var(--navy-700); }

/* ---------- contact ---------- */
.contact { padding: clamp(56px, 6vw, 80px) 0; background: var(--grey-100); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 420px;
  contain: size; /* height follows the form card, not the photos */
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.mosaic img:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: var(--r-lg); }
.mosaic img:nth-child(2) { grid-column: 3; grid-row: 1; }
.mosaic img:nth-child(3) { grid-column: 3; grid-row: 2; }
.mosaic img:nth-child(4) { grid-column: 1; grid-row: 3; }
.mosaic img:nth-child(5) { grid-column: 2 / 4; grid-row: 3; }

.contact__form-wrap {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(24px, 2.8vw, 36px);
  box-shadow: var(--shadow);
}
.contact__form-wrap .section-label { margin-bottom: 14px; }
.contact__form-wrap .h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; margin-bottom: 10px; }
.contact__form-wrap > p { font-size: 15px; color: var(--grey-700); max-width: 460px; }
.form { margin-top: 22px; display: grid; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--grey-700); }
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  width: 100%;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230F2744' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 88px; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--navy-700);
  box-shadow: 0 0 0 4px rgba(12, 66, 131, .12);
}
.form .is-invalid { border-color: #B24646; }
.form button { justify-self: start; margin-top: 4px; padding: 12px 26px; }
.form__status { font-size: 14px; min-height: 1.4em; color: var(--navy-700); margin: 0; }
.form__status.is-error { color: #B24646; }

/* ---------- footer (compact) ---------- */
.footer {
  background: var(--navy-900);
  color: var(--grey-300);
  padding: 56px 0 24px;
  margin: 10px var(--edge) 0;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr .8fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__about { font-size: 14px; line-height: 1.6; max-width: 300px; margin-top: 18px; color: var(--navy-300); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer nav a, .footer__grid > div > a:not(.brand) { display: block; font-size: 14px; text-decoration: none; color: var(--grey-300); padding: 3px 0; transition: color .25s; }
.footer nav a:hover, .footer__grid a:hover { color: var(--amber); }
.footer__base { display: flex; justify-content: space-between; padding-top: 20px; font-size: 13px; color: var(--navy-300); }
.footer__base a { text-decoration: none; transition: color .25s; }
.footer__base a:hover { color: var(--white); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; }
  .header__cta { display: none; }
  .loop__grid { grid-template-columns: minmax(280px, .8fr) 1.4fr; }
  .loop__head, .commodities__head { gap: 40px; }
  .strategy__grid { gap: 48px; }
  .figures { grid-template-columns: 1fr 1fr 1fr; }
  .exec__grid { grid-template-columns: 1fr 1fr; }
  .exec__item:nth-child(2)::after { display: none; }
  .figure--feature { grid-column: 1 / -1; min-height: 200px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .brand__divider, .brand__region { display: none; }
  .brand__logo { height: 32px; }

  .menu-btn {
    display: grid;
    gap: 7px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    place-content: center;
    background: var(--grey-100);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
  }
  .menu-btn span { width: 18px; height: 1.5px; background: var(--navy-800); transition: transform .3s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .mobile-nav {
    display: grid;
    position: absolute;
    left: var(--edge); right: var(--edge); top: calc(100% + 6px);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .5s var(--ease), padding .5s var(--ease), opacity .3s;
  }
  .mobile-nav.is-open { max-height: 480px; padding: 10px 18px; opacity: 1; }
  .mobile-nav a { font-size: 18px; text-decoration: none; color: var(--navy-800); padding: 12px 4px; border-bottom: 1px solid var(--grey-100); }
  .mobile-nav a:last-child { border-bottom: 0; margin: 8px 0 4px; text-align: center; font-weight: 600; background: var(--accent); color: var(--navy-950); border-radius: 999px; }

  .hero__media { grid-template-columns: 1fr; height: 54vh; min-height: 340px; }
  .hero__side { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 72px; }

  .who__story { grid-template-columns: 1fr; gap: 28px; }
  .who__media { min-height: 0; aspect-ratio: 16 / 10; }
  .statement { margin-bottom: 32px; }
  .hero__copy { justify-self: start; }
  .loop__head, .commodities__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .loop__head > p, .commodities__head > p { justify-self: start; }
  .figures { margin-top: 48px; gap: 10px; }
  .figure { padding: 20px; min-height: 0; gap: 28px; border-radius: var(--r-md); }
  .exec__head { margin-bottom: 32px; }
  .exec__item { padding: 20px; border-radius: var(--r-md); }
  .exec__top { margin-bottom: 24px; }
  .cm__group { padding: 14px 16px 0; }

  .loop__grid { grid-template-columns: 1fr; }
  .loop__grid { gap: 16px; }
  .leg.is-active { flex-grow: 0; }
  .loop__map { padding: 10px; border-radius: var(--r-md); }
  .loop-map .node-note, .loop-map .sea, .loop-map .legend { display: none; }
  .loop-map .node-name { font-size: 30px; }
  .loop-map .node-dot { r: 8px; }
  .loop-map .node-halo { r: 16px; }
  .loop-map .leg-tag { display: none; }
  .loop-map .route, .loop-map .route.is-active { stroke-width: 5; }

  .strategy__grid { grid-template-columns: 1fr; }

  .cm { grid-template-columns: 1fr; }
  .cm__visual { display: none; }
  .cm__item { grid-template-columns: 36px 1fr; padding: 16px; }
  .cm__flow { grid-column: 2; justify-self: start; white-space: normal; }
  .cm__main p { max-height: none; opacity: 1; margin-top: 8px; }

  .vision { min-height: 480px; }
  .vision__inner { padding-top: 90px; padding-bottom: 64px; }
  .pillars { padding-top: 56px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 36px; }
  .pillar__word { margin-bottom: 18px; }

  .contact__grid { grid-template-columns: 1fr; gap: 16px; }
  .mosaic { order: 2; min-height: 0; contain: none; aspect-ratio: 4 / 3; }

  .footer { padding-top: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__about { margin-top: 12px; }
}

@media (max-width: 520px) {
  .voyage__map { gap: 6px; }
  .voyage__map .port { font-size: 13px; }
  .seg { min-width: 26px; }
  .voyages .voyage:last-child .seg i { display: none; }
  .voyages .voyage:last-child .voyage__map { padding-top: 0; }
  .h2 br { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .compare__cases { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .exec__grid { grid-template-columns: 1fr; }
  .exec__item { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .exec__top { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
  .exec__icon { width: 40px; height: 40px; }
  .exec__step { display: none; }
  .exec__item h3 { margin: 8px 0 6px; }
  .exec__item:not(:last-child)::after, .exec__item:nth-child(2)::after { display: grid; content: "↓"; top: auto; right: auto; bottom: -20px; left: 26px; }
  .figure--feature .figure__num { font-size: 60px; }
  /* small figures become compact rows: number left, text right */
  .figure:not(.figure--feature) {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    grid-template-areas: "num label viz" "num desc desc";
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 16px 18px;
  }
  .figure:not(.figure--feature) > div { display: contents; }
  .figure:not(.figure--feature) .figure__label { grid-area: label; max-width: none; color: var(--navy-800); }
  .figure:not(.figure--feature) .figure__icon { grid-area: viz; width: 36px; height: 36px; }
  .figure:not(.figure--feature) .figure__num { grid-area: num; font-size: 46px; margin: 0; }
  .figure:not(.figure--feature) .figure__desc { grid-area: desc; }
  .footer__base { flex-direction: column; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .js .compare .ln--laden, .js .compare .ln--ours { stroke-dasharray: none; }
  .js .compare .ln--empty, .js .compare .arrow, .js .compare .lbl { opacity: 1; transition: none; }
  .hl { background-size: 100% 100%; }
}
