/* ==========================================================================
   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');
  /* 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(120deg, rgba(224, 240, 247, .14), rgba(240, 247, 249, .10));
}

/* ==========================================================================
   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: 18px var(--gutter);
  /* Light veil at rest so the dark logo and nav read over any hero */
  background: linear-gradient(180deg,
              rgba(240, 247, 249, .92) 0%,
              rgba(240, 247, 249, .72) 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: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 38px; }

.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 / 10;
}
.photo-panel--tall { aspect-ratio: 4 / 3; }
.photo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  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: 6%;
  width: 44%;
  height: 100%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}
.hero__visual-texture {
  position: absolute;
  inset: -12% 0;
  background-image:
    var(--photo-tint),
    var(--photo-vessel);
  background-size:     auto,   cover;
  /* 35% pulls the framing to the right within the clipped panel */
  background-position: center, 35% center;
  background-repeat:   no-repeat, no-repeat;
  background-color: var(--surface-3);
}
.hero__visual-scrim {
  position: absolute;
  inset: 0;
  /* Only enough veil to tie the photograph to the light theme; the headline
     sits on the flat left-hand side, not on the picture, so this stays low.
     The left edge keeps a touch more so the wedge blends into the copy. */
  background: linear-gradient(100deg, rgba(232,243,249,.42) 0%, rgba(255,255,255,.06) 42%, rgba(224,240,247,.10) 100%);
}

.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, center;
  background-repeat:   no-repeat, no-repeat;
  background-color: var(--surface-2);
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  /* Weighted to the left, where the headline and copy sit, so the right-hand
     side of the photograph stays visible. */
  background:
    linear-gradient(95deg, rgba(240,247,249,.90) 0%, rgba(240,247,249,.76) 38%,
                           rgba(232,244,250,.42) 70%, rgba(228,239,245,.30) 100%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(228,239,245,.24));
}
.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::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
              rgba(20, 85, 156, .04) 0 16px, transparent 16px 32px);
}
.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;
}
.track-hero__lead { max-width: 520px; margin-bottom: clamp(30px, 4vw, 44px); }

/* 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: 2px solid rgba(20, 85, 156, .28);
}
.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: var(--ink-2);
  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; }
/* 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 --- */
/* --- 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 {
  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__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
              rgba(20, 85, 156, .04) 0 16px, transparent 16px 32px);
  pointer-events: none;
}
.team-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  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 cards (Products page) --- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s var(--ease),
              box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
/* Accent rail that fills in on hover — signals "in progress" without colour alone */
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: #BFD8E5;
}
.product-card:hover::before { transform: scaleX(1); }

.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.product-card__top .icon-tile { margin-bottom: 0; }

/* Faint index digit — sits below the status pill, in the empty gutter to the
   right of the product name, so the two never overlap */
.product-card__index {
  position: absolute;
  top: 96px;
  right: 28px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -2px;
  color: rgba(20, 85, 156, .07);
  pointer-events: none;
  user-select: none;
}

.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;
  position: relative;
  z-index: 1;
}
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: 0 0 auto;
}

.product-card__name    { margin: 22px 0 6px; font-size: 24px; }
.product-card__tagline {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--blue);
}
.product-card__text { margin-bottom: 22px; }
.product-card__list { margin-bottom: 26px; }
.product-card__list .check-list__item { font-size: 14px; }

.product-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
}
.product-card__eta { font-weight: 600; color: var(--blue-deep); }

/* --- 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: var(--surface-3);
  color: var(--ink);
  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: var(--surface-3);
}
.cta-band__scrim {
  position: absolute;
  inset: 0;
  /* Centred vignette: heavy enough behind the headline to hold contrast, and
     falling away at the edges so the vessel stays clearly visible. */
  background:
    radial-gradient(ellipse 62% 78% at 50% 50%,
      rgba(243,250,252,.92) 0%,
      rgba(240,247,249,.80) 45%,
      rgba(234,245,250,.42) 74%,
      rgba(228,239,245,.20) 100%);
}
.cta-band__body { position: relative; z-index: 2; }
.cta-band__title {
  margin-bottom: 22px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.2px;
}
.cta-band__text { font-size: 17px; color: var(--ink-2); margin: 0 0 32px; }

/* ==========================================================================
   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;
  font-size: clamp(30px, 4.5vw, 52px);
  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;
}
.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); }

.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: 44px; width: auto; margin-bottom: 18px; }
.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; }
.site-footer__legal a:hover { color: var(--blue); }

/* ==========================================================================
   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; }

/* Scroll/timeline-driven gradient text fill */
.text-fill {
  background-image: linear-gradient(90deg,
    var(--blue) 0%,
    var(--blue) var(--fill, 0%),
    rgba(11, 32, 54, .22) var(--fill, 0%),
    rgba(11, 32, 54, .22) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.text-fill--dark {
  background-image: linear-gradient(90deg,
    var(--ink) 0%,
    var(--ink) var(--fill, 0%),
    rgba(11, 32, 54, .22) var(--fill, 0%),
    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
   ========================================================================== */

/* 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(240,247,249,.86), rgba(228,239,245,.93));
  }
  .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) {
  .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) {
  .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));
  }
  .hero__visual-texture { background-position: center, 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) {
  /* 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: 14px; }
  .brand img { height: 38px; }
  .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; }
}
