/* ==========================================================================
   Clarvigo Exim — Source, Deliver, Dominate.
   Design tokens are taken from the logo: wordmark navy, globe blue,
   harvest gold, "Exim" amber and the leaf green.
   ========================================================================== */

:root {
  --ocean: #04183a;          /* deepest background */
  --ocean-2: #072250;
  --navy: #0a2a5e;           /* "Clarvigo" wordmark */
  --globe: #0f62c8;          /* globe + upper swoosh */
  --globe-bright: #3d8bf0;
  --gold: #f4b223;           /* rice ear, lower swoosh */
  --husk: #d07a0a;           /* "Exim" */
  --paddy: #5bb51a;          /* leaf */
  --rice: #f5f8fc;           /* cool rice-white page */
  --rice-2: #e8eef7;
  --ink: #0e1b33;
  --ink-soft: #4a5872;
  --line: rgba(14, 27, 51, .12);
  --line-light: rgba(255, 255, 255, .14);

  --grad-gold: linear-gradient(100deg, var(--gold) 0%, #f0a01a 45%, var(--husk) 100%);
  --grad-ocean: linear-gradient(160deg, var(--navy) 0%, var(--ocean) 70%);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-verb: clamp(2.75rem, 13.5vw, 9rem);
  --fs-h1: clamp(2.1rem, 6.4vw, 5.6rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.9rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.7rem);
  --fs-lead: clamp(1.12rem, 1.55vw, 1.38rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(84px, 11vw, 168px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--rice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ocean); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ocean); padding: 10px 18px; border-radius: 999px; font-weight: 700;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ---------- Type ---------- */
.display {
  font-stretch: 125%;
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
}
.h1 { font-size: var(--fs-h1); font-stretch: 118%; font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.h2 { font-size: var(--fs-h2); font-stretch: 115%; font-weight: 750; line-height: 1.04; letter-spacing: -.02em; }
.h3 { font-size: var(--fs-h3); font-stretch: 108%; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.small { font-size: var(--fs-small); }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 64ch; color: var(--ink-soft); }
.italic { font-style: italic; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .95rem; font-weight: 600; font-stretch: 110%; color: var(--husk);
  margin-bottom: 22px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.on-dark .kicker { color: var(--gold); }
.on-dark { color: #fff; }
.on-dark .lead, .on-dark .prose { color: rgba(255, 255, 255, .72); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section-dark { background: var(--ocean); color: #fff; }
.section-navy { background: var(--grad-ocean); color: #fff; }
.section-tint { background: var(--rice-2); }
.split { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: 1fr; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; }
  .split--wide-left { grid-template-columns: 1.25fr 1fr; }
  .split--wide-right { grid-template-columns: 1fr 1.25fr; }
  .split--top { align-items: start; }
}
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 84px); max-width: 860px; }
.section-head--row { max-width: none; }
@media (min-width: 960px) {
  .section-head--row { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-gold);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-stretch: 110%; font-size: 1rem; letter-spacing: .005em;
  background: var(--btn-bg); color: var(--ocean);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), color .4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: translateY(101%); border-radius: 999px;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #fff; box-shadow: 0 18px 40px -18px rgba(244, 178, 35, .7); }
.btn .btn-icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .btn-icon { transform: translateX(4px) rotate(-45deg); }

.btn--ghost {
  --btn-bg: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45);
}
.btn--ghost::before { background: #fff; }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ocean); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--dark { --btn-bg: var(--navy); color: #fff; }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--ocean); }
.btn--line { --btn-bg: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line::before { background: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  position: relative; display: inline-flex; width: fit-content; align-items: center; gap: 10px;
  font-weight: 700; font-stretch: 110%; color: var(--navy);
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--grad-gold); transform-origin: right; transform: scaleX(.25);
  transition: transform .6s var(--ease);
}
.text-link:hover::after { transform-origin: left; transform: scaleX(1); }
.on-dark .text-link { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: transform .6s var(--ease), background-color .5s var(--ease), height .5s var(--ease), box-shadow .5s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(4, 24, 58, .82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 64px; width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand img { height: 52px; }
@media (max-width: 600px) { .brand img { height: 52px; } .is-scrolled .brand img { height: 46px; } }

.nav { display: none; }
.nav-list { display: flex; gap: 6px; }
.nav-link {
  position: relative; display: block; padding: 10px 13px; border-radius: 999px;
  color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; font-stretch: 108%;
  transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: none; min-height: 46px; padding: 0 22px; font-size: .92rem; }

.menu-toggle {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); position: relative; z-index: 120;
}
.menu-toggle span { position: absolute; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { transform: translateY(-4px); }
.menu-toggle span:nth-child(2) { transform: translateY(4px); width: 14px; margin-left: 6px; }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: rotate(-45deg); width: 20px; margin-left: 0; }

@media (min-width: 1240px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Header on light pages before scroll keeps light logo since every page opens on a dark hero */

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--ocean); color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 48px;
  clip-path: circle(0% at calc(100% - 46px) 42px);
  transition: clip-path .9s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
.mobile-menu ol { display: grid; gap: 4px; counter-reset: m; }
.mobile-menu li { overflow: hidden; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(2rem, 8.5vw, 3.6rem); font-weight: 800; font-stretch: 120%; line-height: 1.12; letter-spacing: -.02em;
  transform: translateY(110%); transition: transform .8s var(--ease), color .3s;
}
.mobile-menu nav a[aria-current="page"] { color: var(--gold); }
.menu-open .mobile-menu nav a { transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .35s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .45s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .5s; }
.mobile-menu-foot { margin-top: 48px; display: grid; gap: 6px; color: rgba(255, 255, 255, .7); opacity: 0; transition: opacity .6s .6s; }
.menu-open .mobile-menu-foot { opacity: 1; }
.mobile-menu-foot a { color: #fff; font-weight: 600; font-size: 1.05rem; }
body.menu-open { overflow: hidden; }

/* ---------- Curtain / preloader ---------- */
.curtain { display: none; }
.js .curtain {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 500; pointer-events: none;
}
.curtain-panel {
  position: absolute; inset: 0; background: var(--ocean);
  transform-origin: top;
}
.curtain-panel--gold { background: var(--grad-gold); }
.curtain-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.curtain-emblem { width: 92px; height: auto; }
.curtain-word { overflow: hidden; }
.curtain-word span {
  display: block; color: #fff; font-weight: 800; font-stretch: 125%; font-style: italic;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem); letter-spacing: .01em;
}
.curtain-bar { width: 180px; height: 2px; background: rgba(255, 255, 255, .15); border-radius: 2px; overflow: hidden; }
.curtain-bar i { display: block; height: 100%; width: 100%; background: var(--grad-gold); transform-origin: left; transform: scaleX(0); }
.curtain-count { color: rgba(255, 255, 255, .55); font-size: .85rem; font-variant-numeric: tabular-nums; font-weight: 600; }

/* states */
.js .curtain .curtain-panel--gold { transform: scaleY(0); }
.js.is-ready .curtain .curtain-panel { transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-in-out); }
.js.is-ready .curtain .curtain-panel--gold { transition-delay: 0s; }
.js.is-ready .curtain .curtain-panel:not(.curtain-panel--gold) { transition-delay: .08s; }
.js.is-ready .curtain .curtain-inner { opacity: 0; transform: translateY(-30px); transition: opacity .4s, transform .6s var(--ease); }
.js.is-leaving .curtain { pointer-events: all; }
.js.is-leaving .curtain .curtain-panel { transform: scaleY(1); transform-origin: bottom; transition: transform .75s var(--ease-in-out); }
.js.is-leaving .curtain .curtain-panel--gold { transition-delay: 0s; }
.js.is-leaving .curtain .curtain-panel:not(.curtain-panel--gold) { transition-delay: .12s; }
.js.is-leaving .curtain .curtain-inner { opacity: 0; }

/* ---------- Custom cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .has-cursor .cursor { display: block; }
  .cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate3d(-100px, -100px, 0); }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
  .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(244, 178, 35, .6);
    display: grid; place-items: center;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s;
  }
  .cursor-ring span { font-size: .72rem; font-weight: 700; font-stretch: 112%; color: var(--ocean); opacity: 0; transition: opacity .3s; }
  .cursor.is-link .cursor-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(244, 178, 35, .12); }
  .cursor.is-view .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--gold); border-color: var(--gold); }
  .cursor.is-view .cursor-ring span { opacity: 1; }
  .cursor.is-view .cursor-dot { opacity: 0; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Reveal system ---------- */
.js [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(44px); }
.js [data-reveal="fade"] { opacity: 0; }
.js [data-reveal="clip"] { clip-path: inset(100% 0 0 0); }
.js [data-reveal="clip-x"] { clip-path: inset(0 100% 0 0); }
.js [data-reveal="scale"] { opacity: 0; transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* split words (mask up) */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 45ms); }
.is-in .split-w > span, .split-w.is-in > span { transform: none; }
.no-js .split-w > span { transform: none; }

/* scroll-lit paragraph */
.lit { font-size: clamp(1.6rem, 3.3vw, 3rem); line-height: 1.22; font-weight: 600; font-stretch: 108%; letter-spacing: -.015em; color: var(--navy); }
.lit .w { opacity: .14; transition: opacity .25s linear; }
.lit .w.on { opacity: 1; }
.no-js .lit .w { opacity: 1; }

/* media */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--globe)); border-radius: 6px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media[data-parallax] img { height: 118%; margin-top: -9%; will-change: transform; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media-caption { margin-top: 12px; font-size: .85rem; color: var(--ink-soft); }

/* brand wave (from the logo's double swoosh) */
.wave { width: 100%; height: auto; overflow: visible; }
.wave path { fill: none; stroke-linecap: round; }
.wave .w-blue { stroke: var(--globe); }
.wave .w-gold { stroke: var(--gold); }
.js .wave[data-draw] path { stroke-dasharray: var(--len, 1600); stroke-dashoffset: var(--len, 1600); transition: stroke-dashoffset 2.2s var(--ease); }
.js .wave[data-draw] .w-gold { transition-delay: .25s; }
.js .wave[data-draw].is-in path { stroke-dashoffset: 0; }

/* ==========================================================================
   HOME — hero scenes
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: var(--ocean); overflow: hidden; isolation: isolate;
}
.scenes { position: absolute; inset: 0; z-index: -2; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); background: var(--grad-ocean); }
.scene img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.scene.is-active { opacity: 1; }
.scene.is-active img { transform: scale(1.02); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 24, 58, .92) 0%, rgba(4, 24, 58, .62) 42%, rgba(4, 24, 58, .12) 78%),
    linear-gradient(0deg, rgba(4, 24, 58, .85) 0%, rgba(4, 24, 58, 0) 45%);
}
.hero-grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero .wrap { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(40px, 6vh, 72px); }
.hero-verbs { display: grid; gap: .04em; margin-bottom: clamp(26px, 4vh, 44px); }
.verb {
  display: flex; align-items: flex-start; gap: clamp(10px, 1.4vw, 22px);
  text-align: left; font-size: var(--fs-verb); font-weight: 800; font-stretch: 125%; font-style: italic;
  line-height: .96; letter-spacing: -.025em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .5);
  transition: color .8s var(--ease), -webkit-text-stroke-color .8s;
  cursor: pointer; white-space: nowrap;
}
.verb-n {
  font-size: clamp(.8rem, 1vw, .95rem); font-style: normal; font-stretch: 100%; font-weight: 700;
  -webkit-text-stroke: 0; color: rgba(255, 255, 255, .55); margin-top: .9em; min-width: 2ch;
  font-variant-numeric: tabular-nums; transition: color .6s;
}
.verb-word { position: relative; display: inline-block; }
.verb-word .ch { display: inline-block; }
.js .verb-word .ch { transform: translateY(110%) skewX(-8deg); opacity: 0; transition: transform 1.1s var(--ease), opacity .6s; transition-delay: calc(.15s + var(--vi) * 120ms + var(--ci) * 28ms); }
.js .is-ready .verb-word .ch, .js.is-ready .verb-word .ch { transform: none; opacity: 1; }
.verb-mask { display: block; overflow: hidden; padding-right: .12em; padding-bottom: .06em; }
.verb-bar { position: absolute; left: 0; right: 6%; bottom: -.04em; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; opacity: 0; transition: opacity .4s; }
.verb-bar i { display: block; height: 100%; background: var(--grad-gold); transform-origin: left; transform: scaleX(0); }
.verb.is-active { color: #fff; -webkit-text-stroke-color: transparent; }
.verb.is-active .verb-n { color: var(--gold); }
.verb.is-active .verb-bar { opacity: 1; }
.verb.is-active .verb-bar i { animation: verbFill var(--scene-ms, 6500ms) linear forwards; }
.verb:hover:not(.is-active) { -webkit-text-stroke-color: rgba(255, 255, 255, .9); }
@keyframes verbFill { to { transform: scaleX(1); } }

.hero-foot { display: grid; gap: 30px; align-items: end; }
@media (min-width: 960px) { .hero-foot { grid-template-columns: 1fr auto; } }
.hero-intro { max-width: 52ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255, 255, 255, .82); margin-bottom: 28px; }
.scene-caption { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .75); font-size: .9rem; }
.scene-caption .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(244, 178, 35, .6); animation: pulse 2.2s infinite; flex-shrink: 0; }
.scene-caption-text { display: block; min-width: 18ch; transition: opacity .5s, transform .5s var(--ease); }
.scene-caption-text.is-swapping { opacity: 0; transform: translateY(8px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 178, 35, .6); } 80%, 100% { box-shadow: 0 0 0 14px rgba(244, 178, 35, 0); } }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 40px; display: none; align-items: center; gap: 12px; color: rgba(255, 255, 255, .6); font-size: .8rem; writing-mode: vertical-rl; }
.scroll-cue i { width: 1.5px; height: 64px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 1280px) { .scroll-cue { display: flex; } }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end;
  color: #fff; background: var(--ocean); overflow: hidden; isolation: isolate;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--grad-ocean); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease); }
.is-ready .page-hero-media img { transform: scale(1.03); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(4, 24, 58, .95) 0%, rgba(4, 24, 58, .55) 50%, rgba(4, 24, 58, .25) 100%),
              linear-gradient(90deg, rgba(4, 24, 58, .6) 0%, rgba(4, 24, 58, 0) 70%);
}
.page-hero .wrap { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(48px, 8vh, 96px); }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: rgba(255, 255, 255, .65); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.page-title { font-size: var(--fs-h1); font-weight: 800; font-stretch: 122%; line-height: .98; letter-spacing: -.03em; max-width: 16ch; }
.page-hero .lead { margin-top: 26px; color: rgba(255, 255, 255, .8); }
.page-hero .wave { margin-top: 40px; max-width: 520px; }

/* ==========================================================================
   Products — expanding panels (home)
   ========================================================================== */
.panels { display: grid; gap: 14px; }
.panel {
  position: relative; overflow: hidden; border-radius: 14px; min-height: 420px;
  color: #fff; background: var(--grad-ocean); isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 24, 58, .92) 0%, rgba(4, 24, 58, .25) 60%, rgba(4, 24, 58, .1) 100%); transition: background .8s; }
.panel-body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.panel-n { font-weight: 700; font-size: .9rem; color: var(--gold); }
.panel-title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -.02em; }
.panel-text { max-width: 40ch; color: rgba(255, 255, 255, .8); }
.panel .text-link { color: #fff; margin-top: 6px; }
.panel:hover img, .panel.is-active img { transform: scale(1); }

@media (min-width: 960px) {
  .panels { display: flex; height: min(76vh, 680px); gap: 14px; }
  .panel { flex: 1 1 0; min-height: 0; transition: flex-grow 1s var(--ease); }
  .panel.is-active { flex-grow: 2.6; }
  .panel-text, .panel .text-link { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--ease); }
  .panel.is-active .panel-text, .panel.is-active .text-link { opacity: 1; transform: none; transition-delay: .35s; }
  .panel-title { transition: font-size .6s var(--ease); }
  .panel:not(.is-active) .panel-title { font-size: clamp(1.05rem, 1.5vw, 1.5rem); font-stretch: 100%; }
}

/* ==========================================================================
   Journey (scroll-drawn route with a ship)
   ========================================================================== */
.journey { position: relative; }
.journey-track { position: relative; margin-top: 20px; }
.journey-svg { position: absolute; left: 0; top: 0; width: 100%; height: 140px; overflow: visible; display: none; }
.journey-svg .rail { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.journey-svg .route { fill: none; stroke: url(#routeGrad); stroke-width: 3; stroke-linecap: round; }
.journey-ship { transition: none; }
.journey-svg .marker circle { fill: var(--ocean-2); stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; transition: fill .5s, stroke .5s, r .5s; }
.journey-svg .marker.is-on circle { fill: var(--gold); stroke: var(--gold); }
.journey-steps { display: grid; gap: 36px; position: relative; }
.step { position: relative; padding-left: 64px; }
.step-dot {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--ocean-2); color: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2);
  transition: background .6s, color .6s, box-shadow .6s, transform .6s var(--ease);
}
.step.is-on .step-dot { background: var(--gold); color: var(--ocean); box-shadow: 0 0 0 8px rgba(244, 178, 35, .14); transform: scale(1.06); }
.step h3 { margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, .7); max-width: 34ch; }
.step-line { position: absolute; left: 21px; top: 52px; bottom: -32px; width: 2px; background: rgba(255, 255, 255, .12); }
.step:last-child .step-line { display: none; }
.step-line i { display: block; width: 100%; height: 100%; background: var(--grad-gold); transform-origin: top; transform: scaleY(0); transition: transform .8s var(--ease); }
.step.is-on .step-line i { transform: scaleY(1); }
@media (min-width: 960px) {
  .journey-svg { display: block; }
  .journey-steps { grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 32px; padding-top: 170px; }
  .step { padding-left: 0; }
  .step-dot { position: relative; margin-bottom: 26px; }
  .step-line { display: none; }
}

/* ==========================================================================
   Globe
   ========================================================================== */
.globe-section { overflow: hidden; }
.globe-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .globe-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; } }
.globe-stage { position: relative; width: 100%; aspect-ratio: 1; max-width: 680px; margin-inline: auto; }
.globe-stage canvas { width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.globe-stage canvas:active { cursor: grabbing; }
.globe-stage::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 98, 200, .35), rgba(15, 98, 200, 0) 70%);
  filter: blur(30px); z-index: -1;
}
.globe-hint { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); font-size: .8rem; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.lanes { display: grid; margin-top: 36px; border-top: 1px solid var(--line-light); }
.lane {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--line-light); text-align: left; width: 100%;
  transition: padding .5s var(--ease), background-color .4s;
}
.lane-name { font-weight: 700; font-stretch: 112%; font-size: 1.15rem; }
.lane-ports { color: rgba(255, 255, 255, .55); font-size: .92rem; }
.lane-mark { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.lane:hover, .lane.is-active { padding-left: 14px; background: rgba(255, 255, 255, .03); }
.lane:hover .lane-mark, .lane.is-active .lane-mark { background: var(--gold); box-shadow: 0 0 0 6px rgba(244, 178, 35, .18); transform: scale(1.2); }
.origin-note { margin-top: 26px; display: flex; gap: 12px; align-items: center; color: rgba(255, 255, 255, .65); font-size: .92rem; }
.origin-note .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s infinite; flex-shrink: 0; }

/* ==========================================================================
   Commitments (editorial list)
   ========================================================================== */
.commit-list { display: grid; border-top: 1px solid var(--line); }
.commit {
  display: grid; gap: 14px 40px; padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.commit { grid-template-columns: 56px 1fr; gap: 8px 24px; }
.commit-icon { grid-row: span 2; }
.commit p { grid-column: 2; }
.commit-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(10, 42, 94, .45); color: var(--globe); transition: transform .6s var(--ease), background .5s, color .5s; }
.commit-icon svg { width: 26px; height: 26px; }
.commit:hover .commit-icon { transform: rotate(-8deg) scale(1.06); background: var(--navy); color: var(--gold); }
.commit p { color: var(--ink-soft); max-width: 52ch; }
.commit::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.commit:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 52px); border-block: 1px solid var(--line); background: var(--rice); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(28px, 4vw, 60px); padding-right: clamp(28px, 4vw, 60px); }
.marquee-item { font-size: clamp(2.2rem, 6vw, 5.2rem); font-weight: 800; font-stretch: 125%; font-style: italic; letter-spacing: -.02em; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--navy); white-space: nowrap; transition: color .4s; }
.marquee-item:nth-child(4n+1) { color: var(--navy); -webkit-text-stroke: 0; }
.marquee-sep { width: clamp(34px, 4vw, 56px); height: auto; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--ocean); isolation: isolate; }
.cta-band .bg { position: absolute; inset: -10% 0; z-index: -2; background: var(--grad-ocean); }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 24, 58, .95) 10%, rgba(4, 24, 58, .55) 60%, rgba(4, 24, 58, .3)); }
.cta-inner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } }
.cta-title { font-size: clamp(2.2rem, 5.6vw, 5rem); font-weight: 800; font-stretch: 122%; line-height: .98; letter-spacing: -.03em; }
.cta-side { display: grid; gap: 22px; }
.cta-contacts { display: grid; gap: 4px; color: rgba(255, 255, 255, .75); }
.cta-contacts a { color: #fff; font-weight: 600; }
.cta-contacts a:hover { color: var(--gold); }
canvas.grains { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ocean); color: rgba(255, 255, 255, .72); padding-top: clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.footer-top { display: grid; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 960px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.footer-h { color: #fff; font-weight: 700; font-stretch: 110%; margin-bottom: 18px; font-size: 1rem; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { position: relative; transition: color .3s, padding .4s var(--ease); }
.footer-links a:hover { color: var(--gold); padding-left: 8px; }
.footer-contact { display: grid; gap: 14px; font-style: normal; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--gold); }
.footer-giant {
  display: block; padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 48px);
  font-size: clamp(1.6rem, 7.2vw, 6.6rem); font-weight: 800; font-stretch: 125%; font-style: italic;
  line-height: 1; letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .28);
}
.footer-giant .split-w > span { transition-duration: 1.4s; padding-right: .06em; }
.footer-giant em { font-style: italic; -webkit-text-stroke: 0; }
.footer-giant em .split-w > span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-bottom: 32px; font-size: .88rem; color: rgba(255, 255, 255, .5); }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ocean); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(4, 24, 58, .6);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .5s, transform .6s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2.5; }
.to-top .ring .bg { stroke: rgba(255, 255, 255, .15); }
.to-top .ring .fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.to-top .arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.to-top:hover .arrow { transform: translateY(-3px); }

/* ==========================================================================
   About
   ========================================================================== */
.about-collage { position: relative; display: grid; grid-template-columns: 1fr .62fr; gap: 16px; align-items: end; }
.about-collage .media:first-child { aspect-ratio: 4 / 5; }
.about-collage .media:last-child { aspect-ratio: 3 / 4; margin-bottom: 18%; }
.vm-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm {
  position: relative; padding: clamp(32px, 4vw, 56px); border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--ocean-2); color: #fff; min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.vm--gold { background: var(--grad-gold); color: var(--ocean); }
.vm-label { font-weight: 700; font-stretch: 112%; font-size: 1.05rem; display: flex; align-items: center; gap: 12px; }
.vm-label svg { width: 28px; height: 28px; }
.vm p { font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.3; font-weight: 600; font-stretch: 106%; letter-spacing: -.01em; }
.vm-deco { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .12; z-index: -1; }
.vm-deco::after { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1.5px solid currentColor; }

.tagline-rows { display: grid; }
.tagline-row {
  display: grid; gap: 16px 48px; padding-block: clamp(30px, 4vw, 52px); border-top: 1px solid var(--line-light);
  align-items: baseline;
}
.tagline-row:last-child { border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .tagline-row { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); } }
.tagline-n { color: var(--gold); font-weight: 700; }
.tagline-word { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 800; font-stretch: 125%; font-style: italic; letter-spacing: -.03em; line-height: 1; transition: color .5s; color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, .55); }
.tagline-row:hover .tagline-word, .tagline-row.is-in .tagline-word { color: #fff; -webkit-text-stroke-color: transparent; }
.tagline-row p { color: rgba(255, 255, 255, .72); max-width: 44ch; }

.objectives { display: grid; gap: 0; counter-reset: obj; border-top: 1px solid var(--line); }
.objective { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.objective svg { width: 26px; height: 26px; color: var(--paddy); margin-top: 2px; }
.objective strong { display: block; font-stretch: 108%; font-size: 1.1rem; color: var(--navy); margin-bottom: 2px; }
.objective span { color: var(--ink-soft); }

.founder { display: grid; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(10, 42, 94, .45); }
@media (min-width: 860px) { .founder { grid-template-columns: auto 1fr auto; gap: 44px; } }
.founder-mono { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-ocean); color: var(--gold); font-size: 2.2rem; font-weight: 800; font-stretch: 120%; font-style: italic; position: relative; }
.founder-mono::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed rgba(208, 122, 10, .5); animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder-name { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; color: var(--navy); }
.founder-role { color: var(--husk); font-weight: 700; margin-bottom: 10px; }
.founder p { color: var(--ink-soft); max-width: 56ch; }

.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: minmax(120px, .5fr) 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact dt { color: var(--ink-soft); }
.fact dd { font-weight: 600; color: var(--navy); }

/* ==========================================================================
   Products page
   ========================================================================== */
.subnav { position: sticky; top: 0; z-index: 60; background: rgba(245, 248, 252, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top .6s var(--ease); }
.header-visible .subnav { top: 72px; }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: relative; padding-block: 12px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-stretch: 108%; white-space: nowrap; color: var(--ink-soft); transition: color .4s; }
.subnav a.is-active { color: #fff; }
.subnav-pill { position: absolute; top: 12px; height: calc(100% - 24px); border-radius: 999px; background: var(--navy); transition: left .6s var(--ease), width .6s var(--ease); z-index: 0; }

.product { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) {
  .product { grid-template-columns: 1.05fr 1fr; }
  .product--flip .product-media { order: 2; }
}
.product-media { position: relative; }
.product-media .media { aspect-ratio: 5 / 6; border-radius: 14px; }
.product-tag {
  position: absolute; left: -14px; bottom: 36px; z-index: 2;
  background: #fff; color: var(--navy); border-radius: 14px; padding: 16px 20px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 24px 50px -24px rgba(4, 24, 58, .55); font-weight: 700; font-stretch: 108%;
}
.product-tag img { width: 40px; height: 40px; }
.product-tag small { display: block; font-weight: 500; color: var(--ink-soft); font-stretch: 100%; }
.product-n { font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 800; font-stretch: 125%; line-height: .8; color: transparent; -webkit-text-stroke: 1.4px rgba(10, 42, 94, .22); margin-bottom: 18px; display: block; }
.product h2 { margin-bottom: 20px; }
.arrange { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.arrange li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.arrange svg { width: 20px; height: 20px; color: var(--paddy); margin-top: 3px; }
.product .btn-row { margin-top: 34px; }

.spec-board { display: grid; gap: 1px; background: var(--line-light); border-radius: 18px; overflow: hidden; }
@media (min-width: 700px) { .spec-board { grid-template-columns: repeat(3, 1fr); } }
.spec { background: var(--ocean); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; min-height: 210px; align-content: space-between; position: relative; overflow: hidden; }
.spec-meter { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.spec-meter i { display: block; height: 100%; width: var(--w, 70%); background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.is-in .spec-meter i { transform: scaleX(1); }
.spec h3 { color: #fff; }
.spec p { color: rgba(255, 255, 255, .62); font-size: .95rem; }
.spec svg { width: 30px; height: 30px; color: var(--gold); }

.range-note { display: grid; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 22px; background: var(--grad-gold); color: var(--ocean); position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .range-note { grid-template-columns: 1.4fr auto; } }
.range-note h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 800; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 12px; }
.range-note p { max-width: 58ch; color: rgba(4, 24, 58, .8); }
.range-note .emblem-bg { position: absolute; right: -40px; top: 50%; width: 320px; transform: translateY(-50%) rotate(-12deg); opacity: .14; z-index: -1; filter: grayscale(1) brightness(.2); }

/* ==========================================================================
   Global trade page
   ========================================================================== */
.caps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
@media (min-width: 700px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .caps { grid-template-columns: repeat(3, 1fr); } }
.cap { background: var(--rice); padding: clamp(28px, 3vw, 44px); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; isolation: isolate; transition: color .5s; }
.cap::before { content: ""; position: absolute; inset: 0; background: var(--navy); z-index: -1; clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .8s var(--ease); }
.cap:hover { color: #fff; }
.cap:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.cap:hover p { color: rgba(255, 255, 255, .72); }
.cap-icon { width: 52px; height: 52px; color: var(--globe); transition: color .5s, transform .6s var(--ease); }
.cap:hover .cap-icon { color: var(--gold); transform: translateY(-4px); }
.cap p { color: var(--ink-soft); transition: color .5s; }

.terms { display: grid; gap: 18px; }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(3, 1fr); } }
.term { padding: clamp(28px, 3vw, 40px); border-radius: 18px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -44px rgba(10, 42, 94, .5); display: grid; gap: 16px; align-content: start; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.term:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(10, 42, 94, .55); }
.term-code { font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; font-stretch: 125%; font-style: italic; line-height: 1; letter-spacing: -.02em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.term h3 { color: var(--navy); font-size: 1.15rem; }
.term p { color: var(--ink-soft); }
.term-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 8px; border-radius: 10px; overflow: hidden; background: var(--line); font-size: .85rem; }
.term-split div { background: var(--rice); padding: 12px 14px; }
.term-split b { display: block; color: var(--navy); font-weight: 700; margin-bottom: 2px; }
.term-split span { color: var(--ink-soft); }

.docs { display: grid; gap: 12px; }
@media (min-width: 700px) { .docs { grid-template-columns: repeat(2, 1fr); } }
.doc { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 14px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 16px 30px -26px rgba(10, 42, 94, .5); transition: transform .5s var(--ease); }
.doc:hover { transform: translateX(6px); }
.doc-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(91, 181, 26, .14); color: var(--paddy); flex-shrink: 0; }
.doc-check svg { width: 18px; height: 18px; }
.js .doc-check path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .8s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .doc-check path { stroke-dashoffset: 0; }
.doc strong { display: block; color: var(--navy); font-stretch: 106%; }
.doc span { font-size: .9rem; color: var(--ink-soft); }

.ports { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .ports { grid-template-columns: repeat(4, 1fr); } }
.port { padding: 22px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; }
.port svg { width: 28px; height: 28px; color: var(--globe); margin-bottom: 8px; }
.port strong { font-stretch: 110%; color: var(--navy); font-size: 1.1rem; }
@media (max-width: 600px) { .port { padding: 18px 16px; } .port strong { font-stretch: 100%; font-size: 1rem; } }
.port span { font-size: .9rem; color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; font-stretch: 108%; color: var(--navy); }
.faq-icon { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; flex-shrink: 0; transition: background .4s, box-shadow .4s, transform .6s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--gold); box-shadow: none; transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { height: 0; overflow: hidden; transition: height .6s var(--ease); }
.faq-a-inner { padding-bottom: 26px; max-width: 70ch; color: var(--ink-soft); }

/* ==========================================================================
   Enquiry form
   ========================================================================== */
.enquiry-grid { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
@media (min-width: 1024px) { .enquiry-grid { grid-template-columns: 1.5fr 1fr; } }
.form-card { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 56px); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(10, 42, 94, .5); position: relative; overflow: hidden; }
.form-intro { margin-bottom: 30px; }
.form-intro h2 { margin-bottom: 8px; }
.segmented { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; border-radius: 999px; background: var(--rice-2); margin-bottom: 34px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { position: relative; z-index: 1; text-align: center; padding: 12px 8px; border-radius: 999px; cursor: pointer; font-weight: 700; font-stretch: 106%; font-size: .95rem; color: var(--ink-soft); transition: color .4s; }
.segmented input:checked + label { color: #fff; }
.segmented input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.segmented-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: 999px; background: var(--navy); transition: transform .6s var(--ease); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 12px; background: var(--rice);
  box-shadow: inset 0 0 0 1.5px var(--line);
  padding: 26px 16px 10px; min-height: 60px; font-size: 1rem; color: var(--ink);
  transition: box-shadow .35s, background .35s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; padding-top: 30px; }
.field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a2a5e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field label { position: absolute; left: 17px; top: 19px; color: var(--ink-soft); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .35s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--globe); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.78); color: var(--globe); }
.field select + label { color: var(--ink-soft); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #d64545; background: #fff7f7; }
.field-error { display: none; font-size: .85rem; color: #c03535; margin-top: 6px; padding-left: 4px; }
.field.is-invalid .field-error { display: block; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.type-group { display: contents; }
.type-group[hidden] { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); margin-top: 6px; }
.consent input { width: 20px; height: 20px; accent-color: var(--navy); margin-top: 2px; flex-shrink: 0; }
.form-foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 28px; }
.form-foot .small { color: var(--ink-soft); max-width: 38ch; }
.btn.is-loading { pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: none; animation: spin .8s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn-icon { display: none; }
.form-status { margin-top: 18px; font-weight: 600; display: none; padding: 14px 18px; border-radius: 12px; }
.form-status.is-error { display: block; background: #fff1f1; color: #b02c2c; }
.form-status.is-info { display: block; background: #fff8e6; color: #7a4a00; }

.form-success {
  position: absolute; inset: 0; background: #fff; z-index: 5; display: grid; place-items: center; text-align: center; padding: 40px;
  clip-path: circle(0% at 50% 100%); transition: clip-path 1s var(--ease-in-out); visibility: hidden;
}
.form-card.is-sent .form-success { clip-path: circle(150% at 50% 100%); visibility: visible; }
.success-check { width: 96px; height: 96px; margin: 0 auto 24px; }
.success-check circle { fill: none; stroke: var(--paddy); stroke-width: 3; stroke-dasharray: 290; stroke-dashoffset: 290; transition: stroke-dashoffset 1s .6s var(--ease); }
.success-check path { fill: none; stroke: var(--paddy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .6s 1.3s var(--ease); }
.is-sent .success-check circle, .is-sent .success-check path { stroke-dashoffset: 0; }
.form-success h2 { margin-bottom: 12px; color: var(--navy); }
.form-success p { color: var(--ink-soft); max-width: 42ch; margin: 0 auto 26px; }

.aside-card { border-radius: 22px; padding: clamp(28px, 3vw, 40px); background: var(--ocean); color: #fff; position: sticky; top: 100px; overflow: hidden; isolation: isolate; }
.aside-card { padding-bottom: 84px; }
.aside-card .wave { position: absolute; left: -10%; bottom: 14px; width: 120%; opacity: .55; z-index: -1; }
.next-steps { display: grid; gap: 22px; margin: 26px 0 34px; }
.next-step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.next-step b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 178, 35, .15); color: var(--gold); font-size: .95rem; }
.next-step strong { display: block; font-stretch: 108%; margin-bottom: 2px; }
.next-step span { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.aside-contacts { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.aside-contacts a { display: flex; align-items: center; gap: 12px; font-weight: 600; transition: color .3s; }
.aside-contacts a:hover { color: var(--gold); }
.aside-contacts svg { width: 20px; height: 20px; color: var(--gold); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.channels { display: grid; border-top: 1px solid var(--line); }
.channel {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid var(--line); position: relative;
}
.channel-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); transition: transform .6s var(--ease), background .5s; }
.channel-icon svg { width: 24px; height: 24px; }
.channel:hover .channel-icon { transform: scale(1.08) rotate(-10deg); background: var(--globe); }
.channel-label { display: block; color: var(--ink-soft); font-size: .92rem; margin-bottom: 2px; }
.channel-value { font-size: clamp(1.12rem, 1.7vw, 1.5rem); font-weight: 700; font-stretch: 110%; color: var(--navy); letter-spacing: -.01em; word-break: break-word; }
.channel-value:hover { color: var(--globe); }
@media (max-width: 600px) {
  .channel { grid-template-columns: 48px 1fr; gap: 14px 16px; }
  .channel-icon { width: 48px; height: 48px; }
  .channel-actions { grid-column: 2; }
  .channel-value { font-size: 1.12rem; word-break: normal; overflow-wrap: anywhere; }
  .segmented label { font-size: .88rem; padding: 12px 4px; }
}
.channel-actions { display: flex; gap: 8px; }
.icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--navy); transition: background .4s, color .4s, box-shadow .4s, transform .5s var(--ease); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--navy); color: #fff; box-shadow: none; transform: translateY(-2px); }
.icon-btn .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); background: var(--ocean); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.icon-btn.is-copied .tip { opacity: 1; transform: translate(-50%, 0); }
.icon-btn.is-copied { background: var(--paddy); color: #fff; box-shadow: none; }

.map-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--grad-ocean); box-shadow: 0 40px 80px -50px rgba(10, 42, 94, .55); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) brightness(.98); transition: filter .8s; }
.map-card:hover iframe { filter: none; }
.map-overlay { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 360px; background: rgba(4, 24, 58, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; border-radius: 16px; padding: 22px 24px; }
.map-overlay address { font-style: normal; color: rgba(255, 255, 255, .78); margin: 6px 0 14px; line-height: 1.55; }
.map-overlay strong { font-stretch: 110%; }
.map-overlay .text-link { color: #fff; }
.map-card { align-self: stretch; }

.routes { display: grid; gap: 14px; }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.route-card {
  position: relative; display: grid; gap: 14px; align-content: space-between; min-height: 240px;
  padding: clamp(26px, 3vw, 36px); border-radius: 18px; background: #fff; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(10, 42, 94, .5);
  transition: transform .6s var(--ease), color .5s;
}
.route-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 0; background: var(--navy); z-index: -1; transition: height .7s var(--ease); }
.route-card:hover { transform: translateY(-6px); color: #fff; }
.route-card:hover::before { height: 100%; }
.route-card h3 { color: inherit; }
.route-card p { color: var(--ink-soft); transition: color .5s; }
.route-card:hover p { color: rgba(255, 255, 255, .72); }
.route-card .rc-icon { width: 44px; height: 44px; color: var(--husk); transition: color .5s; }
.route-card:hover .rc-icon { color: var(--gold); }
.route-card .text-link { color: inherit; }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.gold-text { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .scene img { transform: none !important; }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split-w > span { transform: none; }
  .lit .w { opacity: 1; }
}

/* ---------- Preview build: branded photo slots (artifact hosting blocks remote images) ---------- */
.ph {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.6px) 0 0 / 16px 16px,
    radial-gradient(circle at 78% 22%, rgba(61, 139, 240, .55), transparent 55%),
    radial-gradient(circle at 12% 92%, rgba(244, 178, 35, .30), transparent 50%),
    linear-gradient(140deg, #0d3a80 0%, #072250 55%, #04183a 100%);
}
.ph::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(34%, 220px); aspect-ratio: 1;
  transform: translate(-50%, -50%); background: url("../img/emblem.png") center / contain no-repeat; opacity: .16;
}
.ph-label {
  position: absolute; left: 14px; top: 14px; max-width: calc(100% - 28px);
  padding: 6px 12px; border-radius: 999px; background: rgba(4, 24, 58, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, .86); font-size: .78rem; font-weight: 600; line-height: 1.3;
}
.scene .ph, .page-hero-media .ph, .panel .ph, .cta-band .ph { z-index: auto; }
.scene .ph-label, .page-hero-media .ph-label, .cta-band .ph-label, .panel .ph-label { display: none; }
.scene .ph { transform: scale(1.14); transition: transform 9s linear; }
.scene.is-active .ph { transform: scale(1.02); }
.scene:nth-child(1) .ph { background:
    radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.6px) 0 0 / 18px 18px,
    radial-gradient(circle at 75% 35%, rgba(91, 181, 26, .55), transparent 55%),
    radial-gradient(circle at 60% 85%, rgba(244, 178, 35, .45), transparent 55%),
    linear-gradient(140deg, #0a2a5e, #04183a); }
.scene:nth-child(2) .ph { background:
    radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.6px) 0 0 / 18px 18px,
    radial-gradient(circle at 72% 40%, rgba(0, 170, 200, .55), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(61, 139, 240, .5), transparent 55%),
    linear-gradient(140deg, #0a2a5e, #04183a); }
.scene:nth-child(3) .ph { background:
    radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.6px) 0 0 / 18px 18px,
    radial-gradient(circle at 78% 30%, rgba(208, 122, 10, .6), transparent 55%),
    radial-gradient(circle at 55% 95%, rgba(244, 178, 35, .35), transparent 50%),
    linear-gradient(140deg, #0a2a5e, #04183a); }
.scene .ph::before { left: 74%; width: min(30vw, 380px); opacity: .2; }
.page-hero-media .ph { transform: scale(1.12); transition: transform 2.4s var(--ease); }
.page-hero-media .ph::before { left: 78%; width: min(28vw, 340px); opacity: .18; }
.is-ready .page-hero-media .ph { transform: scale(1.02); }
.panel .ph { z-index: -2; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.panel:hover .ph, .panel.is-active .ph { transform: scale(1); }
.cta-band .ph::before { left: 80%; opacity: .12; }
.media[data-parallax] .ph { top: -18%; bottom: -18%; }
.media { background: #072250; }
.mini-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card { background:
    radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.6px) 0 0 / 14px 14px,
    radial-gradient(circle at 60% 38%, rgba(15, 98, 200, .45), transparent 60%),
    linear-gradient(160deg, #0a2a5e, #04183a); }
.preview-note { flex-basis: 100%; color: rgba(255, 255, 255, .45); }
