/* ==========================================================================
   Fortitude Prime (Pty) Ltd
   Palette sampled from the company's own logo and flyer artwork.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #05152f;
  --navy-850: #071a3a;
  --navy-800: #081d3e;
  --navy-700: #0b2653;
  --navy-600: #123163;
  --navy-500: #1b4184;

  --orange: #f4590b;        /* true brand orange — graphics, rules, accents */
  --orange-on-dark: #f97316;/* small text on navy grounds (AA) */
  --orange-text: #c43e04;   /* orange text on light grounds (AA) */
  --orange-cta: #d34606;    /* button fill behind white text (AA) */
  --orange-dark: #a83703;
  --orange-tint: #fff4ee;

  --ink: #0b2653;
  --body: #55617a;
  --muted: #697285;

  --surface: #ffffff;
  --surface-alt: #f6f8fb;
  --surface-deep: #eaeff6;
  --line: #e3e7ee;
  --line-strong: #cdd5e2;
  --line-dark: rgba(255, 255, 255, 0.13);

  /* Glass / elevation — restrained, never puffy */
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 1px 2px rgba(9, 24, 51, 0.05);
  --shadow-md: 0 6px 18px -6px rgba(9, 24, 51, 0.12), 0 2px 6px -2px rgba(9, 24, 51, 0.07);
  --shadow-lg: 0 22px 50px -18px rgba(9, 24, 51, 0.30), 0 8px 18px -10px rgba(9, 24, 51, 0.16);

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Type — Poppins throughout */
  --font: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --fs-h1: clamp(2.1rem, 1.28rem + 3.3vw, 3.5rem);
  --fs-h2: clamp(1.65rem, 1.22rem + 1.85vw, 2.45rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.42vw, 1.35rem);
  --fs-h4: clamp(1.0625rem, 1.01rem + 0.24vw, 1.15rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.75rem;

  /* Rhythm */
  --section-y: clamp(4.5rem, 8.5vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1260px;
  --container-narrow: 950px;

  /* Motion — 400–800ms with smooth easing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 0.28s;
  --dur: 0.45s;
  --dur-slow: 0.7s;

  --header-h: 104px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
h4 { font-size: var(--fs-h4); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
::selection { background: var(--navy-700); color: #fff; }

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 200;
  padding: 0.85rem 1.35rem;
  border-radius: var(--r-sm);
  background: var(--navy-700);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: top 0.2s var(--ease-soft);
}
.skip-link:focus { top: 1rem; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.section--alt { background: var(--surface-alt); }
.section--deep { background: var(--navy-900); color: rgba(255, 255, 255, 0.74); }
.section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }

/* A hairline that fades out — used to separate deep sections */
.section--deep + .section--deep { border-top: 1px solid var(--line-dark); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-text);
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  border-radius: var(--r-pill);
  background: var(--orange);
  flex: none;
}
.section--deep .eyebrow { color: var(--orange-on-dark); }

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  line-height: 1.72;
}
.lead { font-size: var(--fs-lead); line-height: 1.72; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--orange-cta);
  --btn-fg: #fff;
  --btn-bd: var(--orange-cta);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.65rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: background-color var(--dur) var(--ease-soft),
              border-color var(--dur) var(--ease-soft),
              color var(--dur) var(--ease-soft),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover {
  --btn-bg: var(--orange-dark);
  --btn-bd: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(211, 70, 6, 0.7);
}
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--navy { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--navy:hover {
  --btn-bg: var(--navy-900); --btn-bd: var(--navy-900);
  box-shadow: 0 12px 24px -12px rgba(11, 38, 83, 0.6);
}

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover {
  --btn-bg: transparent; --btn-bd: var(--navy-700); --btn-fg: var(--navy-700);
  box-shadow: none;
}

/* Glass button for dark grounds */
.btn--glass {
  --btn-bg: var(--glass);
  --btn-fg: #fff;
  --btn-bd: var(--glass-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover {
  --btn-bg: rgba(255, 255, 255, 0.13);
  --btn-bd: rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-700);
  transition: color var(--dur) var(--ease-soft), gap var(--dur) var(--ease);
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--orange-text); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--deep .link-arrow { color: #fff; }
.section--deep .link-arrow:hover { color: var(--orange-on-dark); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 1.3rem;
  border-bottom: 1px solid transparent;
  transition: padding-block 0.34s var(--ease-soft),
              background-color 0.34s var(--ease-soft),
              border-color 0.34s var(--ease-soft);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 21, 47, 0.6), rgba(5, 21, 47, 0));
  transition: opacity 0.34s var(--ease-soft);
  pointer-events: none;
}
.site-header.is-scrolled {
  padding-block: 0.65rem;
  background: rgba(5, 21, 47, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  backdrop-filter: saturate(170%) blur(14px);
}
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 66px; transition: height 0.34s var(--ease-soft); }
.site-header.is-scrolled .brand img { height: 50px; }

.nav { display: none; }
@media (min-width: 1020px) {
  .nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.4rem); }
  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 2.4vw, 2.4rem);
    list-style: none;
  }
  .nav-link {
    position: relative;
    display: block;
    padding-block: 0.4rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.84);
    transition: color var(--dur) var(--ease-soft);
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    border-radius: var(--r-pill);
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
  }
  .nav-link:hover { color: #fff; }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link[aria-current="page"] { color: #fff; font-weight: 600; }
  .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav .btn { padding: 0.78rem 1.35rem; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  flex: none;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  border-radius: var(--r-pill);
  background: #fff;
  transition: transform 0.36s var(--ease), opacity 0.2s linear;
}
.nav-toggle span:nth-child(1) { width: 100%; }
.nav-toggle span:nth-child(2) { width: 70%; }
.nav-toggle span:nth-child(3) { width: 100%; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }
@media (min-width: 1020px) { .nav-toggle { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2rem;
  background: var(--navy-900);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.34s var(--ease-soft),
              transform 0.34s var(--ease),
              visibility 0s linear 0.34s;
}
body.nav-open .mobile-nav {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (min-width: 1020px) { .mobile-nav { display: none; } }

.mobile-nav-list { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
}
.mobile-nav-list a[aria-current="page"] { color: var(--orange-on-dark); }
.mobile-nav-list svg { opacity: 0.4; }
.mobile-nav .btn { margin-top: 1.85rem; }

.mobile-nav-contact {
  margin-top: auto;
  padding-top: 2.1rem;
  display: grid;
  gap: 0.5rem;
  font-size: var(--fs-sm);
}
.mobile-nav-contact a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.4rem;
  color: rgba(255, 255, 255, 0.86);
}
.mobile-nav-contact svg { color: var(--orange-on-dark); flex: none; }

/* --------------------------------------------------------------------------
   6. Hero — cross-fading sequence with slow Ken Burns drift
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(94vh, 900px);
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 6.5vw, 5.5rem);
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}

.hero-stage { position: absolute; inset: -9% 0 0; z-index: 0; will-change: transform; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-soft);
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.02);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 15s linear forwards; }

@keyframes kenburns {
  from { transform: scale(1.015) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.1%, -1.4%, 0); }
}

/* Alternate slides drift the other way so the movement never feels looped */
.hero-slide:nth-child(even).is-active img { animation-name: kenburns-alt; }
@keyframes kenburns-alt {
  from { transform: scale(1.10) translate3d(1%, -1%, 0); }
  to   { transform: scale(1.015) translate3d(0, 0, 0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(104deg, rgba(5, 21, 47, 0.95) 0%, rgba(5, 21, 47, 0.84) 32%,
                    rgba(5, 21, 47, 0.44) 66%, rgba(5, 21, 47, 0.34) 100%),
    linear-gradient(to top, rgba(5, 21, 47, 0.8), rgba(5, 21, 47, 0) 46%);
}

/* A slow band of light crossing the frame — barely perceptible, adds life */
.hero-sweep {
  position: absolute;
  inset: -20% -60%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg,
    transparent 38%, rgba(255, 178, 120, 0.09) 47%,
    rgba(255, 205, 165, 0.13) 50%, rgba(255, 178, 120, 0.09) 53%, transparent 62%);
  animation: sweep 14s var(--ease-soft) infinite;
}
@keyframes sweep {
  0%, 100% { transform: translate3d(-22%, 0, 0); }
  50%      { transform: translate3d(22%, 0, 0); }
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: 41rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--orange-on-dark); }
.hero-copy > p {
  margin-top: 1.4rem;
  max-width: 35rem;
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

/* Route strip */
.hero-routes {
  margin-top: clamp(2.5rem, 4.5vw, 3.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.hero-routes-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}
.hero-routes-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-top: 0.85rem;
  list-style: none;
}
.hero-routes-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.hero-routes-list li:not(:last-child)::after {
  content: "";
  width: 20px; height: 1px;
  background: var(--orange);
  opacity: 0.85;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 6.5vw, 5.5rem);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.scroll-cue-rail {
  width: 1px; height: 42px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  position: relative;
}
.scroll-cue-rail::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: var(--orange);
  animation: cue 2.6s var(--ease-soft) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(250%); }
  100% { transform: translateY(250%); }
}
@media (max-width: 1100px) { .scroll-cue { display: none; } }

/* Where the cue is visible, stop the route rule short of it so the two
   never share the same strip of the frame. */
@media (min-width: 1101px) {
  .hero-routes { padding-right: 7rem; }
}

/* Compact page hero */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(64vh, 580px);
  padding-top: calc(var(--header-h) + 3.25rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.25rem);
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}
.page-hero .hero-stage { inset: -9% 0 0; }
.page-hero .hero-slide { opacity: 1; }
.page-hero .hero-slide img {
  object-position: center 55%;
  animation: kenburns 26s linear forwards;
}
.page-hero .hero-scrim {
  background:
    linear-gradient(100deg, rgba(5, 21, 47, 0.94) 0%, rgba(5, 21, 47, 0.8) 40%,
                    rgba(5, 21, 47, 0.48) 100%),
    linear-gradient(to top, rgba(5, 21, 47, 0.74), rgba(5, 21, 47, 0) 54%);
}
.page-hero h1 { color: #fff; max-width: 21ch; }
.page-hero .hero-copy > p {
  margin-top: 1.25rem;
  max-width: 37rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
  list-style: none;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.78); transition: color var(--dur) var(--ease-soft); }
.breadcrumb a:hover { color: var(--orange-on-dark); }
.breadcrumb li::after { content: "/"; margin-left: 0.5rem; opacity: 0.4; }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* --------------------------------------------------------------------------
   7. Media frames — swap the file, keep the filename
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  border-radius: var(--r-md);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.05s var(--ease);
}
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

@media (max-width: 899px) { .media--portrait { aspect-ratio: 3 / 2; } }
@media (max-width: 620px) { .media--portrait { aspect-ratio: 4 / 3; } }

a:hover .media img,
.hover-zoom:hover .media img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   8. Splits
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-first > :first-child { order: -1; }
  .split--wide-text { grid-template-columns: 0.9fr 1.1fr; }
  .split--wide-media { grid-template-columns: 1.1fr 0.9fr; }
  .split--start { align-items: start; }
  .split--map { grid-template-columns: 1.2fr 0.8fr; }
  /* Text narrow, card grid wide — a 2x2 of cards needs the room */
  .split--cards { grid-template-columns: 0.85fr 1.15fr; }
}
.split-media { position: relative; }

.media-badge {
  position: absolute;
  right: clamp(-1rem, -1vw, 0rem);
  bottom: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 0.1rem;
  padding: 1.15rem 1.45rem;
  background: var(--orange-cta);
  color: #fff;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  max-width: 15rem;
}
.media-badge strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; }
.media-badge span { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; }

/* Fact list */
.facts { margin-top: 2.1rem; border-top: 1px solid var(--line); list-style: none; }
.facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.fact-key {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-val { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); text-align: right; }
.section--deep .facts { border-top-color: var(--line-dark); }
.section--deep .facts li { border-bottom-color: var(--line-dark); }
.section--deep .fact-key { color: rgba(255, 255, 255, 0.5); }
.section--deep .fact-val { color: #fff; }

/* --------------------------------------------------------------------------
   9. Grids
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2.2vw, 1.85rem); grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 > :last-child:nth-child(odd),
  .cards--4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards--3 > :last-child:nth-child(odd),
  .cards--4 > :last-child:nth-child(odd) { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   10. Service cards — image-led, not icon boxes
   -------------------------------------------------------------------------- */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.svc-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.1s var(--ease);
}
.svc-card:hover .svc-card-media img { transform: scale(1.08); }

.svc-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(5, 21, 47, 0.96) 0%, rgba(5, 21, 47, 0.62) 38%, rgba(5, 21, 47, 0.16) 72%);
  transition: opacity var(--dur-slow) var(--ease-soft);
}
.svc-card:hover .svc-card-media::after { opacity: 0.82; }

.svc-card-index {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(5, 21, 47, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  color: #fff;
}

.svc-card-icon {
  position: absolute;
  left: 1.35rem;
  bottom: 1.35rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color var(--dur-slow) var(--ease-soft),
              border-color var(--dur-slow) var(--ease-soft),
              transform var(--dur-slow) var(--ease);
}
.svc-card:hover .svc-card-icon {
  background: var(--orange-cta);
  border-color: var(--orange-cta);
  transform: translateY(-3px);
}

.svc-card-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.55rem clamp(1.35rem, 2.2vw, 1.75rem) clamp(1.5rem, 2.2vw, 1.85rem);
  background: var(--navy-900);
}
.svc-card-body h3 { color: #fff; margin-bottom: 0.55rem; }
.svc-card-body p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.68); line-height: 1.68; }
.svc-card-body .link-arrow { margin-top: auto; padding-top: 1.35rem; color: #fff; }
.svc-card:hover .link-arrow { color: var(--orange-on-dark); }
.svc-card:hover .link-arrow svg { transform: translateX(4px); }

/* Light variant for use on dark sections */
.svc-card--light { background: var(--surface); box-shadow: var(--shadow-md); }
.svc-card--light .svc-card-body { background: var(--surface); }
.svc-card--light .svc-card-body h3 { color: var(--ink); }
.svc-card--light .svc-card-body p { color: var(--body); }
.svc-card--light .svc-card-body .link-arrow { color: var(--navy-700); }

/* Service index — a jump-to row, so the detail rows below are not preceded by
   a card grid repeating the same six images. */
.svc-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}
.svc-index a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease-soft),
              background-color var(--dur) var(--ease-soft),
              color var(--dur) var(--ease-soft),
              transform var(--dur) var(--ease);
}
.svc-index a:hover {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: #fff;
  transform: translateY(-2px);
}
.svc-index b {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-text);
  transition: color var(--dur) var(--ease-soft);
}
.svc-index a:hover b { color: var(--orange-on-dark); }

/* --------------------------------------------------------------------------
   11. Icon tiles & feature blocks
   -------------------------------------------------------------------------- */
.icon-tile {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, rgba(244, 89, 11, 0.12), rgba(244, 89, 11, 0.04));
  border: 1px solid rgba(244, 89, 11, 0.22);
  color: var(--orange-text);
  flex: none;
  transition: transform var(--dur-slow) var(--ease),
              background-color var(--dur-slow) var(--ease-soft),
              border-color var(--dur-slow) var(--ease-soft),
              color var(--dur-slow) var(--ease-soft),
              box-shadow var(--dur-slow) var(--ease);
}
.icon-tile svg { width: 30px; height: 30px; }

.section--deep .icon-tile {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--orange-on-dark);
}

.feature {
  padding: clamp(1.6rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: transform var(--dur-slow) var(--ease),
              border-color var(--dur-slow) var(--ease-soft),
              box-shadow var(--dur-slow) var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.feature:hover .icon-tile {
  background: var(--orange-cta);
  border-color: var(--orange-cta);
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 10px 22px -10px rgba(211, 70, 6, 0.75);
}
.feature h3 { margin: 1.3rem 0 0.5rem; font-size: var(--fs-h4); }
.feature p { font-size: var(--fs-sm); line-height: 1.68; }

.section--deep .feature {
  background: rgba(255, 255, 255, 0.022);
  border-color: var(--line-dark);
}
.section--deep .feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}
.section--deep .feature p { color: rgba(255, 255, 255, 0.66); }
.section--deep .feature:hover .icon-tile {
  background: var(--orange-cta);
  border-color: var(--orange-cta);
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. Stats — real, verifiable figures only
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Inside a narrow column the four-across band crushes its labels, so the
   sidebar variant stays two-up at every width. */
.stats--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .stats--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stat { padding: clamp(1.5rem, 2.6vw, 2.1rem); background: var(--navy-900); }
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  font-size: clamp(2rem, 1.5rem + 1.9vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}
.stat-num small { font-size: 0.5em; font-weight: 700; color: var(--orange-on-dark); }
.stat-label {
  margin-top: 0.6rem;
  text-wrap: balance;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

/* --------------------------------------------------------------------------
   13. Corridor map
   -------------------------------------------------------------------------- */
.map-panel {
  position: relative;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(27, 65, 132, 0.30), transparent 60%),
    rgba(255, 255, 255, 0.022);
  overflow: hidden;
}
.corridor-map { width: 100%; height: auto; display: block; }

.map-label {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.2em;
  fill: #8fa5c8;
  fill-opacity: 0.72;
}
.map-city { font-size: 17px; font-weight: 500; fill: #e2e9f5; }
.map-city--origin { font-size: 19px; font-weight: 700; fill: #ffffff; }
.map-city--border { font-size: 14.5px; font-weight: 400; fill: #9db4d8; fill-opacity: 0.92; }
.map-city--via { font-size: 14.5px; font-weight: 400; fill: #b9c8e0; fill-opacity: 0.85; }

/* Corridors draw themselves in when the section is reached */
.route-draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-revealed .route-draw {
  animation: route-draw 1.5s var(--ease) forwards;
  animation-delay: var(--route-delay, 0s);
}
@keyframes route-draw { to { stroke-dashoffset: 0; } }

.route-flow { opacity: 0; }
.is-revealed .route-flow {
  opacity: 0.85;
  animation: route-flow 6s linear infinite;
  animation-delay: var(--flow-delay, 0s);
}
@keyframes route-flow { to { stroke-dashoffset: calc(var(--flow-len) * -1); } }

.marker-pulse { transform-origin: center; transform-box: fill-box; }
.is-revealed .marker-pulse { animation: marker-pulse 3s ease-out infinite 1.2s; }
@keyframes marker-pulse {
  0%   { transform: scale(0.6); opacity: 0.85; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.62);
}
.map-legend li { display: flex; align-items: center; gap: 0.55rem; }
.map-legend i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.map-legend .lg-origin { background: var(--orange); }
.map-legend .lg-border {
  border-radius: 1px;
  background: transparent;
  border: 1.5px solid #9db4d8;
  transform: rotate(45deg);
  width: 9px; height: 9px;
}

/* Country list beside the map */
.market-list { list-style: none; display: grid; gap: 0.1rem; }
.market {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.market:first-child { border-top: 1px solid var(--line-dark); }
.market-code {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-on-dark);
  min-width: 2rem;
}
.market-name { font-size: var(--fs-h4); font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.market-note { margin-left: auto; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); text-align: right; }
@media (max-width: 620px) { .market-note { margin-left: 0; width: 100%; text-align: left; } }

/* --------------------------------------------------------------------------
   14. Services page rows
   -------------------------------------------------------------------------- */
.service-row {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.service-row--first { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row--flip .service-row-media { order: -1; }
}
.service-row-index {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange-text);
}
.service-row-index::after {
  content: "";
  flex: 1;
  height: 1px;
  max-width: 4rem;
  background: var(--line-strong);
}
.service-row h2 { font-size: clamp(1.55rem, 1.28rem + 1.2vw, 2.1rem); margin-bottom: 0.9rem; }

.service-row-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.service-row-head .icon-tile { width: 54px; height: 54px; }
.service-row-head .icon-tile svg { width: 27px; height: 27px; }

.tick-list { margin-top: 1.5rem; list-style: none; display: grid; gap: 0.75rem; }
.tick-list li { display: flex; gap: 0.75rem; font-size: var(--fs-sm); line-height: 1.62; }
.tick-list svg { flex: none; margin-top: 0.3em; color: var(--orange-text); }

/* --------------------------------------------------------------------------
   15. CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: var(--navy-900);
  text-align: center;
  isolation: isolate;
}
.cta-band .hero-stage { inset: -11% 0 0; }
.cta-band .hero-slide { opacity: 1; }
.cta-band .hero-slide img { animation: kenburns 30s linear forwards; }
.cta-band .hero-scrim {
  background: radial-gradient(120% 130% at 50% 45%,
    rgba(5, 21, 47, 0.62) 0%, rgba(5, 21, 47, 0.85) 68%, rgba(5, 21, 47, 0.93) 100%);
}
.cta-band-inner { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p {
  margin: 1.3rem auto 0;
  max-width: 46ch;
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.8);
}
.cta-band .btn-row { justify-content: center; }

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: clamp(1.85rem, 3.5vw, 2.75rem);
  background:
    radial-gradient(90% 160% at 88% 20%, rgba(244, 89, 11, 0.22), transparent 62%),
    var(--navy-700);
  border-radius: var(--r-lg);
}
.cta-strip h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + 0.85vw, 1.65rem); max-width: 26ch; }
.cta-strip p { margin-top: 0.5rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.72); max-width: 44ch; }
.cta-strip .btn { flex: none; }

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.office {
  padding: clamp(1.6rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease);
}
.office:hover { border-color: transparent; box-shadow: var(--shadow-md); }
.office + .office { margin-top: 1.15rem; }
.office-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange-text);
}
.office address { font-style: normal; font-size: var(--fs-sm); line-height: 1.78; }

.contact-list { list-style: none; display: grid; gap: 0.1rem; margin-top: 1.3rem; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: color var(--dur) var(--ease-soft), padding-left var(--dur) var(--ease);
}
.contact-list a:hover { color: var(--orange-text); padding-left: 0.35rem; }
.contact-list svg { flex: none; color: var(--muted); transition: color var(--dur) var(--ease-soft); }
.contact-list a:hover svg { color: var(--orange-text); }
.contact-role { margin-left: auto; font-size: var(--fs-xs); color: var(--muted); text-align: right; }

.people {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 700px) { .people { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); } }
.person {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  padding: clamp(1.25rem, 2.2vw, 1.55rem);
  background: var(--surface);
  transition: background-color var(--dur) var(--ease-soft);
}
.person:hover { background: var(--surface-alt); }
.person-monogram {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--navy-700);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.person-monogram--accent { background: var(--orange-cta); }
.person h3 { font-size: var(--fs-h4); margin-bottom: 0.1rem; }
.person > div > span {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-text);
}

/* --------------------------------------------------------------------------
   17. Form
   -------------------------------------------------------------------------- */
.form-panel {
  padding: clamp(1.75rem, 3.2vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink);
}
.field .req { color: var(--orange-text); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-family: var(--font);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease-soft), box-shadow var(--dur) var(--ease-soft);
}
.field textarea { resize: vertical; min-height: 8.5rem; line-height: 1.65; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2355617a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(11, 38, 83, 0.11);
}
.field input::placeholder, .field textarea::placeholder { color: #7d8698; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #c0392b; }
.field-error { display: none; font-size: var(--fs-xs); color: #c0392b; }
.field[data-invalid="true"] .field-error { display: block; }

.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.7rem; }
.form-note { font-size: var(--fs-xs); color: var(--muted); max-width: 32ch; }

.form-status {
  display: none;
  margin-top: 1.4rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  border: 1px solid transparent;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #eef7f0; border-color: #bcdcc5; color: #1e6b39; }
.form-status--error { background: #fdf0ee; border-color: #f0c4bd; color: #a5301f; }
.btn[aria-busy="true"] { opacity: 0.72; pointer-events: none; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3.5rem, 6.5vw, 5.5rem);
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-sm);
}
.footer-grid { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); padding-bottom: clamp(2.75rem, 5vw, 4rem); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr; } }
@media (min-width: 1060px) { .footer-grid { grid-template-columns: 1.55fr 0.8fr 1.25fr 1.15fr; } }

.footer-brand img { height: 64px; width: auto; }
.footer-brand p { margin-top: 1.3rem; max-width: 34ch; line-height: 1.74; }
.footer-tagline {
  margin-top: 1.3rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-on-dark);
}
.footer-col h3 {
  margin-bottom: 1.2rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a { transition: color var(--dur) var(--ease-soft); }
.footer-col a:hover { color: var(--orange-on-dark); }
.footer-col address { font-style: normal; line-height: 1.74; text-wrap: pretty; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 0.35em; color: var(--orange-on-dark); opacity: 0.9; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.55rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   19. Motion utilities
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* Image reveal — the frame opens rather than the picture fading.
   The clip goes on the inner image, never on the observed element: a
   clip-path of inset(0 0 100%) collapses the element's intersection rect to
   zero, and IntersectionObserver then never reports it as visible. */
[data-reveal="image"] { opacity: 1; transform: none; }
[data-reveal="image"] > img,
[data-reveal="image"] > picture > img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.85s var(--ease), transform 1.05s var(--ease);
}
[data-reveal="image"].is-revealed > img,
[data-reveal="image"].is-revealed > picture > img { clip-path: inset(0 0 0 0); }

/* Parallax targets are moved by transform only */
[data-parallax] { will-change: transform; }

html.no-js [data-reveal] { opacity: 1; transform: none; }
html.no-js [data-reveal="image"] > img { clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal="image"] > img { clip-path: none; }
  .hero-slide { opacity: 1; }
  .hero-slide:not(.is-active) { opacity: 0; }
  .hero-sweep, .scroll-cue-rail::after, .marker-pulse, .route-flow { animation: none; }
  .route-flow { opacity: 0; }
  .route-draw { stroke-dashoffset: 0; }
  [data-parallax] { transform: none !important; }
}

/* --------------------------------------------------------------------------
   20. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 1019px) {
  :root { --header-h: 92px; }
  .site-header { padding-block: 1rem; }
  .site-header.is-scrolled { padding-block: 0.55rem; }
  .brand img { height: 56px; }
  .site-header.is-scrolled .brand img { height: 46px; }
}

@media (max-width: 620px) {
  :root { --fs-body: 1rem; --gutter: 1.25rem; --header-h: 82px; }
  body { line-height: 1.7; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 3.25rem);
    padding-bottom: 3rem;
  }
  .hero-stage { inset: 0; }
  .hero-slide img { object-position: center 60%; }
  .hero-scrim {
    background: linear-gradient(to bottom,
      rgba(5, 21, 47, 0.86) 0%, rgba(5, 21, 47, 0.76) 42%, rgba(5, 21, 47, 0.93) 100%);
  }
  /* Ken Burns is cheaper and calmer on small screens */
  .hero-slide.is-active img,
  .page-hero .hero-slide img,
  .cta-band .hero-slide img { animation-duration: 22s; }

  .page-hero { min-height: auto; padding-top: calc(var(--header-h) + 2.75rem); padding-bottom: 2.5rem; }
  .page-hero .hero-scrim {
    background: linear-gradient(to bottom, rgba(5, 21, 47, 0.84), rgba(5, 21, 47, 0.92));
  }

  .hero-routes-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
  }
  .hero-routes-list li { gap: 0.55rem; }
  .hero-routes-list li:not(:last-child)::after { content: none; }
  .hero-routes-list li::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--orange);
    flex: none;
  }

  .btn-row .btn, .cta-strip .btn { width: 100%; }
  .media-badge { position: static; margin-top: 1rem; max-width: none; box-shadow: none; }

  .facts li { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .fact-val { text-align: left; }

  .contact-role { margin-left: 0; width: 100%; text-align: left; padding-left: 2rem; }
  .contact-list a { flex-wrap: wrap; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-col ul { gap: 0.15rem; }
  .footer-col li > a, .footer-contact li > a { display: inline-block; padding-block: 0.5rem; }
  .footer-contact li { align-items: center; }
  .link-arrow { padding-block: 0.5rem; }
  .breadcrumb { gap: 0.5rem; }
  .breadcrumb a { display: inline-block; padding-block: 0.45rem; }
  .breadcrumb li { display: flex; align-items: center; }

  /* The map scales to roughly 45% at phone width, so its type has to be set
     much larger in user units to land at a readable size. The border-post and
     staging-point labels are dropped here — the markets list below names every
     crossing anyway — which buys room for the cities that matter. */
  .map-panel { padding: 0.85rem; }
  .map-label { font-size: 27px; letter-spacing: 0.16em; }
  .map-city { font-size: 29px; }
  .map-city--origin { font-size: 32px; }
  .map-city--border, .map-city--via { display: none; }
  .map-legend { gap: 0.6rem 1.15rem; margin-top: 1.1rem; padding-top: 1rem; }
}

@media (min-width: 621px) and (max-width: 899px) {
  .media-badge { right: 1.25rem; }
}

@media print {
  .site-header, .mobile-nav, .cta-band, .btn-row, .nav-toggle, .scroll-cue { display: none !important; }
  body { color: #000; }
  .hero, .page-hero { min-height: auto; padding: 2rem 0; background: none; }
  .hero-stage, .hero-scrim, .hero-sweep { display: none; }
  .hero h1, .page-hero h1, .hero-copy > p { color: #000; }
}
