/* ==========================================================================
   698324248 PTY LTD — Australia ⇄ Southeast Asia trade
   Design system: "Harbour Navy & Brass"
   Hairlines, not shadows. Radius 2px, not 12px. Three rotating grounds.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink */
  --ink:        #0B1620;
  --ink-70:     #3A4654;
  --ink-55:     #4A5668;
  --ink-35:     #8892A0;

  /* Navy ramp */
  --navy-900:   #00112E;
  --navy-800:   #00243D;
  --navy-600:   #00358D;
  --steel-400:  #6685BA;
  --steel-200:  #CCD6E8;
  --ice-50:     #F6FAFF;

  /* Brass */
  --brass-700:  #6B5623;
  --brass-500:  #AC904C;
  --brass-400:  #CEAA53;
  --brass-200:  #F8E2AC;
  --cream-100:  #F8EBCB;

  /* Grounds */
  --paper:      #FBF9F4;
  --verify:     #00A099;

  /* Type */
  /* Fallback runs per character, so Latin keeps Source Serif 4 / Schibsted
     Grotesk while CJK and Tamil glyphs resolve to their own Noto face.
     v2 (2026-09-18): Tamil added with the ta locale. */
  --serif: 'Source Serif 4', 'Noto Serif SC', 'Noto Serif Tamil', Georgia, 'Times New Roman', serif;
  --sans:  'Schibsted Grotesk', 'Noto Sans SC', 'Noto Sans Tamil', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter:    24px;
  --col-gap:   24px;
  --rhythm:    clamp(5rem, 3rem + 6vw, 10rem);
  --hair:      1px;
  --radius:    2px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.3,1);
}

@media (min-width: 768px)  { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brass-200); color: var(--navy-900); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p  { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* --------------------------------------------------------------------------
   3. Type scale
   -------------------------------------------------------------------------- */
.h1, h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
  line-height: 1.00;
  letter-spacing: -.022em;
}
.h2, h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.018em;
}
.h3, h3 {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.15rem + .9vw, 1.75rem);
  line-height: 1.20;
  letter-spacing: -.010em;
  font-weight: 500;
}
.h4, h4 {
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -.005em;
  font-weight: 600;
}
.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  max-width: 46ch;
  color: var(--ink-55);
}
.body  { max-width: 68ch; }
.cap   { font-size: .8125rem; line-height: 1.5; letter-spacing: .005em; color: var(--ink-35); }

.eyebrow {
  display: block;
  font-size: .6875rem;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass-700);
}
/* v2 (2026-09-18): the hero and interior heroes are dark too — brass-500 on
   photography was too dim to read. Lift them onto the same rule. */
.on-dark .eyebrow, .sec--navy .eyebrow,
.hero .eyebrow, .phero .eyebrow, .cta .eyebrow { color: var(--brass-400); }

.num {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 2rem + 3.2vw, 4.5rem);
  line-height: .92;
  letter-spacing: -.030em;
  font-variant-numeric: tabular-nums;
}

.rule-brass { width: 64px; height: 2px; background: var(--brass-400); border: 0; margin: 0 0 20px; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sec { padding-block: var(--rhythm); }
.sec--tight { padding-block: calc(var(--rhythm) * .6); }
.sec--paper { background: var(--paper); }
.sec--ice   { background: var(--ice-50); }
.sec--cream { background: var(--cream-100); }
.sec--navy  { background: var(--navy-900); color: #fff; }
.sec--navy p, .sec--navy li { color: rgba(255,255,255,.78); }
.sec--navy .cap { color: rgba(255,255,255,.55); }

.grid { display: grid; gap: var(--col-gap); grid-template-columns: repeat(12, 1fr); }
.bleed { width: 100vw; margin-inline: calc(50% - 50vw); }

.sec-head { margin-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 4rem); }
.sec-head .h2 { max-width: 22ch; margin-top: .5rem; }
.sec-head .lead { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   5. Links & buttons
   -------------------------------------------------------------------------- */
.lnk {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none;
  font-weight: 600; font-size: .9375rem;
  background-image: linear-gradient(var(--brass-400), var(--brass-400));
  background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .35s var(--ease);
}
.lnk:hover { background-size: 100% 1px; }
.lnk svg { transition: transform .25s var(--ease); }
.lnk:hover svg { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.75rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: .8125rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s linear, color .18s linear, border-color .18s linear;
}
.btn--brass  { background: var(--brass-400); color: var(--navy-900); }
.btn--brass:hover { background: var(--brass-500); color: #fff; }
.btn--ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ink    { background: var(--navy-900); color: #fff; }
.btn--ink:hover { background: var(--navy-600); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--steel-200); }
.btn--outline:hover { border-color: var(--navy-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,249,244,.90);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s linear;
}
.hdr.is-stuck { border-bottom-color: var(--steel-200); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; height: 76px; }

.mark { display: flex; flex-direction: column; gap: 3px; text-decoration: none; flex-shrink: 0; }
.mark__name {
  font-size: .9375rem; font-weight: 700; letter-spacing: .14em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.mark__sub {
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-700); font-weight: 600;
}

.nav { display: none; margin-left: auto; align-items: center; gap: 2rem; }
.nav a {
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; color: var(--ink-70); white-space: nowrap;
  padding-block: .25rem;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--brass-400); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass-400); }
@media (min-width: 1024px) { .nav { display: flex; } }

/* v2 (2026-09-18): .mark was flex-shrink: 0, so a locale whose brand subtitle
   runs longer than the English one ("AUSTRALIA · TIMOG-SILANGANG ASYA") pushed
   the language button and the burger off the right edge of a phone. The brand
   is the part that can afford to give — clip the subtitle, never the controls. */
@media (max-width: 1023px) {
  .mark { flex-shrink: 1; min-width: 0; }
  .mark__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hdr__in { gap: 1rem; }
  /* Only below the nav breakpoint. Above it the actions must stay shrinkable,
     or a long nav pushes the quote button off the right edge instead of
     letting it compress. */
  .hdr__actions { flex-shrink: 0; }
}
/* Buy back enough width at phone sizes that the shorter subtitles still
   show in full, and only the genuinely long ones clip. */
@media (max-width: 479px) {
  .hdr__in { gap: .6rem; }
  .lang__btn { padding: .55rem .45rem; gap: .25rem; }
  .hdr__actions { gap: .45rem; }
}
.hdr__actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
@media (min-width: 1024px) { .hdr__actions { margin-left: 0; } }
/* v2 (2026-09-18): a translated call to action is longer than "Request a
   quote" and was breaking onto two lines inside the button. */
.hdr .btn { padding: .7rem 1.1rem; font-size: .6875rem; white-space: nowrap; }
.hdr__cta { display: none; }
@media (min-width: 768px) { .hdr__cta { display: inline-flex; } }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: none; border: 1px solid var(--steel-200); border-radius: var(--radius);
  padding: .55rem .7rem; cursor: pointer;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-70);
}
.lang__btn:hover { border-color: var(--navy-900); color: var(--ink); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; padding: .4rem;
  background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0,17,46,.10);
  display: none; z-index: 80;
  /* v2 (2026-09-18): nine languages is taller than a landscape phone. */
  max-height: min(62vh, 420px); overflow-y: auto; overscroll-behavior: contain;
}
.lang.is-open .lang__menu { display: block; }
.lang__menu button {
  display: block; width: 100%; text-align: left;
  padding: .55rem .7rem; background: none; border: 0; cursor: pointer;
  font-size: .875rem; color: var(--ink-70); border-radius: var(--radius);
}
.lang__menu button:hover { background: var(--ice-50); color: var(--ink); }
.lang__menu button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.lang__menu button[aria-selected="true"]::after { content: " ·"; color: var(--brass-500); }

/* Mobile nav */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 38px; padding: 0 9px;
  background: none; border: 1px solid var(--steel-200); border-radius: var(--radius); cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
@media (min-width: 1024px) { .burger { display: none; } }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 76px 0 0; z-index: 55;
  background: var(--paper);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .2s linear, transform .2s var(--ease);
}
body.menu-open .mnav { opacity: 1; transform: none; pointer-events: auto; }
.mnav a {
  display: block; padding: 1rem 0;
  border-bottom: 1px solid var(--steel-200);
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink);
}
@media (min-width: 1024px) { .mnav { display: none; } }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 55%); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* v2 (2026-09-18): a floor at the top of the vertical scrim. The eyebrow sits
     high in the hero and on a phone it was landing on open sky. */
  background:
    linear-gradient(0deg,  rgba(0,17,46,.82) 0%, rgba(0,17,46,.40) 42%,
                           rgba(0,17,46,.20) 72%, rgba(0,17,46,.34) 100%),
    linear-gradient(90deg, rgba(0,17,46,.86) 0%, rgba(0,17,46,.54) 48%, rgba(0,17,46,.12) 100%);
}
.hero__in {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(88vh, 860px);
  padding-block: 8rem 5.5rem;
}
.hero h1 { max-width: 17ch; color: #fff; }
.hero .lead { color: var(--brass-200); margin-top: 1.5rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0 1.75rem;
  margin-top: 2.25rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.22);
  font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.hero__facts li { display: flex; align-items: center; gap: 1.75rem; }
.hero__facts li + li::before { content: ""; width: 1px; height: 12px; background: rgba(255,255,255,.3); }

/* Hero variant for interior pages */
.phero { background: var(--navy-900); color: #fff; padding-block: 8.5rem 4.5rem; position: relative; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.phero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,17,46,.92) 0%, rgba(0,17,46,.72) 55%, rgba(0,17,46,.42) 100%);
}
.phero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); max-width: 18ch; }
.phero .lead { color: var(--brass-200); margin-top: 1.25rem; }
.crumbs { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1.25rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   8. Stat band (overlaps the hero)
   -------------------------------------------------------------------------- */
.stats { position: relative; z-index: 5; margin-top: -76px; }
@media (max-width: 767px) { .stats { margin-top: -44px; } }
.stats__in {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.14);
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 560px)  { .stats__in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats__in { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 2.25rem 1.75rem; border-top: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-top: 0; }
@media (min-width: 560px) {
  .stat { border-top: 0; border-left: 1px solid rgba(255,255,255,.14); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .stat:nth-child(odd) { border-left: 0; }
}
@media (min-width: 1024px) {
  .stat { border-top: 0 !important; border-left: 1px solid rgba(255,255,255,.14) !important; }
  .stat:first-child { border-left: 0 !important; }
}
.stat .num { color: #fff; }
.stat__label {
  display: block; margin-top: 1rem;
  font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--brass-400);
}
.stat__note { margin-top: .5rem; font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------------------
   9. Trust strip
   -------------------------------------------------------------------------- */
.trust { border-block: 1px solid var(--steel-200); background: var(--paper); }
.trust__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; padding-block: 1.75rem; }
.trust__label { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-35); }
.trust__items { display: flex; flex-wrap: wrap; gap: .625rem 1.5rem; }
.trust__items li {
  font-size: .8125rem; font-weight: 500; color: var(--ink-70);
  display: flex; align-items: center; gap: .5rem;
}
.trust__items li::before { content: ""; width: 5px; height: 5px; background: var(--brass-400); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   10. Editorial 5/7 blocks
   -------------------------------------------------------------------------- */
.ed { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .ed { grid-template-columns: 5fr 7fr; }
  .ed--flip { grid-template-columns: 7fr 5fr; }
  .ed--flip .ed__text { order: 2; }
  .ed--flip .ed__media { order: 1; }
}
.ed__text .h2 { margin-top: .75rem; max-width: 18ch; }
.ed__text p { margin-top: 1.25rem; max-width: 56ch; color: var(--ink-55); }
.ed__list { margin-top: 1.75rem; display: grid; gap: .75rem; }
.ed__list li { display: flex; gap: .75rem; font-size: .9375rem; color: var(--ink-70); }
.ed__list li::before { content: ""; width: 4px; height: 4px; margin-top: .6rem; background: var(--brass-400); flex-shrink: 0; }
.ed__media figure { margin: 0; }
.ed__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: var(--radius); }

figcaption {
  margin-top: .875rem; padding-top: .875rem;
  border-top: 1px solid var(--steel-200);
  font-size: .8125rem; color: var(--ink-35);
}
.sec--navy figcaption, .on-dark figcaption { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); }

/* --------------------------------------------------------------------------
   11. Cards
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--col-gap); grid-template-columns: 1fr; }
@media (min-width: 620px)  { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); }
                             .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  background: var(--paper); overflow: hidden;
  text-decoration: none;
  transition: border-color .25s;
}
.card:hover { border-color: var(--navy-900); }
.card figure { margin: 0; overflow: hidden; }
.card figure img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: var(--pos, 50% 50%);
  transition: transform .7s var(--ease);
}
.card:hover figure img { transform: scale(1.04); }
.card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card__no {
  font-size: .6875rem; letter-spacing: .16em; font-weight: 600;
  color: var(--brass-700); font-variant-numeric: tabular-nums;
}
.card__body .h4 { margin-top: .75rem; }
.card__body p { margin-top: .625rem; font-size: .9375rem; color: var(--ink-55); }
.card__spec {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--steel-200);
  display: grid; gap: .4rem;
}
.card__spec li { display: flex; justify-content: space-between; gap: 1rem; font-size: .8125rem; }
.card__spec b { font-weight: 600; color: var(--ink); }
.card__spec span { color: var(--ink-35); }
.card .lnk { margin-top: auto; padding-top: 1.5rem; }

/* Tall commodity card */
.tall {
  position: relative; isolation: isolate;
  display: block; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #fff;
  aspect-ratio: 3 / 4;
}
.tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); z-index: -2; transition: transform .7s var(--ease); }
.tall::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0,17,46,.90) 8%, rgba(0,17,46,.42) 46%, rgba(0,17,46,.06) 82%);
}
.tall:hover img { transform: scale(1.05); }
.tall__body { position: absolute; inset: auto 0 0 0; padding: 1.75rem 1.5rem; }
.tall__body .h4 { color: #fff; }
.tall__body .cap { color: rgba(255,255,255,.72); margin-top: .5rem; }
/* v2 (2026-09-18): origin can run to two lines on the 8-family grid — give it
   its own block box and breathing room so it never collides with the title. */
.tall__origin { display: block; font-size: .6875rem; line-height: 1.5; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 600; color: var(--brass-400); margin-bottom: .45rem; }

/* Scroll rail on small screens */
@media (max-width: 619px) {
  .rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .rail > * { flex: 0 0 76%; scroll-snap-align: start; }
}

/* --------------------------------------------------------------------------
   12. Process timeline
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 2rem; grid-template-columns: 1fr; position: relative; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.step { position: relative; padding-top: 2.75rem; }
.step::before {
  content: ""; position: absolute; top: 18px; left: 0; right: 0; height: 1px; background: var(--brass-500); opacity: .45;
}
.step:first-child::before { left: 0; }
.step:last-child::before  { right: 50%; }
@media (max-width: 899px) {
  .step { padding-top: 0; padding-left: 2.75rem; }
  .step::before { top: 0; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  .step:last-child::before { bottom: 50%; }
}
.step__no {
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--cream-100);
  font-family: var(--serif); font-size: 1.25rem; color: var(--brass-700);
  font-variant-numeric: tabular-nums;
}
.step .h4 { margin-bottom: .5rem; }
.step p { font-size: .875rem; color: var(--ink-55); }
.step__art {
  margin-top: .875rem; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-700); font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Corridor map
   -------------------------------------------------------------------------- */
.corridor { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .corridor { grid-template-columns: 7fr 5fr; } }
/* v2 (2026-09-18): geometry is now generated from Natural Earth 1:50m by
   tools/make_map.py, so these sizes are in a 1004-unit viewBox that renders at
   roughly 0.7 scale in the layout. The eight corridor countries carry a
   stronger fill than their neighbours. */
.map { width: 100%; height: auto; }
.map .land { stroke-linejoin: round; }
.map .land--ctx { fill: rgba(102,133,186,.09); stroke: rgba(102,133,186,.30); stroke-width: .9; }
.map .land--on  { fill: rgba(102,133,186,.20); stroke: rgba(153,177,215,.72); stroke-width: 1.1; }
.map .lane   { fill: none; stroke: var(--brass-400); stroke-width: 1.9; stroke-dasharray: 7 7;
               stroke-linecap: round; opacity: .8; }
.map .port   { fill: var(--brass-400); }
.map .port-ring { fill: none; stroke: var(--brass-400); stroke-width: 1.2; opacity: .45; }
.map .plabel { fill: rgba(255,255,255,.8); font-family: var(--sans); font-size: 13px;
               font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
               paint-order: stroke; stroke: rgba(0,17,46,.75); stroke-width: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .map .lane { animation: flow 9s linear infinite; }
  @keyframes flow { to { stroke-dashoffset: -100; } }
  .map .port-ring { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
  @keyframes pulse { 0%,100% { r: 5; opacity: .5; } 50% { r: 11; opacity: 0; } }
}

.lanes { display: grid; gap: 0; }
.lane-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline;
  padding-block: .9rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
.lane-row:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.lane-row__route { font-size: .9375rem; font-weight: 500; color: #fff; }
.lane-row__meta  { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-400); white-space: nowrap; }
.lanes__note { margin-top: 1.5rem; font-size: .8125rem; color: rgba(255,255,255,.55); }

/* --------------------------------------------------------------------------
   14. Certification strip
   -------------------------------------------------------------------------- */
.certs { border-block: 1px solid var(--brass-500); }
.certs__in { padding-block: 3.5rem; }
.certs__grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }
@media (min-width: 620px)  { .certs__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .certs__grid { grid-template-columns: repeat(6, 1fr); } }
.cert { text-align: center; }
.cert svg { margin-inline: auto; width: 40px; height: 40px; }
.cert span { display: block; margin-top: .875rem; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-70); }
.cert small { display: block; margin-top: .35rem; font-size: .75rem; color: var(--ink-35); letter-spacing: 0; text-transform: none; }

/* --------------------------------------------------------------------------
   15. Heritage rail
   -------------------------------------------------------------------------- */
.rail-years { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px)  { .rail-years { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rail-years { grid-template-columns: repeat(4, 1fr); } }
.yr { padding-top: 1.25rem; border-top: 1px solid var(--brass-500); }
.yr__y { font-family: var(--serif); font-size: 1.75rem; color: var(--brass-700); font-variant-numeric: tabular-nums; }
.yr p { margin-top: .625rem; font-size: .9375rem; color: var(--ink-55); }

/* --------------------------------------------------------------------------
   16. Spec / data tables
   -------------------------------------------------------------------------- */
.tbl-wrap { overflow-x: auto; margin-top: 2rem; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 560px; }
table.tbl th, table.tbl td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
table.tbl thead th {
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-35); border-bottom-color: var(--ink-35);
}
table.tbl tbody tr:hover { background: var(--ice-50); }
table.tbl td:first-child { font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   17. Accordion (FAQ / docs)
   -------------------------------------------------------------------------- */
details.acc { border-bottom: 1px solid var(--steel-200); }
details.acc summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: 10px; height: 10px; margin-top: -6px;
  border-right: 1.5px solid var(--brass-500); border-bottom: 1.5px solid var(--brass-500);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
details.acc[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.acc .acc__body { padding-bottom: 1.5rem; max-width: 68ch; color: var(--ink-55); font-size: .9375rem; }
details.acc .acc__body p + p { margin-top: .875rem; }
details.acc .acc__body ul { margin-top: .75rem; display: grid; gap: .5rem; }
details.acc .acc__body li { display: flex; gap: .75rem; }
details.acc .acc__body li::before { content: ""; width: 4px; height: 4px; margin-top: .55rem; background: var(--brass-400); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   18. Enquiry form
   -------------------------------------------------------------------------- */
/* v2 (2026-09-18): minmax(0,1fr) and width:100% on the controls. A grid track
   sized 1fr still has min-width:auto, so the widest <option> in the payment and
   packaging selects was forcing the whole form past the phone viewport. */
.form { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 719px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink-70); }
.field label .req { color: var(--brass-700); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; max-width: 100%;
  padding: .9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--steel-200); border-radius: var(--radius);
  font-size: .9375rem;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(0,53,141,.08);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .8125rem; color: var(--ink-35); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: .625rem; }
.checks { display: grid; gap: .625rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.checks label {
  display: flex; align-items: center; gap: .6rem;
  font-size: .875rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink-70);
  cursor: pointer;
}
.checks input { width: 16px; height: 16px; accent-color: var(--navy-600); padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-out {
  margin-top: 2rem; padding: 1.75rem;
  border: 1px solid var(--brass-500); border-radius: var(--radius);
  background: var(--cream-100);
}
.form-out h3 { margin-bottom: .75rem; }
.form-out pre {
  margin: 1rem 0 0; padding: 1.25rem;
  background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--radius);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; line-height: 1.7;
  white-space: pre-wrap; word-break: break-word;
  max-height: 340px; overflow: auto;
}

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta { position: relative; isolation: isolate; background: var(--navy-900); color: #fff; text-align: center; }
.cta__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* v2 (2026-09-18): the terminal-at-sunset photograph is strongly magenta, and
   at 80% navy the cast still read pink against the rest of the palette. Pull
   the saturation down and let the navy sit on top of a grade rather than a
   flat wash. */
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  filter: saturate(.42) contrast(1.06); }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,17,46,.92) 0%, rgba(0,17,46,.74) 45%, rgba(0,17,46,.90) 100%);
}
.cta__in { padding-block: clamp(5rem, 3rem + 6vw, 9rem); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .lead { margin: 1.5rem auto 0; color: var(--brass-200); }
.cta .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.ftr { background: var(--navy-900); color: rgba(255,255,255,.72); }
.ftr__in { padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem) 2rem; }
.ftr__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 620px)  { .ftr__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
/* v2 (2026-09-18): footer column headings are <h2> so the document outline
   does not jump from h2 straight to h4 on every page. */
.ftr__h { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-400); margin-bottom: 1.25rem; }
.ftr ul { display: grid; gap: .7rem; }
.ftr a { text-decoration: none; font-size: .9375rem; }
.ftr a:hover { color: #fff; }
.ftr .mark__name { color: #fff; }
.ftr .mark__sub  { color: var(--brass-400); }
.ftr__about { font-size: .9375rem; max-width: 34ch; margin-top: 1.5rem; }
.ftr__legal {
  margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .8125rem; color: rgba(255,255,255,.55);
}
.ftr__legal nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ftr__reg { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   21. Prose (legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-55); font-size: 1rem; }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; display: grid; gap: .625rem; }
.prose li { display: flex; gap: .75rem; }
.prose li::before { content: ""; width: 4px; height: 4px; margin-top: .6rem; background: var(--brass-400); flex-shrink: 0; }
.prose a { color: var(--navy-600); }

/* --------------------------------------------------------------------------
   22. Motion
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 6% cover 26%; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
}

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

/* Utilities */
.u-center { text-align: center; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-2 { margin-top: 2rem; }
.u-mt-3 { margin-top: 3rem; }
.u-hide { display: none !important; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .875rem 1.25rem; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--brass-500); outline-offset: 3px; }

/* RTL safety (no RTL locale shipped today, kept so adding one is a one-line change) */
[dir="rtl"] .hero::after { background:
  linear-gradient(0deg,  rgba(0,17,46,.80) 0%, rgba(0,17,46,.34) 40%, rgba(0,17,46,.06) 74%),
  linear-gradient(270deg, rgba(0,17,46,.88) 0%, rgba(0,17,46,.56) 48%, rgba(0,17,46,.14) 100%); }
