/* ==========================================================================
   MASA EXPORTS – LUXE LAYER
   Loaded after all other stylesheets. Adds the premium typographic system,
   champagne-gold detailing and the 3D / scroll-cinematic components.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --lx-ink: #050f1f;
  --lx-navy: #071729;
  --lx-ivory: #FBF8F2;
  --lx-ivory-2: #F4EFE5;
  --lx-gold: #C5A46D;
  --lx-gold-hi: #E9D4A7;
  --lx-gold-lo: #94723F;
  --lx-gold-grad: linear-gradient(115deg, #94723F 0%, #C5A46D 28%, #F1DFB6 50%, #C5A46D 72%, #94723F 100%);
  --lx-hair: rgba(197, 164, 109, 0.35);
  --lx-hair-soft: rgba(197, 164, 109, 0.18);
  --lx-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2,
.section-title,
.division-title,
.lx-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.9rem); line-height: 1.04 !important; }
h2, .section-title { font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.08; }
h3 { letter-spacing: -0.015em; }
.division-title { font-size: 2rem; }

h1 .teal-text,
.lx-gold-text {
  background: var(--lx-gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  animation: lxSheen 7s linear infinite;
}
@keyframes lxSheen { to { background-position: -200% 0; } }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  font-weight: 600;
  gap: 0.9rem;
}
.eyebrow::before { width: 34px; height: 1px; }
.section-header .eyebrow::after,
.lx-center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}
.section-subtitle { font-size: 1.08rem; }

/* Ivory replaces flat white for a warmer, paper-like luxury feel */
.section-light { background-color: var(--lx-ivory); }
.section-offwhite { background-color: var(--lx-ivory-2); }
.trust-bar { background-color: var(--lx-ivory); }

/* Hairline ornament under centred section headers */
.section-header { position: relative; }
.section-header::after {
  content: '';
  display: block;
  width: 64px;
  height: 9px;
  margin: 1.9rem auto 0;
  background:
    linear-gradient(var(--lx-gold), var(--lx-gold)) center / 100% 1px no-repeat,
    radial-gradient(circle, var(--lx-gold) 0 3px, transparent 3.5px) center / 9px 9px no-repeat;
  opacity: .85;
}
.section-header.text-left::after { margin-left: 0; }

/* --------------------------------------------------------------------------
   BUTTONS – tailored, square-shouldered, gold detailing
   -------------------------------------------------------------------------- */
.btn,
.btn-nav-rfq {
  border-radius: 2px !important;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-lg { padding: 1.15rem 2.3rem; font-size: 0.8rem; }

.btn-primary,
.btn-gold,
.btn-nav-rfq {
  background: var(--lx-gold-grad) !important;
  background-size: 220% 100% !important;
  background-position: 100% 0 !important;
  color: var(--lx-ink) !important;
  border: 1px solid rgba(241, 223, 182, 0.6) !important;
  box-shadow: 0 10px 30px -12px rgba(197, 164, 109, 0.7) !important;
  transition: background-position .9s var(--lx-ease), transform .4s var(--lx-ease), box-shadow .4s var(--lx-ease) !important;
}
.btn-primary:hover,
.btn-gold:hover,
.btn-nav-rfq:hover {
  background-position: 0 0 !important;
  color: var(--lx-ink) !important;
  box-shadow: 0 16px 40px -12px rgba(197, 164, 109, 0.9) !important;
}
.btn-secondary {
  border-color: var(--lx-hair) !important;
  color: #fff;
}
.btn-secondary:hover {
  border-color: var(--lx-gold) !important;
  color: var(--lx-gold-hi) !important;
  background-color: rgba(197, 164, 109, 0.08) !important;
}
.btn-outline-dark { border-color: rgba(8, 28, 50, 0.55); }
.btn-outline-dark:hover { background: var(--lx-navy); border-color: var(--lx-navy); }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header.header-transparent {
  background: linear-gradient(180deg, rgba(5, 15, 31, 0.7), rgba(5, 15, 31, 0.15));
  border-bottom-color: rgba(197, 164, 109, 0.14);
}
.site-header.header-scrolled {
  background-color: rgba(5, 15, 31, 0.92);
  border-bottom: 1px solid var(--lx-hair-soft);
}
.nav-link { letter-spacing: 0.04em; }
.nav-link.active { color: var(--lx-gold-hi) !important; }
.dropdown-menu { border-radius: 4px !important; border-color: var(--lx-hair-soft) !important; }

/* Scroll progress hairline */
.lx-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--lx-gold-grad);
  z-index: 1100;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   PRELOADER (3D medal)
   -------------------------------------------------------------------------- */
.lx-loader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, #0a1d36 0%, #030914 70%);
  transition: opacity .9s var(--lx-ease), visibility .9s;
}
.lx-loader.done { opacity: 0; visibility: hidden; }
.lx-loader-inner { text-align: center; perspective: 900px; }
.lx-loader-medal {
  width: 150px; height: 150px;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: url('../assets/media/medal.webp') center / 270% auto no-repeat;
  animation: lxCoin 2.4s var(--lx-ease) infinite;
  box-shadow: 0 30px 60px -20px rgba(197,164,109,.45);
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%);
          mask: radial-gradient(circle, #000 64%, transparent 66%);
}
@keyframes lxCoin {
  0% { transform: rotateY(0) }
  60%, 100% { transform: rotateY(360deg) }
}
.lx-loader-word {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.42em;
  color: var(--lx-gold-hi);
  padding-left: .42em;
}
.lx-loader-sub {
  font-size: .66rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #7d8aa0;
  margin-top: .6rem;
}
.lx-loader-bar {
  width: 180px; height: 1px;
  margin: 1.6rem auto 0;
  background: rgba(197,164,109,.2);
  overflow: hidden;
}
.lx-loader-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--lx-gold-grad);
  transform-origin: 0 50%;
  animation: lxBar 1.4s var(--lx-ease) forwards;
}
@keyframes lxBar { from { transform: scaleX(0) } to { transform: scaleX(1) } }

/* --------------------------------------------------------------------------
   FILM GRAIN on dark surfaces (very subtle)
   -------------------------------------------------------------------------- */
.section-hero::after,
.inner-hero::after,
.section-dark::after,
.lx-film::after,
.lx-story::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
}
.section-dark > .container,
.inner-hero > .container { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   HOME HERO – scroll-out 3D depth
   -------------------------------------------------------------------------- */
.section-hero { background: radial-gradient(ellipse 80% 70% at 70% 45%, #0c2944 0%, #050f1f 70%); }
.section-hero .hero-grid { perspective: 1400px; position: relative; z-index: 2; }
.section-hero .hero-content,
#tradeGlobeContainer { will-change: transform, opacity; transform-style: preserve-3d; }
.section-hero .hero-content p { color: #b9c4d4 !important; }
.lx-hero-frame {
  position: absolute;
  inset: calc(var(--nav-height) + 18px) 22px 22px;
  border: 1px solid rgba(197,164,109,.16);
  pointer-events: none;
  z-index: 1;
}
.lx-hero-frame::before,
.lx-hero-frame::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--lx-gold);
}
.lx-hero-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.lx-hero-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.lx-scroll-cue {
  position: absolute;
  left: 50%; bottom: 38px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-size: .62rem; letter-spacing: .38em; text-transform: uppercase;
  color: #8592a8;
}
.lx-scroll-cue i {
  width: 1px; height: 46px;
  background: linear-gradient(var(--lx-gold), transparent);
  animation: lxCue 2.2s var(--lx-ease) infinite;
  transform-origin: top;
}
@keyframes lxCue { 0% { transform: scaleY(0) } 50% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }

/* --------------------------------------------------------------------------
   MARQUEE
   -------------------------------------------------------------------------- */
.lx-marquee {
  background: var(--lx-ink);
  border-top: 1px solid var(--lx-hair-soft);
  border-bottom: 1px solid var(--lx-hair-soft);
  overflow: hidden;
  padding: 1.35rem 0;
  position: relative;
  z-index: 2;
}
.lx-marquee-track {
  display: flex;
  width: max-content;
  animation: lxMarquee 48s linear infinite;
}
.lx-marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  color: #d9c79f;
  white-space: nowrap;
  padding: 0 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
}
.lx-marquee span::after { content: '✦'; font-style: normal; font-size: .7rem; color: var(--lx-gold); }
@keyframes lxMarquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   CINEMATIC FILM INTERLUDE (pinned, scroll-scrubbed 3D push-in)
   -------------------------------------------------------------------------- */
.lx-track { position: relative; height: var(--len, 260vh); }
.lx-film,
.lx-story {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #060d1f;
  color: #fff;
}
.lx-film-stage {
  position: absolute; inset: 0;
  perspective: 1200px;
  display: grid; place-items: center;
}
.lx-film-img {
  width: min(78vw, 1250px);
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 98%);
          mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 98%);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}
.lx-film-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,164,109,.16), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.lx-film-head {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--nav-height) + 5vh);
  text-align: center;
  z-index: 3;
  padding: 0 1.25rem;
  will-change: transform, opacity;
}
.lx-film-head h2 { color: #fff; font-size: clamp(2.3rem, 5vw, 4.6rem); margin: .3rem 0 0; }
.lx-beat {
  position: absolute;
  left: clamp(1.25rem, 7vw, 7rem);
  bottom: 12vh;
  max-width: 460px;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--y, 24px));
}
.lx-beat .kick {
  font-size: .68rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--lx-gold); margin-bottom: .7rem; display: block;
}
.lx-beat h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin-bottom: .8rem;
}
.lx-beat p { color: #b9c4d4; font-size: 1.05rem; margin: 0; }
.lx-beat.right { left: auto; right: clamp(1.25rem, 7vw, 7rem); text-align: right; }

/* --------------------------------------------------------------------------
   STORY – 3D card deck that turns with scroll
   -------------------------------------------------------------------------- */
.lx-story { background: radial-gradient(ellipse at 70% 50%, #0d2340 0%, #050c1c 70%); }
.lx-story-grid {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 3rem;
  padding-top: var(--nav-height);
}
.lx-story-text { position: relative; min-height: 300px; }
.lx-story-text .lx-beat { position: absolute; left: 0; right: 0; bottom: auto; top: 0; max-width: 480px; }
.lx-story-deck {
  position: relative;
  aspect-ratio: 16 / 10.5;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.lx-card3d {
  position: absolute; inset: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #071326 center / cover no-repeat;
  border: 1px solid rgba(197,164,109,.28);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.03) inset;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.lx-card3d::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.12), transparent 38%, transparent 62%, rgba(197,164,109,.10));
  pointer-events: none;
}
.lx-story-count {
  position: absolute;
  left: 0; bottom: -4.2rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display);
  color: #8592a8; font-size: 1.1rem;
}
.lx-story-count b { color: var(--lx-gold-hi); font-size: 1.9rem; font-weight: 600; }
.lx-story-rail { width: 140px; height: 1px; background: rgba(255,255,255,.12); position: relative; }
.lx-story-rail i { position: absolute; inset: 0; background: var(--lx-gold); transform-origin: 0 50%; transform: scaleX(0); }

/* --------------------------------------------------------------------------
   3D TILT CARDS (applied by JS)
   -------------------------------------------------------------------------- */
[data-lx-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .7s var(--lx-ease), box-shadow .5s var(--lx-ease), border-color .5s;
}
[data-lx-tilt].lx-tilting { transition: transform .12s linear, box-shadow .5s var(--lx-ease), border-color .5s; }
.lx-glare {
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,240,210,.28), transparent 45%);
  opacity: 0;
  transition: opacity .5s;
  z-index: 5;
  mix-blend-mode: soft-light;
}
[data-lx-tilt]:hover .lx-glare { opacity: 1; }

.division-card {
  border-radius: 6px;
  border-color: rgba(197,164,109,.22);
  background: #fff;
}
.division-card:hover {
  transform: none;
  border-color: var(--lx-gold);
  box-shadow: 0 40px 70px -30px rgba(8, 28, 50, .45);
}
.division-image-wrapper { height: 270px; background: #071326; }
.division-image { transform: scale(1.02); }
.division-card:hover .division-image { transform: scale(1.08) translateZ(0); }
.division-content { transform: translateZ(30px); }
.division-code { letter-spacing: .26em; color: var(--lx-gold-hi); }
.division-sublist svg { color: var(--lx-gold); }

.trust-item {
  border-radius: 4px;
  transition: background .5s, box-shadow .5s;
}
.trust-icon-box {
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid var(--lx-hair) !important;
  color: var(--lx-gold-lo) !important;
  transform: translateZ(40px);
}
.trust-item:hover { box-shadow: 0 30px 60px -30px rgba(8,28,50,.3); background: #fff; }

.compliance-step-card,
.sc-stage-card { border-radius: 4px !important; }
.compliance-step-card:hover,
.sc-stage-card:hover { border-color: var(--lx-gold) !important; }
.step-num-pill {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  background: transparent !important;
  border: 1px solid var(--lx-hair) !important;
  color: var(--lx-gold-hi) !important;
  transform: translateZ(30px);
}
.section-light .step-num-pill,
.section-offwhite .step-num-pill { color: var(--lx-gold-lo) !important; }
.product-card { border-radius: 6px !important; }
.product-card:hover { border-color: var(--lx-gold) !important; }
.rfq-wizard-card { border-radius: 6px !important; border-color: var(--lx-hair-soft) !important; }

/* Framed editorial images with layered depth */
.lx-frame { position: relative; }
.lx-frame::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--lx-gold);
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
}
.lx-frame > * { position: relative; z-index: 1; }
.lx-frame img { border-radius: 6px !important; }

/* --------------------------------------------------------------------------
   INNER HERO – split layout with floating 3D render
   -------------------------------------------------------------------------- */
.inner-hero {
  background: radial-gradient(ellipse 70% 90% at 78% 50%, #0d2644 0%, #050f1f 68%);
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
}
.inner-hero.lx-has-visual > .container { padding-right: min(46%, 600px); }
.inner-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); }
.lx-hero-visual {
  position: absolute;
  right: -2%;
  top: 50%;
  width: min(54vw, 820px);
  aspect-ratio: 16/9;
  transform: translateY(-42%);
  perspective: 1200px;
  z-index: 1;
  pointer-events: none;
}
.lx-hero-visual-img {
  width: 100%; height: 100%;
  background: center / cover no-repeat;
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 50%, transparent 97%);
          mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 50%, transparent 97%);
  will-change: transform;
  animation: lxFloat 9s ease-in-out infinite;
}
@keyframes lxFloat { 0%,100% { translate: 0 0 } 50% { translate: 0 -12px } }
.lx-hero-visual::after {
  content: '';
  position: absolute;
  left: 22%; right: 22%; bottom: 6%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

/* --------------------------------------------------------------------------
   GATEWAYS BAND + MEDAL CTA
   -------------------------------------------------------------------------- */
.lx-gateways { background: var(--lx-ivory); padding: 4.5rem 0; border-top: 1px solid var(--lx-hair-soft); }
.lx-gateways-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid var(--lx-hair);
  border-bottom: 1px solid var(--lx-hair);
}
.lx-gateways-grid > div { padding: 2rem 1.5rem; border-left: 1px solid var(--lx-hair-soft); }
.lx-gateways-grid > div:first-child { border-left: 0; padding-left: 0; }
.lx-gateways-grid .lx-gw-label { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-gold-lo); font-weight: 600; }
.lx-gateways-grid .lx-gw-title { font-family: var(--font-display); font-size: 1.7rem; color: var(--color-deep-navy); line-height: 1.1; margin-top: .4rem; }
.lx-gateways-grid b { display: block; font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; color: var(--color-deep-navy); }
.lx-gateways-grid small { font-size: .78rem; color: #6b7686; letter-spacing: .04em; }

.lx-cta {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: radial-gradient(ellipse at 80% 50%, #102c4c 0%, #050f1f 70%);
  border: 1px solid var(--lx-hair);
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: 0 50px 100px -40px rgba(5, 15, 31, .6);
}
.lx-cta h2 { color: #fff; margin-bottom: 1rem; }
.lx-cta p { color: #b9c4d4; font-size: 1.1rem; max-width: 560px; margin-bottom: 2.2rem; }
.lx-cta-medal { perspective: 1000px; display: grid; place-items: center; }
.lx-cta-medal div {
  width: min(300px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: url('../assets/media/medal.webp') center / 270% auto no-repeat;
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%);
          mask: radial-gradient(circle, #000 64%, transparent 66%);
  will-change: transform;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.5));
}

/* Footer */
.site-footer { border-top: 1px solid var(--lx-hair-soft) !important; background: #040c19 !important; }
.site-footer a:hover { color: var(--lx-gold-hi) !important; }

/* --------------------------------------------------------------------------
   CUSTOM CURSOR (desktop, fine pointer only)
   -------------------------------------------------------------------------- */
.lx-cursor {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(197,164,109,.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2500;
  transition: width .35s var(--lx-ease), height .35s var(--lx-ease), margin .35s var(--lx-ease), background .35s, opacity .3s;
  mix-blend-mode: difference;
  opacity: 0;
}
.lx-cursor.on { opacity: 1; }
.lx-cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(197,164,109,.15); }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .inner-hero.lx-has-visual > .container { padding-right: clamp(1rem, 3vw, 2rem); }
  .inner-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .lx-hero-visual {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 100%;
    max-width: 640px;
    margin: -1.5rem auto 1rem;
  }
  .lx-story-grid { grid-template-columns: 1fr; gap: 1.5rem; align-content: center; }
  .lx-story-deck { order: -1; max-width: 640px; width: 100%; margin: 0 auto; }
  .lx-story-text { min-height: 210px; }
  .lx-story-count { position: static; margin-top: 1rem; }
  .lx-gateways-grid { grid-template-columns: 1fr 1fr; }
  .lx-gateways-grid > div:first-child { grid-column: 1 / -1; padding-left: 1.5rem; border-bottom: 1px solid var(--lx-hair-soft); }
  .lx-gateways-grid > div:nth-child(4) { border-left: 0; }
  .lx-cta { grid-template-columns: 1fr; text-align: center; }
  .lx-cta p { margin-left: auto; margin-right: auto; }
  .lx-cta-medal { order: -1; }
  .lx-cta-medal div { width: 170px; }
  .lx-hero-frame { display: none; }
}
@media (max-width: 640px) {
  .lx-film-img { width: 118vw; }
  .lx-beat, .lx-beat.right { left: 1.25rem; right: 1.25rem; text-align: left; bottom: 9vh; }
  .lx-story-text .lx-beat h3 { font-size: 1.9rem; }
  .lx-gateways-grid > div { padding: 1.3rem 1rem; }
  .lx-gateways-grid b { font-size: 1.45rem; }
  .lx-frame::before { inset: 14px -10px -14px 10px; }
  .lx-scroll-cue { display: none; }
}

/* Reduced motion / static fallback */
@media (prefers-reduced-motion: reduce) {
  .lx-track { height: auto !important; }
  .lx-film, .lx-story { position: relative; height: auto; min-height: 100vh; }
  .lx-beat { opacity: 1 !important; visibility: visible !important; position: relative !important; left: auto; bottom: auto; transform: none !important; margin: 1.5rem auto; }
  .lx-story-text .lx-beat { position: relative !important; margin: 0 0 2rem; }
  .lx-card3d:not(:first-child) { display: none; }
  .lx-marquee-track, .lx-hero-visual-img, h1 .teal-text, .lx-gold-text { animation: none !important; }
  .lx-loader { display: none; }
}
@media (max-width: 1024px) { .lx-cta-btns { justify-content: center; } }

/* position:sticky needs a non-scrolling ancestor: clip instead of hidden */
html, body { overflow-x: clip !important; }

/* ==========================================================================
   v2 · HOMEPAGE SECTIONS
   ========================================================================== */

/* ---------- HERO A · fly-through ---------- */
.hx-track { position: relative; height: 430vh; }
.hx-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% 58%, #0d2645 0%, #030914 72%);
}
.hx-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(180deg, rgba(3,9,20,.75) 0%, transparent 32%, transparent 70%, rgba(3,9,20,.85) 100%); }
.hx-view { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 55%; }
.hx-world { position: absolute; inset: 0; transform-style: preserve-3d; }
.hx-layer {
  position: absolute; left: 50%; top: 62%;
  width: min(68vw, 980px); aspect-ratio: 16/9;
  margin-left: calc(min(68vw, 980px) / -2);
  background: center / cover no-repeat;
  -webkit-mask: radial-gradient(ellipse 50% 50%, #000 55%, transparent 98%);
          mask: radial-gradient(ellipse 50% 50%, #000 55%, transparent 98%);
  will-change: transform, opacity;
}
.hx-layer.photo { -webkit-mask: none; mask: none; width: min(150vw, 2100px); margin-left: calc(min(150vw, 2100px) / -2); top: 55%; }
.hx-dot { position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: #ecd6a6; box-shadow: 0 0 8px #c9a86a; }
.hx-copy { position: absolute; z-index: 6; left: 0; right: 0; top: calc(var(--nav-height) + 4vh); text-align: center; padding: 0 1.25rem; pointer-events: none; }
.hx-t { position: absolute; left: 0; right: 0; padding: 0 1.25rem; opacity: 0; will-change: transform, opacity; }
.hx-t:first-child { opacity: 1; }
.hx-t .eyebrow { justify-content: center; }
.hx-t .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; display: inline-block; }
.hx-t h1, .hx-t h2 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: 1.02; margin: 0 0 1rem; text-shadow: 0 6px 40px rgba(3,9,20,.9); }
.hx-t p { color: #c3ccd9; font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 600px; margin: 0 auto; text-shadow: 0 2px 20px rgba(3,9,20,.9); }
.hx-cta { position: absolute; z-index: 7; left: 0; right: 0; bottom: 9vh; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; padding: 0 1.25rem; }
.hx-rail { position: absolute; z-index: 7; right: clamp(1rem, 3vw, 2.5rem); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.hx-rail i { display: block; width: 2px; height: 30px; background: rgba(255,255,255,.18); transition: background .4s; }
.hx-rail i.on { background: var(--lx-gold); }
.home-a .lx-scroll-cue { z-index: 7; bottom: 2.2vh; }

/* ---------- HERO B · orbit ---------- */
.hb-hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse 60% 70% at 70% 52%, #10294a 0%, #040b18 70%);
  color: #fff;
  padding: calc(var(--nav-height) + 2rem) 0 4.5rem;
}
.hb-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 2rem; position: relative; z-index: 2; }
.hb-copy h1 { color: #fff; margin: 0 0 1.25rem; }
.hb-copy p { color: #c3ccd9; font-size: 1.15rem; max-width: 520px; margin-bottom: 2.2rem; }
.hb-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.hb-orbit { position: relative; height: min(68vh, 620px); perspective: 1300px; cursor: grab; touch-action: pan-y; user-select: none; }
.hb-orbit:active { cursor: grabbing; }
.hb-globe { position: absolute; z-index: 1000; left: 50%; top: 50%; width: min(34vw, 430px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: url('../assets/media/globe.webp') center / 178% auto no-repeat;
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 70%); mask: radial-gradient(circle, #000 60%, transparent 70%);
  animation: hbBreath 7s ease-in-out infinite; pointer-events: none; }
@keyframes hbBreath { 50% { transform: translate(-50%, -50%) scale(1.04); } }
.hb-ellipse { position: absolute; left: 50%; top: 54%; width: min(58vw, 720px); aspect-ratio: 1; border: 1px solid rgba(201,168,106,.35); border-radius: 50%; transform: translate(-50%, -50%) rotateX(78deg); pointer-events: none; }
.hb-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.hb-item { position: absolute; width: min(16vw, 205px); aspect-ratio: 16/10; margin: calc(min(16vw, 205px) * -.31) 0 0 calc(min(16vw, 205px) / -2); text-decoration: none; will-change: transform; }
.hb-item div { width: 100%; height: 100%; background: center / cover; border-radius: 4px; border: 1px solid rgba(201,168,106,.45); box-shadow: 0 30px 50px -20px #000; }
.hb-item span { display: block; text-align: center; margin-top: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--lx-gold-hi); white-space: nowrap; }
.hb-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: #7d8aa0; }
.home-b .lx-scroll-cue { bottom: 18px; }

/* ---------- Trust strip ---------- */
.lx-trust { background: var(--lx-ink); border-top: 1px solid var(--lx-hair-soft); border-bottom: 1px solid var(--lx-hair-soft); position: relative; z-index: 2; }
.lx-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lx-trust-grid > div { padding: 1.9rem 1.5rem; border-left: 1px solid var(--lx-hair-soft); }
.lx-trust-grid > div:first-child { border-left: 0; padding-left: 0; }
.lx-trust b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--lx-gold-hi); line-height: 1.15; }
.lx-trust span { font-size: .86rem; color: #93a0b4; }

/* ---------- Import / export ---------- */
.lx-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.lx-way { background: #fff; border: 1px solid rgba(197,164,109,.25); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.lx-way:hover { border-color: var(--lx-gold); box-shadow: 0 40px 70px -35px rgba(8,28,50,.45); }
.lx-way-img { aspect-ratio: 16/8; background: #071326 center / cover no-repeat; }
.lx-way-body { padding: 2rem 2.2rem 2.3rem; display: flex; flex-direction: column; flex: 1; }
.lx-kick { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-gold-lo); font-weight: 600; margin-bottom: .6rem; }
.lx-way h3 { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: .6rem; }
.lx-way p { color: #56627a; margin-bottom: 1.3rem; }
.lx-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; padding: 0; }
.lx-chips li { font-size: .8rem; color: #33405a; border: 1px solid rgba(8,28,50,.15); padding: .35rem .8rem; border-radius: 2px; background: var(--lx-ivory); }
.lx-way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Trade lanes ---------- */
.lx-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--lx-hair-soft); border: 1px solid var(--lx-hair-soft); }
.lx-lane { background: #071729; padding: 2rem 1.9rem 2.1rem; transition: background .5s; }
.lx-lane:hover { background: #0b2038; }
.lx-route { display: flex; align-items: center; gap: .8rem; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lx-gold-hi); margin-bottom: 1.4rem; }
.lx-route span { white-space: nowrap; }
.lx-route i { flex: 1; height: 1px; position: relative; background: repeating-linear-gradient(90deg, rgba(201,168,106,.55) 0 6px, transparent 6px 11px); background-size: 22px 1px; animation: lxDash 1.4s linear infinite; }
.lx-route i::after { content: ''; position: absolute; right: -2px; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--lx-gold); border-right: 1px solid var(--lx-gold); transform: rotate(45deg); }
.lx-route.two i::before { content: ''; position: absolute; left: -2px; top: -3px; width: 7px; height: 7px; border-bottom: 1px solid var(--lx-gold); border-left: 1px solid var(--lx-gold); transform: rotate(45deg); }
@keyframes lxDash { to { background-position: 22px 0; } }
.lx-lane h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; color: #fff; margin-bottom: .5rem; }
.lx-lane p { color: #aeb9c9; font-size: .95rem; margin-bottom: 1rem; }
.lx-lane small { font-size: .8rem; color: #7d8aa0; }

/* ---------- Compliance ---------- */
.lx-comp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.lx-regs { list-style: none; padding: 0; margin: 0 0 2.2rem; border-top: 1px solid rgba(197,164,109,.35); }
.lx-regs li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(8,28,50,.1); }
.lx-regs b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--color-deep-navy); line-height: 1.2; }
.lx-regs span { color: #56627a; font-size: .95rem; }
.lx-comp-visual { position: relative; aspect-ratio: 1 / 1.02; }
.lx-comp-main { position: absolute; inset: 0 12% 18% 0; border-radius: 6px; background: #071326 center / cover; box-shadow: 0 50px 90px -40px rgba(8,28,50,.6); border: 1px solid rgba(197,164,109,.3); }
.lx-comp-float { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 16/11; border-radius: 6px; background: #071326 center / cover; border: 1px solid var(--lx-gold); box-shadow: 0 40px 70px -30px rgba(8,28,50,.7); transform: translateZ(60px); }
.lx-comp-badge { position: absolute; left: -1.2rem; bottom: 10%; background: var(--lx-ink); color: #fff; padding: 1.1rem 1.3rem; border: 1px solid var(--lx-hair); border-radius: 4px; max-width: 230px; transform: translateZ(90px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.lx-comp-badge b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--lx-gold-hi); }
.lx-comp-badge span { font-size: .82rem; color: #aeb9c9; }

.lx-cta-btns { display: flex; gap: .9rem; flex-wrap: wrap; }
.lx-story-left { position: relative; }

/* Floating contact widget in brand gold */
.contact-widget-trigger { background: var(--lx-gold-grad) !important; color: var(--lx-ink) !important; box-shadow: 0 14px 30px -10px rgba(197,164,109,.7) !important; }

/* ==========================================================================
   v2 · INNER PAGE 3D HERO SCENE
   ========================================================================== */
.lx-hero-visual { perspective: 1100px; transform: translateY(-46%); }
.lx-scene { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.lx-scene .lx-hero-visual-img { position: absolute; inset: 0; animation: lxFlyIn 1.6s cubic-bezier(.22,1,.36,1) both, lxFloat 9s ease-in-out 1.6s infinite; }
@keyframes lxFlyIn { from { opacity: 0; transform: translate3d(0, 40px, -520px) rotateY(28deg); } to { opacity: 1; transform: none; } }
.lx-reflect { position: absolute; left: 0; right: 0; top: 78%; height: 50%; background: center top / cover no-repeat; transform: scaleY(-1); opacity: .16;
  -webkit-mask: linear-gradient(to top, #000 0%, transparent 55%), radial-gradient(ellipse 45% 60% at 50% 100%, #000 40%, transparent 90%);
  -webkit-mask-composite: source-in; mask: linear-gradient(to top, #000 0%, transparent 55%); mask-composite: intersect; pointer-events: none; filter: blur(1px); }
.lx-ring { position: absolute; left: 50%; top: 56%; width: 92%; aspect-ratio: 1; margin: -46% 0 0 -46%; border-radius: 50%; border: 1px solid rgba(201,168,106,.4); transform-style: preserve-3d; pointer-events: none;
  animation: lxRing 18s linear infinite; }
.lx-ring.r2 { width: 70%; margin: -35% 0 0 -35%; border-color: rgba(201,168,106,.22); animation-duration: 26s; animation-direction: reverse; }
.lx-ring::after { content: ''; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #f3e2bb; box-shadow: 0 0 14px 3px rgba(233,212,167,.8); }
@keyframes lxRing { from { transform: rotateX(76deg) rotateZ(0); } to { transform: rotateX(76deg) rotateZ(360deg); } }
.lx-spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ecd6a6; box-shadow: 0 0 8px #c9a86a; animation: lxSpark 6s ease-in-out infinite; }
@keyframes lxSpark { 0%,100% { opacity: .15; } 50% { opacity: 1; } }
.inner-hero > .container { will-change: transform, opacity; }
.inner-hero .breadcrumbs, .inner-hero .eyebrow, .inner-hero h1, .inner-hero > .container > p {
  animation: lxRise 1.1s cubic-bezier(.22,1,.36,1) both; }
.inner-hero .eyebrow { animation-delay: .08s; } .inner-hero h1 { animation-delay: .16s; } .inner-hero > .container > p { animation-delay: .26s; }
@keyframes lxRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.inner-hero > .container.reveal-on-scroll { opacity: 1 !important; transform: none; }
.inner-hero.lx-medal-hero .lx-hero-visual { width: min(34vw, 430px); right: 7%; aspect-ratio: 1; }
.inner-hero.lx-medal-hero .lx-hero-visual-img { background-size: 270% auto !important; border-radius: 50%;
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%); mask: radial-gradient(circle, #000 64%, transparent 66%); }
.inner-hero.lx-medal-hero .lx-reflect { display: none; }

/* ==========================================================================
   v2 · STRUCTURE & RESPONSIVE HARDENING (all pages)
   ========================================================================== */
[style*="display: grid"] > *, [style*="display:grid"] > *, .container > * { min-width: 0; }
.mobile-nav-drawer:not(.open) { visibility: hidden; transition: transform .45s var(--lx-ease), visibility 0s .45s; }
.mobile-nav-drawer.open { visibility: visible; transition: transform .45s var(--lx-ease); }
table { max-width: 100%; }

@media (max-width: 1100px) {
  [style*="repeat(4"], [style*="repeat(5"], [style*="repeat(6"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lx-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-trust-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .lx-trust-grid > div:nth-child(n+3) { border-top: 1px solid var(--lx-hair-soft); }
}
@media (max-width: 900px) {
  [style*="grid-template-columns: 1fr 1fr"], [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1.1fr"], [style*="grid-template-columns: 1.2fr"], [style*="grid-template-columns: 1.3fr"], [style*="grid-template-columns: 1.4fr"], [style*="grid-template-columns: 1.5fr"],
  [style*="grid-template-columns: 0.8fr"], [style*="grid-template-columns: 0.9fr"], [style*="grid-template-columns: 2fr"],
  [style*="repeat(3"] { grid-template-columns: minmax(0, 1fr) !important; }
  .hb-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hb-copy p { margin-left: auto; margin-right: auto; }
  .hb-btns { justify-content: center; }
  .hb-copy .eyebrow { justify-content: center; }
  .hb-orbit { height: 420px; order: -1; margin-top: .5rem; }
  .hb-globe { width: min(58vw, 340px); }
  .hb-ellipse { width: min(94vw, 560px); }
  .hb-item { width: min(34vw, 180px); margin: calc(min(34vw, 180px) * -.31) 0 0 calc(min(34vw, 180px) / -2); }
  .hb-item span { font-size: 1.1rem; }
  .lx-ways, .lx-comp { grid-template-columns: minmax(0, 1fr); }
  .lx-comp-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .lx-comp-badge { left: .5rem; }
}
@media (max-width: 640px) {
  [style*="repeat(2"], [style*="repeat(4"], [style*="repeat(5"], [style*="repeat(6"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="display: flex"][style*="gap"] { flex-wrap: wrap; }
  .btn, .btn-lg { white-space: normal; text-align: center; padding: 1rem 1.4rem; }
  .btn[style*="width: 100%"], .division-footer .btn { width: 100%; }
  .section-dark table, .section table, .section-light table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lx-lanes { grid-template-columns: minmax(0, 1fr); }
  .lx-trust-grid > div { padding: 1.3rem 1rem 1.3rem 0; }
  .lx-trust-grid > div:nth-child(even) { padding-left: 1rem; }
  .lx-trust b { font-size: 1.15rem; }
  .lx-trust span { font-size: .78rem; }
  .lx-way-body { padding: 1.5rem 1.3rem 1.7rem; }
  .lx-way .btn { align-self: stretch; }
  .lx-regs li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .hx-layer { width: 128vw; margin-left: -64vw; top: 58%; }
  .hx-layer.photo { width: 230vw; margin-left: -115vw; }
  .hx-t h1, .hx-t h2 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hx-cta { bottom: 6vh; }
  .hx-cta .btn { flex: 1 1 100%; max-width: 340px; }
  .hx-rail { display: none; }
  .hb-hero { padding-top: calc(var(--nav-height) + .5rem); }
  .hb-orbit { height: 340px; }
  .hb-btns .btn { flex: 1 1 100%; }
  .lx-cta-btns .btn { flex: 1 1 100%; }
  .section-header { margin-bottom: 2.5rem; }
  .inner-hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .inner-hero.lx-medal-hero .lx-hero-visual { width: 200px; margin: -1rem auto .5rem; }
  .lx-comp-float { width: 62%; }
}
@media (max-width: 1024px) {
  .lx-hero-visual { transform: none; max-width: 560px; aspect-ratio: 16/10; }
  .inner-hero.lx-medal-hero .lx-hero-visual { right: auto; width: 240px; margin: -1rem auto .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-track { height: auto; } .hx-stage { position: relative; }
  .lx-ring, .lx-scene .lx-hero-visual-img, .hb-globe, .lx-route i { animation: none !important; }
}

/* v2 hero refinements */
.hx-layer { top: 66%; }
.hb-copy h1 { font-size: clamp(2.6rem, 4.3vw, 4.4rem); }
@media (max-width: 900px) {
  .hb-hero { align-items: flex-start; }
  .hb-copy .eyebrow::before { display: none; }
}
@media (max-width: 640px) {
  .hx-layer { top: 60%; }
  .hb-orbit { height: 330px; }
  .hb-hint { bottom: -6px; }
}

/* Product catalogue filter bar */
.filter-bar { border-radius: 4px; border-color: var(--lx-hair-soft); }
.filter-tab { border-radius: 2px; letter-spacing: .04em; }
.filter-tab.active { background: var(--lx-navy); box-shadow: inset 0 -2px 0 var(--lx-gold); }
.search-input { border-radius: 2px; }
@media (max-width: 640px) {
  .filter-bar { padding: 1rem; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-tab { flex: none; padding: .55rem .9rem; font-size: .82rem; }
  .search-box { min-width: 0; width: 100%; }
}
h1, h2, .section-title { text-wrap: balance; }
.section-header { max-width: 820px; }

/* Footer: restore side padding lost to the padding shorthand, tighter mobile grid */
.site-footer .container { padding-left: clamp(1.1rem, 3vw, 2rem) !important; padding-right: clamp(1.1rem, 3vw, 2rem) !important; }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 2rem 1.25rem !important; }
  .footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
}
.lx-ring { border-color: rgba(212,180,120,.6); }
.lx-ring.r2 { border-color: rgba(212,180,120,.32); }
.sc-interactive-item { border-radius: 4px !important; }
.sc-interactive-item.active { border-color: var(--lx-gold) !important; box-shadow: 0 16px 30px -18px rgba(8,28,50,.5); background: #fff !important; }
@media (max-width: 1100px) { .lx-stage-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .lx-stage-tabs { gap: .5rem !important; } .lx-stage-tabs .sc-interactive-item { padding: .9rem .4rem !important; } }
@media (min-width: 641px) {
  .hx-layer { width: min(58vw, 860px); margin-left: calc(min(58vw, 860px) / -2); top: 63%; }
  .hx-layer.photo { width: min(150vw, 2100px); margin-left: calc(min(150vw, 2100px) / -2); top: 55%; }
}
@media (min-width: 901px) {
  .hb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hb-copy h1 { font-size: clamp(2.6rem, 3.9vw, 4rem); }
}

/* Preview switcher between homepage options */
.lx-switch { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1200; display: flex; align-items: center; gap: 4px; padding: 5px; background: rgba(4,11,23,.92); border: 1px solid var(--lx-hair); border-radius: 4px; backdrop-filter: blur(10px); box-shadow: 0 20px 40px -15px rgba(0,0,0,.7); }
.lx-switch span { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: #7d8aa0; padding: 0 .7rem 0 .5rem; }
.lx-switch a { font-size: .78rem; color: #cfd6e2; padding: .6rem .9rem; border-radius: 2px; white-space: nowrap; }
.lx-switch a:hover { color: var(--lx-gold-hi); }
.lx-switch a.on { background: var(--lx-gold-grad); color: var(--lx-ink); font-weight: 600; }
@media (max-width: 640px) { .lx-switch { bottom: 12px; } .lx-switch span { display: none; } .lx-switch a { font-size: .72rem; padding: .55rem .7rem; } }

/* Client logo (raster lockup) */
.brand-logo-img { height: clamp(40px, 4.2vw, 52px) !important; width: auto !important; }
.footer-logo { height: 54px !important; width: auto !important; }
.mobile-drawer-logo img { height: 40px !important; }
@media (max-width: 640px) { .brand-logo-img { height: 40px !important; } }
/* Brand emblem replaces the generic medal in the loader and CTA */
.lx-loader-medal, .lx-cta-medal div {
  background: url('../assets/logo/masa-emblem.png') center / contain no-repeat !important;
  -webkit-mask: none !important; mask: none !important; border-radius: 0 !important; box-shadow: none !important;
}
.lx-loader-medal { width: 200px; height: 120px; }
.lx-cta-medal div { aspect-ratio: 1.55 !important; width: min(340px, 90%) !important; }

/* ==========================================================================
   v3 · FRAMELESS 3D ORBIT (home-orbit.html)
   ========================================================================== */
.hb-orbit { perspective: none; }
.hb-ellipse { display: none; }
.hb-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hb-path path { fill: none; stroke: rgba(212,180,120,.55); stroke-width: 1.2; }
.hb-path-back { z-index: 900; }
.hb-path-back path { stroke: rgba(212,180,120,.22); }
.hb-path-front { z-index: 1050; }
.hb-globe { z-index: 1000; }
.hb-ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.hb-item {
  position: absolute; left: 0; top: 0;
  width: var(--iw, 220px); height: auto; margin: 0; aspect-ratio: auto;
  pointer-events: auto; text-decoration: none;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
}
.hb-item div { display: none; }
.hb-obj {
  display: block; width: 100%; height: auto;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.45));
  will-change: transform;
  -webkit-user-drag: none; user-select: none;
}
.hb-shadow {
  position: absolute; left: 12%; right: 12%; bottom: -6%; height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 70%);
  filter: blur(4px);
  z-index: -1;
}
.hb-label {
  position: absolute; left: 50%; top: 100%;
  transform: translate(-50%, 14px);
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem;
  color: var(--lx-gold-hi); white-space: nowrap;
  text-shadow: 0 2px 14px rgba(3,9,20,.9);
  opacity: var(--lab, 0);
  transition: opacity .2s linear;
  pointer-events: none;
}
.hb-item:hover .hb-obj, .hb-item:focus-visible .hb-obj { filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(233,212,167,.35)); }
.hb-item:focus-visible { outline: none; }
@media (max-width: 900px) { .hb-label { font-size: 1.05rem; transform: translate(-50%, 8px); } }
.hb-globe { width: min(25vw, 330px); top: 48%; }
@media (max-width: 900px) { .hb-globe { width: min(46vw, 220px); } }

/* ==========================================================================
   v4 · INNER HERO — crisp cut-out 3D objects (no blur / masks)
   ========================================================================== */
.lx-v3 .lx-hero-obj {
  position: absolute; left: 5%; top: 6%; width: 90%; height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(0,0,0,.5)) drop-shadow(0 0 1px rgba(255,255,255,.15));
  animation: lxFlyIn 1.6s cubic-bezier(.22,1,.36,1) both, lxFloat 8s ease-in-out 1.6s infinite;
  z-index: 2;
}
.lx-floor {
  position: absolute; left: 20%; right: 20%; bottom: 7%; height: 11%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 68%);
  z-index: 1; pointer-events: none;
}
.lx-v3 .lx-ring { top: 60%; }

/* About: globe with orbiting galleon */
.lx-about-globe .lx-globe-obj { left: 14%; width: 72%; top: 2%; height: 86%; }
.lx-orbit-ship { position: absolute; left: 0; top: 0; width: 19%; height: auto; will-change: transform, opacity;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.55)); pointer-events: none; }
.lx-ship-back { z-index: 1; }
.lx-ship-front { z-index: 3; }

/* Contact: 3D business card */
.lx-card-hero .lx-scene { transform-style: preserve-3d; }
.lx-bcard {
  position: absolute; left: 50%; top: 46%;
  width: min(400px, 74%); aspect-ratio: 1.75;
  transform-style: preserve-3d;
  translate: -50% -50%;
  animation: lxCardSpin 14s cubic-bezier(.65,0,.35,1) infinite;
  z-index: 2;
}
.lx-bcard-back2 {
  background: linear-gradient(135deg, #0c2342, #071426);
  border: 1px solid rgba(201,168,106,.45); border-radius: 10px;
  animation: none; transform: translate3d(28px, 22px, -90px) rotateZ(-7deg) rotateY(-14deg);
  box-shadow: 0 40px 60px -25px rgba(0,0,0,.8); opacity: .85; z-index: 1;
}
@keyframes lxCardSpin {
  0%   { transform: rotateX(8deg) rotateY(-18deg); }
  36%  { transform: rotateX(4deg) rotateY(16deg); }
  50%  { transform: rotateX(6deg) rotateY(198deg); }
  86%  { transform: rotateX(4deg) rotateY(164deg); }
  100% { transform: rotateX(8deg) rotateY(342deg); }
}
.lx-bcard-face {
  position: absolute; inset: 0; border-radius: 10px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 50px 70px -30px rgba(0,0,0,.85), inset 0 0 0 1px rgba(201,168,106,.55);
  overflow: hidden;
}
.lx-bcard-face::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.18), transparent 35%, transparent 65%, rgba(233,212,167,.12)); pointer-events: none; }
.lx-front {
  background: radial-gradient(ellipse at 30% 20%, #143a66 0%, #071729 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
}
.lx-front::before { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(201,168,106,.35); border-radius: 6px; }
.lx-front img { width: 48%; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.lx-front b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, 1.8vw, 1.45rem); letter-spacing: .32em; color: var(--lx-gold-hi); padding-left: .32em; }
.lx-front small { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: #8f9bb0; }
.lx-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, #fbf8f2, #efe6d4);
  color: #0b1a2e; padding: 8% 9%;
  display: flex; flex-direction: column; justify-content: center;
}
.lx-back .lx-k { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: #94723f; margin-bottom: .7rem; }
.lx-back p { margin: 0; display: grid; gap: .35rem; }
.lx-back i { font-style: normal; font-size: clamp(.72rem, 1.05vw, .9rem); border-bottom: 1px solid rgba(148,114,63,.25); padding-bottom: .3rem; }
.lx-card-hero .lx-floor { bottom: 10%; left: 24%; right: 24%; }

/* Privacy / Terms: brand emblem slowly turning */
.lx-emblem-hero .lx-hero-obj { animation: lxFlyIn 1.6s cubic-bezier(.22,1,.36,1) both, lxTurn 9s ease-in-out 1.6s infinite alternate; left: 15%; width: 70%; }
@keyframes lxTurn { from { transform: rotateY(-24deg); } to { transform: rotateY(24deg); } }

@media (max-width: 1024px) {
  .lx-card-hero { aspect-ratio: 16/11 !important; }
}
@media (prefers-reduced-motion: reduce) { .lx-bcard, .lx-emblem-hero .lx-hero-obj { animation: none !important; } }
@media (min-width: 1025px) {
  .lx-hero-visual.lx-v3 { width: min(44vw, 680px); right: 3%; }
  .inner-hero.lx-has-visual > .container { padding-right: min(47%, 640px); }
}

/* ==========================================================================
   v4 · SUPPLY CHAIN — interactive shipment journey
   ========================================================================== */
.sj { background: radial-gradient(ellipse 80% 60% at 50% 30%, #0d2544 0%, #050f1f 75%); color: #e6e9ef; position: relative; overflow: hidden; }
.sj .section-title { color: #fff; }
.sj .section-subtitle { color: #aeb9c9; }
.sj-map { border: 1px solid var(--lx-hair-soft); border-radius: 6px; background: rgba(5,15,31,.55); padding: clamp(.5rem, 2vw, 1.5rem); }
.sj-svg { width: 100%; height: auto; display: block; overflow: visible; }
.sj-land { fill: rgba(255,255,255,.025); stroke: rgba(201,168,106,.14); stroke-dasharray: 3 6; }
.sj-sea path { fill: none; stroke: rgba(120,170,230,.16); stroke-width: 1.4; }
.sj-region { fill: #7d8aa0; font: 600 11px/1 Inter, sans-serif; letter-spacing: .3em; }
.sj-route-base { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 10; stroke-linecap: round; }
.sj-route-flow { fill: none; stroke: rgba(201,168,106,.35); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; animation: sjFlow 1.2s linear infinite; }
@keyframes sjFlow { to { stroke-dashoffset: -12; } }
.sj-route-done { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.sj-node { cursor: pointer; outline: none; }
.sj-hit { fill: transparent; }
.sj-ring { fill: #071729; stroke: rgba(201,168,106,.45); stroke-width: 1.5; transition: all .4s; }
.sj-core { fill: #4d5a70; transition: all .4s; }
.sj-node.past .sj-core { fill: #c9a86a; }
.sj-node.past .sj-ring { stroke: rgba(201,168,106,.8); }
.sj-node.on .sj-ring { stroke: #f1dfb6; stroke-width: 2; transform: scale(1.25); filter: drop-shadow(0 0 10px rgba(233,212,167,.7)); }
.sj-node.on .sj-core { fill: #f1dfb6; }
.sj-node:hover .sj-ring { stroke: #f1dfb6; }
.sj-label { fill: #aeb9c9; font: 600 14px/1 Inter, sans-serif; text-anchor: middle; letter-spacing: .04em; transition: fill .3s; }
.sj-node.on .sj-label { fill: #f1dfb6; }
.sj-mk-halo { fill: rgba(233,212,167,.18); stroke: rgba(233,212,167,.6); stroke-width: 1; }
.sj-mk-box { fill: #e9c77b; stroke: #8e6a2c; stroke-width: 1.2; }
.sj-mk-rib { stroke: #8e6a2c; stroke-width: 1; }

.sj-tabs { display: flex; gap: .4rem; margin: 1.5rem 0 2rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sj-tab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .6rem 1rem; border-radius: 2px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(201,168,106,.2); color: #aeb9c9; font: 500 .9rem/1 Inter, sans-serif; cursor: pointer; transition: all .3s; }
.sj-tab span { font-family: var(--font-display); font-size: 1.15rem; color: var(--lx-gold); }
.sj-tab:hover { border-color: rgba(201,168,106,.55); color: #fff; }
.sj-tab.on { background: var(--lx-gold-grad); color: var(--lx-ink); border-color: transparent; font-weight: 600; }
.sj-tab.on span { color: var(--lx-ink); }
.sj-tab:focus-visible { outline: 2px solid var(--lx-gold-hi); outline-offset: 2px; }

.sj-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.sj-visual { position: relative; aspect-ratio: 4/3; border-radius: 6px; background: radial-gradient(ellipse at 50% 60%, #12325a 0%, #071426 70%); border: 1px solid var(--lx-hair-soft); perspective: 1000px; overflow: hidden; }
.sj-stage3d { position: absolute; inset: 0; transform-style: preserve-3d; }
.sj-stage3d img { position: absolute; left: 10%; top: 10%; width: 80%; height: 70%; object-fit: contain; filter: drop-shadow(0 26px 26px rgba(0,0,0,.55)); animation: lxFloat 7s ease-in-out infinite; }
.sj-floor { position: absolute; left: 22%; right: 22%; bottom: 12%; height: 10%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.6), transparent 70%); }
.sj-stage3d.out img { opacity: 0; transform: translateX(calc(var(--dir, 1) * -40px)) rotateY(calc(var(--dir, 1) * 40deg)) scale(.9); transition: opacity .25s, transform .25s; }
.sj-stage3d.in img { animation: sjIn .9s cubic-bezier(.22,1,.36,1) both, lxFloat 7s ease-in-out .9s infinite; }
@keyframes sjIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 60px)) translateZ(-200px) rotateY(calc(var(--dir, 1) * -45deg)); } to { opacity: 1; transform: none; } }
.sj-place { position: absolute; left: 1rem; top: 1rem; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-gold-hi); border: 1px solid var(--lx-hair); padding: .45rem .7rem; border-radius: 2px; background: rgba(5,15,31,.6); }
.sj-count { display: flex; align-items: center; gap: .7rem; color: #7d8aa0; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .6rem; }
.sj-count b { font-size: 2.4rem; color: var(--lx-gold-hi); font-weight: 600; line-height: 1; }
.sj-bar { flex: 0 0 120px; height: 1px; background: rgba(255,255,255,.12); position: relative; display: block; }
.sj-bar i { position: absolute; inset: 0; background: var(--lx-gold); transform-origin: 0 50%; transition: transform .8s var(--lx-ease); display: block; }
.sj-copy h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 600; color: #fff; line-height: 1.08; margin-bottom: .5rem; }
.sj-sub { color: var(--lx-gold-hi); font-size: .95rem; margin-bottom: 1rem; }
.sj-text { color: #b9c4d4; margin-bottom: 1.2rem; }
.sj-points { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; }
.sj-points li { position: relative; padding-left: 1.4rem; font-size: .9rem; color: #d5dbe5; animation: lxRise .6s var(--lx-ease) both; }
.sj-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border: 1px solid var(--lx-gold); transform: rotate(45deg); }
.sj-panel.swap .sj-copy h3, .sj-panel.swap .sj-sub, .sj-panel.swap .sj-text { animation: lxRise .6s var(--lx-ease) both; }
.sj-ctrl { display: flex; gap: .5rem; align-items: center; }
.sj-btn { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 2px; border: 1px solid var(--lx-hair); background: transparent; color: #e6e9ef; cursor: pointer; padding: 0 1rem; font: 600 .74rem/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: all .3s; }
.sj-btn:hover { border-color: var(--lx-gold); color: var(--lx-gold-hi); }
.sj-btn em { font-style: normal; }
.sj-play { background: var(--lx-gold-grad); color: var(--lx-ink); border-color: transparent; }
.sj-play:hover { color: var(--lx-ink); }
.sj-ico-pause { display: none; } .sj-play.on .sj-ico-pause { display: inline; } .sj-play.on .sj-ico-play { display: none; }

@media (max-width: 900px) {
  .sj-panel { grid-template-columns: minmax(0, 1fr); }
  .sj-label, .sj-region { display: none; }
  .sj-tab { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .sj-points { grid-template-columns: minmax(0, 1fr); }
  .sj-ctrl .sj-play { flex: 1; }
}

/* ==========================================================================
   v4 · HOMEPAGE — interactive trade lanes map
   ========================================================================== */
.tl { display: grid; gap: 1.5rem; }
.tl-map { position: relative; border: 1px solid var(--lx-hair-soft); border-radius: 6px; background: radial-gradient(ellipse 70% 80% at 50% 40%, rgba(16,44,80,.65), rgba(5,15,31,.4)); padding: clamp(.4rem, 1.5vw, 1.2rem); overflow: hidden; }
#tlSvg { width: 100%; height: auto; display: block; }
.tl-coast { fill: none; stroke: rgba(190,205,228,.14); stroke-width: .8; }
.tl-lane { fill: none; stroke: rgba(201,168,106,.32); stroke-width: 1.3; stroke-dasharray: 3 6; transition: stroke .5s, opacity .5s; }
.tl-lane.dim { opacity: .55; }
.tl-lane-hi { fill: none; stroke: #ecd6a6; stroke-width: 2.6; stroke-linecap: round; }
.tl-dot { fill: #fff6dc; filter: drop-shadow(0 0 5px rgba(241,223,182,.95)); }
.tl-pin-core { fill: #c9a86a; }
.tl-pin.far .tl-pin-core { fill: #8f9bb0; }
.tl-pin.lit .tl-pin-core { fill: #f1dfb6; }
.tl-pin-pulse { fill: rgba(201,168,106,.25); transform-box: fill-box; transform-origin: center; animation: tlPulse 2.4s ease-out infinite; }
.tl-pin.far:not(.lit) .tl-pin-pulse { display: none; }
@keyframes tlPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.tl-pin.hq .tl-pin-core { fill: #f1dfb6; stroke: #071729; stroke-width: 1.5; }
.tl-pin-label { font: 600 13px/1 Inter, sans-serif; fill: #e9d4a7; letter-spacing: .04em; paint-order: stroke; stroke: rgba(5,15,31,.85); stroke-width: 4px; opacity: 0; transition: opacity .4s; }
.tl-pin.show .tl-pin-label { opacity: 1; }
.tl-key { position: absolute; left: clamp(.8rem, 2vw, 1.6rem); bottom: clamp(.6rem, 1.6vw, 1.2rem); display: flex; gap: 1.1rem; flex-wrap: wrap; font-size: .74rem; color: #93a0b4; }
.tl-key span { display: inline-flex; align-items: center; gap: .45rem; }
.tl-key i { display: inline-block; }
.k-hq { width: 9px; height: 9px; border-radius: 50%; background: #f1dfb6; box-shadow: 0 0 0 3px rgba(201,168,106,.25); }
.k-port { width: 7px; height: 7px; border-radius: 50%; background: #c9a86a; }
.k-lane { width: 20px; height: 2px; background: #ecd6a6; }
.tl-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--lx-hair-soft); border: 1px solid var(--lx-hair-soft); }
.tl-card { text-align: left; background: #071729; border: 0; padding: 1.5rem 1.6rem 1.6rem; cursor: pointer; color: inherit; font: inherit; display: flex; flex-direction: column; gap: .35rem; position: relative; transition: background .4s; }
.tl-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--lx-gold-grad); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--lx-ease); }
.tl-card:hover { background: #0b2038; }
.tl-card.on { background: #0e2848; }
.tl-card.on::before { transform: scaleY(1); }
.tl-card:focus-visible { outline: 2px solid var(--lx-gold-hi); outline-offset: -2px; }
.tl-card .lx-route { margin-bottom: .7rem; }
.tl-card b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.15; }
.tl-p { color: #aeb9c9; font-size: .92rem; }
.tl-card small { color: #7d8aa0; font-size: .78rem; }
@media (max-width: 1100px) { .tl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tl-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .6rem; background: none; border: 0; padding-bottom: .4rem; scrollbar-width: none; }
  .tl-card { flex: 0 0 82%; scroll-snap-align: start; border: 1px solid var(--lx-hair-soft); }
  .tl-key { position: static; margin-top: .5rem; gap: .8rem; font-size: .68rem; }
  .tl-pin-label { font-size: 20px; stroke-width: 6px; }
}

/* ==========================================================================
   v4 · COMPLIANCE visual — one structured panel, cut-out objects
   ========================================================================== */
.lx-comp-visual { position: relative; aspect-ratio: auto; padding: 0 22px 22px 0; }
.lx-comp-visual::before { content: ''; position: absolute; inset: 22px 0 0 22px; border: 1px solid var(--lx-gold); border-radius: 8px; opacity: .7; }
.lx-comp-stage {
  position: relative; aspect-ratio: 5 / 4; border-radius: 8px;
  background: radial-gradient(ellipse 80% 70% at 45% 40%, #15365e 0%, #071729 72%);
  box-shadow: 0 50px 90px -40px rgba(8,28,50,.65);
  border: 1px solid rgba(201,168,106,.3);
}
.lx-comp-stage::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 14%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%); }
.lx-comp-doc { position: absolute; left: 7%; top: -6%; width: 84%; height: auto; z-index: 2; transform: translateZ(40px) rotate(-3deg); filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); }
.lx-comp-lens { position: absolute; right: -6%; bottom: -8%; width: 50%; height: auto; z-index: 3; transform: translateZ(80px); filter: drop-shadow(0 24px 26px rgba(0,0,0,.55)); animation: lxFloat 7s ease-in-out infinite; }
.lx-comp-stage .lx-comp-badge { left: 6%; bottom: 7%; z-index: 4; transform: translateZ(60px); }
.lx-comp-main, .lx-comp-float { display: none; }
@media (max-width: 640px) {
  .lx-comp-visual { padding: 0 12px 12px 0; }
  .lx-comp-visual::before { inset: 12px 0 0 12px; }
  .lx-comp-lens { right: -3%; bottom: -5%; width: 48%; }
  .lx-comp-stage .lx-comp-badge { max-width: 170px; padding: .8rem 1rem; }
  .lx-comp-badge b { font-size: 1.05rem; }
}

/* ==========================================================================
   v5 · HEADER — balanced spacing between logo, menu and CTA
   ========================================================================== */
.site-header .navbar { max-width: 1360px; gap: 0; }
.site-header .brand-link { flex: 0 0 auto; }
.site-header .brand-logo-img { height: 44px !important; }
.site-header .desktop-nav { flex: 1 1 auto; justify-content: center; margin: 0 clamp(1.5rem, 3vw, 3.25rem); }
.site-header .nav-menu { gap: clamp(1.4rem, 2.2vw, 2.4rem); }
.site-header .nav-link { font-size: .9rem; letter-spacing: .02em; white-space: nowrap; }
.site-header .nav-link::after { background: var(--lx-gold) !important; }
.site-header .nav-actions { flex: 0 0 auto; }
.site-header .btn-nav-rfq { padding: .85rem 1.4rem !important; font-size: .72rem !important; letter-spacing: .16em; white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1240px) {
  .site-header .brand-logo-img { height: 36px !important; }
  .site-header .desktop-nav { margin: 0 1.25rem; }
  .site-header .nav-menu { gap: 1.05rem; }
  .site-header .nav-link { font-size: .84rem; letter-spacing: 0; }
  .site-header .btn-nav-rfq { padding: .75rem 1rem !important; font-size: .66rem !important; letter-spacing: .1em; }
  .site-header .btn-nav-rfq svg { display: none; }
}

/* ==========================================================================
   v5 · INNER HERO — flat 3D layering (no plane-intersection clipping)
   ========================================================================== */
.lx-v3 .lx-scene { transform-style: flat !important; }
.lx-v3 .lx-ring { display: none; }
.lx-orb { position: absolute; left: 2%; width: 96%; top: 56%; height: 30%; overflow: visible; pointer-events: none; }
.lx-orb path { fill: none; vector-effect: non-scaling-stroke; }
.lx-orb .o1 { stroke: rgba(212,180,120,.55); stroke-width: 1.2; }
.lx-orb .o2 { stroke: rgba(212,180,120,.28); stroke-width: 1; }
.lx-orb-back { z-index: 1; }
.lx-orb-back .o1 { stroke: rgba(212,180,120,.3); }
.lx-orb-front { z-index: 3; }
.lx-orb .od { fill: #f6e7c1; filter: drop-shadow(0 0 5px rgba(241,223,182,.95)); }
.lx-v3 .lx-hero-obj {
  animation: lxFlyIn3 1.6s cubic-bezier(.22,1,.36,1) both, lxSway 8s ease-in-out 1.6s infinite alternate, lxFloat 7s ease-in-out 1.6s infinite;
}
@keyframes lxFlyIn3 { from { opacity: 0; transform: perspective(900px) translate3d(0, 40px, -420px) rotateY(30deg); } to { opacity: 1; transform: perspective(900px) rotateY(-9deg); } }
@keyframes lxSway { from { transform: perspective(900px) rotateY(-9deg) rotateX(2deg); } to { transform: perspective(900px) rotateY(9deg) rotateX(-1deg); } }
.lx-emblem-hero .lx-hero-obj { animation: lxFlyIn3 1.6s cubic-bezier(.22,1,.36,1) both, lxSway 7s ease-in-out 1.6s infinite alternate !important; }
@media (prefers-reduced-motion: reduce) { .lx-v3 .lx-hero-obj { animation: none !important; } .lx-orb animateMotion { display: none; } }

/* ==========================================================================
   v5 · SUPPLY CHAIN JOURNEY — ivory section, one-screen layout
   ========================================================================== */
.sj.sj-light { background: var(--lx-ivory); color: #0b1a2e; padding: clamp(3rem, 5vh, 4.5rem) 0; }
.sj.sj-light .section-title { color: var(--color-deep-navy); }
.sj.sj-light .section-subtitle { color: #56627a; }
.sj.sj-light .section-header { margin-bottom: clamp(1.25rem, 3vh, 2.25rem); }
.sj.sj-light .section-header::after { margin-top: 1rem; }
.sj.sj-light .eyebrow.gold { color: var(--lx-gold-lo); }
.sj.sj-light .eyebrow.gold::before, .sj.sj-light .eyebrow.gold::after { background: var(--lx-gold-lo); }
@media (min-width: 1025px) {
  .sj.sj-light > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    grid-template-areas: "head head" "map copy" "tabs copy" "visual copy";
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(2rem, 3.5vw, 3.5rem);
    align-items: start;
  }
  .sj-light .section-header { grid-area: head; }
  .sj-light .sj-map { grid-area: map; }
  .sj-light .sj-tabs { grid-area: tabs; margin: .8rem 0; }
  .sj-light .sj-panel { display: contents; }
  .sj-light .sj-visual { grid-area: visual; aspect-ratio: auto; height: clamp(190px, 27vh, 260px); }
  .sj-light .sj-copy { grid-area: copy; align-self: center; }
  .sj-light .sj-tab { flex: 1 1 0; padding: .55rem .4rem; font-size: .82rem; min-height: 42px; gap: .4rem; }
}
.sj-light .sj-map { background: radial-gradient(ellipse 80% 90% at 50% 40%, #10294a 0%, #061224 80%); border-color: rgba(201,168,106,.35); padding: clamp(.4rem, 1vw, .9rem); }
.sj-light .sj-tab { background: #fff; color: #33405a; border-color: rgba(8,28,50,.14); }
.sj-light .sj-tab span { color: var(--lx-gold-lo); }
.sj-light .sj-tab:hover { color: var(--color-deep-navy); border-color: var(--lx-gold); }
.sj-light .sj-tab.on { background: var(--lx-gold-grad); color: var(--lx-ink); border-color: transparent; }
.sj-light .sj-tab.on span { color: var(--lx-ink); }
.sj-light .sj-visual { background: radial-gradient(ellipse at 50% 60%, #143a66 0%, #071729 72%); border-color: rgba(201,168,106,.35); box-shadow: 0 30px 60px -35px rgba(8,28,50,.55); }
.sj-light .sj-count { color: #8a94a6; }
.sj-light .sj-count b { color: var(--lx-gold-lo); }
.sj-light .sj-bar { background: rgba(8,28,50,.12); }
.sj-light .sj-copy h3 { color: var(--color-deep-navy); font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.sj-light .sj-sub { color: var(--lx-gold-lo); font-weight: 500; }
.sj-light .sj-text { color: #4a566c; font-size: .98rem; }
.sj-light .sj-points li { color: #33405a; font-size: .88rem; }
.sj-light .sj-btn { color: var(--color-deep-navy); border-color: rgba(8,28,50,.25); }
.sj-light .sj-btn:hover { border-color: var(--lx-gold); color: var(--lx-gold-lo); }
.sj-light .sj-play { color: var(--lx-ink); border-color: transparent; }
.sj-stage3d.anchor-top img { top: 0; height: 86%; object-position: center top; }
@media (max-width: 1024px) {
  .sj-light .sj-visual { aspect-ratio: 16/10; }
}

/* ==========================================================================
   v5 · TRADE LANES — map and lane list side by side, fits one screen
   ========================================================================== */
.lx-lanes-sec { padding: clamp(3rem, 6vh, 4.5rem) 0; }
.lx-lanes-sec .section-header { margin-bottom: clamp(1.25rem, 3vh, 2.25rem); }
.lx-lanes-sec .section-header::after { margin-top: 1rem; }
@media (min-width: 1025px) {
  .tl { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
  .tl-map { display: flex; flex-direction: column; justify-content: center; }
  .tl-list { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .tl-card { padding: .85rem 1.2rem; gap: .15rem; }
  .tl-card .lx-route { margin-bottom: .35rem; font-size: .64rem; }
  .tl-card b { font-size: 1.22rem; }
  .tl-card .tl-p, .tl-card small { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--lx-ease), opacity .4s, margin .4s; }
  .tl-card.on .tl-p { max-height: 4.5em; opacity: 1; margin-top: .3rem; }
  .tl-card.on small { max-height: 2.4em; opacity: 1; }
  .tl-key { position: static; margin-top: .6rem; padding-left: .4rem; }
}
@media (min-width: 1025px) and (max-height: 820px) {
  .lx-lanes-sec .section-subtitle { display: none; }
  .tl-card { padding: .7rem 1.1rem; }
}
@media (min-width: 1025px) and (max-height: 820px) { .sj-light .section-subtitle { display: none; } }
@media (min-width: 1025px) {
  .tl-card { padding: .62rem 1.15rem; }
  .tl-card .lx-route { margin-bottom: .2rem; }
  .tl-card b { font-size: 1.15rem; }
  .tl-map { justify-content: center; }
}
@media (min-width: 1025px) and (max-height: 820px) {
  .lx-lanes-sec, .sj.sj-light { padding: 2.25rem 0 2.5rem; }
  .lx-lanes-sec .section-header::after, .sj-light .section-header::after { display: none; }
  .lx-lanes-sec .section-title, .sj-light .section-title { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0; }
  .lx-lanes-sec .section-header, .sj-light .section-header { margin-bottom: 1.1rem; }
  .lx-lanes-sec .eyebrow, .sj-light .eyebrow { margin-bottom: .4rem; }
  .sj-light .sj-visual { height: 165px; }
  .sj-light .sj-text { font-size: .92rem; margin-bottom: .8rem; }
  .sj-light .sj-points { margin-bottom: 1.1rem; gap: .35rem 1rem; }
  .sj-light .sj-copy h3 { font-size: 1.8rem; }
  .tl-card { padding: .5rem 1.05rem; }
  .tl-card b { font-size: 1.05rem; }
}
@media (max-width: 1024px) {
  .lx-v3 .lx-hero-obj { left: 9%; width: 82%; top: 8%; height: 76%; }
  .lx-hero-visual.lx-v3 { margin-top: .25rem; }
}
@media (max-width: 640px) { .sj-light .sj-visual { aspect-ratio: 16/9; } }

/* ==========================================================================
   v6 · SUPPLY CHAIN — interactive 3D logistics table
   ========================================================================== */
.sx { background: var(--lx-ivory); padding: clamp(2.5rem, 5vh, 4.5rem) 0; }
.sx .section-header { margin-bottom: clamp(1rem, 3vh, 2rem); }
.sx .section-header::after { margin-top: .9rem; }
.sx .eyebrow.gold { color: var(--lx-gold-lo); }
.sx .eyebrow.gold::before, .sx .eyebrow.gold::after { background: var(--lx-gold-lo); }
.sx-wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center; }

.sx-view {
  position: relative; height: clamp(380px, 62vh, 580px); border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse 75% 70% at 50% 45%, #163d6b 0%, #0a1f3a 55%, #050f1f 100%);
  border: 1px solid rgba(201,168,106,.35);
  box-shadow: 0 50px 90px -45px rgba(8,28,50,.7);
  perspective: 1500px; perspective-origin: 50% 35%;
  cursor: grab; touch-action: pan-y; user-select: none;
}
.sx-view:active { cursor: grabbing; }
.sx-view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(201,168,106,.12), transparent 55%); }
.sx-cam { position: absolute; left: 50%; top: 50%; width: 1000px; height: 620px; transform-style: preserve-3d; will-change: transform; }
.sx-board {
  position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform;
  border-radius: 18px;
  background:
    linear-gradient(rgba(201,168,106,.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(201,168,106,.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(160deg, #13355e 0%, #0b2242 60%, #081a33 100%);
  box-shadow: 0 0 0 1px rgba(201,168,106,.45), 0 0 0 10px rgba(8,26,51,.9), 0 0 0 11px rgba(201,168,106,.35), 0 80px 80px -20px rgba(0,0,0,.6);
}
.sx-zone { position: absolute; top: 0; bottom: 0; }
.sx-zone span { position: absolute; left: 22px; top: 18px; font: 600 15px/1 Inter, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: rgba(233,212,167,.55); }
.sx-origin { left: 0; width: 455px; }
.sx-sea { left: 455px; width: 190px; background: linear-gradient(90deg, rgba(40,110,190,.0), rgba(40,110,190,.28) 20%, rgba(40,110,190,.28) 80%, rgba(40,110,190,0)); }
.sx-sea i { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(150,200,255,.16) 22px 24px); animation: sxWaves 4s linear infinite; }
@keyframes sxWaves { to { background-position: 0 46px; } }
.sx-sea span { left: 14px; letter-spacing: .2em; font-size: 12px; }
.sx-canada { left: 645px; right: 0; }
.sx-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-r-base { fill: none; stroke: rgba(0,0,0,.35); stroke-width: 16; stroke-linecap: round; }
.sx-r-flow { fill: none; stroke: rgba(233,212,167,.4); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; animation: sjFlow 1s linear infinite; }
.sx-r-done { fill: none; stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(241,223,182,.7)); }
.sx-box-body { fill: #e9c77b; stroke: #6e4f1d; stroke-width: 1.5; }
.sx-box-rib { stroke: #8e6a2c; stroke-width: 1.2; }
.sx-box-glow { fill: none; stroke: rgba(255,246,220,.9); stroke-width: 2; filter: drop-shadow(0 0 8px rgba(241,223,182,1)); }

.sx-st { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; }
.sx-base { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%; border: 2px solid rgba(201,168,106,.55); background: radial-gradient(circle, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, transparent 70%); transition: border-color .4s; }
.sx-base::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(241,223,182,.7); opacity: 0; }
.sx-st.on .sx-base { border-color: #f1dfb6; }
.sx-st.on .sx-base::after { animation: sxPing 2s ease-out infinite; }
@keyframes sxPing { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }
.sx-bb {
  position: absolute; left: 0; top: 0; width: calc(var(--w) * 10); /* % of board width -> px via board = 1000px */
  display: flex; flex-direction: column; align-items: center;
  transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1));
  transition: filter .4s;
  pointer-events: none;
}
.sx-bb img { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(0,0,0,.55)); transition: transform .6s cubic-bezier(.22,1,.36,1); transform-origin: 50% 100%; pointer-events: auto; }
.sx-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; white-space: nowrap; font: 600 19px/1 Inter, sans-serif; color: #e9eef6; background: rgba(5,15,31,.82); border: 1px solid rgba(201,168,106,.45); padding: 9px 14px; border-radius: 3px; transition: all .4s; pointer-events: auto; }
.sx-tag b { font-family: var(--font-display); font-size: 24px; color: var(--lx-gold-hi); font-weight: 600; }
.sx-st.on .sx-tag { background: linear-gradient(110deg, #94723f, #c9a86a 35%, #f0dcb0 55%, #c9a86a 80%); color: #06101f; border-color: transparent; }
.sx-st.on .sx-tag b { color: #06101f; }
.sx-st.on .sx-bb img { transform: scale(1.18) translateY(-6px); filter: drop-shadow(0 22px 18px rgba(0,0,0,.55)) drop-shadow(0 0 16px rgba(241,223,182,.35)); }
.sx-st:not(.on) .sx-bb { filter: saturate(.8) brightness(.88); }
.sx-st:hover .sx-bb img { transform: scale(1.08); }
.sx-st:focus-visible .sx-tag { outline: 2px solid var(--lx-gold-hi); outline-offset: 3px; }

.sx-hint { position: absolute; left: 1rem; bottom: .9rem; display: flex; gap: .5rem; z-index: 5; pointer-events: none; }
.sx-hint span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #aeb9c9; background: rgba(5,15,31,.7); border: 1px solid rgba(201,168,106,.25); padding: .4rem .6rem; border-radius: 2px; }
.sx-reset { position: absolute; right: .9rem; bottom: .9rem; z-index: 5; width: 40px; height: 40px; border-radius: 2px; border: 1px solid rgba(201,168,106,.4); background: rgba(5,15,31,.7); color: #e9d4a7; display: grid; place-items: center; cursor: pointer; }
.sx-reset:hover { border-color: var(--lx-gold-hi); }

.sx-count { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); color: #8a94a6; font-size: 1.05rem; margin-bottom: .5rem; }
.sx-count b { font-size: 2.3rem; line-height: 1; color: var(--lx-gold-lo); font-weight: 600; }
.sx-place { margin-left: .5rem; font: 600 .64rem/1 Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: var(--lx-gold-lo); border: 1px solid rgba(148,114,63,.4); padding: .4rem .6rem; border-radius: 2px; }
.sx-info h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.5vw, 2.35rem); font-weight: 600; color: var(--color-deep-navy); line-height: 1.08; margin-bottom: .45rem; }
.sx-sub { color: var(--lx-gold-lo); font-weight: 500; font-size: .95rem; margin-bottom: .8rem; }
.sx-text { color: #4a566c; font-size: .96rem; margin-bottom: 1rem; }
.sx-points { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.1rem; }
.sx-points li { position: relative; padding-left: 1.3rem; font-size: .87rem; color: #33405a; animation: lxRise .55s var(--lx-ease) both; }
.sx-points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border: 1px solid var(--lx-gold-lo); transform: rotate(45deg); }
.sx-info.swap h3, .sx-info.swap .sx-sub, .sx-info.swap .sx-text { animation: lxRise .55s var(--lx-ease) both; }
.sx-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.1rem; }
.sx-chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .4rem .7rem; border-radius: 2px; border: 1px solid rgba(8,28,50,.15); background: #fff; color: #33405a; font: 500 .8rem/1 Inter, sans-serif; cursor: pointer; transition: all .3s; }
.sx-chip b { font-family: var(--font-display); color: var(--lx-gold-lo); font-size: 1rem; }
.sx-chip:hover { border-color: var(--lx-gold); }
.sx-chip.on { background: var(--lx-gold-grad); border-color: transparent; color: var(--lx-ink); font-weight: 600; }
.sx-chip.on b { color: var(--lx-ink); }
.sx-ctrl { display: flex; gap: .5rem; }
.sx-btn { min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: 0 1rem; border-radius: 2px; border: 1px solid rgba(8,28,50,.25); background: transparent; color: var(--color-deep-navy); font: 600 .72rem/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.sx-btn:hover { border-color: var(--lx-gold); color: var(--lx-gold-lo); }
.sx-btn em { font-style: normal; }
.sx-play { background: var(--lx-gold-grad); border-color: transparent; color: var(--lx-ink); }
.sx-play:hover { color: var(--lx-ink); }
.sx-play .i-pause { display: none; } .sx-play.on .i-pause { display: inline; } .sx-play.on .i-play { display: none; }

@media (min-width: 1025px) and (max-height: 820px) {
  .sx { padding: 2rem 0 2.25rem; }
  .sx .section-subtitle, .sx .section-header::after { display: none; }
  .sx .section-title { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0; }
  .sx .section-header { margin-bottom: 1rem; }
  .sx-view { height: calc(100vh - var(--nav-height) - 150px); min-height: 380px; }
  .sx-text { font-size: .9rem; margin-bottom: .7rem; }
}
@media (max-width: 1024px) {
  .sx-wrap { grid-template-columns: minmax(0, 1fr); }
  .sx-view { height: clamp(340px, 56vh, 520px); }
}
@media (max-width: 640px) {
  .sx-view { height: 360px; }
  .sx-points { grid-template-columns: minmax(0, 1fr); }
  .sx-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sx-chip { flex: 0 0 auto; }
  .sx-ctrl .sx-play { flex: 1; }
  .sx-hint span:last-child { display: none; }
}
.sx .section-header { max-width: 900px; }
.sx-bb { width: var(--w); }
.sx-view { height: clamp(380px, calc(100vh - var(--nav-height) - 250px), 600px); }
.sx-chips { position: absolute; z-index: 6; left: .8rem; right: .8rem; top: .8rem; margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: .3rem; }
.sx-chip { flex: 0 0 auto; background: rgba(5,15,31,.78); border-color: rgba(201,168,106,.3); color: #cfd6e2; min-height: 34px; font-size: .76rem; backdrop-filter: blur(6px); }
.sx-chip b { color: var(--lx-gold-hi); }
.sx-chip:hover { border-color: var(--lx-gold-hi); color: #fff; }
@media (min-width: 1025px) and (max-height: 820px) { .sx-view { height: clamp(360px, calc(100vh - var(--nav-height) - 130px), 600px); } }
.sx-tag { margin-bottom: 16px; }
@media (max-width: 640px) {
  .sx-view { perspective-origin: 50% 50%; height: 380px; }
  .sx-cam { top: 47%; }
  .sx-tag { font-size: 22px; padding: 10px 15px; }
}
@media (max-width: 640px) { .sx-view { height: 330px; } .sx-cam { top: 53%; } }

/* ==========================================================================
   v7 · SUPPLY CHAIN — connected step tracker (right column)
   ========================================================================== */
.sx-steps { position: static; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0 0 1.6rem; overflow: visible; }
.sx-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: 1.4rem 0 0; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; min-width: 0; }
/* connector arrow to the next step */
.sx-step:not(:last-child)::after {
  content: ''; position: absolute; top: calc(1.4rem + 19px); left: calc(50% + 24px); right: calc(-50% + 24px); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(148,114,63,.45) 0 5px, transparent 5px 9px);
}
.sx-step:not(:last-child)::before {
  content: ''; position: absolute; top: calc(1.4rem + 15px); right: calc(-50% + 22px); width: 8px; height: 8px;
  border-top: 2px solid rgba(148,114,63,.6); border-right: 2px solid rgba(148,114,63,.6); transform: rotate(45deg); z-index: 1;
}
.sx-step.done:not(:last-child)::after { background: linear-gradient(90deg, #94723f, #c9a86a); }
.sx-step.done:not(:last-child)::before { border-color: #94723f; }
.sx-dot {
  position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid rgba(8,28,50,.2); color: var(--color-deep-navy);
  transition: all .4s var(--lx-ease); z-index: 2;
}
.sx-dot b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1; }
.sx-dot svg { display: none; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sx-lbl { font-size: .74rem; font-weight: 500; color: #56627a; text-align: center; line-height: 1.2; word-break: break-word; transition: color .3s; }
.sx-step:hover .sx-dot { border-color: var(--lx-gold); transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(148,114,63,.6); }
.sx-step:hover .sx-lbl { color: var(--color-deep-navy); }
.sx-step.done .sx-dot { background: linear-gradient(135deg, #b48c4c, #94723f); border-color: transparent; }
.sx-step.done .sx-dot b { display: none; }
.sx-step.done .sx-dot svg { display: block; }
.sx-step.on .sx-dot { background: var(--lx-gold-grad); border-color: transparent; color: var(--lx-ink); transform: scale(1.18); box-shadow: 0 0 0 5px rgba(201,168,106,.22), 0 10px 22px -8px rgba(148,114,63,.8); }
.sx-step.on .sx-lbl { color: var(--color-deep-navy); font-weight: 700; }
.sx-step.next .sx-dot { border-color: var(--lx-gold); animation: sxNextPulse 1.8s ease-out infinite; }
@keyframes sxNextPulse { 0% { box-shadow: 0 0 0 0 rgba(201,168,106,.55); } 100% { box-shadow: 0 0 0 12px rgba(201,168,106,0); } }
.sx-nexttag {
  position: absolute; top: -.1rem; left: 50%; transform: translateX(-50%);
  font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lx-ink); background: var(--lx-gold-grad); padding: .22rem .45rem; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity .3s; white-space: nowrap;
}
.sx-nexttag::after { content: ''; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: #c9a86a; }
.sx-step.next .sx-nexttag { opacity: 1; animation: sxBob 1.6s ease-in-out infinite; }
@keyframes sxBob { 50% { transform: translate(-50%, -3px); } }
.sx-step:focus-visible { outline: none; }
.sx-step:focus-visible .sx-dot { outline: 2px solid var(--lx-gold-lo); outline-offset: 3px; }
/* Next button names the next stage and invites the click */
.sx-next { padding: 0 1.1rem; gap: .5rem; border-color: var(--lx-gold) !important; color: var(--color-deep-navy); position: relative; }
.sx-next em { font-style: normal; }
.sx-next::after { content: ''; position: absolute; inset: -1px; border-radius: 2px; box-shadow: 0 0 0 0 rgba(201,168,106,.5); animation: sxNextPulse 2s ease-out infinite; pointer-events: none; }
.sx-play.on ~ .sx-next::after { animation: none; }
.sx-chips { display: none; }
@media (max-width: 640px) {
  .sx-steps { margin: 1.25rem 0 1.25rem; }
  .sx-dot { width: 34px; height: 34px; }
  .sx-dot b { font-size: 1.05rem; }
  .sx-step:not(:last-child)::after { top: calc(1.4rem + 16px); left: calc(50% + 20px); right: calc(-50% + 20px); }
  .sx-step:not(:last-child)::before { top: calc(1.4rem + 12px); right: calc(-50% + 18px); width: 6px; height: 6px; }
  .sx-lbl { font-size: .6rem; }
  .sx-next em { font-size: .66rem; }
  .sx-ctrl { flex-wrap: wrap; }
}
@media (max-width: 1024px) {
  .sx-info { display: flex; flex-direction: column; }
}
.sx-count b, .sx-count > span:not(.sx-place) { display: none; }
.sx-count { margin-bottom: .7rem; }
.sx-count .sx-place { margin-left: 0; }
.sx-cam { top: 46%; }
@media (min-width: 1025px) and (max-height: 960px) {
  .sx { padding: 2.25rem 0 2.5rem; }
  .sx .section-header::after { display: none; }
  .sx .section-header { margin-bottom: 1.25rem; }
  .sx .section-title { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: .3rem; }
  .sx .eyebrow { margin-bottom: .5rem; }
  .sx-steps { margin-bottom: 1.1rem; padding-top: 0; }
  .sx-info h3 { font-size: clamp(1.6rem, 2.2vw, 2.05rem); }
  .sx-text { font-size: .9rem; margin-bottom: .75rem; }
  .sx-points { margin-bottom: 1rem; gap: .3rem 1rem; }
  .sx-points li { font-size: .84rem; }
  .sx-view { height: clamp(380px, calc(100vh - var(--nav-height) - 170px), 600px); }
}
@media (min-width: 1025px) and (max-height: 780px) {
  .sx-text { display: none; }
  .sx-steps { margin-bottom: .8rem; }
  .sx-info h3 { margin-bottom: .3rem; }
}
