/* PMT Group — homepage-only (hero, globe, preloader, section choreography). Generated from the original inline <style>; edit here, not in HTML. */

.preloader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--canvas);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
/* logo + wordmark stacked in the centre; rings orbit around the whole unit */
.pl-spin {
  position: relative; width: 190px; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.pl-ring { position: absolute; inset: 0 148px 148px 0; border-radius: 40px; box-shadow: inset 0 0 0 3.5px var(--ink); animation: lumaSpin 2.5s infinite; }
.pl-ring.b { box-shadow: inset 0 0 0 3.5px var(--teal); animation-delay: -1.25s; }
@keyframes lumaSpin {
  0%    { inset: 0 148px 148px 0; }
  12.5% { inset: 0 148px 0 0; }
  25%   { inset: 148px 148px 0 0; }
  37.5% { inset: 148px 0 0 0; }
  50%   { inset: 148px 0 0 148px; }
  62.5% { inset: 0 0 0 148px; }
  75%   { inset: 0 0 148px 148px; }
  87.5% { inset: 0 0 148px 0; }
  100%  { inset: 0 148px 148px 0; }
}@media (prefers-reduced-motion: reduce) {
 .pl-ring { animation-duration: 5s; }
}


/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  text-align: left; padding: calc(var(--nav-h) + 54px) var(--pad-x) 64px;
  overflow: hidden;
}
/* Animated globe background */
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.globe-stage {
  position: absolute; left: 50%; top: 53%; transform: translate(-50%, -50%);
  width: min(1180px, 132vh, 98vw); aspect-ratio: 1;
  pointer-events: auto; /* draggable in the gaps around the text */
}
#globe, #arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
#globe { cursor: grab; opacity: 0; transition: opacity 1.4s ease 0.2s; touch-action: pan-y; }
#globe.ready { opacity: 1; }
#globe.dragging { cursor: grabbing; }
#arcs { pointer-events: none; opacity: 0; transition: opacity 1.4s ease 0.2s; }
#globe.ready + #arcs { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(103deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.9) 32%, rgba(255,255,255,0.28) 55%, rgba(255,255,255,0) 72%),
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0) 14%, rgba(255,255,255,0) 84%, var(--canvas));
}@media (hover: hover) and (pointer: fine) {
 #globe { touch-action: none; }
}


.hero-inner { position: relative; z-index: 1; max-width: 960px; width: 100%; pointer-events: none; }
.hero-inner a, .hero-inner .btn, .hero-inner button { pointer-events: auto; }

.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px); line-height: 1.07; letter-spacing: -0.022em;
  color: var(--ink); margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--teal-deep); }
.rotator { display: inline-block; white-space: nowrap; vertical-align: bottom; }
.rot-text { display: inline-block; transition: opacity 0.35s ease, filter 0.35s ease; }
.rot-text.rot-out, .rot-text.rot-in { opacity: 0; filter: blur(5px); }
.rot-text.rot-in { transition: none; }@media (prefers-reduced-motion: reduce) {
 .rot-text { transition: none; }
}

.hero .sub {
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: var(--on-navy);
  max-width: 620px; margin: 0 auto 38px;
}
.hero-cta { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--mute); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.2s;
}
.scroll-cue:hover { color: var(--teal-deep); }
.scroll-cue svg { animation: cue 1.9s var(--ease-out) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(5px); opacity: 1; } }@media (prefers-reduced-motion: reduce) {
 .scroll-cue svg { animation: none; }
}


/* Bottom-left corner label */
.hero-corner {
  position: absolute; left: var(--pad-x); bottom: 30px; z-index: 1;
  max-width: 400px; border-left: 2px solid var(--teal); padding-left: 16px;
  font-size: 19px; line-height: 1.5; color: var(--mute);
}
.hero-corner strong { color: var(--ink); font-weight: 600; }
.hero-corner { opacity: 0; transition: opacity 0.9s var(--ease-out) 0.4s; }
.loaded .hero-corner { opacity: 1; }@media (prefers-reduced-motion: reduce) {
 .hero-corner { transition: none; }
}


/* ---------- Vision ---------- */
.vision {
  position: relative;
  background: var(--canvas);
  padding: clamp(96px, 12vw, 160px) var(--pad-x);
}
.vision-inner { max-width: 1080px; margin: 0 auto; }
.vision .eyebrow { margin-bottom: 42px; }
.vision-statement {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.3; letter-spacing: -0.015em;
  max-width: 1000px;
}
.vw { color: var(--faint); transition: color 0.3s ease; }
.vw.lit { color: var(--ink); }
.vw.vw-key.lit { color: var(--teal-deep); }
.vision-sign {
  margin-top: 58px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.vision-sign.in { opacity: 1; transform: none; }
/* System script faces, no generic `cursive` keyword — on Chrome/Windows that
   keyword resolves to Comic Sans. Falls back to Manrope where no script face
   exists. Sized down from 46px because these faces run ~65% wider than Caveat. */
.sig-script { font-family: 'Segoe Script', 'Snell Roundhand', 'Bradley Hand', 'Brush Script MT', 'Manrope', sans-serif; font-weight: 400; font-size: 32px; line-height: 1; color: var(--ink); margin-bottom: 12px; }
.sig-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.sig-role { font-size: 14px; color: var(--mute); margin-top: 2px; }@media (prefers-reduced-motion: reduce) {
 .vw, .vision-sign { transition: none; }
}


/* ---------- Stats: container-scroll tablet (full-size iPad) ---------- */
.stats { background: var(--canvas); padding: 0 var(--pad-x); }
/* Logo cloud — its own compact band between the tablet and the markets */
.logo-cloud { background: var(--canvas); padding: clamp(48px, 6vw, 80px) var(--pad-x); }
.lm-inner { max-width: 760px; margin: 0 auto; }
.lm-heading {
  text-align: center; font-family: var(--display);
  font-size: clamp(19px, 2.2vw, 28px); line-height: 1.18; letter-spacing: -0.015em;
}
.lm-heading .muted { color: var(--mute); font-weight: 500; }
.lm-heading .strong { color: var(--ink); font-weight: 700; }
.lm-rule {
  height: 1px; background: var(--hairline);
  -webkit-mask-image: linear-gradient(to right, transparent, #000, transparent);
  mask-image: linear-gradient(to right, transparent, #000, transparent);
}
.lm-rule.top { max-width: 360px; margin: 20px auto; }
.lm-rule.bottom { margin-top: 20px; }
.lm-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.lm-track {
  display: flex; align-items: center; gap: 64px; width: max-content;
  animation: lm-scroll 40s linear infinite;
}
.lm-viewport:hover .lm-track { animation-duration: 120s; } /* slow on hover, like speedOnHover */
.lm-track img { display: block; opacity: 0.92; }
.lm-track img.fz { height: 34px; width: auto; }
.lm-track img.ek { height: 38px; width: auto; }@media (prefers-reduced-motion: reduce) {
 .lm-track { animation: none; }
}
@media (max-width: 620px) {

  .lm-rule.top, .lm-rule.bottom { margin-top: 16px; margin-bottom: 16px; }
  .lm-track { gap: 44px; }
  .lm-track img.fz { height: 26px; } .lm-track img.ek { height: 30px; }
}

/* Tall stage gives the scrub its runway; the tablet sits centered inside */
.scroll-stage {
  height: 1240px;
  display: flex; align-items: center; justify-content: center;
}
.stats-label { margin-bottom: 16px; }
.stats-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 9vw, 128px); line-height: 1.02; letter-spacing: -0.03em;
  color: var(--ink); white-space: nowrap;
  /* oversized: wider than the tablet, bottom line just grazing behind it */
  margin-bottom: -0.22em;
}
.stats-title em { font-style: normal; color: var(--teal-deep); }
/* Full-size tablet, portrait: thick grey bezel, dark body, 30px chrome */
.stats-device {
  width: min(560px, 92vw); height: 746px; margin: 0 auto;
  position: relative; z-index: 2;
  background: #222222;
  border: 4px solid #6c6c6c;
  border-radius: 30px;
  padding: clamp(10px, 2vw, 24px);
  transform-origin: center; will-change: transform;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.28),
    0 37px 37px rgba(0, 0, 0, 0.24),
    0 84px 50px rgba(0, 0, 0, 0.14);
}
.stats-screen {
  height: 100%;
  background: var(--canvas-soft);
  border-radius: 18px;
  padding: clamp(16px, 2.4vw, 32px);
  overflow: hidden;
}
.stats-grid {
  display: grid;
  /* minmax(0,1fr): keep columns equal even when a numeral's min-content is wide */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px); height: 100%;
}
.stat {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: clamp(16px, 2vw, 26px);
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
  /* pop-in: rises with a springy overshoot, staggered per card */
  opacity: 0; transform: translateY(38px) scale(0.93);
  transition: opacity 0.55s var(--ease-out), transform 0.75s cubic-bezier(0.3, 1.4, 0.45, 1);
  transition-delay: var(--d, 0s);
}
.stat.pop { opacity: 1; transform: none; }
.stat:nth-child(2) { --d: 0.09s; }
.stat:nth-child(3) { --d: 0.18s; }
.stat:nth-child(4) { --d: 0.27s; }
.stat-num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.03em;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat-num .plus { color: var(--teal); }
.stat-lbl { margin-top: 14px; font-size: 15px; color: var(--mute); }@media (max-width: 768px) {

  .scroll-stage { height: 1000px; }
  .stats-device { width: min(340px, 88vw); height: 560px; padding: 8px; border-width: 3px; }
  .stats-screen { padding: 12px; }
  .stat-lbl { font-size: 13px; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
}
@media (prefers-reduced-motion: reduce) {

  .stat { transition: none; opacity: 1; transform: none; }
  .stats-device, .scroll-header { transform: none !important; }
}


/* ---------- Markets: radial burst ---------- */
.markets { background: var(--canvas); padding: 0 var(--pad-x); }
.markets-stage { height: 220vh; }
.markets-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.orbit {
  position: relative; width: min(680px, 92vw); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px solid var(--hairline); border-radius: 50%;
  opacity: 0; transition: opacity 0.6s ease;
}
.ring.r1 { width: 100%; height: 100%; }
.ring.r2 { width: 78%; height: 78%; }
.ring.r3 { width: 56%; height: 56%; border-color: rgba(13, 148, 136, 0.25); }
.ring.on { opacity: 1; }
.orbit-center {
  position: relative; z-index: 30; text-align: center; max-width: 320px;
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.orbit-center.on { opacity: 1; transform: none; }
.markets-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink);
}
.markets-title em { font-style: normal; color: var(--teal-deep); }
.orbit-center p { font-size: 15px; color: var(--mute); margin-top: 10px; line-height: 1.5; }
.mcard {
  position: absolute; left: 50%; top: 50%; z-index: 10;
  transform: translate(-50%, -50%) translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--ms, 1));
  opacity: var(--mo, 1);
  transition: transform 0.3s ease-out, opacity 0.3s ease;
  width: clamp(132px, 13vw, 144px);
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 10px 10px; text-align: center;
}
/* The hub: a single PMT card the markets expand out of */
.pmt-card {
  position: absolute; left: 50%; top: 50%; z-index: 20;
  transform: translate(-50%, -50%) scale(var(--ps, 1));
  opacity: var(--po, 1);
  transition: transform 0.3s ease-out, opacity 0.3s ease;
  width: clamp(124px, 16vw, 164px);
  background: var(--surface-card); border: 1px solid var(--hairline);
  border-radius: 16px; padding: 20px 16px; text-align: center;
}
.pmt-card svg { display: block; margin: 0 auto 10px; }
.pmt-card .pc-name { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.pmt-card .pc-sub { font-size: 12px; color: var(--mute); letter-spacing: 0.09em; text-transform: uppercase; margin-top: 3px; }
.mc-name { font-weight: 600; font-size: 13px; color: var(--ink); line-height: 1.25; }
.mc-code { font-size: 12px; line-height: 1.35; color: var(--mute); margin-top: 1px; letter-spacing: 0.04em; }
/* Tight line-height is deliberate: the 12-card ring only has a few px of
   clearance, so this line's height directly eats the collision margin. */
.mc-airlines { font-size: 12px; line-height: 1.3; color: var(--mute); margin-top: 3px; letter-spacing: 0.01em; }
.mc-logos { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 5px; }
.mc-logos img.fz { height: 14px; width: auto; display: block; }
.mc-logos img.ek { height: 22px; width: auto; display: block; }@media (max-width: 620px) {

  /* Markets: the radial burst becomes a simple 2-column grid on phones —
     twelve cards can't fit around a phone-sized circle */
  .markets-stage { height: auto; }
  .markets-sticky { position: static; height: auto; padding: 72px 0 10px; overflow: visible; }
  .orbit {
    width: 100%; aspect-ratio: auto;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .ring, .pmt-card { display: none; }
  .orbit-center {
    grid-column: 1 / -1; margin-bottom: 26px;
    opacity: 1 !important; transform: none !important;
  }
  .mcard {
    position: static; width: auto;
    transform: none !important; opacity: 1 !important;
  }
}
@media (prefers-reduced-motion: reduce) {

  .mcard, .ring, .orbit-center { transition: none; }
}


/* ---------- CTA: Partner with us (frosted glass card) ---------- */
.cta { background: var(--canvas); padding: 40px var(--pad-x) 110px; overflow: hidden; }
.cta-scene { position: relative; max-width: 1200px; margin: 0 auto; }
/* colour washes behind the glass — these are what the blur "frosts" */
.cta-blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-blob.a { width: 460px; height: 460px; left: -2%; top: 0; background: radial-gradient(circle, rgba(18, 179, 163, 0.55), transparent 65%); }
.cta-blob.b { width: 420px; height: 420px; right: -1%; bottom: -30px; background: radial-gradient(circle, rgba(96, 145, 246, 0.4), transparent 65%); }
.cta-blob.c { width: 300px; height: 300px; left: 38%; bottom: -40px; background: radial-gradient(circle, rgba(13, 148, 136, 0.3), transparent 65%); }
.cta-card {
  position: relative;
  min-height: 480px;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  box-shadow:
    0 24px 60px -28px rgba(25, 28, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}@supports not (backdrop-filter: blur(1px)) {

  .cta-card { background: rgba(244, 244, 244, 0.92); }
}

.cta-content { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 720px; }
.cta-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink); text-wrap: balance;
}
.cta-title em { font-style: normal; color: var(--teal-deep); }
.cta-sub { color: var(--mute); font-size: 16px; line-height: 1.6; max-width: 560px; text-wrap: balance; }
.cta-content .btn { margin-top: 10px; }

/* ---------- Scroll reveal (below-the-fold sections) ---------- */
.sreveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.sreveal.in { opacity: 1; transform: none; }@media (prefers-reduced-motion: reduce) {

  .sreveal { transition: none; opacity: 1; transform: none; }
}


/* ---------- Entrance animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.loaded .reveal { opacity: 1; transform: none; }@media (prefers-reduced-motion: reduce) {
 .reveal { transition: none; }
}
@media (max-width: 1024px) {

  .hero-corner { position: static; margin-top: 30px; font-size: 16px; max-width: 460px; }
}
