/* ==========================================================================
   Norsteer — Steering Maritime Excellence
   Stylesheet — light theme
   --------------------------------------------------------------------------
   The palette is built on one light family (see --surface-*), taken from the
   pale blue used behind the About section. Ink is a deep navy rather than
   pure black so text still reads as part of the brand. Orange stays as the
   single call-to-action accent.

   1.  Design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout helpers
   5.  Buttons & links
   6.  Header / navigation
   7.  Cards, panels & media
   8.  Section components
   9.  Forms
   10. Footer
   11. Animation utilities
   12. Responsive
   13. Reduced motion & print
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* --- Surfaces: the light family everything is built from --- */
  --surface: #FFFFFF;
  /* cards, plain sections            */
  --surface-2: #F0F7F9;
  /* the About-section tint           */
  --surface-3: #E4EFF5;
  /* contrast bands, footer, pinned   */
  --surface-4: #D3E6F0;
  /* marquee, deepest light accent    */

  /* --- Ink ---
     Greys are tuned to clear WCAG AA (4.5:1) against every surface above,
     not just white — they sit on --surface-3 in the footer. */
  --ink: #0B2036;
  /* headings + primary copy          */
  --ink-2: #33465B;
  /* body copy                        */
  --muted: #55677A;
  /* secondary copy                   */
  --faint: #55677A;
  /* legal, captions                  */

  /* --- Brand --- */
  --blue: #14559C;
  /* primary blue, lightened          */
  --blue-deep: #0E3F76;
  /* hover / pressed                  */
  --cyan: #0DB3E5;

  /* Orange splits into a fill and two text tones. Brand orange is bright
     enough on dark, but only ~2.4:1 on a light ground — unreadable as text.
     Fills keep the brand colour; text uses the deeper tones. */
  --orange: #F68121;
  /* fills, bars, chevrons — non-text */
  --orange-dark: #E5720F;
  /* fill hover                       */
  --orange-ink: #A85104;
  /* small text  (>=4.5:1 on light)   */
  --orange-display: #C96206;
  /* large text  (>=3:1 on light)     */

  /* --- Lines --- */
  --line: #D3E2EA;
  --line-soft: #E2EDF2;

  /* Type */
  --font-title: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  /* Rhythm */
  --gutter: clamp(24px, 6vw, 96px);
  --section-y: clamp(56px, 9vw, 120px);
  --section-y-s: clamp(56px, 9vw, 110px);
  --hero-y: clamp(120px, 16vw, 170px);
  --maxw: 1280px;

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Elevation — soft and blue-tinted to suit a light ground */
  --shadow-sm: 0 2px 10px rgba(11, 32, 54, .05);
  --shadow-card: 0 20px 44px rgba(11, 32, 54, .10);
  --shadow-form: 0 24px 54px rgba(11, 32, 54, .09);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Imagery — swap this one line to change the vessel photo site-wide */
  --photo-vessel: url('../assets/vessel-bg.jpg?v=4');
  /* Kept deliberately faint so the vessel photograph reads clearly. Whatever a
     section needs for legibility lives in its own __scrim instead, which can be
     shaped around where that section's text actually sits. */
  --photo-tint: linear-gradient(to right, transparent, transparent);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: -0.15px;
  /* `clip` — not `hidden`. overflow-x:hidden turns this into a scroll
     container, which breaks the position:fixed that ScrollTrigger uses to pin
     the horizontal sections. `clip` crops identically without that side
     effect. Every element that can overflow already sits in an
     overflow:hidden section, so this is only a backstop. */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--surface-2);
}

::-webkit-scrollbar-thumb {
  background: #B4CFDD;
  border-radius: var(--r-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Icons are injected by JS into [data-icon] hosts. Declaring the layout here
   (rather than as an inline style from JS) lets component classes override it
   — which is what keeps the footer social icon centred in its box. */
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 400;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: top .25s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* Router: only the active page is displayed */
.page[hidden] {
  display: none;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

.h1,
.h2,
.h3,
.h4 {
  font-family: var(--font-title);
  color: var(--ink);
  margin: 0;
}

.h1 {
  font-weight: 700;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
}

.h2 {
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.h3 {
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.h4 {
  font-weight: 600;
  font-size: 15px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 16px;
}

/* Kept as a hook; on light ground the readable brand accent is blue */
.eyebrow--cyan {
  color: var(--blue);
}

.eyebrow--rule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.eyebrow--rule::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* Formerly "on dark" — now simply the secondary tone */
.lead--on-dark {
  color: var(--ink-2);
}

.body-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.text-orange {
  color: var(--orange-ink);
}

/* ==========================================================================
   4. Layout helpers
   ========================================================================== */

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}

.section {
  padding: var(--section-y) var(--gutter);
}

.section--tight {
  padding-block: var(--section-y-s);
}

.section--flush {
  padding: 0;
}

.section--dark {
  background: var(--surface-3);
  color: var(--ink);
}

.section--tinted {
  background: var(--surface-2);
}

.section--white {
  background: var(--surface);
}

.section--relative {
  position: relative;
  overflow: hidden;
}

.grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--tiles {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--small {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.grid--split {
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Four founders: sized so they sit 4-up on desktop, 2-up on tablet */
.grid--team {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.measure {
  max-width: 640px;
}

.measure--s {
  max-width: 560px;
}

.measure--m {
  max-width: 680px;
}

.measure--l {
  max-width: 720px;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ==========================================================================
   5. Buttons & links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s var(--ease),
    color .25s var(--ease),
    transform .3s var(--ease),
    border-color .25s var(--ease),
    box-shadow .25s var(--ease);
}

.btn__icon {
  display: inline-flex;
  transition: transform .3s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(5px);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background: var(--blue-deep);
  color: #fff;
}

.btn--orange {
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  padding: 16px 34px;
  box-shadow: 0 10px 24px rgba(246, 129, 33, .28);
}

.btn--orange:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(246, 129, 33, .34);
}

/* Secondary action on a light ground */
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--line);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--blue);
  color: var(--blue-deep);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.link-arrow:hover {
  color: var(--blue-deep);
}

.link-arrow .btn__icon {
  transition: transform .3s var(--ease);
}

.link-arrow:hover .btn__icon {
  transform: translateX(5px);
}

.link-arrow--orange {
  color: var(--orange-ink);
  font-size: 14px;
}

.link-arrow--orange:hover {
  color: var(--orange-display);
}

/* ==========================================================================
   6. Header / navigation
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 10px var(--gutter);
  /* Light subtle veil at rest */
  background: linear-gradient(180deg,
      rgba(240, 247, 249, .50) 0%,
      rgba(240, 247, 249, .15) 60%,
      rgba(240, 247, 249, 0) 100%);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header.is-stuck {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 24px rgba(11, 32, 54, .10);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 80px;
  width: auto;
  transition: height .3s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.nav__link:hover {
  color: var(--blue);
}

.nav__link.is-active {
  color: var(--blue);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(80vw, 320px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(11, 32, 54, .12);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 90px 32px 32px;
  gap: 6px;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__link {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.mobile-menu__link:hover {
  color: var(--blue);
}

.mobile-menu__cta {
  margin-top: 20px;
  justify-content: center;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 32, 54, .35);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}

.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   7. Cards, panels & media
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}

.card--pillar {
  padding: 38px 32px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  /* The whole card is an <a>, so the default underline runs through the title,
     the body copy and the "Learn more" row. A child cannot cancel an inherited
     underline — it has to come off here. */
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: #BFD8E5;
}

.card__title {
  margin: 0 0 14px;
}

.card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--blue);
  margin-bottom: 26px;
}

.icon-tile--sm {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 0;
}

.icon-tile--md {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 22px;
}

.icon-tile--round {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 22px;
}

.icon-tile--orange {
  color: var(--orange);
}

/* Photograph in a rounded frame — replaced the icon/label placeholder panels */
.photo-panel {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
}

.photo-panel--tall {
  aspect-ratio: 16 / 10;
}

.photo-panel--wide {
  aspect-ratio: 1600 / 781;
}

.photo-panel--wide img {
  object-position: center center;
}

.photo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform .6s var(--ease);
}

.photo-panel:hover img {
  transform: scale(1.04);
}

/* Oversized watermark word */
.ghost-word {
  position: absolute;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(90px, 18vw, 240px);
  letter-spacing: -4px;
  color: rgba(20, 85, 156, .06);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.ghost-word--tl {
  top: 6%;
  left: -2%;
}

.ghost-word--br {
  bottom: 4%;
  right: -2%;
}

.ghost-word--tr {
  top: 8%;
  right: -1%;
  font-weight: 700;
  font-size: clamp(120px, 22vw, 300px);
  letter-spacing: -6px;
}

/* ==========================================================================
   8. Section components
   ========================================================================== */

/* --- Hero (home) --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface-3) 100%);
  color: var(--ink);

  /* Fill exactly one screen. dvh tracks mobile browser chrome as it collapses;
     vh is the fallback for browsers without dynamic viewport units. */
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  padding: clamp(110px, 14vw, 150px) var(--gutter) clamp(60px, 8vw, 96px);
}

.hero__wedge {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: linear-gradient(135deg, #CFE6F2 0%, #A9D8EE 130%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .85;
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  /* Wider than it was: the panel is tall and the photograph is 2:1, so a narrow
     wedge crops the vessel down to an unreadable slab of hull. */
  width: 62%;
  height: 100%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

.hero__visual-texture {
  position: absolute;
  /* Flush with the panel. It used to overhang by 12% top and bottom purely so
     the parallax had room to travel, but `cover` then scaled the photograph up
     by that same 24% and cropped the vessel down. The hero scrolls out of view
     almost immediately, so the parallax was not worth the lost framing. */
  inset: 0;
  background-image:
    var(--photo-tint),
    var(--photo-vessel);
  background-size: auto, cover;
  /* Framed on the bow and forecastle — the most legible part of the vessel in
     a tall crop. Lower values slide the framing back down the hull. */
  background-position: center, 85% center;
  background-repeat: no-repeat, no-repeat;
  background-color: var(--surface-3);
}

.hero__visual-scrim {
  position: absolute;
  inset: 0;
  /* Ultra-light edge blend so the vessel is completely sharp and clear */
  background: linear-gradient(100deg,
      rgba(236, 245, 250, .25) 0%,
      rgba(236, 245, 250, .08) 12%,
      transparent 22%);
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__copy {
  max-width: 640px;
}

.hero__title {
  margin-bottom: 22px;
}

.hero__text {
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* --- Page hero (inner pages) --- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface-3));
  color: var(--ink);
  padding: var(--hero-y) var(--gutter) clamp(50px, 7vw, 80px);
}

.page-hero--deep {
  padding-bottom: clamp(56px, 8vw, 90px);
}

.page-hero__texture {
  position: absolute;
  inset: -12% 0;
  background-image: var(--photo-tint), var(--photo-vessel);
  background-size: auto, cover;
  background-position: center, 88% 40%;
  background-repeat: no-repeat, no-repeat;
  background-color: var(--surface-2);
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  /* Crisp solid light ground covering the entire copy column (up to 45%) for 100% flawless text contrast,
     then a smooth cinematic transition to 100% transparency on the right for vivid vessel visibility. */
  background: linear-gradient(90deg,
      rgba(240, 247, 249, 0.99) 0%,
      rgba(240, 247, 249, 0.98) 42%,
      rgba(240, 247, 249, 0.82) 52%,
      rgba(240, 247, 249, 0.25) 70%,
      transparent 86%);
}

.page-hero__body {
  position: relative;
  z-index: 2;
}

/* --- Trust badges --- */
.trust-strip {
  background: var(--surface);
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 4px;
}

.trust-badge__label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

/* --- Stat cards --- */
.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(150deg, #FFFFFF, var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-card__value {
  position: relative;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -1px;
  line-height: 1;
  color: var(--blue);
}

.stat-card__label {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: .3px;
}

/* --- Track Record hero: stats + vessel attendance globe --- */

.track-hero {
  overflow: hidden;
}

.track-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.track-hero__title {
  max-width: 620px;
  font-size: clamp(34px, 4.4vw, 56px);
  margin-bottom: 18px;
  color: #06192e;
  letter-spacing: -0.025em;
}

.track-hero__lead {
  max-width: 520px;
  margin-bottom: clamp(30px, 4vw, 44px);
  color: #223f59;
  font-size: 17.5px;
  line-height: 1.55;
  font-weight: 450;
}

/* Three headline numbers, stacked */
.stat-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 28px);
}

.stat-stack__item {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 22px);
  padding-left: 18px;
  border-left: 3px solid var(--blue);
}

.stat-stack__value {
  flex: 0 0 auto;
  min-width: 112px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -1.5px;
  line-height: 1;
  color: var(--blue);
}

.stat-stack__label {
  font-size: 15px;
  line-height: 1.5;
  color: #17324a;
  font-weight: 500;
  max-width: 300px;
}

/* Globe block */
.globe {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
  justify-items: center;
}

.globe__stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  touch-action: pan-y;
  /* vertical page scroll still works over the globe */
  cursor: grab;
}

.globe__stage.is-dragging {
  cursor: grabbing;
}

.globe__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Pins are DOM so they can carry text, focus and hover states; the JS keeps
   their transforms in sync with the canvas projection every frame. */
.globe__pins {
  position: absolute;
  inset: 0;
}

.globe-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-origin: 0 0;
  will-change: transform;
}

.globe-pin__chip {
  position: relative;
  /* anchors the pulsing halo below */
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(11, 32, 54, .18);
  transition: background .2s var(--ease), color .2s var(--ease),
    border-color .2s var(--ease), transform .2s var(--ease);
}

.globe-pin__label {
  display: none;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--blue-deep);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  box-shadow: 0 6px 16px rgba(11, 32, 54, .24);
}

.globe-pin.is-active .globe-pin__chip,
.globe-pin:hover .globe-pin__chip,
.globe-pin:focus-visible .globe-pin__chip {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.12);
}

.globe-pin.is-active .globe-pin__label,
.globe-pin:hover .globe-pin__label,
.globe-pin:focus-visible .globe-pin__label {
  display: block;
}

/* Halo that keeps pulsing so the markers read as live points */
.globe-pin__chip::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  animation: ns-ping 2.6s var(--ease) infinite;
  pointer-events: none;
}

@keyframes ns-ping {
  0% {
    transform: scale(1);
    opacity: .55;
  }

  70% {
    transform: scale(2.4);
    opacity: 0;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Port list beside / below the globe */
.globe__side {
  width: 100%;
  max-width: 520px;
  padding: 18px 20px 20px;
  border-radius: var(--r-md);
  background: rgba(247, 251, 253, .82);
  border: 1px solid rgba(211, 226, 234, .8);
}

/* These two sit straight on the hero photograph rather than on a panel, so
   they use the deeper tones — brand blue and --muted both fall under 4.5:1
   against the lighter parts of the picture. */
.globe__side-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.port-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.port-list__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease),
    transform .2s var(--ease);
}

.port-list__item:hover,
.port-list__item:focus-visible,
.port-list__item.is-active {
  background: var(--surface);
  border-color: var(--blue);
  transform: translateX(3px);
}

.port-list__name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.port-list__country {
  font-size: 12.5px;
  color: var(--muted);
}

.globe__hint {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}


/* --- Pinned horizontal scroller --- */
.pin-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pin-section__head {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto 36px;
  padding-inline: var(--gutter);
}

.pin-track {
  display: flex;
  gap: 28px;
  padding-inline: var(--gutter);
  will-change: transform;
}

.pin-progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 36px;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(20, 85, 156, .14);
}

.pin-progress--light {
  background: rgba(20, 85, 156, .14);
}

.pin-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 2px;
}

/* Key achievements cards */
.ach-card {
  flex: 0 0 clamp(300px, 42vw, 440px);
  min-height: 340px;
  padding: 40px 36px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ach-card__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: rgba(246, 129, 33, .12);
  color: var(--orange-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ach-card__title {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 32px);
}

.ach-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.pin-outro {
  flex: 0 0 clamp(280px, 36vw, 400px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-inline: 20px;
}

.result-card {
  flex: 0 0 clamp(280px, 34vw, 380px);
  min-height: 300px;
  padding: 34px 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* --- Process steps --- */
.legacy-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 26px 0 48px;
  padding: 12px 18px;
  border: 1px dashed #AFC5D3;
  border-radius: var(--r-sm);
  color: var(--muted);
}

.legacy-chip__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}

.step-card__num {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--orange-ink);
  margin-bottom: 14px;
}

.step-card__label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--blue);
}

.pipeline--lg {
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: clamp(18px, 2.6vw, 28px);
  letter-spacing: -0.5px;
  color: var(--ink);
}

.pipeline__step {
  display: inline-flex;
  align-items: center;
  gap: inherit;
}

.pipeline__arrow {
  color: var(--blue);
  display: inline-flex;
}

/* --- Marquee --- */
.marquee {
  position: relative;
  /* anchors the edge fades */
  background: var(--surface-4);
  color: var(--blue);
  padding: 26px 0;
  overflow: hidden;
  border-block: 1px solid #C2DCEA;
}

/* Edge fades are painted in the band's own colour. A mask here would make the
   background transparent at the edges and expose the white page behind it. */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(48px, 10vw, 140px);
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface-4) 20%, rgba(211, 230, 240, 0) 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface-4) 20%, rgba(211, 230, 240, 0) 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: ns-marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  gap: 56px;
  padding-right: 56px;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--blue);
}

.marquee__item::after {
  content: "•";
  color: var(--orange-ink);
}

/* --- Split vision / mission --- */
/* --- Clients served (Track Record) --- */
.client-grid {
  display: grid;
  /* Fixed column counts rather than auto-fit: with 8 tiles, auto-fit landed on
     six across and left a ragged row of two. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.client-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 128px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: center;
  transition: border-color .25s var(--ease), background .25s var(--ease),
    transform .25s var(--ease);
}

.client-tile:hover {
  background: var(--surface);
  border-color: #BFD8E5;
  transform: translateY(-4px);
}

/* Sits where a supplied logo will go */
.client-tile__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue);
}

.client-tile img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.client-tile__name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  color: var(--ink-2);
}

.client-grid__note {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* --- Vision / Mission --- */
.purpose-grid {
  align-items: stretch;
}

.purpose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

/* Gradient rail marking the card without resorting to a dark fill */
.purpose-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.purpose-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.purpose-card__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.purpose-card__icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--blue);
}

.purpose-card__kicker i {
  font-style: normal;
  color: #A9BECD;
  padding: 0 3px;
}

.purpose-card__kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
}

.purpose-card__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
}

.purpose-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 26px;
}

.purpose-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
}

.purpose-card__tags li {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--blue-deep);
}


/* --- Feature / check lists --- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 40px;
}

.check-list--compact {
  gap: 12px 36px;
}

.check-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

.check-list--grid .check-list__item,
.check-list--compact .check-list__item {
  font-size: 15px;
  line-height: 1.5;
  gap: 12px;
}

.check-list__icon {
  color: var(--blue);
  flex: 0 0 auto;
  margin-top: 2px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 600;
}

.expertise-box {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}

.expertise-box__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 20px;
}

.regime-tile {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.3px;
  color: var(--blue);
  background: var(--surface);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}

.regime-tile:hover {
  border-color: var(--cyan);
  background: var(--surface-2);
  transform: translateY(-3px);
}

/* --- Meet the team --- */
.team-card {
  text-align: left;
}

.team-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(150deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.team-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The portraits are taller than this 4:5 frame, so `cover` trims top and
     bottom. Centring cut the tops of heads off — biasing towards the top of
     the source keeps every head whole with a little headroom above it. */
  object-position: 50% 6%;
  z-index: 1;
  transition: transform .5s var(--ease);
}

.team-card:hover .team-card__img {
  transform: scale(1.04);
}

/* Shown until a real photo loads (see js: team photo fallback) */
.team-card__placeholder {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 85, 156, .22);
  background: rgba(255, 255, 255, .75);
  color: var(--blue);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
}

.team-card__name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 6px;
}

/* Post-nominal (AFNI) — same line, lighter so the name still leads */
.team-card__post {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--blue);
}

.team-card__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-ink);
  margin: 0 0 10px;
}

.team-card__bio,
.team-card__creds {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Separators between credentials, dimmed so the terms read as a list */
.team-card__creds i {
  font-style: normal;
  color: #A9BECD;
  padding: 0 2px;
}

/* --- Product showcase (Products page) --- */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}

.showcase {
  align-items: center;
}

.showcase .status-pill {
  margin-bottom: 20px;
}

.showcase__name {
  font-family: 'Daytona', 'Daytona Bold', 'Rajdhani', 'Saira', 'Chakra Petch', var(--font-title);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0 0 10px;
}

.showcase__tagline {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
}

.showcase__text {
  margin-bottom: 28px;
}

.showcase__list {
  margin-bottom: 32px;
}

.showcase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.showcase__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase__meta-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.showcase__meta-value {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

/* Schematic stand-in for a product screenshot. Deliberately abstract — there
   is no build to screenshot, and a fake screenshot would overstate progress. */
.app-mock {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.app-mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-soft);
}

.app-mock__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C4D8E4;
}

.app-mock__title {
  margin-left: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--blue-deep);
}

.app-mock__body {
  padding: 22px;
}

.app-mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.app-mock__stat {
  padding: 16px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.app-mock__stat b {
  display: block;
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--blue);
}

.app-mock__stat i {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

.app-mock__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
}

.app-mock__label {
  height: 8px;
  flex: 1 1 auto;
  max-width: 58%;
  border-radius: var(--r-pill);
  background: #DCE8EF;
}

.app-mock__label--s {
  max-width: 40%;
}

.app-mock__chip {
  flex: 0 0 auto;
  width: 52px;
  height: 18px;
  border-radius: var(--r-pill);
  background: #E4EDF2;
}

.app-mock__chip--ok {
  background: #D6EAD9;
}

.app-mock__chip--warn {
  background: #FBE3CB;
}

/* --- Roadmap (Products page) --- */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap__step {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 34px;
}

.roadmap__step:last-child {
  padding-bottom: 0;
}

/* Connector line running between markers */
.roadmap__step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 48px;
  bottom: 8px;
  left: 23px;
  width: 1px;
  background: var(--line);
}

.roadmap__marker {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
}

.roadmap__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 12px 0 8px;
}

.roadmap__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* --- Accordion --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: -0.4px;
  color: var(--ink);
}

.accordion__chevron {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--orange);
  transition: transform .35s var(--ease);
}

.accordion__item.is-open .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height .4s var(--ease);
}

.accordion__panel-inner {
  padding: 0 28px 28px;
}

/* --- Sticky sub-navigation --- */
.subnav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  padding-inline: var(--gutter);
}

.subnav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  gap: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__inner::-webkit-scrollbar {
  display: none;
}

.subnav__link {
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.subnav__link.is-active {
  color: var(--orange-ink);
}

/* --- CTA band --- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #07192D;
  color: #FFFFFF;
  padding: clamp(80px, 12vw, 150px) var(--gutter);
}

.cta-band--tall {
  padding-block: clamp(90px, 14vw, 180px);
}

.cta-band__texture {
  position: absolute;
  inset: -12% 0;
  background-image: var(--photo-tint), var(--photo-vessel);
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-color: #07192D;
}

.cta-band__scrim {
  position: absolute;
  inset: 0;
  /* Oceanic gradient overlay tuned for higher vessel visibility and crisp text contrast */
  background:
    radial-gradient(ellipse 80% 75% at 50% 50%,
      rgba(7, 25, 45, .30) 0%,
      rgba(7, 25, 45, .48) 60%,
      rgba(7, 25, 45, .70) 100%),
    linear-gradient(180deg, rgba(7, 25, 45, .15) 0%, rgba(7, 25, 45, .50) 100%);
}

.cta-band__body {
  position: relative;
  z-index: 2;
}

.cta-band__title {
  margin-bottom: 22px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
}

.cta-band__text {
  font-size: 18px;
  color: #D6EAF8;
  margin: 0 0 34px;
  font-weight: 450;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .45);
}

/* ==========================================================================
   9. Forms
   ========================================================================== */

.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  padding: var(--hero-y) var(--gutter) clamp(64px, 9vw, 110px);
}

.contact-section__texture {
  position: absolute;
  inset: -12% 0;
  background-image: var(--photo-tint), var(--photo-vessel);
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-color: var(--surface-2);
}

.contact-section__scrim {
  position: absolute;
  inset: 0;
  /* The copy here sits inside its own panels, so this only has to soften the
     photograph rather than carry any text contrast. */
  background: linear-gradient(180deg, rgba(240, 247, 249, .46), rgba(228, 239, 245, .62));
}

.contact-section__grid {
  position: relative;
  z-index: 1;
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
}

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow-card);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card__title {
  margin-bottom: 18px;
  /* Sized so the headline sets on three lines in its column at desktop */
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.contact-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  /* The LinkedIn URL has no spaces to break at, so on a narrow card it would
     otherwise run straight out of its row. */
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-list__item:hover {
  color: var(--blue);
}

.contact-list__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(13, 179, 229, .12);
  color: var(--blue);
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-form);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--muted);
}

.field--full {
  margin-top: 24px;
}

.field__input,
.field__select {
  border: none;
  border-bottom: 1.5px solid var(--line);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  outline: none;
  transition: border-color .25s var(--ease);
}

.field__input:focus,
.field__select:focus {
  border-bottom-color: var(--orange);
}

/* Phone: dial-code picker + number sharing one underline, so the pair reads as
   a single field alongside the plain inputs next to it. */
.field__phone {
  display: flex;
  align-items: stretch;
  gap: 10px;
  border-bottom: 1.5px solid var(--line);
  transition: border-color .25s var(--ease);
}

.field__phone:focus-within {
  border-bottom-color: var(--orange);
}

/* Visible half of the picker: just the dialling code and a caret. */
.field__code-wrap {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px 10px 0;
  border-right: 1px solid var(--line);
}

.field__code-value {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  /* Codes run from +1 to +998; a floor keeps the number field from shifting
     sideways each time the country changes. */
  min-width: 2.9em;
}

.field__code-caret {
  color: var(--muted);
}

/* The real control, laid transparently over the two spans above. */
.field__code {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
  /* stops iOS zooming the page on focus */
  -webkit-appearance: none;
  appearance: none;
}

.field__code-wrap:focus-within .field__code-value {
  color: var(--blue-deep);
}

.field__code-wrap:focus-within .field__code-caret {
  color: var(--blue-deep);
}

/* The wrapper owns the underline now */
.field__phone .field__input {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: none;
}

.field__textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  outline: none;
  resize: vertical;
  transition: border-color .25s var(--ease);
}

.field__textarea:focus {
  border-color: var(--orange);
}

.form-submit {
  margin-top: 28px;
}

.form-success {
  text-align: center;
  padding: 40px 10px;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--cyan);
}

.form-success__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  margin: 0 0 10px;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.site-footer {
  background: var(--surface-3);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 90px) var(--gutter) 32px;
}

.site-footer__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.site-footer__brand {
  min-width: 240px;
}

.site-footer__logo {
  height: 80px;
  width: auto;
  margin-bottom: 18px;
  transition: height .3s var(--ease);
}

.site-footer__blurb {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-link {
  /* inline-flex + centring, so the JS-injected icon sits dead centre */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.footer-col__title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col__link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
}

.footer-col__link:hover {
  color: var(--blue);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.footer-contact__item:hover {
  color: var(--blue);
}

.footer-contact__icon {
  color: var(--blue);
}

.newsletter__text {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
}

.newsletter__form {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 5px 5px 18px;
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
}

.newsletter__btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease);
}

.newsletter__btn:hover {
  background: var(--blue-deep);
}

.site-footer__bottom {
  max-width: var(--maxw);
  margin: 44px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--faint);
}

.site-footer__legal {
  display: flex;
  gap: 22px;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s var(--ease);
}

.site-footer__legal a:hover {
  color: var(--blue);
}

/* --- Legal Pages (Privacy & Terms) --- */
.legal-content {
  max-width: 880px;
  margin-inline: auto;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section__title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.legal-section__text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

.legal-section__list {
  margin: 6px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section__list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ==========================================================================
   11. Animation utilities
   ========================================================================== */

@keyframes ns-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Masked line reveal for the hero headline */
.reveal-line {
  display: block;
  overflow: hidden;
}

.reveal-line__inner {
  display: block;
  will-change: transform;
}

/* Gradient text fill — defaults to 100% solid filled */
.text-fill {
  --fill: 100%;
  display: inline;
  background-image: linear-gradient(90deg,
      var(--blue) 0%,
      var(--blue) var(--fill, 100%),
      rgba(11, 32, 54, .22) var(--fill, 100%),
      rgba(11, 32, 54, .22) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-fill--dark {
  --fill: 100%;
  background-image: linear-gradient(90deg,
      var(--ink) 0%,
      var(--ink) var(--fill, 100%),
      rgba(11, 32, 54, .22) var(--fill, 100%),
      rgba(11, 32, 54, .22) 100%);
}

/* Fallback when JS/GSAP is unavailable: show text fully filled */
.no-js .text-fill,
.no-js .text-fill--dark {
  --fill: 100%;
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */

/* Between the mobile breakpoint and full desktop there is not enough room for
   both a 640px copy column and a 62% photo wedge, so the wedge gives way. */
@media (max-width: 1300px) {
  .hero__visual {
    width: 54%;
  }

  .hero__copy {
    max-width: 560px;
  }
}

@media (max-width: 1100px) {
  .hero__visual {
    width: 48%;
  }

  .hero__copy {
    max-width: 470px;
  }
}

/* On a narrow screen the copy spans the whole photograph rather than sitting in
   a column beside it, so the shaped scrims above no longer protect it. These
   fall back to an even veil that carries the contrast across the full width. */
@media (max-width: 900px) {
  .page-hero__scrim {
    background: linear-gradient(180deg, rgba(240, 247, 249, .88), rgba(228, 239, 245, .93));
  }

  .cta-band__scrim {
    background: linear-gradient(180deg, rgba(7, 25, 45, .70), rgba(7, 25, 45, .86));
  }

  .contact-section__scrim {
    background: linear-gradient(180deg, rgba(240, 247, 249, .72), rgba(228, 239, 245, .82));
  }
}

/* The globe needs room beside the copy; below this it stacks under it. */
@media (max-width: 1080px) {
  .page-hero__scrim {
    background: linear-gradient(180deg, rgba(240, 247, 249, .92) 0%, rgba(240, 247, 249, .82) 45%, rgba(228, 239, 245, .70) 100%);
  }

  .track-hero__grid {
    grid-template-columns: 1fr;
  }

  .track-hero__title,
  .track-hero__lead {
    max-width: none;
  }

  .globe {
    justify-items: stretch;
  }

  .globe__stage {
    max-width: 420px;
    margin-inline: auto;
  }

  .globe__side {
    max-width: none;
  }
}

@media (max-width: 960px) {
  .client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand img,
  .site-footer__logo {
    height: 60px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* The angled panel does not survive a narrow column, so the photograph
     becomes the full-bleed hero background instead — otherwise a full-height
     hero would be an empty block on phones. */
  .hero__wedge {
    display: none;
  }

  .hero__visual {
    right: 0;
    width: 100%;
    clip-path: none;
  }

  .hero__visual-scrim {
    /* Heavier here: the copy sits directly on the photo at this size, so this
       veil is carrying the headline's contrast rather than just styling. */
    background: linear-gradient(180deg, rgba(240, 247, 249, .86), rgba(228, 239, 245, .93));
  }

  /* Cover scales by height here, so only the horizontal framing matters —
     keep it on the bow, the same part of the vessel the desktop wedge shows. */
  .hero__visual-texture {
    background-position: center, 78% center;
  }

  .hero {
    padding-top: clamp(110px, 22vw, 150px);
  }

  /* Horizontal pin sections fall back to native swipe scrolling */
  .pin-section {
    height: auto;
    padding-block: var(--section-y);
  }

  .pin-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .pin-track>* {
    scroll-snap-align: start;
  }

  .pin-progress {
    display: none;
  }
}

@media (max-width: 640px) {

  /* At the very smallest widths the watermark word is wider than the column it
     decorates, which is just clipped noise. */
  .ghost-word {
    font-size: clamp(56px, 20vw, 110px);
    letter-spacing: -2px;
  }

  .ghost-word--tr {
    font-size: clamp(64px, 24vw, 130px);
    letter-spacing: -3px;
  }

  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  /* Number above label so neither gets squeezed on a phone */
  .stat-stack__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .stat-stack__value {
    min-width: 0;
  }

  .stat-stack__label {
    max-width: none;
  }

  .globe__stage {
    max-width: 320px;
  }

  .port-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding-block: 12px;
  }

  .brand img,
  .site-footer__logo {
    height: 52px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .accordion__head {
    padding: 20px;
  }

  .accordion__panel-inner {
    padding: 0 20px 20px;
  }
}

/* ==========================================================================
   13. Reduced motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .text-fill,
  .text-fill--dark {
    --fill: 100%;
  }
}

@media print {

  .site-header,
  .mobile-menu,
  .menu-backdrop,
  .subnav,
  .marquee {
    display: none !important;
  }

  .page[hidden] {
    display: block !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ==========================================================================
   14. Partnerships Section
   ========================================================================== */
.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-1, #ffffff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--r-lg, 16px);
  padding: 28px 24px;
  transition: all .35s var(--ease);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #14559c, #00a0d6);
  opacity: 0;
  transition: opacity .3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(20, 85, 156, 0.12);
  border-color: #00a0d6;
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-card__logo-box {
  display: flex;
  align-items: center;
  height: 56px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.partner-card__logo {
  max-height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.partner-card:hover .partner-card__logo {
  transform: scale(1.03);
}

.partner-card__name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark, #0c1c2c);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.partner-card__desc {
  font-size: 14px;
  color: var(--text-muted, #64748b);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.partner-card__link {
  font-size: 13.5px;
  font-weight: 600;
  color: #14559c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s ease;
}

.partner-card:hover .partner-card__link {
  gap: 10px;
  color: #00a0d6;
}

/* ==========================================================================
   Who We Are Video Component
   ========================================================================== */

.who-we-are__video-wrap {
  position: relative;
  width: 100%;
}

.who-we-are__video-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6% 6%;
  background: radial-gradient(ellipse at center, rgba(0, 160, 214, 0.22) 0%, rgba(20, 85, 156, 0.10) 45%, transparent 72%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.video-showcase__frame {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl, 22px);
  overflow: hidden;
  background: #0B2036;
  border: 1px solid rgba(20, 85, 156, 0.18);
  box-shadow: 0 20px 54px rgba(11, 32, 54, 0.12), 0 4px 16px rgba(11, 32, 54, 0.05);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.video-showcase__frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 64px rgba(20, 85, 156, 0.18), 0 8px 24px rgba(11, 32, 54, 0.08);
  border-color: rgba(0, 160, 214, 0.45);
}

.video-showcase__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #0B2036;
  border-radius: inherit;
}

@media (max-width: 640px) {
  .video-showcase__frame {
    border-radius: var(--r-md, 16px);
  }
}